This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.netapp.getSnapshotPolicy
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
Get a snapshot Policy Azure REST API version: 2022-11-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, 2024-01-01, 2024-03-01, 2024-03-01-preview.
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. The name is case insensitive.
- 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. The name is case insensitive.
- 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. The name is case insensitive.
- 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. The name is case insensitive.
- 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. The name is case insensitive.
- 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. The name is case insensitive.
- snapshot
Policy StringName - The name of the snapshot policy
getSnapshotPolicy Result
The following output properties are available:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- 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"
- 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
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- 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"
- 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
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- 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"
- 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
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location string
- The geo-location where the resource lives
- 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"
- 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
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location str
- The geo-location where the resource lives
- 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"
- 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
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- 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"
- 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
SystemDataResponse
- 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.
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 pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi