azure-native.netapp.SnapshotPolicy
Explore with Pulumi AI
Snapshot policy information Azure REST API version: 2022-11-01. Prior API version in Azure Native 1.x: 2020-12-01.
Other available API versions: 2022-11-01-preview, 2023-05-01, 2023-05-01-preview, 2023-07-01, 2023-07-01-preview, 2023-11-01, 2023-11-01-preview.
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,
},
Enabled = true,
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/v2"
"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),
},
Enabled: pulumi.Bool(true),
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 com.pulumi.azurenative.netapp.inputs.DailyScheduleArgs;
import com.pulumi.azurenative.netapp.inputs.HourlyScheduleArgs;
import com.pulumi.azurenative.netapp.inputs.MonthlyScheduleArgs;
import com.pulumi.azurenative.netapp.inputs.WeeklyScheduleArgs;
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(DailyScheduleArgs.builder()
.hour(14)
.minute(30)
.snapshotsToKeep(4)
.build())
.enabled(true)
.hourlySchedule(HourlyScheduleArgs.builder()
.minute(50)
.snapshotsToKeep(2)
.build())
.location("eastus")
.monthlySchedule(MonthlyScheduleArgs.builder()
.daysOfMonth("10,11,12")
.hour(14)
.minute(15)
.snapshotsToKeep(5)
.build())
.resourceGroupName("myRG")
.snapshotPolicyName("snapshotPolicyName")
.weeklySchedule(WeeklyScheduleArgs.builder()
.day("Wednesday")
.hour(14)
.minute(45)
.snapshotsToKeep(3)
.build())
.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,
),
enabled=True,
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,
},
enabled: true,
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
enabled: true
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 = new AzureNative.NetApp.Inputs.DailyScheduleArgs
{
Hour = 0,
Minute = 0,
SnapshotsToKeep = 0,
UsedBytes = 0,
},
Enabled = false,
HourlySchedule = new AzureNative.NetApp.Inputs.HourlyScheduleArgs
{
Minute = 0,
SnapshotsToKeep = 0,
UsedBytes = 0,
},
Location = "string",
MonthlySchedule = new AzureNative.NetApp.Inputs.MonthlyScheduleArgs
{
DaysOfMonth = "string",
Hour = 0,
Minute = 0,
SnapshotsToKeep = 0,
UsedBytes = 0,
},
SnapshotPolicyName = "string",
Tags =
{
{ "string", "string" },
},
WeeklySchedule = new AzureNative.NetApp.Inputs.WeeklyScheduleArgs
{
Day = "string",
Hour = 0,
Minute = 0,
SnapshotsToKeep = 0,
UsedBytes = 0,
},
});
example, err := netapp.NewSnapshotPolicy(ctx, "snapshotPolicyResource", &netapp.SnapshotPolicyArgs{
AccountName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
DailySchedule: &netapp.DailyScheduleArgs{
Hour: pulumi.Int(0),
Minute: pulumi.Int(0),
SnapshotsToKeep: pulumi.Int(0),
UsedBytes: pulumi.Float64(0),
},
Enabled: pulumi.Bool(false),
HourlySchedule: &netapp.HourlyScheduleArgs{
Minute: pulumi.Int(0),
SnapshotsToKeep: pulumi.Int(0),
UsedBytes: pulumi.Float64(0),
},
Location: pulumi.String("string"),
MonthlySchedule: &netapp.MonthlyScheduleArgs{
DaysOfMonth: pulumi.String("string"),
Hour: pulumi.Int(0),
Minute: pulumi.Int(0),
SnapshotsToKeep: pulumi.Int(0),
UsedBytes: pulumi.Float64(0),
},
SnapshotPolicyName: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
WeeklySchedule: &netapp.WeeklyScheduleArgs{
Day: pulumi.String("string"),
Hour: pulumi.Int(0),
Minute: pulumi.Int(0),
SnapshotsToKeep: pulumi.Int(0),
UsedBytes: pulumi.Float64(0),
},
})
var snapshotPolicyResource = new SnapshotPolicy("snapshotPolicyResource", SnapshotPolicyArgs.builder()
.accountName("string")
.resourceGroupName("string")
.dailySchedule(DailyScheduleArgs.builder()
.hour(0)
.minute(0)
.snapshotsToKeep(0)
.usedBytes(0)
.build())
.enabled(false)
.hourlySchedule(HourlyScheduleArgs.builder()
.minute(0)
.snapshotsToKeep(0)
.usedBytes(0)
.build())
.location("string")
.monthlySchedule(MonthlyScheduleArgs.builder()
.daysOfMonth("string")
.hour(0)
.minute(0)
.snapshotsToKeep(0)
.usedBytes(0)
.build())
.snapshotPolicyName("string")
.tags(Map.of("string", "string"))
.weeklySchedule(WeeklyScheduleArgs.builder()
.day("string")
.hour(0)
.minute(0)
.snapshotsToKeep(0)
.usedBytes(0)
.build())
.build());
snapshot_policy_resource = azure_native.netapp.SnapshotPolicy("snapshotPolicyResource",
account_name="string",
resource_group_name="string",
daily_schedule=azure_native.netapp.DailyScheduleArgs(
hour=0,
minute=0,
snapshots_to_keep=0,
used_bytes=0,
),
enabled=False,
hourly_schedule=azure_native.netapp.HourlyScheduleArgs(
minute=0,
snapshots_to_keep=0,
used_bytes=0,
),
location="string",
monthly_schedule=azure_native.netapp.MonthlyScheduleArgs(
days_of_month="string",
hour=0,
minute=0,
snapshots_to_keep=0,
used_bytes=0,
),
snapshot_policy_name="string",
tags={
"string": "string",
},
weekly_schedule=azure_native.netapp.WeeklyScheduleArgs(
day="string",
hour=0,
minute=0,
snapshots_to_keep=0,
used_bytes=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:
- Account
Name string - The name of the NetApp account
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Daily
Schedule Pulumi.Azure Native. Net App. Inputs. Daily Schedule - Schedule for daily snapshots
- Enabled bool
- The property to decide policy is enabled or not
- Hourly
Schedule Pulumi.Azure Native. Net App. Inputs. Hourly Schedule - Schedule for hourly snapshots
- Location string
- The geo-location where the resource lives
- Monthly
Schedule Pulumi.Azure Native. Net App. Inputs. Monthly Schedule - Schedule for monthly snapshots
- Snapshot
Policy stringName - The name of the snapshot policy
- Dictionary<string, string>
- Resource tags.
- Weekly
Schedule Pulumi.Azure Native. Net App. Inputs. Weekly Schedule - Schedule for weekly snapshots
- Account
Name string - The name of the NetApp account
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Daily
Schedule DailySchedule Args - Schedule for daily snapshots
- Enabled bool
- The property to decide policy is enabled or not
- Hourly
Schedule HourlySchedule Args - Schedule for hourly snapshots
- Location string
- The geo-location where the resource lives
- Monthly
Schedule MonthlySchedule Args - Schedule for monthly snapshots
- Snapshot
Policy stringName - The name of the snapshot policy
- map[string]string
- Resource tags.
- Weekly
Schedule WeeklySchedule Args - Schedule for weekly snapshots
- account
Name String - The name of the NetApp account
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- daily
Schedule DailySchedule - Schedule for daily snapshots
- enabled Boolean
- The property to decide policy is enabled or not
- hourly
Schedule HourlySchedule - Schedule for hourly snapshots
- location String
- The geo-location where the resource lives
- monthly
Schedule MonthlySchedule - Schedule for monthly snapshots
- snapshot
Policy StringName - The name of the snapshot policy
- Map<String,String>
- Resource tags.
- weekly
Schedule WeeklySchedule - Schedule for weekly snapshots
- account
Name string - The name of the NetApp account
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- daily
Schedule DailySchedule - Schedule for daily snapshots
- enabled boolean
- The property to decide policy is enabled or not
- hourly
Schedule HourlySchedule - Schedule for hourly snapshots
- location string
- The geo-location where the resource lives
- monthly
Schedule MonthlySchedule - Schedule for monthly snapshots
- snapshot
Policy stringName - The name of the snapshot policy
- {[key: string]: string}
- Resource tags.
- weekly
Schedule WeeklySchedule - Schedule for weekly snapshots
- account_
name str - The name of the NetApp account
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- daily_
schedule DailySchedule Args - Schedule for daily snapshots
- enabled bool
- The property to decide policy is enabled or not
- hourly_
schedule HourlySchedule Args - Schedule for hourly snapshots
- location str
- The geo-location where the resource lives
- monthly_
schedule MonthlySchedule Args - Schedule for monthly snapshots
- snapshot_
policy_ strname - The name of the snapshot policy
- Mapping[str, str]
- Resource tags.
- weekly_
schedule WeeklySchedule Args - Schedule for weekly snapshots
- account
Name String - The name of the NetApp account
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- daily
Schedule Property Map - Schedule for daily snapshots
- enabled Boolean
- The property to decide policy is enabled or not
- hourly
Schedule Property Map - Schedule for hourly snapshots
- location String
- The geo-location where the resource lives
- monthly
Schedule Property Map - Schedule for monthly snapshots
- snapshot
Policy StringName - The name of the snapshot policy
- Map<String>
- Resource tags.
- weekly
Schedule 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:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Azure lifecycle management
- System
Data Pulumi.Azure Native. Net App. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Azure lifecycle management
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Azure lifecycle management
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - Azure lifecycle management
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - Azure lifecycle management
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Azure lifecycle management
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
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
- Snapshots
To intKeep - Daily snapshot count to keep
- Used
Bytes 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
- Snapshots
To intKeep - Daily snapshot count to keep
- Used
Bytes 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
- snapshots
To IntegerKeep - Daily snapshot count to keep
- used
Bytes 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
- snapshots
To numberKeep - Daily snapshot count to keep
- used
Bytes 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_ intkeep - 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
- snapshots
To NumberKeep - Daily snapshot count to keep
- used
Bytes 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
- Snapshots
To intKeep - Daily snapshot count to keep
- Used
Bytes 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
- Snapshots
To intKeep - Daily snapshot count to keep
- Used
Bytes 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
- snapshots
To IntegerKeep - Daily snapshot count to keep
- used
Bytes 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
- snapshots
To numberKeep - Daily snapshot count to keep
- used
Bytes 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_ intkeep - 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
- snapshots
To NumberKeep - Daily snapshot count to keep
- used
Bytes Number - Resource size in bytes, current storage usage for the volume in bytes
HourlySchedule, HourlyScheduleArgs
- Minute int
- Indicates which minute snapshot should be taken
- Snapshots
To intKeep - Hourly snapshot count to keep
- Used
Bytes double - Resource size in bytes, current storage usage for the volume in bytes
- Minute int
- Indicates which minute snapshot should be taken
- Snapshots
To intKeep - Hourly snapshot count to keep
- Used
Bytes float64 - Resource size in bytes, current storage usage for the volume in bytes
- minute Integer
- Indicates which minute snapshot should be taken
- snapshots
To IntegerKeep - Hourly snapshot count to keep
- used
Bytes Double - Resource size in bytes, current storage usage for the volume in bytes
- minute number
- Indicates which minute snapshot should be taken
- snapshots
To numberKeep - Hourly snapshot count to keep
- used
Bytes number - Resource size in bytes, current storage usage for the volume in bytes
- minute int
- Indicates which minute snapshot should be taken
- snapshots_
to_ intkeep - 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
- snapshots
To NumberKeep - Hourly snapshot count to keep
- used
Bytes Number - Resource size in bytes, current storage usage for the volume in bytes
HourlyScheduleResponse, HourlyScheduleResponseArgs
- Minute int
- Indicates which minute snapshot should be taken
- Snapshots
To intKeep - Hourly snapshot count to keep
- Used
Bytes double - Resource size in bytes, current storage usage for the volume in bytes
- Minute int
- Indicates which minute snapshot should be taken
- Snapshots
To intKeep - Hourly snapshot count to keep
- Used
Bytes float64 - Resource size in bytes, current storage usage for the volume in bytes
- minute Integer
- Indicates which minute snapshot should be taken
- snapshots
To IntegerKeep - Hourly snapshot count to keep
- used
Bytes Double - Resource size in bytes, current storage usage for the volume in bytes
- minute number
- Indicates which minute snapshot should be taken
- snapshots
To numberKeep - Hourly snapshot count to keep
- used
Bytes number - Resource size in bytes, current storage usage for the volume in bytes
- minute int
- Indicates which minute snapshot should be taken
- snapshots_
to_ intkeep - 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
- snapshots
To NumberKeep - Hourly snapshot count to keep
- used
Bytes Number - Resource size in bytes, current storage usage for the volume in bytes
MonthlySchedule, MonthlyScheduleArgs
- Days
Of stringMonth - 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 intKeep - Monthly snapshot count to keep
- Used
Bytes double - Resource size in bytes, current storage usage for the volume in bytes
- Days
Of stringMonth - 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 intKeep - Monthly snapshot count to keep
- Used
Bytes float64 - Resource size in bytes, current storage usage for the volume in bytes
- days
Of StringMonth - 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
- snapshots
To IntegerKeep - Monthly snapshot count to keep
- used
Bytes Double - Resource size in bytes, current storage usage for the volume in bytes
- days
Of stringMonth - 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
- snapshots
To numberKeep - Monthly snapshot count to keep
- used
Bytes number - Resource size in bytes, current storage usage for the volume in bytes
- days_
of_ strmonth - 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_ intkeep - Monthly snapshot count to keep
- used_
bytes float - Resource size in bytes, current storage usage for the volume in bytes
- days
Of StringMonth - 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
- snapshots
To NumberKeep - Monthly snapshot count to keep
- used
Bytes Number - Resource size in bytes, current storage usage for the volume in bytes
MonthlyScheduleResponse, MonthlyScheduleResponseArgs
- Days
Of stringMonth - 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 intKeep - Monthly snapshot count to keep
- Used
Bytes double - Resource size in bytes, current storage usage for the volume in bytes
- Days
Of stringMonth - 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 intKeep - Monthly snapshot count to keep
- Used
Bytes float64 - Resource size in bytes, current storage usage for the volume in bytes
- days
Of StringMonth - 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
- snapshots
To IntegerKeep - Monthly snapshot count to keep
- used
Bytes Double - Resource size in bytes, current storage usage for the volume in bytes
- days
Of stringMonth - 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
- snapshots
To numberKeep - Monthly snapshot count to keep
- used
Bytes number - Resource size in bytes, current storage usage for the volume in bytes
- days_
of_ strmonth - 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_ intkeep - Monthly snapshot count to keep
- used_
bytes float - Resource size in bytes, current storage usage for the volume in bytes
- days
Of StringMonth - 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
- snapshots
To NumberKeep - Monthly snapshot count to keep
- used
Bytes Number - Resource size in bytes, current storage usage for the volume in bytes
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
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
- Snapshots
To intKeep - Weekly snapshot count to keep
- Used
Bytes 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
- Snapshots
To intKeep - Weekly snapshot count to keep
- Used
Bytes 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
- snapshots
To IntegerKeep - Weekly snapshot count to keep
- used
Bytes 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
- snapshots
To numberKeep - Weekly snapshot count to keep
- used
Bytes 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_ intkeep - 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
- snapshots
To NumberKeep - Weekly snapshot count to keep
- used
Bytes 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
- Snapshots
To intKeep - Weekly snapshot count to keep
- Used
Bytes 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
- Snapshots
To intKeep - Weekly snapshot count to keep
- Used
Bytes 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
- snapshots
To IntegerKeep - Weekly snapshot count to keep
- used
Bytes 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
- snapshots
To numberKeep - Weekly snapshot count to keep
- used
Bytes 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_ intkeep - 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
- snapshots
To NumberKeep - Weekly snapshot count to keep
- used
Bytes 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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0