Microsoft.ContainerService managedclustersnapshots 2026-05-02-preview

Bicep 資源定義

managedclustersnapshots 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。

資源格式

若要建立 Microsoft.ContainerService/managedclustersnapshots 資源,請將下列 Bicep 新增至範本。

resource symbolicname 'Microsoft.ContainerService/managedclustersnapshots@2026-05-02-preview' = {
  location: 'string'
  name: 'string'
  properties: {
    creationData: {
      sourceResourceId: 'string'
    }
    snapshotType: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

Microsoft.ContainerService/managedclustersnapshots

Name Description 值
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 string

約束:
最小長度 = 1
最大長度 = 63
模式 = ^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$ (必要)
properties 受控叢集快照集的屬性。 ManagedClusterSnapshotProperties
tags 資源標籤 標記名稱和值的字典。 請參考模板中的標籤

CreationData

Name Description 值
sourceResourceId 這是要用來建立目標物件的來源物件的 ARM 識別碼。 字串

ManagedClusterSnapshotProperties

Name Description 值
creationData 要用來指定要建立此快照集的來源資源標識碼的 CreationData。 CreationData
snapshotType 快照集的類型。 預設值為 NodePool。 'ManagedCluster'
'NodePool'

TrackedResourceTags

Name Description 值

ARM 樣本資源定義

managedclustersnapshots 資源類型可以使用目標作業來部署:

使用範例

資源格式

若要建立 Microsoft.ContainerService/managedclustersnapshots 資源,請將下列 JSON 新增至範本。

{
  "type": "Microsoft.ContainerService/managedclustersnapshots",
  "apiVersion": "2026-05-02-preview",
  "name": "string",
  "location": "string",
  "properties": {
    "creationData": {
      "sourceResourceId": "string"
    },
    "snapshotType": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

Microsoft.ContainerService/managedclustersnapshots

Name Description 值
apiVersion API 版本 『2026-05-02-預覽』
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 string

約束:
最小長度 = 1
最大長度 = 63
模式 = ^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$ (必要)
properties 受控叢集快照集的屬性。 ManagedClusterSnapshotProperties
tags 資源標籤 標記名稱和值的字典。 請參考模板中的標籤
型別 資源類型 'Microsoft.ContainerService/managedclustersnapshots'

CreationData

Name Description 值
sourceResourceId 這是要用來建立目標物件的來源物件的 ARM 識別碼。 字串

ManagedClusterSnapshotProperties

Name Description 值
creationData 要用來指定要建立此快照集的來源資源標識碼的 CreationData。 CreationData
snapshotType 快照集的類型。 預設值為 NodePool。 'ManagedCluster'
'NodePool'

TrackedResourceTags

Name Description 值

Terraform (AzAPI 提供者) 資源定義

managedclustersnapshots 資源類型可以使用目標作業來部署:

  • 資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。

資源格式

若要建立 Microsoft.ContainerService/managedclustersnapshots 資源,請將下列 Terraform 新增至範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.ContainerService/managedclustersnapshots@2026-05-02-preview"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      creationData = {
        sourceResourceId = "string"
      }
      snapshotType = "string"
    }
  }
}

屬性值

Microsoft.ContainerService/managedclustersnapshots

Name Description 值
位置 資源所在的地理位置 字串 (必要)
名字 資源名稱 string

約束:
最小長度 = 1
最大長度 = 63
模式 = ^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$ (必要)
properties 受控叢集快照集的屬性。 ManagedClusterSnapshotProperties
tags 資源標籤 標記名稱和值的字典。
型別 資源類型 「Microsoft。容器服務/managedclustersnapshots@2026-05-02-預覽」

CreationData

Name Description 值
sourceResourceId 這是要用來建立目標物件的來源物件的 ARM 識別碼。 字串

ManagedClusterSnapshotProperties

Name Description 值
creationData 要用來指定要建立此快照集的來源資源標識碼的 CreationData。 CreationData
snapshotType 快照集的類型。 預設值為 NodePool。 'ManagedCluster'
'NodePool'

TrackedResourceTags

Name Description 值