1. Packages
  2. Azure Native v1
  3. API Docs
  4. netapp
  5. SnapshotPolicy
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.netapp.SnapshotPolicy

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Snapshot policy information API Version: 2020-12-01.

    Example Usage

    SnapshotPolicies_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var snapshotPolicy = new AzureNative.NetApp.SnapshotPolicy("snapshotPolicy", new()
        {
            AccountName = "account1",
            DailySchedule = new AzureNative.NetApp.Inputs.DailyScheduleArgs
            {
                Hour = 14,
                Minute = 30,
                SnapshotsToKeep = 4,
            },
            HourlySchedule = new AzureNative.NetApp.Inputs.HourlyScheduleArgs
            {
                Minute = 50,
                SnapshotsToKeep = 2,
            },
            Location = "eastus",
            MonthlySchedule = new AzureNative.NetApp.Inputs.MonthlyScheduleArgs
            {
                DaysOfMonth = "10,11,12",
                Hour = 14,
                Minute = 15,
                SnapshotsToKeep = 5,
            },
            ResourceGroupName = "myRG",
            SnapshotPolicyName = "snapshotPolicyName",
            WeeklySchedule = new AzureNative.NetApp.Inputs.WeeklyScheduleArgs
            {
                Day = "Wednesday",
                Hour = 14,
                Minute = 45,
                SnapshotsToKeep = 3,
            },
        });
    
    });
    
    package main
    
    import (
    	netapp "github.com/pulumi/pulumi-azure-native-sdk/netapp"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := netapp.NewSnapshotPolicy(ctx, "snapshotPolicy", &netapp.SnapshotPolicyArgs{
    			AccountName: pulumi.String("account1"),
    			DailySchedule: &netapp.DailyScheduleArgs{
    				Hour:            pulumi.Int(14),
    				Minute:          pulumi.Int(30),
    				SnapshotsToKeep: pulumi.Int(4),
    			},
    			HourlySchedule: &netapp.HourlyScheduleArgs{
    				Minute:          pulumi.Int(50),
    				SnapshotsToKeep: pulumi.Int(2),
    			},
    			Location: pulumi.String("eastus"),
    			MonthlySchedule: &netapp.MonthlyScheduleArgs{
    				DaysOfMonth:     pulumi.String("10,11,12"),
    				Hour:            pulumi.Int(14),
    				Minute:          pulumi.Int(15),
    				SnapshotsToKeep: pulumi.Int(5),
    			},
    			ResourceGroupName:  pulumi.String("myRG"),
    			SnapshotPolicyName: pulumi.String("snapshotPolicyName"),
    			WeeklySchedule: &netapp.WeeklyScheduleArgs{
    				Day:             pulumi.String("Wednesday"),
    				Hour:            pulumi.Int(14),
    				Minute:          pulumi.Int(45),
    				SnapshotsToKeep: pulumi.Int(3),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.netapp.SnapshotPolicy;
    import com.pulumi.azurenative.netapp.SnapshotPolicyArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var snapshotPolicy = new SnapshotPolicy("snapshotPolicy", SnapshotPolicyArgs.builder()        
                .accountName("account1")
                .dailySchedule(Map.ofEntries(
                    Map.entry("hour", 14),
                    Map.entry("minute", 30),
                    Map.entry("snapshotsToKeep", 4)
                ))
                .hourlySchedule(Map.ofEntries(
                    Map.entry("minute", 50),
                    Map.entry("snapshotsToKeep", 2)
                ))
                .location("eastus")
                .monthlySchedule(Map.ofEntries(
                    Map.entry("daysOfMonth", "10,11,12"),
                    Map.entry("hour", 14),
                    Map.entry("minute", 15),
                    Map.entry("snapshotsToKeep", 5)
                ))
                .resourceGroupName("myRG")
                .snapshotPolicyName("snapshotPolicyName")
                .weeklySchedule(Map.ofEntries(
                    Map.entry("day", "Wednesday"),
                    Map.entry("hour", 14),
                    Map.entry("minute", 45),
                    Map.entry("snapshotsToKeep", 3)
                ))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    snapshot_policy = azure_native.netapp.SnapshotPolicy("snapshotPolicy",
        account_name="account1",
        daily_schedule=azure_native.netapp.DailyScheduleArgs(
            hour=14,
            minute=30,
            snapshots_to_keep=4,
        ),
        hourly_schedule=azure_native.netapp.HourlyScheduleArgs(
            minute=50,
            snapshots_to_keep=2,
        ),
        location="eastus",
        monthly_schedule=azure_native.netapp.MonthlyScheduleArgs(
            days_of_month="10,11,12",
            hour=14,
            minute=15,
            snapshots_to_keep=5,
        ),
        resource_group_name="myRG",
        snapshot_policy_name="snapshotPolicyName",
        weekly_schedule=azure_native.netapp.WeeklyScheduleArgs(
            day="Wednesday",
            hour=14,
            minute=45,
            snapshots_to_keep=3,
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const snapshotPolicy = new azure_native.netapp.SnapshotPolicy("snapshotPolicy", {
        accountName: "account1",
        dailySchedule: {
            hour: 14,
            minute: 30,
            snapshotsToKeep: 4,
        },
        hourlySchedule: {
            minute: 50,
            snapshotsToKeep: 2,
        },
        location: "eastus",
        monthlySchedule: {
            daysOfMonth: "10,11,12",
            hour: 14,
            minute: 15,
            snapshotsToKeep: 5,
        },
        resourceGroupName: "myRG",
        snapshotPolicyName: "snapshotPolicyName",
        weeklySchedule: {
            day: "Wednesday",
            hour: 14,
            minute: 45,
            snapshotsToKeep: 3,
        },
    });
    
    resources:
      snapshotPolicy:
        type: azure-native:netapp:SnapshotPolicy
        properties:
          accountName: account1
          dailySchedule:
            hour: 14
            minute: 30
            snapshotsToKeep: 4
          hourlySchedule:
            minute: 50
            snapshotsToKeep: 2
          location: eastus
          monthlySchedule:
            daysOfMonth: 10,11,12
            hour: 14
            minute: 15
            snapshotsToKeep: 5
          resourceGroupName: myRG
          snapshotPolicyName: snapshotPolicyName
          weeklySchedule:
            day: Wednesday
            hour: 14
            minute: 45
            snapshotsToKeep: 3
    

    Create SnapshotPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SnapshotPolicy(name: string, args: SnapshotPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def SnapshotPolicy(resource_name: str,
                       args: SnapshotPolicyArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def SnapshotPolicy(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       account_name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       daily_schedule: Optional[DailyScheduleArgs] = None,
                       enabled: Optional[bool] = None,
                       hourly_schedule: Optional[HourlyScheduleArgs] = None,
                       location: Optional[str] = None,
                       monthly_schedule: Optional[MonthlyScheduleArgs] = None,
                       snapshot_policy_name: Optional[str] = None,
                       tags: Optional[Mapping[str, str]] = None,
                       weekly_schedule: Optional[WeeklyScheduleArgs] = None)
    func NewSnapshotPolicy(ctx *Context, name string, args SnapshotPolicyArgs, opts ...ResourceOption) (*SnapshotPolicy, error)
    public SnapshotPolicy(string name, SnapshotPolicyArgs args, CustomResourceOptions? opts = null)
    public SnapshotPolicy(String name, SnapshotPolicyArgs args)
    public SnapshotPolicy(String name, SnapshotPolicyArgs args, CustomResourceOptions options)
    
    type: azure-native:netapp:SnapshotPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SnapshotPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SnapshotPolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SnapshotPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SnapshotPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SnapshotPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var snapshotPolicyResource = new AzureNative.Netapp.SnapshotPolicy("snapshotPolicyResource", new()
    {
        AccountName = "string",
        ResourceGroupName = "string",
        DailySchedule = 
        {
            { "hour", 0 },
            { "minute", 0 },
            { "snapshotsToKeep", 0 },
            { "usedBytes", 0 },
        },
        Enabled = false,
        HourlySchedule = 
        {
            { "minute", 0 },
            { "snapshotsToKeep", 0 },
            { "usedBytes", 0 },
        },
        Location = "string",
        MonthlySchedule = 
        {
            { "daysOfMonth", "string" },
            { "hour", 0 },
            { "minute", 0 },
            { "snapshotsToKeep", 0 },
            { "usedBytes", 0 },
        },
        SnapshotPolicyName = "string",
        Tags = 
        {
            { "string", "string" },
        },
        WeeklySchedule = 
        {
            { "day", "string" },
            { "hour", 0 },
            { "minute", 0 },
            { "snapshotsToKeep", 0 },
            { "usedBytes", 0 },
        },
    });
    
    example, err := netapp.NewSnapshotPolicy(ctx, "snapshotPolicyResource", &netapp.SnapshotPolicyArgs{
    	AccountName:       "string",
    	ResourceGroupName: "string",
    	DailySchedule: map[string]interface{}{
    		"hour":            0,
    		"minute":          0,
    		"snapshotsToKeep": 0,
    		"usedBytes":       0,
    	},
    	Enabled: false,
    	HourlySchedule: map[string]interface{}{
    		"minute":          0,
    		"snapshotsToKeep": 0,
    		"usedBytes":       0,
    	},
    	Location: "string",
    	MonthlySchedule: map[string]interface{}{
    		"daysOfMonth":     "string",
    		"hour":            0,
    		"minute":          0,
    		"snapshotsToKeep": 0,
    		"usedBytes":       0,
    	},
    	SnapshotPolicyName: "string",
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    	WeeklySchedule: map[string]interface{}{
    		"day":             "string",
    		"hour":            0,
    		"minute":          0,
    		"snapshotsToKeep": 0,
    		"usedBytes":       0,
    	},
    })
    
    var snapshotPolicyResource = new SnapshotPolicy("snapshotPolicyResource", SnapshotPolicyArgs.builder()
        .accountName("string")
        .resourceGroupName("string")
        .dailySchedule(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .enabled(false)
        .hourlySchedule(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .location("string")
        .monthlySchedule(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .snapshotPolicyName("string")
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .weeklySchedule(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    snapshot_policy_resource = azure_native.netapp.SnapshotPolicy("snapshotPolicyResource",
        account_name=string,
        resource_group_name=string,
        daily_schedule={
            hour: 0,
            minute: 0,
            snapshotsToKeep: 0,
            usedBytes: 0,
        },
        enabled=False,
        hourly_schedule={
            minute: 0,
            snapshotsToKeep: 0,
            usedBytes: 0,
        },
        location=string,
        monthly_schedule={
            daysOfMonth: string,
            hour: 0,
            minute: 0,
            snapshotsToKeep: 0,
            usedBytes: 0,
        },
        snapshot_policy_name=string,
        tags={
            string: string,
        },
        weekly_schedule={
            day: string,
            hour: 0,
            minute: 0,
            snapshotsToKeep: 0,
            usedBytes: 0,
        })
    
    const snapshotPolicyResource = new azure_native.netapp.SnapshotPolicy("snapshotPolicyResource", {
        accountName: "string",
        resourceGroupName: "string",
        dailySchedule: {
            hour: 0,
            minute: 0,
            snapshotsToKeep: 0,
            usedBytes: 0,
        },
        enabled: false,
        hourlySchedule: {
            minute: 0,
            snapshotsToKeep: 0,
            usedBytes: 0,
        },
        location: "string",
        monthlySchedule: {
            daysOfMonth: "string",
            hour: 0,
            minute: 0,
            snapshotsToKeep: 0,
            usedBytes: 0,
        },
        snapshotPolicyName: "string",
        tags: {
            string: "string",
        },
        weeklySchedule: {
            day: "string",
            hour: 0,
            minute: 0,
            snapshotsToKeep: 0,
            usedBytes: 0,
        },
    });
    
    type: azure-native:netapp:SnapshotPolicy
    properties:
        accountName: string
        dailySchedule:
            hour: 0
            minute: 0
            snapshotsToKeep: 0
            usedBytes: 0
        enabled: false
        hourlySchedule:
            minute: 0
            snapshotsToKeep: 0
            usedBytes: 0
        location: string
        monthlySchedule:
            daysOfMonth: string
            hour: 0
            minute: 0
            snapshotsToKeep: 0
            usedBytes: 0
        resourceGroupName: string
        snapshotPolicyName: string
        tags:
            string: string
        weeklySchedule:
            day: string
            hour: 0
            minute: 0
            snapshotsToKeep: 0
            usedBytes: 0
    

    SnapshotPolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SnapshotPolicy resource accepts the following input properties:

    AccountName string
    The name of the NetApp account
    ResourceGroupName string
    The name of the resource group.
    DailySchedule Pulumi.AzureNative.NetApp.Inputs.DailySchedule
    Schedule for daily snapshots
    Enabled bool
    The property to decide policy is enabled or not
    HourlySchedule Pulumi.AzureNative.NetApp.Inputs.HourlySchedule
    Schedule for hourly snapshots
    Location string
    Resource location
    MonthlySchedule Pulumi.AzureNative.NetApp.Inputs.MonthlySchedule
    Schedule for monthly snapshots
    SnapshotPolicyName string
    The name of the snapshot policy
    Tags Dictionary<string, string>
    Resource tags
    WeeklySchedule Pulumi.AzureNative.NetApp.Inputs.WeeklySchedule
    Schedule for weekly snapshots
    AccountName string
    The name of the NetApp account
    ResourceGroupName string
    The name of the resource group.
    DailySchedule DailyScheduleArgs
    Schedule for daily snapshots
    Enabled bool
    The property to decide policy is enabled or not
    HourlySchedule HourlyScheduleArgs
    Schedule for hourly snapshots
    Location string
    Resource location
    MonthlySchedule MonthlyScheduleArgs
    Schedule for monthly snapshots
    SnapshotPolicyName string
    The name of the snapshot policy
    Tags map[string]string
    Resource tags
    WeeklySchedule WeeklyScheduleArgs
    Schedule for weekly snapshots
    accountName String
    The name of the NetApp account
    resourceGroupName String
    The name of the resource group.
    dailySchedule DailySchedule
    Schedule for daily snapshots
    enabled Boolean
    The property to decide policy is enabled or not
    hourlySchedule HourlySchedule
    Schedule for hourly snapshots
    location String
    Resource location
    monthlySchedule MonthlySchedule
    Schedule for monthly snapshots
    snapshotPolicyName String
    The name of the snapshot policy
    tags Map<String,String>
    Resource tags
    weeklySchedule WeeklySchedule
    Schedule for weekly snapshots
    accountName string
    The name of the NetApp account
    resourceGroupName string
    The name of the resource group.
    dailySchedule DailySchedule
    Schedule for daily snapshots
    enabled boolean
    The property to decide policy is enabled or not
    hourlySchedule HourlySchedule
    Schedule for hourly snapshots
    location string
    Resource location
    monthlySchedule MonthlySchedule
    Schedule for monthly snapshots
    snapshotPolicyName string
    The name of the snapshot policy
    tags {[key: string]: string}
    Resource tags
    weeklySchedule WeeklySchedule
    Schedule for weekly snapshots
    account_name str
    The name of the NetApp account
    resource_group_name str
    The name of the resource group.
    daily_schedule DailyScheduleArgs
    Schedule for daily snapshots
    enabled bool
    The property to decide policy is enabled or not
    hourly_schedule HourlyScheduleArgs
    Schedule for hourly snapshots
    location str
    Resource location
    monthly_schedule MonthlyScheduleArgs
    Schedule for monthly snapshots
    snapshot_policy_name str
    The name of the snapshot policy
    tags Mapping[str, str]
    Resource tags
    weekly_schedule WeeklyScheduleArgs
    Schedule for weekly snapshots
    accountName String
    The name of the NetApp account
    resourceGroupName String
    The name of the resource group.
    dailySchedule Property Map
    Schedule for daily snapshots
    enabled Boolean
    The property to decide policy is enabled or not
    hourlySchedule Property Map
    Schedule for hourly snapshots
    location String
    Resource location
    monthlySchedule Property Map
    Schedule for monthly snapshots
    snapshotPolicyName String
    The name of the snapshot policy
    tags Map<String>
    Resource tags
    weeklySchedule Property Map
    Schedule for weekly snapshots

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SnapshotPolicy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name
    ProvisioningState string
    Azure lifecycle management
    Type string
    Resource type
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name
    ProvisioningState string
    Azure lifecycle management
    Type string
    Resource type
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name
    provisioningState String
    Azure lifecycle management
    type String
    Resource type
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Resource name
    provisioningState string
    Azure lifecycle management
    type string
    Resource type
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Resource name
    provisioning_state str
    Azure lifecycle management
    type str
    Resource type
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name
    provisioningState String
    Azure lifecycle management
    type String
    Resource type

    Supporting Types

    DailySchedule, DailyScheduleArgs

    Hour int
    Indicates which hour in UTC timezone a snapshot should be taken
    Minute int
    Indicates which minute snapshot should be taken
    SnapshotsToKeep int
    Daily snapshot count to keep
    UsedBytes double
    Resource size in bytes, current storage usage for the volume in bytes
    Hour int
    Indicates which hour in UTC timezone a snapshot should be taken
    Minute int
    Indicates which minute snapshot should be taken
    SnapshotsToKeep int
    Daily snapshot count to keep
    UsedBytes float64
    Resource size in bytes, current storage usage for the volume in bytes
    hour Integer
    Indicates which hour in UTC timezone a snapshot should be taken
    minute Integer
    Indicates which minute snapshot should be taken
    snapshotsToKeep Integer
    Daily snapshot count to keep
    usedBytes Double
    Resource size in bytes, current storage usage for the volume in bytes
    hour number
    Indicates which hour in UTC timezone a snapshot should be taken
    minute number
    Indicates which minute snapshot should be taken
    snapshotsToKeep number
    Daily snapshot count to keep
    usedBytes number
    Resource size in bytes, current storage usage for the volume in bytes
    hour int
    Indicates which hour in UTC timezone a snapshot should be taken
    minute int
    Indicates which minute snapshot should be taken
    snapshots_to_keep int
    Daily snapshot count to keep
    used_bytes float
    Resource size in bytes, current storage usage for the volume in bytes
    hour Number
    Indicates which hour in UTC timezone a snapshot should be taken
    minute Number
    Indicates which minute snapshot should be taken
    snapshotsToKeep Number
    Daily snapshot count to keep
    usedBytes Number
    Resource size in bytes, current storage usage for the volume in bytes

    DailyScheduleResponse, DailyScheduleResponseArgs

    Hour int
    Indicates which hour in UTC timezone a snapshot should be taken
    Minute int
    Indicates which minute snapshot should be taken
    SnapshotsToKeep int
    Daily snapshot count to keep
    UsedBytes double
    Resource size in bytes, current storage usage for the volume in bytes
    Hour int
    Indicates which hour in UTC timezone a snapshot should be taken
    Minute int
    Indicates which minute snapshot should be taken
    SnapshotsToKeep int
    Daily snapshot count to keep
    UsedBytes float64
    Resource size in bytes, current storage usage for the volume in bytes
    hour Integer
    Indicates which hour in UTC timezone a snapshot should be taken
    minute Integer
    Indicates which minute snapshot should be taken
    snapshotsToKeep Integer
    Daily snapshot count to keep
    usedBytes Double
    Resource size in bytes, current storage usage for the volume in bytes
    hour number
    Indicates which hour in UTC timezone a snapshot should be taken
    minute number
    Indicates which minute snapshot should be taken
    snapshotsToKeep number
    Daily snapshot count to keep
    usedBytes number
    Resource size in bytes, current storage usage for the volume in bytes
    hour int
    Indicates which hour in UTC timezone a snapshot should be taken
    minute int
    Indicates which minute snapshot should be taken
    snapshots_to_keep int
    Daily snapshot count to keep
    used_bytes float
    Resource size in bytes, current storage usage for the volume in bytes
    hour Number
    Indicates which hour in UTC timezone a snapshot should be taken
    minute Number
    Indicates which minute snapshot should be taken
    snapshotsToKeep Number
    Daily snapshot count to keep
    usedBytes Number
    Resource size in bytes, current storage usage for the volume in bytes

    HourlySchedule, HourlyScheduleArgs

    Minute int
    Indicates which minute snapshot should be taken
    SnapshotsToKeep int
    Hourly snapshot count to keep
    UsedBytes double
    Resource size in bytes, current storage usage for the volume in bytes
    Minute int
    Indicates which minute snapshot should be taken
    SnapshotsToKeep int
    Hourly snapshot count to keep
    UsedBytes float64
    Resource size in bytes, current storage usage for the volume in bytes
    minute Integer
    Indicates which minute snapshot should be taken
    snapshotsToKeep Integer
    Hourly snapshot count to keep
    usedBytes Double
    Resource size in bytes, current storage usage for the volume in bytes
    minute number
    Indicates which minute snapshot should be taken
    snapshotsToKeep number
    Hourly snapshot count to keep
    usedBytes number
    Resource size in bytes, current storage usage for the volume in bytes
    minute int
    Indicates which minute snapshot should be taken
    snapshots_to_keep int
    Hourly snapshot count to keep
    used_bytes float
    Resource size in bytes, current storage usage for the volume in bytes
    minute Number
    Indicates which minute snapshot should be taken
    snapshotsToKeep Number
    Hourly snapshot count to keep
    usedBytes Number
    Resource size in bytes, current storage usage for the volume in bytes

    HourlyScheduleResponse, HourlyScheduleResponseArgs

    Minute int
    Indicates which minute snapshot should be taken
    SnapshotsToKeep int
    Hourly snapshot count to keep
    UsedBytes double
    Resource size in bytes, current storage usage for the volume in bytes
    Minute int
    Indicates which minute snapshot should be taken
    SnapshotsToKeep int
    Hourly snapshot count to keep
    UsedBytes float64
    Resource size in bytes, current storage usage for the volume in bytes
    minute Integer
    Indicates which minute snapshot should be taken
    snapshotsToKeep Integer
    Hourly snapshot count to keep
    usedBytes Double
    Resource size in bytes, current storage usage for the volume in bytes
    minute number
    Indicates which minute snapshot should be taken
    snapshotsToKeep number
    Hourly snapshot count to keep
    usedBytes number
    Resource size in bytes, current storage usage for the volume in bytes
    minute int
    Indicates which minute snapshot should be taken
    snapshots_to_keep int
    Hourly snapshot count to keep
    used_bytes float
    Resource size in bytes, current storage usage for the volume in bytes
    minute Number
    Indicates which minute snapshot should be taken
    snapshotsToKeep Number
    Hourly snapshot count to keep
    usedBytes Number
    Resource size in bytes, current storage usage for the volume in bytes

    MonthlySchedule, MonthlyScheduleArgs

    DaysOfMonth string
    Indicates which days of the month snapshot should be taken. A comma delimited string.
    Hour int
    Indicates which hour in UTC timezone a snapshot should be taken
    Minute int
    Indicates which minute snapshot should be taken
    SnapshotsToKeep int
    Monthly snapshot count to keep
    UsedBytes double
    Resource size in bytes, current storage usage for the volume in bytes
    DaysOfMonth string
    Indicates which days of the month snapshot should be taken. A comma delimited string.
    Hour int
    Indicates which hour in UTC timezone a snapshot should be taken
    Minute int
    Indicates which minute snapshot should be taken
    SnapshotsToKeep int
    Monthly snapshot count to keep
    UsedBytes float64
    Resource size in bytes, current storage usage for the volume in bytes
    daysOfMonth String
    Indicates which days of the month snapshot should be taken. A comma delimited string.
    hour Integer
    Indicates which hour in UTC timezone a snapshot should be taken
    minute Integer
    Indicates which minute snapshot should be taken
    snapshotsToKeep Integer
    Monthly snapshot count to keep
    usedBytes Double
    Resource size in bytes, current storage usage for the volume in bytes
    daysOfMonth string
    Indicates which days of the month snapshot should be taken. A comma delimited string.
    hour number
    Indicates which hour in UTC timezone a snapshot should be taken
    minute number
    Indicates which minute snapshot should be taken
    snapshotsToKeep number
    Monthly snapshot count to keep
    usedBytes number
    Resource size in bytes, current storage usage for the volume in bytes
    days_of_month str
    Indicates which days of the month snapshot should be taken. A comma delimited string.
    hour int
    Indicates which hour in UTC timezone a snapshot should be taken
    minute int
    Indicates which minute snapshot should be taken
    snapshots_to_keep int
    Monthly snapshot count to keep
    used_bytes float
    Resource size in bytes, current storage usage for the volume in bytes
    daysOfMonth String
    Indicates which days of the month snapshot should be taken. A comma delimited string.
    hour Number
    Indicates which hour in UTC timezone a snapshot should be taken
    minute Number
    Indicates which minute snapshot should be taken
    snapshotsToKeep Number
    Monthly snapshot count to keep
    usedBytes Number
    Resource size in bytes, current storage usage for the volume in bytes

    MonthlyScheduleResponse, MonthlyScheduleResponseArgs

    DaysOfMonth string
    Indicates which days of the month snapshot should be taken. A comma delimited string.
    Hour int
    Indicates which hour in UTC timezone a snapshot should be taken
    Minute int
    Indicates which minute snapshot should be taken
    SnapshotsToKeep int
    Monthly snapshot count to keep
    UsedBytes double
    Resource size in bytes, current storage usage for the volume in bytes
    DaysOfMonth string
    Indicates which days of the month snapshot should be taken. A comma delimited string.
    Hour int
    Indicates which hour in UTC timezone a snapshot should be taken
    Minute int
    Indicates which minute snapshot should be taken
    SnapshotsToKeep int
    Monthly snapshot count to keep
    UsedBytes float64
    Resource size in bytes, current storage usage for the volume in bytes
    daysOfMonth String
    Indicates which days of the month snapshot should be taken. A comma delimited string.
    hour Integer
    Indicates which hour in UTC timezone a snapshot should be taken
    minute Integer
    Indicates which minute snapshot should be taken
    snapshotsToKeep Integer
    Monthly snapshot count to keep
    usedBytes Double
    Resource size in bytes, current storage usage for the volume in bytes
    daysOfMonth string
    Indicates which days of the month snapshot should be taken. A comma delimited string.
    hour number
    Indicates which hour in UTC timezone a snapshot should be taken
    minute number
    Indicates which minute snapshot should be taken
    snapshotsToKeep number
    Monthly snapshot count to keep
    usedBytes number
    Resource size in bytes, current storage usage for the volume in bytes
    days_of_month str
    Indicates which days of the month snapshot should be taken. A comma delimited string.
    hour int
    Indicates which hour in UTC timezone a snapshot should be taken
    minute int
    Indicates which minute snapshot should be taken
    snapshots_to_keep int
    Monthly snapshot count to keep
    used_bytes float
    Resource size in bytes, current storage usage for the volume in bytes
    daysOfMonth String
    Indicates which days of the month snapshot should be taken. A comma delimited string.
    hour Number
    Indicates which hour in UTC timezone a snapshot should be taken
    minute Number
    Indicates which minute snapshot should be taken
    snapshotsToKeep Number
    Monthly snapshot count to keep
    usedBytes Number
    Resource size in bytes, current storage usage for the volume in bytes

    WeeklySchedule, WeeklyScheduleArgs

    Day string
    Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english
    Hour int
    Indicates which hour in UTC timezone a snapshot should be taken
    Minute int
    Indicates which minute snapshot should be taken
    SnapshotsToKeep int
    Weekly snapshot count to keep
    UsedBytes double
    Resource size in bytes, current storage usage for the volume in bytes
    Day string
    Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english
    Hour int
    Indicates which hour in UTC timezone a snapshot should be taken
    Minute int
    Indicates which minute snapshot should be taken
    SnapshotsToKeep int
    Weekly snapshot count to keep
    UsedBytes float64
    Resource size in bytes, current storage usage for the volume in bytes
    day String
    Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english
    hour Integer
    Indicates which hour in UTC timezone a snapshot should be taken
    minute Integer
    Indicates which minute snapshot should be taken
    snapshotsToKeep Integer
    Weekly snapshot count to keep
    usedBytes Double
    Resource size in bytes, current storage usage for the volume in bytes
    day string
    Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english
    hour number
    Indicates which hour in UTC timezone a snapshot should be taken
    minute number
    Indicates which minute snapshot should be taken
    snapshotsToKeep number
    Weekly snapshot count to keep
    usedBytes number
    Resource size in bytes, current storage usage for the volume in bytes
    day str
    Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english
    hour int
    Indicates which hour in UTC timezone a snapshot should be taken
    minute int
    Indicates which minute snapshot should be taken
    snapshots_to_keep int
    Weekly snapshot count to keep
    used_bytes float
    Resource size in bytes, current storage usage for the volume in bytes
    day String
    Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english
    hour Number
    Indicates which hour in UTC timezone a snapshot should be taken
    minute Number
    Indicates which minute snapshot should be taken
    snapshotsToKeep Number
    Weekly snapshot count to keep
    usedBytes Number
    Resource size in bytes, current storage usage for the volume in bytes

    WeeklyScheduleResponse, WeeklyScheduleResponseArgs

    Day string
    Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english
    Hour int
    Indicates which hour in UTC timezone a snapshot should be taken
    Minute int
    Indicates which minute snapshot should be taken
    SnapshotsToKeep int
    Weekly snapshot count to keep
    UsedBytes double
    Resource size in bytes, current storage usage for the volume in bytes
    Day string
    Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english
    Hour int
    Indicates which hour in UTC timezone a snapshot should be taken
    Minute int
    Indicates which minute snapshot should be taken
    SnapshotsToKeep int
    Weekly snapshot count to keep
    UsedBytes float64
    Resource size in bytes, current storage usage for the volume in bytes
    day String
    Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english
    hour Integer
    Indicates which hour in UTC timezone a snapshot should be taken
    minute Integer
    Indicates which minute snapshot should be taken
    snapshotsToKeep Integer
    Weekly snapshot count to keep
    usedBytes Double
    Resource size in bytes, current storage usage for the volume in bytes
    day string
    Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english
    hour number
    Indicates which hour in UTC timezone a snapshot should be taken
    minute number
    Indicates which minute snapshot should be taken
    snapshotsToKeep number
    Weekly snapshot count to keep
    usedBytes number
    Resource size in bytes, current storage usage for the volume in bytes
    day str
    Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english
    hour int
    Indicates which hour in UTC timezone a snapshot should be taken
    minute int
    Indicates which minute snapshot should be taken
    snapshots_to_keep int
    Weekly snapshot count to keep
    used_bytes float
    Resource size in bytes, current storage usage for the volume in bytes
    day String
    Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english
    hour Number
    Indicates which hour in UTC timezone a snapshot should be taken
    minute Number
    Indicates which minute snapshot should be taken
    snapshotsToKeep Number
    Weekly snapshot count to keep
    usedBytes Number
    Resource size in bytes, current storage usage for the volume in bytes

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:netapp:SnapshotPolicy account1/snapshotPolicy1 /subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1/snapshotPolicies/snapshotPolicy1 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi