共用方式為


Microsoft.Compute restorePointCollections 2023-09-01

Bicep 資源定義

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

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

資源格式

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

resource symbolicname 'Microsoft.Compute/restorePointCollections@2023-09-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  properties: {
    source: {
      id: 'string'
    }
  }
}

屬性值

restorePointCollections

名稱 描述
NAME 資源名稱 字串 (必要)
location 資源位置 字串 (必要)
tags 資源標籤 標記名稱和值的字典。 請參閱 範本中的標記
properties 還原點集合屬性。 RestorePointCollectionProperties

RestorePointCollectionProperties

名稱 描述
來源 建立這個還原點集合的來源資源屬性。 RestorePointCollectionSourceProperties

RestorePointCollectionSourceProperties

名稱 描述
id 用來建立此還原點集合之來源資源的資源標識符 字串

ARM 範本資源定義

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

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

資源格式

若要建立 Microsoft.Compute/restorePointCollections 資源,請將下列 JSON 新增至您的範本。

{
  "type": "Microsoft.Compute/restorePointCollections",
  "apiVersion": "2023-09-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "source": {
      "id": "string"
    }
  }
}

屬性值

restorePointCollections

名稱 描述
類型 資源類型 'Microsoft.Compute/restorePointCollections'
apiVersion 資源 API 版本 '2023-09-01'
NAME 資源名稱 字串 (必要)
location 資源位置 字串 (必要)
tags 資源標籤 標記名稱和值的字典。 請參閱 範本中的標記
properties 還原點集合屬性。 RestorePointCollectionProperties

RestorePointCollectionProperties

名稱 描述
來源 建立這個還原點集合的來源資源屬性。 RestorePointCollectionSourceProperties

RestorePointCollectionSourceProperties

名稱 描述
id 用來建立此還原點集合之來源資源的資源標識符 字串

Terraform (AzAPI 提供者) 資源定義

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

  • 資源群組

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

資源格式

若要建立 Microsoft.Compute/restorePointCollections 資源,請將下列 Terraform 新增至您的範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Compute/restorePointCollections@2023-09-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      source = {
        id = "string"
      }
    }
  })
}

屬性值

restorePointCollections

名稱 描述
類型 資源類型 “Microsoft.Compute/restorePointCollections@2023-09-01”
NAME 資源名稱 字串 (必要)
location 資源位置 字串 (必要)
parent_id 若要部署至資源群組,請使用該資源群組的標識碼。 字串 (必要)
tags 資源標籤 標記名稱和值的字典。
properties 還原點集合屬性。 RestorePointCollectionProperties

RestorePointCollectionProperties

名稱 描述
來源 建立這個還原點集合的來源資源屬性。 RestorePointCollectionSourceProperties

RestorePointCollectionSourceProperties

名稱 描述
id 用來建立此還原點集合之來源資源的資源標識符 字串