Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
- Latest
- 2025-02-01
- 2025-01-02-preview
- 2025-01-01
- 2024-10-02-preview
- 2024-10-01
- 2024-09-02-preview
- 2024-09-01
- 2024-08-01
- 2024-07-02-preview
- 2024-07-01
- 2024-06-02-preview
- 2024-05-02-preview
- 2024-05-01
- 2024-04-02-preview
- 2024-03-02-preview
- 2024-02-02-preview
- 2024-02-01
- 2024-01-02-preview
- 2024-01-01
- 2023-11-02-preview
- 2023-11-01
- 2023-10-02-preview
- 2023-10-01
- 2023-09-02-preview
- 2023-09-01
- 2023-08-02-preview
- 2023-08-01
- 2023-07-02-preview
- 2023-07-01
- 2023-06-02-preview
- 2023-06-01
- 2023-05-02-preview
- 2023-05-01
- 2023-04-02-preview
- 2023-04-01
- 2023-03-02-preview
- 2023-03-01
- 2023-02-02-preview
- 2023-02-01
- 2023-01-02-preview
- 2023-01-01
- 2022-11-02-preview
- 2022-11-01
- 2022-10-02-preview
- 2022-09-02-preview
- 2022-09-01
- 2022-08-03-preview
- 2022-08-02-preview
- 2022-07-02-preview
- 2022-07-01
- 2022-06-02-preview
- 2022-06-01
- 2022-05-02-preview
- 2022-04-02-preview
- 2022-04-01
- 2022-03-02-preview
- 2022-03-01
- 2022-02-02-preview
- 2022-02-01
- 2022-01-02-preview
- 2022-01-01
- 2021-11-01-preview
- 2021-10-01
- 2021-09-01
- 2021-08-01
Bicep resource definition
The snapshots resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ContainerService/snapshots resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.ContainerService/snapshots@2022-10-02-preview' = {
location: 'string'
name: 'string'
properties: {
creationData: {
sourceResourceId: 'string'
}
snapshotType: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
CreationData
Name | Description | Value |
---|---|---|
sourceResourceId | This is the ARM ID of the source object to be used to create the target object. | string |
Microsoft.ContainerService/snapshots
Name | Description | Value |
---|---|---|
location | The geo-location where the resource lives | string (required) |
name | The resource name | string Constraints: Min length = 1 Max length = 63 Pattern = ^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$ (required) |
properties | Properties of a snapshot. | SnapshotProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
SnapshotProperties
Name | Description | Value |
---|---|---|
creationData | CreationData to be used to specify the source agent pool resource ID to create this snapshot. | CreationData |
snapshotType | The type of a snapshot. The default is NodePool. | 'ManagedCluster' 'NodePool' |
TrackedResourceTags
Name | Description | Value |
---|
ARM template resource definition
The snapshots resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ContainerService/snapshots resource, add the following JSON to your template.
{
"type": "Microsoft.ContainerService/snapshots",
"apiVersion": "2022-10-02-preview",
"name": "string",
"location": "string",
"properties": {
"creationData": {
"sourceResourceId": "string"
},
"snapshotType": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
CreationData
Name | Description | Value |
---|---|---|
sourceResourceId | This is the ARM ID of the source object to be used to create the target object. | string |
Microsoft.ContainerService/snapshots
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2022-10-02-preview' |
location | The geo-location where the resource lives | string (required) |
name | The resource name | string Constraints: Min length = 1 Max length = 63 Pattern = ^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$ (required) |
properties | Properties of a snapshot. | SnapshotProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.ContainerService/snapshots' |
SnapshotProperties
Name | Description | Value |
---|---|---|
creationData | CreationData to be used to specify the source agent pool resource ID to create this snapshot. | CreationData |
snapshotType | The type of a snapshot. The default is NodePool. | 'ManagedCluster' 'NodePool' |
TrackedResourceTags
Name | Description | Value |
---|
Exemples d’utilisation
Terraform (AzAPI provider) resource definition
The 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.ContainerService/snapshots resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.ContainerService/snapshots@2022-10-02-preview"
name = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
creationData = {
sourceResourceId = "string"
}
snapshotType = "string"
}
}
}
Property Values
CreationData
Name | Description | Value |
---|---|---|
sourceResourceId | This is the ARM ID of the source object to be used to create the target object. | string |
Microsoft.ContainerService/snapshots
Name | Description | Value |
---|---|---|
location | The geo-location where the resource lives | string (required) |
name | The resource name | string Constraints: Min length = 1 Max length = 63 Pattern = ^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$ (required) |
properties | Properties of a snapshot. | SnapshotProperties |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.ContainerService/snapshots@2022-10-02-preview" |
SnapshotProperties
Name | Description | Value |
---|---|---|
creationData | CreationData to be used to specify the source agent pool resource ID to create this snapshot. | CreationData |
snapshotType | The type of a snapshot. The default is NodePool. | 'ManagedCluster' 'NodePool' |
TrackedResourceTags
Name | Description | Value |
---|