1. Packages
  2. Azure Native
  3. API Docs
  4. netapp
  5. getElasticSnapshotPolicy
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.15.0
published on Wednesday, Mar 4, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.15.0
published on Wednesday, Mar 4, 2026 by Pulumi

    Get a ElasticSnapshotPolicy

    Uses Azure REST API version 2025-09-01-preview.

    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: 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[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 dictionary

    The following arguments are supported:

    AccountName string
    The name of the ElasticAccount
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    SnapshotPolicyName string
    The name of the ElasticSnapshotPolicy
    AccountName string
    The name of the ElasticAccount
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    SnapshotPolicyName string
    The name of the ElasticSnapshotPolicy
    accountName String
    The name of the ElasticAccount
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    snapshotPolicyName String
    The name of the ElasticSnapshotPolicy
    accountName string
    The name of the ElasticAccount
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    snapshotPolicyName string
    The name of the ElasticSnapshotPolicy
    account_name str
    The name of the ElasticAccount
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    snapshot_policy_name str
    The name of the ElasticSnapshotPolicy
    accountName String
    The name of the ElasticAccount
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    snapshotPolicyName String
    The name of the ElasticSnapshotPolicy

    getElasticSnapshotPolicy Result

    The following output properties are available:

    AzureApiVersion string
    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.AzureNative.NetApp.Outputs.ElasticSnapshotPolicyPropertiesResponse
    The resource-specific properties for this resource.
    SystemData Pulumi.AzureNative.NetApp.Outputs.SystemDataResponse
    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"
    Tags Dictionary<string, string>
    Resource tags.
    AzureApiVersion string
    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 ElasticSnapshotPolicyPropertiesResponse
    The resource-specific properties for this resource.
    SystemData SystemDataResponse
    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"
    Tags map[string]string
    Resource tags.
    azureApiVersion String
    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 ElasticSnapshotPolicyPropertiesResponse
    The resource-specific properties for this resource.
    systemData SystemDataResponse
    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"
    tags Map<String,String>
    Resource tags.
    azureApiVersion string
    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 ElasticSnapshotPolicyPropertiesResponse
    The resource-specific properties for this resource.
    systemData SystemDataResponse
    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"
    tags {[key: string]: string}
    Resource tags.
    azure_api_version str
    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 ElasticSnapshotPolicyPropertiesResponse
    The resource-specific properties for this resource.
    system_data SystemDataResponse
    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"
    tags Mapping[str, str]
    Resource tags.
    azureApiVersion String
    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 Property Map
    The resource-specific properties for this resource.
    systemData 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"
    tags 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
    SnapshotsToKeep int
    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
    SnapshotsToKeep int
    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
    snapshotsToKeep Integer
    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
    snapshotsToKeep number
    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_keep int
    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
    snapshotsToKeep Number
    Daily snapshot count to keep

    ElasticSnapshotPolicyHourlyScheduleResponse

    Minute int
    Indicates which minute snapshot should be taken
    SnapshotsToKeep int
    Hourly snapshot count to keep
    Minute int
    Indicates which minute snapshot should be taken
    SnapshotsToKeep int
    Hourly snapshot count to keep
    minute Integer
    Indicates which minute snapshot should be taken
    snapshotsToKeep Integer
    Hourly snapshot count to keep
    minute number
    Indicates which minute snapshot should be taken
    snapshotsToKeep number
    Hourly snapshot count to keep
    minute int
    Indicates which minute snapshot should be taken
    snapshots_to_keep int
    Hourly snapshot count to keep
    minute Number
    Indicates which minute snapshot should be taken
    snapshotsToKeep Number
    Hourly snapshot count to keep

    ElasticSnapshotPolicyMonthlyScheduleResponse

    DaysOfMonth List<int>
    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
    SnapshotsToKeep int
    Monthly snapshot count to keep
    DaysOfMonth []int
    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
    SnapshotsToKeep int
    Monthly snapshot count to keep
    daysOfMonth List<Integer>
    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
    snapshotsToKeep Integer
    Monthly snapshot count to keep
    daysOfMonth number[]
    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
    snapshotsToKeep number
    Monthly snapshot count to keep
    days_of_month Sequence[int]
    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_keep int
    Monthly snapshot count to keep
    daysOfMonth List<Number>
    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
    snapshotsToKeep Number
    Monthly snapshot count to keep

    ElasticSnapshotPolicyPropertiesResponse

    ProvisioningState string
    Azure lifecycle management.
    DailySchedule ElasticSnapshotPolicyDailyScheduleResponse
    Schedule for daily snapshots
    HourlySchedule ElasticSnapshotPolicyHourlyScheduleResponse
    Schedule for hourly snapshots
    MonthlySchedule ElasticSnapshotPolicyMonthlyScheduleResponse
    Schedule for monthly snapshots
    PolicyStatus string
    Configures if the snapshot policy is enabled on the volumes connected to the policy.
    WeeklySchedule ElasticSnapshotPolicyWeeklyScheduleResponse
    Schedule for weekly snapshots
    provisioningState String
    Azure lifecycle management.
    dailySchedule ElasticSnapshotPolicyDailyScheduleResponse
    Schedule for daily snapshots
    hourlySchedule ElasticSnapshotPolicyHourlyScheduleResponse
    Schedule for hourly snapshots
    monthlySchedule ElasticSnapshotPolicyMonthlyScheduleResponse
    Schedule for monthly snapshots
    policyStatus String
    Configures if the snapshot policy is enabled on the volumes connected to the policy.
    weeklySchedule ElasticSnapshotPolicyWeeklyScheduleResponse
    Schedule for weekly snapshots
    provisioningState string
    Azure lifecycle management.
    dailySchedule ElasticSnapshotPolicyDailyScheduleResponse
    Schedule for daily snapshots
    hourlySchedule ElasticSnapshotPolicyHourlyScheduleResponse
    Schedule for hourly snapshots
    monthlySchedule ElasticSnapshotPolicyMonthlyScheduleResponse
    Schedule for monthly snapshots
    policyStatus string
    Configures if the snapshot policy is enabled on the volumes connected to the policy.
    weeklySchedule ElasticSnapshotPolicyWeeklyScheduleResponse
    Schedule for weekly snapshots
    provisioning_state str
    Azure lifecycle management.
    daily_schedule ElasticSnapshotPolicyDailyScheduleResponse
    Schedule for daily snapshots
    hourly_schedule ElasticSnapshotPolicyHourlyScheduleResponse
    Schedule for hourly snapshots
    monthly_schedule ElasticSnapshotPolicyMonthlyScheduleResponse
    Schedule for monthly snapshots
    policy_status str
    Configures if the snapshot policy is enabled on the volumes connected to the policy.
    weekly_schedule ElasticSnapshotPolicyWeeklyScheduleResponse
    Schedule for weekly snapshots
    provisioningState String
    Azure lifecycle management.
    dailySchedule Property Map
    Schedule for daily snapshots
    hourlySchedule Property Map
    Schedule for hourly snapshots
    monthlySchedule Property Map
    Schedule for monthly snapshots
    policyStatus String
    Configures if the snapshot policy is enabled on the volumes connected to the policy.
    weeklySchedule 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
    SnapshotsToKeep int
    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
    SnapshotsToKeep int
    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
    snapshotsToKeep Integer
    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
    snapshotsToKeep number
    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_keep int
    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
    snapshotsToKeep Number
    Weekly snapshot count to keep

    SystemDataResponse

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v3.15.0
    published on Wednesday, Mar 4, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.