共用方式為


Microsoft.MachineLearningServices capacityReserverationGroups 2023-08-01-preview

Bicep 資源定義

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

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

資源格式

若要建立 Microsoft.MachineLearningServices/capacityReserverationGroups 資源,請將下列 Bicep 新增至您的範本。

resource symbolicname 'Microsoft.MachineLearningServices/capacityReserverationGroups@2023-08-01-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  sku: {
    capacity: int
    family: 'string'
    name: 'string'
    size: 'string'
    tier: 'string'
  }
  kind: 'string'
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  properties: {
    offer: {
      offerName: 'string'
      publisher: 'string'
    }
    reservedCapacity: int
  }
}

屬性值

capacityReserverationGroups

名稱 描述
NAME 資源名稱 字串 (必要)
location 資源所在的地理位置 字串 (必要)
tags 資源標籤。 標記名稱和值的字典。 請參閱 範本中的標記
sku 自動調整 ARM 合約所需的 SKU 詳細數據。 Sku
kind 入口網站/工具等用來轉譯相同類型資源的不同UX體驗的元數據。 字串
身分識別 受控服務識別 (系統指派和/或使用者指派的身分識別) ManagedServiceIdentity
properties [必要]實體的其他屬性。 CapacityReservationGroupProperties (必要)

ManagedServiceIdentity

名稱 描述
類型 (允許 SystemAssigned 和 UserAssigned 類型的受控服務識別類型) 。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (必要)
userAssignedIdentities 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中 () 的空白物件 {} 。 UserAssignedIdentities

UserAssignedIdentities

名稱 描述
{自定義屬性} UserAssignedIdentity

UserAssignedIdentity

此物件不包含部署期間要設定的任何屬性。 所有屬性都是 ReadOnly。

CapacityReservationGroupProperties

名稱 描述
供應項目 此容量保留群組所使用的供應專案。 ServerlessOffer
reservedCapacity [必要]指定要保留的容量量。 int (必要)

ServerlessOffer

名稱 描述
offerName [必要]無伺服器供應項目的名稱 字串 (必要)

約束:
最小長度 = 1
模式 = [a-zA-Z0-9_]
publisher [必要]無伺服器供應項目的發行者名稱 字串 (必要)

約束:
最小長度 = 1
模式 = [a-zA-Z0-9_]

SKU

名稱 描述
處理能力 如果 SKU 支援相應放大/縮小,則應該包含容量整數。 如果資源無法相應放大/縮小,則可能會省略此專案。 int
family 如果服務有不同層代的硬體,則針對相同的SKU,則可以在這裡擷取。 字串
NAME SKU 的名稱。 例如 - P3。 通常是字母+數字代碼 字串 (必要)
{1}size{2} SKU 大小。 當名稱欄位是階層和其他一些值的組合時,這會是獨立程序代碼。 字串
tier 如果服務有多個層級,但 PUT 上不需要,則資源提供者必須實作此字段。 'Basic'
'Free'
'Premium'
'Standard'

ARM 範本資源定義

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

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

資源格式

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

{
  "type": "Microsoft.MachineLearningServices/capacityReserverationGroups",
  "apiVersion": "2023-08-01-preview",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "sku": {
    "capacity": "int",
    "family": "string",
    "name": "string",
    "size": "string",
    "tier": "string"
  },
  "kind": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {}
    }
  },
  "properties": {
    "offer": {
      "offerName": "string",
      "publisher": "string"
    },
    "reservedCapacity": "int"
  }
}

屬性值

capacityReserverationGroups

名稱 描述
類型 資源類型 'Microsoft.MachineLearningServices/capacityReserverationGroups'
apiVersion 資源 API 版本 '2023-08-01-preview'
NAME 資源名稱 字串 (必要)
location 資源所在的地理位置 字串 (必要)
tags 資源標籤。 標記名稱和值的字典。 請參閱 範本中的標記
sku 自動調整 ARM 合約所需的 SKU 詳細數據。 Sku
kind 入口網站/工具等用來轉譯相同類型資源的不同UX體驗的元數據。 字串
身分識別 受控服務識別 (系統指派和/或使用者指派的身分識別) ManagedServiceIdentity
properties [必要]實體的其他屬性。 CapacityReservationGroupProperties (必要)

ManagedServiceIdentity

名稱 描述
類型 (允許 SystemAssigned 和 UserAssigned 類型的受控服務識別類型) 。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (必要)
userAssignedIdentities 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中 () 的空白物件 {} 。 UserAssignedIdentities

UserAssignedIdentities

名稱 描述
{自定義屬性} UserAssignedIdentity

UserAssignedIdentity

此物件不包含部署期間要設定的任何屬性。 所有屬性都是 ReadOnly。

CapacityReservationGroupProperties

名稱 描述
供應項目 此容量保留群組所使用的供應專案。 ServerlessOffer
reservedCapacity [必要]指定要保留的容量量。 int (必要)

ServerlessOffer

名稱 描述
offerName [必要]無伺服器供應項目的名稱 字串 (必要)

約束:
最小長度 = 1
模式 = [a-zA-Z0-9_]
publisher [必要]無伺服器供應項目的發行者名稱 字串 (必要)

約束:
最小長度 = 1
模式 = [a-zA-Z0-9_]

SKU

名稱 描述
處理能力 如果 SKU 支援相應放大/縮小,則應該包含容量整數。 如果資源無法相應放大/縮小,則可能會省略此專案。 int
family 如果服務有不同層代的硬體,則針對相同的SKU,則可以在這裡擷取。 字串
NAME SKU 的名稱。 例如 - P3。 通常是字母+數字代碼 字串 (必要)
{1}size{2} SKU 大小。 當名稱欄位是階層和其他一些值的組合時,這會是獨立程序代碼。 字串
tier 如果服務有多個層級,但 PUT 上不需要,則資源提供者必須實作此字段。 'Basic'
'Free'
'Premium'
'Standard'

Terraform (AzAPI 提供者) 資源定義

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

  • 資源群組

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

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MachineLearningServices/capacityReserverationGroups@2023-08-01-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type = "string"
    identity_ids = []
  }
  body = jsonencode({
    properties = {
      offer = {
        offerName = "string"
        publisher = "string"
      }
      reservedCapacity = int
    }
    sku = {
      capacity = int
      family = "string"
      name = "string"
      size = "string"
      tier = "string"
    }
    kind = "string"
  })
}

屬性值

capacityReserverationGroups

名稱 描述
類型 資源類型 “Microsoft.MachineLearningServices/capacityReserverationGroups@2023-08-01-preview”
NAME 資源名稱 字串 (必要)
location 資源所在的地理位置 字串 (必要)
parent_id 若要部署至資源群組,請使用該資源群組的標識碼。 字串 (必要)
tags 資源標籤。 標記名稱和值的字典。
sku 自動調整 ARM 合約所需的 SKU 詳細數據。 Sku
kind 入口網站/工具等用來轉譯相同類型資源的不同UX體驗的元數據。 字串
身分識別 受控服務識別 (系統指派和/或使用者指派的身分識別) ManagedServiceIdentity
properties [必要]實體的其他屬性。 CapacityReservationGroupProperties (必要)

ManagedServiceIdentity

名稱 描述
類型 (允許 SystemAssigned 和 UserAssigned 類型的受控服務識別類型) 。 “SystemAssigned”
“SystemAssigned,UserAssigned”
) 所需的 「UserAssigned」 (
identity_ids 與資源相關聯的使用者指派身分識別集。 userAssignedIdentities 字典索引鍵的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是要求中 () 的空白物件 {} 。 使用者身分識別標識碼的陣列。

UserAssignedIdentities

名稱 描述
{自定義屬性} UserAssignedIdentity

UserAssignedIdentity

此物件不包含部署期間要設定的任何屬性。 所有屬性都是 ReadOnly。

CapacityReservationGroupProperties

名稱 描述
供應項目 此容量保留群組所使用的供應專案。 ServerlessOffer
reservedCapacity [必要]指定要保留的容量量。 int (必要)

ServerlessOffer

名稱 描述
offerName [必要]無伺服器供應項目的名稱 字串 (必要)

約束:
最小長度 = 1
模式 = [a-zA-Z0-9_]
publisher [必要]無伺服器供應項目的發行者名稱 字串 (必要)

約束:
最小長度 = 1
模式 = [a-zA-Z0-9_]

SKU

名稱 描述
處理能力 如果 SKU 支援相應放大/縮小,則應該包含容量整數。 如果資源無法相應放大/縮小,則可能會省略此專案。 int
family 如果服務有不同層代的硬體,則針對相同的SKU,則可以在這裡擷取。 字串
NAME SKU 的名稱。 例如 - P3。 通常是字母+數字代碼 字串 (必要)
{1}size{2} SKU 大小。 當名稱欄位是階層和其他一些值的組合時,這會是獨立程序代碼。 字串
tier 如果服務有多個層級,但 PUT 上不需要,則資源提供者必須實作此字段。 "Basic"
“Free”
“Premium”
“Standard”