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.getSnapshotPolicy
Explore with Pulumi AI
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
Get a snapshot Policy API Version: 2020-12-01.
Using getSnapshotPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSnapshotPolicy(args: GetSnapshotPolicyArgs, opts?: InvokeOptions): Promise<GetSnapshotPolicyResult>
function getSnapshotPolicyOutput(args: GetSnapshotPolicyOutputArgs, opts?: InvokeOptions): Output<GetSnapshotPolicyResult>
def get_snapshot_policy(account_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
snapshot_policy_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSnapshotPolicyResult
def get_snapshot_policy_output(account_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
snapshot_policy_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSnapshotPolicyResult]
func LookupSnapshotPolicy(ctx *Context, args *LookupSnapshotPolicyArgs, opts ...InvokeOption) (*LookupSnapshotPolicyResult, error)
func LookupSnapshotPolicyOutput(ctx *Context, args *LookupSnapshotPolicyOutputArgs, opts ...InvokeOption) LookupSnapshotPolicyResultOutput
> Note: This function is named LookupSnapshotPolicy
in the Go SDK.
public static class GetSnapshotPolicy
{
public static Task<GetSnapshotPolicyResult> InvokeAsync(GetSnapshotPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetSnapshotPolicyResult> Invoke(GetSnapshotPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSnapshotPolicyResult> getSnapshotPolicy(GetSnapshotPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:netapp:getSnapshotPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name string - The name of the NetApp account
- Resource
Group stringName - The name of the resource group.
- Snapshot
Policy stringName - The name of the snapshot policy
- Account
Name string - The name of the NetApp account
- Resource
Group stringName - The name of the resource group.
- Snapshot
Policy stringName - The name of the snapshot policy
- account
Name String - The name of the NetApp account
- resource
Group StringName - The name of the resource group.
- snapshot
Policy StringName - The name of the snapshot policy
- account
Name string - The name of the NetApp account
- resource
Group stringName - The name of the resource group.
- snapshot
Policy stringName - The name of the snapshot policy
- account_
name str - The name of the NetApp account
- resource_
group_ strname - The name of the resource group.
- snapshot_
policy_ strname - The name of the snapshot policy
- account
Name String - The name of the NetApp account
- resource
Group StringName - The name of the resource group.
- snapshot
Policy StringName - The name of the snapshot policy
getSnapshotPolicy Result
The following output properties are available:
- Id string
- Resource Id
- Location string
- Resource location
- Name string
- Resource name
- Provisioning
State string - Azure lifecycle management
- Type string
- Resource type
- Daily
Schedule Pulumi.Azure Native. Net App. Outputs. Daily Schedule Response - Schedule for daily snapshots
- Enabled bool
- The property to decide policy is enabled or not
- Hourly
Schedule Pulumi.Azure Native. Net App. Outputs. Hourly Schedule Response - Schedule for hourly snapshots
- Monthly
Schedule Pulumi.Azure Native. Net App. Outputs. Monthly Schedule Response - Schedule for monthly snapshots
- Dictionary<string, string>
- Resource tags
- Weekly
Schedule Pulumi.Azure Native. Net App. Outputs. Weekly Schedule Response - Schedule for weekly snapshots
- Id string
- Resource Id
- Location string
- Resource location
- Name string
- Resource name
- Provisioning
State string - Azure lifecycle management
- Type string
- Resource type
- Daily
Schedule DailySchedule Response - Schedule for daily snapshots
- Enabled bool
- The property to decide policy is enabled or not
- Hourly
Schedule HourlySchedule Response - Schedule for hourly snapshots
- Monthly
Schedule MonthlySchedule Response - Schedule for monthly snapshots
- map[string]string
- Resource tags
- Weekly
Schedule WeeklySchedule Response - Schedule for weekly snapshots
- id String
- Resource Id
- location String
- Resource location
- name String
- Resource name
- provisioning
State String - Azure lifecycle management
- type String
- Resource type
- daily
Schedule DailySchedule Response - Schedule for daily snapshots
- enabled Boolean
- The property to decide policy is enabled or not
- hourly
Schedule HourlySchedule Response - Schedule for hourly snapshots
- monthly
Schedule MonthlySchedule Response - Schedule for monthly snapshots
- Map<String,String>
- Resource tags
- weekly
Schedule WeeklySchedule Response - Schedule for weekly snapshots
- id string
- Resource Id
- location string
- Resource location
- name string
- Resource name
- provisioning
State string - Azure lifecycle management
- type string
- Resource type
- daily
Schedule DailySchedule Response - Schedule for daily snapshots
- enabled boolean
- The property to decide policy is enabled or not
- hourly
Schedule HourlySchedule Response - Schedule for hourly snapshots
- monthly
Schedule MonthlySchedule Response - Schedule for monthly snapshots
- {[key: string]: string}
- Resource tags
- weekly
Schedule WeeklySchedule Response - Schedule for weekly snapshots
- id str
- Resource Id
- location str
- Resource location
- name str
- Resource name
- provisioning_
state str - Azure lifecycle management
- type str
- Resource type
- daily_
schedule DailySchedule Response - Schedule for daily snapshots
- enabled bool
- The property to decide policy is enabled or not
- hourly_
schedule HourlySchedule Response - Schedule for hourly snapshots
- monthly_
schedule MonthlySchedule Response - Schedule for monthly snapshots
- Mapping[str, str]
- Resource tags
- weekly_
schedule WeeklySchedule Response - Schedule for weekly snapshots
- id String
- Resource Id
- location String
- Resource location
- name String
- Resource name
- provisioning
State String - Azure lifecycle management
- type String
- Resource type
- 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
- monthly
Schedule Property Map - Schedule for monthly snapshots
- Map<String>
- Resource tags
- weekly
Schedule Property Map - Schedule for weekly snapshots
Supporting Types
DailyScheduleResponse
- 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
HourlyScheduleResponse
- 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
MonthlyScheduleResponse
- 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
WeeklyScheduleResponse
- 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
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
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