共用方式為


Microsoft.MachineLearning 承諾計劃

Bicep 資源定義

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

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

資源格式

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

resource symbolicname 'Microsoft.MachineLearning/commitmentPlans@2016-05-01-preview' = {
  scope: resourceSymbolicName or scope
  etag: 'string'
  location: 'string'
  name: 'string'
  sku: {
    capacity: int
    name: 'string'
    tier: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

Microsoft.MachineLearning/commitmentPlans

名字 描述 價值
etag 用來強制執行開放式並行存取的實體標籤。 字串
位置 資源位置。 字串 (必要)
名字 資源名稱 字串 (必要)
範圍 在與部署範圍不同的範圍內建立資源時,請使用 。 將此屬性設定為資源的符號名稱,以套用 擴充資源
SKU 承諾方案 SKU。 ResourceSku
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

ResourceSku

名字 描述 價值
容量 資源的向外延展容量。 1 是 1x、2 是 2x 等。這會影響任何承諾方案資源的數量和成本。 整數 (int)
名字 SKU 名稱。 除了階層之外,也會唯一識別 SKU。 字串
分層 SKU 層。 除了名稱之外,也會唯一識別 SKU。 字串

標籤

名字 描述 價值

ARM 樣本資源定義

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

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

資源格式

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

{
  "type": "Microsoft.MachineLearning/commitmentPlans",
  "apiVersion": "2016-05-01-preview",
  "name": "string",
  "etag": "string",
  "location": "string",
  "sku": {
    "capacity": "int",
    "name": "string",
    "tier": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

Microsoft.MachineLearning/commitmentPlans

名字 描述 價值
apiVersion API 版本 '2016-05-01-preview'
etag 用來強制執行開放式並行存取的實體標籤。 字串
位置 資源位置。 字串 (必要)
名字 資源名稱 字串 (必要)
SKU 承諾方案 SKU。 ResourceSku
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
型別 資源類型 'Microsoft.MachineLearning/commitmentPlans'

ResourceSku

名字 描述 價值
容量 資源的向外延展容量。 1 是 1x、2 是 2x 等。這會影響任何承諾方案資源的數量和成本。 整數 (int)
名字 SKU 名稱。 除了階層之外,也會唯一識別 SKU。 字串
分層 SKU 層。 除了名稱之外,也會唯一識別 SKU。 字串

標籤

名字 描述 價值

使用範例

Terraform (AzAPI 提供者) 資源定義

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

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

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MachineLearning/commitmentPlans@2016-05-01-preview"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    etag = "string"
    sku = {
      capacity = int
      name = "string"
      tier = "string"
    }
  }
}

屬性值

Microsoft.MachineLearning/commitmentPlans

名字 描述 價值
etag 用來強制執行開放式並行存取的實體標籤。 字串
位置 資源位置。 字串 (必要)
名字 資源名稱 字串 (必要)
parent_id 要套用此延伸模組資源之資源的標識碼。 字串 (必要)
SKU 承諾方案 SKU。 ResourceSku
標籤 資源標籤 標記名稱和值的字典。
型別 資源類型 “Microsoft.MachineLearning/commitmentPlans@2016-05-01-preview”

ResourceSku

名字 描述 價值
容量 資源的向外延展容量。 1 是 1x、2 是 2x 等。這會影響任何承諾方案資源的數量和成本。 整數 (int)
名字 SKU 名稱。 除了階層之外,也會唯一識別 SKU。 字串
分層 SKU 層。 除了名稱之外,也會唯一識別 SKU。 字串

標籤

名字 描述 價值