次の方法で共有


Microsoft.NetApp netAppAccounts/capacityPools/volumes/snapshots 2024-09-01

Bicep resource definition

The netAppAccounts/capacityPools/volumes/snapshots resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots@2024-09-01' = {
  parent: resourceSymbolicName
  location: 'string'
  name: 'string'
  properties: {}
}

Property Values

Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots

Name Description Value
location Resource location string (required)
name The resource name string (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: netAppAccounts/capacityPools/volumes
properties Snapshot Properties SnapshotProperties

SnapshotProperties

Name Description Value

ARM template resource definition

The netAppAccounts/capacityPools/volumes/snapshots resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots resource, add the following JSON to your template.

{
  "type": "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots",
  "apiVersion": "2024-09-01",
  "name": "string",
  "location": "string",
  "properties": {
  }
}

Property Values

Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots

Name Description Value
apiVersion The api version '2024-09-01'
location Resource location string (required)
name The resource name string (required)
properties Snapshot Properties SnapshotProperties
type The resource type 'Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots'

SnapshotProperties

Name Description Value

Usage Examples

Terraform (AzAPI provider) resource definition

The netAppAccounts/capacityPools/volumes/snapshots resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots@2024-09-01"
  name = "string"
  location = "string"
  body = jsonencode({
    properties = {
    }
  })
}

Property Values

Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots

Name Description Value
location Resource location string (required)
name The resource name string (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: netAppAccounts/capacityPools/volumes
properties Snapshot Properties SnapshotProperties
type The resource type "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots@2024-09-01"

SnapshotProperties

Name Description Value