published on Wednesday, Aug 5, 2026 by Pulumi
published on Wednesday, Aug 5, 2026 by Pulumi
Get a ElasticSnapshotPolicy
Uses Azure REST API version 2025-09-01-preview.
Other available API versions: 2025-12-15-preview, 2026-01-15-preview, 2026-03-15-preview, 2026-04-15-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native netapp [ApiVersion]. See the version guide for details.
Using getElasticSnapshotPolicy
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 getElasticSnapshotPolicy(args: GetElasticSnapshotPolicyArgs, opts?: InvokeOptions): Promise<GetElasticSnapshotPolicyResult>
function getElasticSnapshotPolicyOutput(args: GetElasticSnapshotPolicyOutputArgs, opts?: InvokeOptions): Output<GetElasticSnapshotPolicyResult>def get_elastic_snapshot_policy(account_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
snapshot_policy_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetElasticSnapshotPolicyResult
def get_elastic_snapshot_policy_output(account_name: pulumi.Input[Optional[str]] = None,
resource_group_name: pulumi.Input[Optional[str]] = None,
snapshot_policy_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetElasticSnapshotPolicyResult]func LookupElasticSnapshotPolicy(ctx *Context, args *LookupElasticSnapshotPolicyArgs, opts ...InvokeOption) (*LookupElasticSnapshotPolicyResult, error)
func LookupElasticSnapshotPolicyOutput(ctx *Context, args *LookupElasticSnapshotPolicyOutputArgs, opts ...InvokeOption) LookupElasticSnapshotPolicyResultOutput> Note: This function is named LookupElasticSnapshotPolicy in the Go SDK.
public static class GetElasticSnapshotPolicy
{
public static Task<GetElasticSnapshotPolicyResult> InvokeAsync(GetElasticSnapshotPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetElasticSnapshotPolicyResult> Invoke(GetElasticSnapshotPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetElasticSnapshotPolicyResult> getElasticSnapshotPolicy(GetElasticSnapshotPolicyArgs args, InvokeOptions options)
public static Output<GetElasticSnapshotPolicyResult> getElasticSnapshotPolicy(GetElasticSnapshotPolicyArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:netapp:getElasticSnapshotPolicy
arguments:
# arguments dictionarydata "azure-native_netapp_get_elastic_snapshot_policy" "name" {
# arguments
}The following arguments are supported:
- Account
Name string - The name of the ElasticAccount
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Snapshot
Policy stringName - The name of the ElasticSnapshotPolicy
- Account
Name string - The name of the ElasticAccount
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Snapshot
Policy stringName - The name of the ElasticSnapshotPolicy
- account_
name string - The name of the ElasticAccount
- resource_
group_ stringname - The name of the resource group. The name is case insensitive.
- snapshot_
policy_ stringname - The name of the ElasticSnapshotPolicy
- account
Name String - The name of the ElasticAccount
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- snapshot
Policy StringName - The name of the ElasticSnapshotPolicy
- account
Name string - The name of the ElasticAccount
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- snapshot
Policy stringName - The name of the ElasticSnapshotPolicy
- account_
name str - The name of the ElasticAccount
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- snapshot_
policy_ strname - The name of the ElasticSnapshotPolicy
- account
Name String - The name of the ElasticAccount
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- snapshot
Policy StringName - The name of the ElasticSnapshotPolicy
getElasticSnapshotPolicy Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- ETag string
- If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Pulumi.
Azure Native. Net App. Outputs. Elastic Snapshot Policy Properties Response - The resource-specific properties for this resource.
- 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"
- Dictionary<string, string>
- Resource tags.
- Azure
Api stringVersion - The Azure API version of the resource.
- ETag string
- If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Properties
Elastic
Snapshot Policy Properties Response - The resource-specific properties for this resource.
- 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"
- map[string]string
- Resource tags.
- azure_
api_ stringversion - The Azure API version of the resource.
- e_
tag string - If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- properties object
- The resource-specific properties for this resource.
- system_
data object - 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"
- map(string)
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- e
Tag String - If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties
Elastic
Snapshot Policy Properties Response - The resource-specific properties for this resource.
- 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"
- Map<String,String>
- Resource tags.
- azure
Api stringVersion - The Azure API version of the resource.
- e
Tag string - If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- properties
Elastic
Snapshot Policy Properties Response - The resource-specific properties for this resource.
- 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"
- {[key: string]: string}
- Resource tags.
- azure_
api_ strversion - The Azure API version of the resource.
- e_
tag str - If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- properties
Elastic
Snapshot Policy Properties Response - The resource-specific properties for this resource.
- 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"
- Mapping[str, str]
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- e
Tag String - If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- properties Property Map
- The resource-specific properties for this resource.
- 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"
- Map<String>
- Resource tags.
Supporting Types
ElasticSnapshotPolicyDailyScheduleResponse
- 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
- 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
- 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
- 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
- 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
- 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
- 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
ElasticSnapshotPolicyHourlyScheduleResponse
- Minute int
- Indicates which minute snapshot should be taken
- Snapshots
To intKeep - Hourly snapshot count to keep
- Minute int
- Indicates which minute snapshot should be taken
- Snapshots
To intKeep - Hourly snapshot count to keep
- minute number
- Indicates which minute snapshot should be taken
- snapshots_
to_ numberkeep - Hourly snapshot count to keep
- minute Integer
- Indicates which minute snapshot should be taken
- snapshots
To IntegerKeep - Hourly snapshot count to keep
- minute number
- Indicates which minute snapshot should be taken
- snapshots
To numberKeep - Hourly snapshot count to keep
- minute int
- Indicates which minute snapshot should be taken
- snapshots_
to_ intkeep - Hourly snapshot count to keep
- minute Number
- Indicates which minute snapshot should be taken
- snapshots
To NumberKeep - Hourly snapshot count to keep
ElasticSnapshotPolicyMonthlyScheduleResponse
- Days
Of List<int>Month - Indicates which days of the month snapshot (1-31) should be taken, accepts a list of integers
- 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
- Days
Of []intMonth - Indicates which days of the month snapshot (1-31) should be taken, accepts a list of integers
- 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
- days_
of_ list(number)month - Indicates which days of the month snapshot (1-31) should be taken, accepts a list of integers
- 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
- days
Of List<Integer>Month - Indicates which days of the month snapshot (1-31) should be taken, accepts a list of integers
- 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
- days
Of number[]Month - Indicates which days of the month snapshot (1-31) should be taken, accepts a list of integers
- 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
- days_
of_ Sequence[int]month - Indicates which days of the month snapshot (1-31) should be taken, accepts a list of integers
- 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
- days
Of List<Number>Month - Indicates which days of the month snapshot (1-31) should be taken, accepts a list of integers
- 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
ElasticSnapshotPolicyPropertiesResponse
- Provisioning
State string - Azure lifecycle management.
- Daily
Schedule Pulumi.Azure Native. Net App. Inputs. Elastic Snapshot Policy Daily Schedule Response - Schedule for daily snapshots
- Hourly
Schedule Pulumi.Azure Native. Net App. Inputs. Elastic Snapshot Policy Hourly Schedule Response - Schedule for hourly snapshots
- Monthly
Schedule Pulumi.Azure Native. Net App. Inputs. Elastic Snapshot Policy Monthly Schedule Response - Schedule for monthly snapshots
- Policy
Status string - Configures if the snapshot policy is enabled on the volumes connected to the policy.
- Weekly
Schedule Pulumi.Azure Native. Net App. Inputs. Elastic Snapshot Policy Weekly Schedule Response - Schedule for weekly snapshots
- Provisioning
State string - Azure lifecycle management.
- Daily
Schedule ElasticSnapshot Policy Daily Schedule Response - Schedule for daily snapshots
- Hourly
Schedule ElasticSnapshot Policy Hourly Schedule Response - Schedule for hourly snapshots
- Monthly
Schedule ElasticSnapshot Policy Monthly Schedule Response - Schedule for monthly snapshots
- Policy
Status string - Configures if the snapshot policy is enabled on the volumes connected to the policy.
- Weekly
Schedule ElasticSnapshot Policy Weekly Schedule Response - Schedule for weekly snapshots
- provisioning_
state string - Azure lifecycle management.
- daily_
schedule object - Schedule for daily snapshots
- hourly_
schedule object - Schedule for hourly snapshots
- monthly_
schedule object - Schedule for monthly snapshots
- policy_
status string - Configures if the snapshot policy is enabled on the volumes connected to the policy.
- weekly_
schedule object - Schedule for weekly snapshots
- provisioning
State String - Azure lifecycle management.
- daily
Schedule ElasticSnapshot Policy Daily Schedule Response - Schedule for daily snapshots
- hourly
Schedule ElasticSnapshot Policy Hourly Schedule Response - Schedule for hourly snapshots
- monthly
Schedule ElasticSnapshot Policy Monthly Schedule Response - Schedule for monthly snapshots
- policy
Status String - Configures if the snapshot policy is enabled on the volumes connected to the policy.
- weekly
Schedule ElasticSnapshot Policy Weekly Schedule Response - Schedule for weekly snapshots
- provisioning
State string - Azure lifecycle management.
- daily
Schedule ElasticSnapshot Policy Daily Schedule Response - Schedule for daily snapshots
- hourly
Schedule ElasticSnapshot Policy Hourly Schedule Response - Schedule for hourly snapshots
- monthly
Schedule ElasticSnapshot Policy Monthly Schedule Response - Schedule for monthly snapshots
- policy
Status string - Configures if the snapshot policy is enabled on the volumes connected to the policy.
- weekly
Schedule ElasticSnapshot Policy Weekly Schedule Response - Schedule for weekly snapshots
- provisioning_
state str - Azure lifecycle management.
- daily_
schedule ElasticSnapshot Policy Daily Schedule Response - Schedule for daily snapshots
- hourly_
schedule ElasticSnapshot Policy Hourly Schedule Response - Schedule for hourly snapshots
- monthly_
schedule ElasticSnapshot Policy Monthly Schedule Response - Schedule for monthly snapshots
- policy_
status str - Configures if the snapshot policy is enabled on the volumes connected to the policy.
- weekly_
schedule ElasticSnapshot Policy Weekly Schedule Response - Schedule for weekly snapshots
- provisioning
State String - Azure lifecycle management.
- daily
Schedule Property Map - Schedule for daily snapshots
- hourly
Schedule Property Map - Schedule for hourly snapshots
- monthly
Schedule Property Map - Schedule for monthly snapshots
- policy
Status String - Configures if the snapshot policy is enabled on the volumes connected to the policy.
- weekly
Schedule Property Map - Schedule for weekly snapshots
ElasticSnapshotPolicyWeeklyScheduleResponse
- Days List<string>
- Indicates which weekday(s) snapshot(s) should be taken, accepts a 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
- Days []string
- Indicates which weekday(s) snapshot(s) should be taken, accepts a 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
- days list(string)
- Indicates which weekday(s) snapshot(s) should be taken, accepts a 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
- days List<String>
- Indicates which weekday(s) snapshot(s) should be taken, accepts a 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
- days string[]
- Indicates which weekday(s) snapshot(s) should be taken, accepts a 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
- days Sequence[str]
- Indicates which weekday(s) snapshot(s) should be taken, accepts a 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
- days List<String>
- Indicates which weekday(s) snapshot(s) should be taken, accepts a 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
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 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
published on Wednesday, Aug 5, 2026 by Pulumi