Microsoft.MachineLearningServices 工作區/計算 2020-05-01-preview

Bicep 資源定義

工作區/計算資源類型可以使用目標作業來部署:

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

資源格式

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

resource symbolicname 'Microsoft.MachineLearningServices/workspaces/computes@2020-05-01-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  sku: {
    name: 'string'
    tier: 'string'
  }
  parent: resourceSymbolicName
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  properties: {
    computeLocation: 'string'
    description: 'string'
    resourceId: 'string'
    computeType: 'string'
    // For remaining properties, see Compute objects
  }
}

計算物件

設定 computeType 屬性,以指定物件的類型。

針對 AKS,請使用:

  computeType: 'AKS'
  properties: {
    agentCount: int
    agentVMSize: 'string'
    aksNetworkingConfiguration: {
      dnsServiceIP: 'string'
      dockerBridgeCidr: 'string'
      serviceCidr: 'string'
      subnetId: 'string'
    }
    clusterFqdn: 'string'
    sslConfiguration: {
      cert: 'string'
      cname: 'string'
      key: 'string'
      status: 'string'
    }
  }

針對 AmlCompute,請使用:

  computeType: 'AmlCompute'
  properties: {
    remoteLoginPortPublicAccess: 'string'
    scaleSettings: {
      maxNodeCount: int
      minNodeCount: int
      nodeIdleTimeBeforeScaleDown: 'string'
    }
    subnet: {
      id: 'string'
    }
    userAccountCredentials: {
      adminUserName: 'string'
      adminUserPassword: 'string'
      adminUserSshPublicKey: 'string'
    }
    vmPriority: 'string'
    vmSize: 'string'
  }

針對 Databricks,請使用:

  computeType: 'Databricks'
  properties: {
    databricksAccessToken: 'string'
  }

針對 DataFactory,請使用:

  computeType: 'DataFactory'

針對 DataLakeAnalytics,請使用:

  computeType: 'DataLakeAnalytics'
  properties: {
    dataLakeStoreAccountName: 'string'
  }

針對 HDInsight,請使用:

  computeType: 'HDInsight'
  properties: {
    address: 'string'
    administratorAccount: {
      password: 'string'
      privateKeyData: 'string'
      publicKeyData: 'string'
      username: 'string'
    }
    sshPort: int
  }

針對 VirtualMachine,請使用:

  computeType: 'VirtualMachine'
  properties: {
    address: 'string'
    administratorAccount: {
      password: 'string'
      privateKeyData: 'string'
      publicKeyData: 'string'
      username: 'string'
    }
    sshPort: int
    virtualMachineSize: 'string'
  }

屬性值

workspaces/computes

名字 描述 價值
名字 資源名稱

請參閱如何在 Bicep 中設定子資源的名稱和類型。
字串 (必要)

字元限制:計算實例 3-24
適用於 AML 計算的 3-32
其他計算類型的 2-16

合法字元:
英數位元和連字元。
位置 指定資源的位置。 字串
標籤 包含定義為索引鍵/值組的資源標記。 標記名稱和值的字典。 請參閱範本中的 標籤
sku 工作區的 SKU。 Sku
父母 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。

如需詳細資訊,請參閱 父資源外部的子資源
類型的資源符號名稱:工作區
身份 資源的身分識別。 身分識別
性能 計算屬性 計算

身份

名字 描述 價值
類型 識別類型。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned'
userAssignedIdentities 使用者指派與資源相關聯的身分識別。 UserAssignedIdentities

UserAssignedIdentities

名字 描述 價值
{自定義屬性} UserAssignedIdentity

UserAssignedIdentity

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

計算

名字 描述 價值
computeLocation 基礎計算的位置 字串
描述 Machine Learning 計算的描述。 字串
resourceId 基礎計算的 ARM 資源識別碼 字串
computeType 設定物件類型 AKS
AmlCompute
Databricks
DataFactory
DataLakeAnalytics
HDInsight
VirtualMachine (必要)

AKS

名字 描述 價值
computeType 計算的類型 'AKS' (必要)
性能 AKS 屬性 AKSProperties

AKSProperties

名字 描述 價值
agentCount 代理程式數目 int

約束:
最小值 = 1
agentVMSize 代理程式虛擬機大小 字串
aksNetworkingConfiguration vnet 的 AKS 網路設定 AksNetworkingConfiguration
clusterFqdn 叢集完整功能變數名稱 字串
sslConfiguration SSL 組態 SslConfiguration

AksNetworkingConfiguration

名字 描述 價值
dnsServiceIP 指派給 Kubernetes DNS 服務的 IP 位址。 它必須位於 serviceCidr 中指定的 Kubernetes 服務地址範圍內。 字串

約束:
Pattern = ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
dockerBridgeCidr 指派給 Docker 網橋網路的 CIDR 表示法 IP 範圍。 它不得與任何子網 IP 範圍或 Kubernetes 服務地址範圍重疊。 字串

約束:
Pattern = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$
serviceCidr 要從中指派服務叢集IP的CIDR表示法IP範圍。 它不得與任何子網IP範圍重疊。 字串

約束:
Pattern = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$
subnetId 計算節點所屬的虛擬網路子網資源標識碼 字串

SslConfiguration

名字 描述 價值
證書 憑證數據 字串
cname 憑證的 CNAME 字串
鑰匙 索引鍵數據 字串
地位 啟用或停用 SSL 以進行評分 'Disabled'
'Enabled'

AmlCompute

名字 描述 價值
computeType 計算的類型 'AmlCompute' (必要)
性能 AML 計算屬性 AmlComputeProperties

AmlComputeProperties

名字 描述 價值
remoteLoginPortPublicAccess 公用 SSH 埠的狀態。 可能的值為:已停用 - 指出叢集所有節點上的公用 SSH 埠已關閉。 已啟用 - 指出叢集的所有節點上已開啟公用 SSH 埠。 NotSpecified - 指出如果已定義 VNet,則叢集的所有節點上都會關閉公用 SSH 埠,否則會開啟所有公用節點。 它只能在叢集建立期間預設,建立之後才會啟用或停用。 'Disabled'
'Enabled'
'NotSpecified'
scaleSettings AML 計算的調整設定 ScaleSettings
計算節點所屬的虛擬網路子網資源標識碼。 ResourceId
userAccountCredentials 將在每個計算節點上建立之系統管理員用戶帳戶的認證。 UserAccountCredentials
vmPriority 虛擬機優先順序 'Dedicated'
'LowPriority'
vmSize 虛擬機大小 字串

ScaleSettings

名字 描述 價值
maxNodeCount 要使用的節點數目上限 int (必要)
minNodeCount 要使用的節點數目下限 int
nodeIdleTimeBeforeScaleDown 相應減少 amlCompute 之前的節點空閒時間 字串

ResourceId

名字 描述 價值
id 資源的標識碼 字串 (必要)

UserAccountCredentials

名字 描述 價值
adminUserName 可用來透過 SSH 連線到節點的系統管理員用戶帳戶名稱。 字串 (必要)
adminUserPassword 系統管理員用戶帳戶的密碼。 字串
adminUserSshPublicKey 系統管理員用戶帳戶的 SSH 公鑰。 字串

Databricks

名字 描述 價值
computeType 計算的類型 'Databricks' (必要)
性能 DatabricksProperties

DatabricksProperties

名字 描述 價值
databricksAccessToken Databricks 存取令牌 字串

DataFactory

名字 描述 價值
computeType 計算的類型 'DataFactory' (必要)

DataLakeAnalytics

名字 描述 價值
computeType 計算的類型 'DataLakeAnalytics' (必要)
性能 DataLakeAnalyticsProperties

DataLakeAnalyticsProperties

名字 描述 價值
dataLakeStoreAccountName DataLake Store 帳戶名稱 字串

HDInsight

名字 描述 價值
computeType 計算的類型 'HDInsight' (必要)
性能 HDInsightProperties

HDInsightProperties

名字 描述 價值
位址 叢集主要節點的公用IP位址。 字串
administratorAccount 叢集主要節點的管理員認證 VirtualMachineSshCredentials
sshPort 針對叢集主要節點上的SSH連線開啟埠。 int

VirtualMachineSshCredentials

名字 描述 價值
密碼 系統管理員帳戶的密碼 字串
privateKeyData 私鑰資料 字串
publicKeyData 公鑰資料 字串
username 系統管理員帳戶的用戶名稱 字串

VirtualMachine

名字 描述 價值
computeType 計算的類型 'VirtualMachine' (必要)
性能 VirtualMachineProperties

VirtualMachineProperties

名字 描述 價值
位址 虛擬機的公用IP位址。 字串
administratorAccount 虛擬機的管理員認證 VirtualMachineSshCredentials
sshPort 針對SSH連線開啟埠。 int
virtualMachineSize 虛擬機大小 字串

Sku

名字 描述 價值
名字 SKU 的名稱 字串
基本或企業等 SKU 的階層 字串

快速入門範本

下列快速入門範本會部署此資源類型。

範本 描述
建立機器學習服務 ADLA 計算

部署至 Azure
此範本會建立 Machine Learning 服務 ADLA Compute。
建立 Machine Learning 服務 Aks 計算

部署至 Azure
此範本會建立 Machine Learning 服務 Aks Compute。
建立機器學習服務 DSVM 計算

部署至 Azure
此範本會建立機器學習服務 DSVM 計算。
建立機器學習服務 HDInsight 叢集

部署至 Azure
此範本會建立機器學習服務 HDInsight 叢集
建立 Azure Machine Learning aks 計算

部署至 Azure
此範本會建立 Azure Machine Learning aks 計算。
建立 Azure Machine Learning 計算叢集

部署至 Azure
此範本會建立 Azure Machine Learning 計算叢集。
建立 Azure Machine Learning 計算實例

部署至 Azure
此範本會代表另一位具有範例內嵌設定腳本的使用者建立 Azure Machine Learning 計算實例
在 Azure Machine Learning 工作區中建立 LinkedService

部署至 Azure
此範本會在現有的 Azure Machine Learning 工作區中建立 LinkedService。
建立具有私人IP位址的 AKS 計算目標

部署至 Azure
此範本會在具有私人IP位址的指定 Azure Machine Learning 服務工作區中建立 AKS 計算目標。

ARM 樣本資源定義

工作區/計算資源類型可以使用目標作業來部署:

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

資源格式

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

{
  "type": "Microsoft.MachineLearningServices/workspaces/computes",
  "apiVersion": "2020-05-01-preview",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "sku": {
    "name": "string",
    "tier": "string"
  },
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {}
    }
  },
  "properties": {
    "computeLocation": "string",
    "description": "string",
    "resourceId": "string",
    "computeType": "string"
    // For remaining properties, see Compute objects
  }
}

計算物件

設定 computeType 屬性,以指定物件的類型。

針對 AKS,請使用:

  "computeType": "AKS",
  "properties": {
    "agentCount": "int",
    "agentVMSize": "string",
    "aksNetworkingConfiguration": {
      "dnsServiceIP": "string",
      "dockerBridgeCidr": "string",
      "serviceCidr": "string",
      "subnetId": "string"
    },
    "clusterFqdn": "string",
    "sslConfiguration": {
      "cert": "string",
      "cname": "string",
      "key": "string",
      "status": "string"
    }
  }

針對 AmlCompute,請使用:

  "computeType": "AmlCompute",
  "properties": {
    "remoteLoginPortPublicAccess": "string",
    "scaleSettings": {
      "maxNodeCount": "int",
      "minNodeCount": "int",
      "nodeIdleTimeBeforeScaleDown": "string"
    },
    "subnet": {
      "id": "string"
    },
    "userAccountCredentials": {
      "adminUserName": "string",
      "adminUserPassword": "string",
      "adminUserSshPublicKey": "string"
    },
    "vmPriority": "string",
    "vmSize": "string"
  }

針對 Databricks,請使用:

  "computeType": "Databricks",
  "properties": {
    "databricksAccessToken": "string"
  }

針對 DataFactory,請使用:

  "computeType": "DataFactory"

針對 DataLakeAnalytics,請使用:

  "computeType": "DataLakeAnalytics",
  "properties": {
    "dataLakeStoreAccountName": "string"
  }

針對 HDInsight,請使用:

  "computeType": "HDInsight",
  "properties": {
    "address": "string",
    "administratorAccount": {
      "password": "string",
      "privateKeyData": "string",
      "publicKeyData": "string",
      "username": "string"
    },
    "sshPort": "int"
  }

針對 VirtualMachine,請使用:

  "computeType": "VirtualMachine",
  "properties": {
    "address": "string",
    "administratorAccount": {
      "password": "string",
      "privateKeyData": "string",
      "publicKeyData": "string",
      "username": "string"
    },
    "sshPort": "int",
    "virtualMachineSize": "string"
  }

屬性值

workspaces/computes

名字 描述 價值
類型 資源類型 'Microsoft.MachineLearningServices/workspaces/computes'
apiVersion 資源 API 版本 '2020-05-01-preview'
名字 資源名稱

請參閱如何在JSON ARM 範本中設定子資源的名稱和類型。
字串 (必要)

字元限制:計算實例 3-24
適用於 AML 計算的 3-32
其他計算類型的 2-16

合法字元:
英數位元和連字元。
位置 指定資源的位置。 字串
標籤 包含定義為索引鍵/值組的資源標記。 標記名稱和值的字典。 請參閱範本中的 標籤
sku 工作區的 SKU。 Sku
身份 資源的身分識別。 身分識別
性能 計算屬性 計算

身份

名字 描述 價值
類型 識別類型。 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned'
userAssignedIdentities 使用者指派與資源相關聯的身分識別。 UserAssignedIdentities

UserAssignedIdentities

名字 描述 價值
{自定義屬性} UserAssignedIdentity

UserAssignedIdentity

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

計算

名字 描述 價值
computeLocation 基礎計算的位置 字串
描述 Machine Learning 計算的描述。 字串
resourceId 基礎計算的 ARM 資源識別碼 字串
computeType 設定物件類型 AKS
AmlCompute
Databricks
DataFactory
DataLakeAnalytics
HDInsight
VirtualMachine (必要)

AKS

名字 描述 價值
computeType 計算的類型 'AKS' (必要)
性能 AKS 屬性 AKSProperties

AKSProperties

名字 描述 價值
agentCount 代理程式數目 int

約束:
最小值 = 1
agentVMSize 代理程式虛擬機大小 字串
aksNetworkingConfiguration vnet 的 AKS 網路設定 AksNetworkingConfiguration
clusterFqdn 叢集完整功能變數名稱 字串
sslConfiguration SSL 組態 SslConfiguration

AksNetworkingConfiguration

名字 描述 價值
dnsServiceIP 指派給 Kubernetes DNS 服務的 IP 位址。 它必須位於 serviceCidr 中指定的 Kubernetes 服務地址範圍內。 字串

約束:
Pattern = ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
dockerBridgeCidr 指派給 Docker 網橋網路的 CIDR 表示法 IP 範圍。 它不得與任何子網 IP 範圍或 Kubernetes 服務地址範圍重疊。 字串

約束:
Pattern = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$
serviceCidr 要從中指派服務叢集IP的CIDR表示法IP範圍。 它不得與任何子網IP範圍重疊。 字串

約束:
Pattern = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$
subnetId 計算節點所屬的虛擬網路子網資源標識碼 字串

SslConfiguration

名字 描述 價值
證書 憑證數據 字串
cname 憑證的 CNAME 字串
鑰匙 索引鍵數據 字串
地位 啟用或停用 SSL 以進行評分 'Disabled'
'Enabled'

AmlCompute

名字 描述 價值
computeType 計算的類型 'AmlCompute' (必要)
性能 AML 計算屬性 AmlComputeProperties

AmlComputeProperties

名字 描述 價值
remoteLoginPortPublicAccess 公用 SSH 埠的狀態。 可能的值為:已停用 - 指出叢集所有節點上的公用 SSH 埠已關閉。 已啟用 - 指出叢集的所有節點上已開啟公用 SSH 埠。 NotSpecified - 指出如果已定義 VNet,則叢集的所有節點上都會關閉公用 SSH 埠,否則會開啟所有公用節點。 它只能在叢集建立期間預設,建立之後才會啟用或停用。 'Disabled'
'Enabled'
'NotSpecified'
scaleSettings AML 計算的調整設定 ScaleSettings
計算節點所屬的虛擬網路子網資源標識碼。 ResourceId
userAccountCredentials 將在每個計算節點上建立之系統管理員用戶帳戶的認證。 UserAccountCredentials
vmPriority 虛擬機優先順序 'Dedicated'
'LowPriority'
vmSize 虛擬機大小 字串

ScaleSettings

名字 描述 價值
maxNodeCount 要使用的節點數目上限 int (必要)
minNodeCount 要使用的節點數目下限 int
nodeIdleTimeBeforeScaleDown 相應減少 amlCompute 之前的節點空閒時間 字串

ResourceId

名字 描述 價值
id 資源的標識碼 字串 (必要)

UserAccountCredentials

名字 描述 價值
adminUserName 可用來透過 SSH 連線到節點的系統管理員用戶帳戶名稱。 字串 (必要)
adminUserPassword 系統管理員用戶帳戶的密碼。 字串
adminUserSshPublicKey 系統管理員用戶帳戶的 SSH 公鑰。 字串

Databricks

名字 描述 價值
computeType 計算的類型 'Databricks' (必要)
性能 DatabricksProperties

DatabricksProperties

名字 描述 價值
databricksAccessToken Databricks 存取令牌 字串

DataFactory

名字 描述 價值
computeType 計算的類型 'DataFactory' (必要)

DataLakeAnalytics

名字 描述 價值
computeType 計算的類型 'DataLakeAnalytics' (必要)
性能 DataLakeAnalyticsProperties

DataLakeAnalyticsProperties

名字 描述 價值
dataLakeStoreAccountName DataLake Store 帳戶名稱 字串

HDInsight

名字 描述 價值
computeType 計算的類型 'HDInsight' (必要)
性能 HDInsightProperties

HDInsightProperties

名字 描述 價值
位址 叢集主要節點的公用IP位址。 字串
administratorAccount 叢集主要節點的管理員認證 VirtualMachineSshCredentials
sshPort 針對叢集主要節點上的SSH連線開啟埠。 int

VirtualMachineSshCredentials

名字 描述 價值
密碼 系統管理員帳戶的密碼 字串
privateKeyData 私鑰資料 字串
publicKeyData 公鑰資料 字串
username 系統管理員帳戶的用戶名稱 字串

VirtualMachine

名字 描述 價值
computeType 計算的類型 'VirtualMachine' (必要)
性能 VirtualMachineProperties

VirtualMachineProperties

名字 描述 價值
位址 虛擬機的公用IP位址。 字串
administratorAccount 虛擬機的管理員認證 VirtualMachineSshCredentials
sshPort 針對SSH連線開啟埠。 int
virtualMachineSize 虛擬機大小 字串

Sku

名字 描述 價值
名字 SKU 的名稱 字串
基本或企業等 SKU 的階層 字串

快速入門範本

下列快速入門範本會部署此資源類型。

範本 描述
建立機器學習服務 ADLA 計算

部署至 Azure
此範本會建立 Machine Learning 服務 ADLA Compute。
建立 Machine Learning 服務 Aks 計算

部署至 Azure
此範本會建立 Machine Learning 服務 Aks Compute。
建立機器學習服務 DSVM 計算

部署至 Azure
此範本會建立機器學習服務 DSVM 計算。
建立機器學習服務 HDInsight 叢集

部署至 Azure
此範本會建立機器學習服務 HDInsight 叢集
建立 Azure Machine Learning aks 計算

部署至 Azure
此範本會建立 Azure Machine Learning aks 計算。
建立 Azure Machine Learning 計算叢集

部署至 Azure
此範本會建立 Azure Machine Learning 計算叢集。
建立 Azure Machine Learning 計算實例

部署至 Azure
此範本會代表另一位具有範例內嵌設定腳本的使用者建立 Azure Machine Learning 計算實例
在 Azure Machine Learning 工作區中建立 LinkedService

部署至 Azure
此範本會在現有的 Azure Machine Learning 工作區中建立 LinkedService。
建立具有私人IP位址的 AKS 計算目標

部署至 Azure
此範本會在具有私人IP位址的指定 Azure Machine Learning 服務工作區中建立 AKS 計算目標。

Terraform (AzAPI 提供者) 資源定義

工作區/計算資源類型可以使用目標作業來部署:

  • 資源群組

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

資源格式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MachineLearningServices/workspaces/computes@2020-05-01-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type = "string"
    identity_ids = []
  }
  body = jsonencode({
    properties = {
      computeLocation = "string"
      description = "string"
      resourceId = "string"
      computeType = "string"
      // For remaining properties, see Compute objects
    }
    sku = {
      name = "string"
      tier = "string"
    }
  })
}

計算物件

設定 computeType 屬性,以指定物件的類型。

針對 AKS,請使用:

  computeType = "AKS"
  properties = {
    agentCount = int
    agentVMSize = "string"
    aksNetworkingConfiguration = {
      dnsServiceIP = "string"
      dockerBridgeCidr = "string"
      serviceCidr = "string"
      subnetId = "string"
    }
    clusterFqdn = "string"
    sslConfiguration = {
      cert = "string"
      cname = "string"
      key = "string"
      status = "string"
    }
  }

針對 AmlCompute,請使用:

  computeType = "AmlCompute"
  properties = {
    remoteLoginPortPublicAccess = "string"
    scaleSettings = {
      maxNodeCount = int
      minNodeCount = int
      nodeIdleTimeBeforeScaleDown = "string"
    }
    subnet = {
      id = "string"
    }
    userAccountCredentials = {
      adminUserName = "string"
      adminUserPassword = "string"
      adminUserSshPublicKey = "string"
    }
    vmPriority = "string"
    vmSize = "string"
  }

針對 Databricks,請使用:

  computeType = "Databricks"
  properties = {
    databricksAccessToken = "string"
  }

針對 DataFactory,請使用:

  computeType = "DataFactory"

針對 DataLakeAnalytics,請使用:

  computeType = "DataLakeAnalytics"
  properties = {
    dataLakeStoreAccountName = "string"
  }

針對 HDInsight,請使用:

  computeType = "HDInsight"
  properties = {
    address = "string"
    administratorAccount = {
      password = "string"
      privateKeyData = "string"
      publicKeyData = "string"
      username = "string"
    }
    sshPort = int
  }

針對 VirtualMachine,請使用:

  computeType = "VirtualMachine"
  properties = {
    address = "string"
    administratorAccount = {
      password = "string"
      privateKeyData = "string"
      publicKeyData = "string"
      username = "string"
    }
    sshPort = int
    virtualMachineSize = "string"
  }

屬性值

workspaces/computes

名字 描述 價值
類型 資源類型 “Microsoft.MachineLearningServices/workspaces/computes@2020-05-01-preview”
名字 資源名稱 字串 (必要)

字元限制:計算實例 3-24
適用於 AML 計算的 3-32
其他計算類型的 2-16

合法字元:
英數位元和連字元。
位置 指定資源的位置。 字串
parent_id 此資源為父系之資源的標識碼。 類型資源的標識碼:工作區
標籤 包含定義為索引鍵/值組的資源標記。 標記名稱和值的字典。
sku 工作區的 SKU。 Sku
身份 資源的身分識別。 身分識別
性能 計算屬性 計算

身份

名字 描述 價值
類型 識別類型。 “SystemAssigned”
“SystemAssigned,UserAssigned”
“UserAssigned”
identity_ids 使用者指派與資源相關聯的身分識別。 使用者身分識別標識碼的陣列。

UserAssignedIdentities

名字 描述 價值
{自定義屬性} UserAssignedIdentity

UserAssignedIdentity

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

計算

名字 描述 價值
computeLocation 基礎計算的位置 字串
描述 Machine Learning 計算的描述。 字串
resourceId 基礎計算的 ARM 資源識別碼 字串
computeType 設定物件類型 AKS
AmlCompute
Databricks
DataFactory
DataLakeAnalytics
HDInsight
VirtualMachine (必要)

AKS

名字 描述 價值
computeType 計算的類型 “AKS” (必要)
性能 AKS 屬性 AKSProperties

AKSProperties

名字 描述 價值
agentCount 代理程式數目 int

約束:
最小值 = 1
agentVMSize 代理程式虛擬機大小 字串
aksNetworkingConfiguration vnet 的 AKS 網路設定 AksNetworkingConfiguration
clusterFqdn 叢集完整功能變數名稱 字串
sslConfiguration SSL 組態 SslConfiguration

AksNetworkingConfiguration

名字 描述 價值
dnsServiceIP 指派給 Kubernetes DNS 服務的 IP 位址。 它必須位於 serviceCidr 中指定的 Kubernetes 服務地址範圍內。 字串

約束:
Pattern = ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
dockerBridgeCidr 指派給 Docker 網橋網路的 CIDR 表示法 IP 範圍。 它不得與任何子網 IP 範圍或 Kubernetes 服務地址範圍重疊。 字串

約束:
Pattern = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$
serviceCidr 要從中指派服務叢集IP的CIDR表示法IP範圍。 它不得與任何子網IP範圍重疊。 字串

約束:
Pattern = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$
subnetId 計算節點所屬的虛擬網路子網資源標識碼 字串

SslConfiguration

名字 描述 價值
證書 憑證數據 字串
cname 憑證的 CNAME 字串
鑰匙 索引鍵數據 字串
地位 啟用或停用 SSL 以進行評分 “Disabled”
“Enabled”

AmlCompute

名字 描述 價值
computeType 計算的類型 “AmlCompute” (必要)
性能 AML 計算屬性 AmlComputeProperties

AmlComputeProperties

名字 描述 價值
remoteLoginPortPublicAccess 公用 SSH 埠的狀態。 可能的值為:已停用 - 指出叢集所有節點上的公用 SSH 埠已關閉。 已啟用 - 指出叢集的所有節點上已開啟公用 SSH 埠。 NotSpecified - 指出如果已定義 VNet,則叢集的所有節點上都會關閉公用 SSH 埠,否則會開啟所有公用節點。 它只能在叢集建立期間預設,建立之後才會啟用或停用。 “Disabled”
“Enabled”
“NotSpecified”
scaleSettings AML 計算的調整設定 ScaleSettings
計算節點所屬的虛擬網路子網資源標識碼。 ResourceId
userAccountCredentials 將在每個計算節點上建立之系統管理員用戶帳戶的認證。 UserAccountCredentials
vmPriority 虛擬機優先順序 “專用”
“LowPriority”
vmSize 虛擬機大小 字串

ScaleSettings

名字 描述 價值
maxNodeCount 要使用的節點數目上限 int (必要)
minNodeCount 要使用的節點數目下限 int
nodeIdleTimeBeforeScaleDown 相應減少 amlCompute 之前的節點空閒時間 字串

ResourceId

名字 描述 價值
id 資源的標識碼 字串 (必要)

UserAccountCredentials

名字 描述 價值
adminUserName 可用來透過 SSH 連線到節點的系統管理員用戶帳戶名稱。 字串 (必要)
adminUserPassword 系統管理員用戶帳戶的密碼。 字串
adminUserSshPublicKey 系統管理員用戶帳戶的 SSH 公鑰。 字串

Databricks

名字 描述 價值
computeType 計算的類型 “Databricks” (必要)
性能 DatabricksProperties

DatabricksProperties

名字 描述 價值
databricksAccessToken Databricks 存取令牌 字串

DataFactory

名字 描述 價值
computeType 計算的類型 “DataFactory” (必要)

DataLakeAnalytics

名字 描述 價值
computeType 計算的類型 “DataLakeAnalytics” (必要)
性能 DataLakeAnalyticsProperties

DataLakeAnalyticsProperties

名字 描述 價值
dataLakeStoreAccountName DataLake Store 帳戶名稱 字串

HDInsight

名字 描述 價值
computeType 計算的類型 “HDInsight” (必要)
性能 HDInsightProperties

HDInsightProperties

名字 描述 價值
位址 叢集主要節點的公用IP位址。 字串
administratorAccount 叢集主要節點的管理員認證 VirtualMachineSshCredentials
sshPort 針對叢集主要節點上的SSH連線開啟埠。 int

VirtualMachineSshCredentials

名字 描述 價值
密碼 系統管理員帳戶的密碼 字串
privateKeyData 私鑰資料 字串
publicKeyData 公鑰資料 字串
username 系統管理員帳戶的用戶名稱 字串

VirtualMachine

名字 描述 價值
computeType 計算的類型 “VirtualMachine” (必要)
性能 VirtualMachineProperties

VirtualMachineProperties

名字 描述 價值
位址 虛擬機的公用IP位址。 字串
administratorAccount 虛擬機的管理員認證 VirtualMachineSshCredentials
sshPort 針對SSH連線開啟埠。 int
virtualMachineSize 虛擬機大小 字串

Sku

名字 描述 價值
名字 SKU 的名稱 字串
基本或企業等 SKU 的階層 字串