Share via


Microsoft.MachineLearningServices 工作區/計算 2019-11-01

Bicep 資源定義

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

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

資源格式

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

resource symbolicname 'Microsoft.MachineLearningServices/workspaces/computes@2019-11-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  sku: {
    name: 'string'
    tier: 'string'
  }
  parent: resourceSymbolicName
  identity: {
    type: 'SystemAssigned'
  }
  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

名稱 描述
NAME 資源名稱

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

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

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

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

Identity

名称 描述
類型 識別類型。 'SystemAssigned'

計算

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

AKS

名稱 描述
computeType 計算的類型 必要的 『AKS』 ()
properties AKS 屬性 AKSProperties

AKSProperties

名稱 描述
agentCount 代理程式數目 int

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

AksNetworkingConfiguration

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

約束:
模式 = ^(?:(?: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 服務地址範圍重疊。 字串

約束:
模式 = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$
serviceCidr 據以指派服務叢集 IP 的 CIDR 標記法 IP 範圍。 此範圍不得與任何子網路 IP 範圍重疊。 字串

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

SslConfiguration

名稱 描述
cert 憑證數據 字串
cname 憑證的 CNAME 字串
索引鍵 索引鍵數據 字串
status 啟用或停用ssl以進行評分 'Disabled'
'Enabled'

AmlCompute

名稱 描述
computeType 計算的類型 'AmlCompute' (必要)
properties 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』 ()
properties DatabricksProperties

DatabricksProperties

名稱 描述
databricksAccessToken Databricks 存取令牌 字串

DataFactory

名稱 描述
computeType 計算的類型 必要) 'DataFactory' (

DataLakeAnalytics

名稱 描述
computeType 計算的類型 必要 ('DataLakeAnalytics')
properties DataLakeAnalyticsProperties

DataLakeAnalyticsProperties

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

HDInsight

名稱 描述
computeType 計算的類型 需要 『HDInsight』 ()
properties HDInsightProperties

HDInsightProperties

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

VirtualMachineSshCredentials

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

VirtualMachine

名稱 描述
computeType 計算的類型 'VirtualMachine' (必要)
properties VirtualMachineProperties

VirtualMachineProperties

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

SKU

名稱 描述
NAME SKU 的名稱 字串
tier 基本或企業等 SKU 層 字串

快速入門範本

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

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

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

部署至 Azure
此範本會建立機器學習服務 Aks 計算。
建立機器學習服務 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": "2019-11-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "sku": {
    "name": "string",
    "tier": "string"
  },
  "identity": {
    "type": "SystemAssigned"
  },
  "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 版本 '2019-11-01'
NAME 資源名稱

瞭解如何在 JSON ARM 範本中設定子資源的名稱和類型。
需要字串 ()

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

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

Identity

名称 描述
類型 識別類型。 'SystemAssigned'

計算

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

AKS

名稱 描述
computeType 計算的類型 'AKS' (必要)
properties AKS 屬性 AKSProperties

AKSProperties

名稱 描述
agentCount 代理程式數目 int

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

AksNetworkingConfiguration

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

約束:
模式 = ^(?:(?: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 服務地址範圍重疊。 字串

約束:
模式 = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$
serviceCidr 據以指派服務叢集 IP 的 CIDR 標記法 IP 範圍。 此範圍不得與任何子網路 IP 範圍重疊。 字串

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

SslConfiguration

名稱 描述
cert 憑證數據 字串
cname 憑證的 CNAME 字串
索引鍵 索引鍵數據 字串
status 啟用或停用 SSL 以進行評分 'Disabled'
'Enabled'

AmlCompute

名稱 描述
computeType 計算的類型 'AmlCompute' (必要)
properties AML 計算屬性 AmlComputeProperties

AmlComputeProperties

名稱 描述
remoteLoginPortPublicAccess 公用 SSH 埠的狀態。 可能的值為:Disabled - 指出叢集的所有節點上已關閉公用 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』 ()
properties DatabricksProperties

DatabricksProperties

名稱 描述
databricksAccessToken Databricks 存取令牌 字串

DataFactory

名稱 描述
computeType 計算的類型 需要 『DataFactory』 ()

DataLakeAnalytics

名稱 描述
computeType 計算的類型 需要 'DataLakeAnalytics' ()
properties DataLakeAnalyticsProperties

DataLakeAnalyticsProperties

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

HDInsight

名稱 描述
computeType 計算的類型 需要 『HDInsight』 ()
properties HDInsightProperties

HDInsightProperties

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

VirtualMachineSshCredentials

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

VirtualMachine

名稱 描述
computeType 計算的類型 'VirtualMachine' (必要)
properties VirtualMachineProperties

VirtualMachineProperties

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

SKU

名稱 描述
NAME SKU 的名稱 字串
tier 基本或企業等 SKU 層 字串

快速入門範本

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

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

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

部署至 Azure
此範本會建立機器學習服務 Aks 計算。
建立機器學習服務 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@2019-11-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type = "SystemAssigned"
  }
  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@2019-11-01”
NAME 資源名稱 需要字串 ()

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

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

Identity

名称 描述
類型 識別類型。 “SystemAssigned”

計算

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

AKS

名稱 描述
computeType 計算的類型 “AKS” (必要)
properties AKS 屬性 AKSProperties

AKSProperties

名稱 描述
agentCount 代理程式數目 int

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

AksNetworkingConfiguration

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

約束:
模式 = ^(?:(?: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 服務地址範圍重疊。 字串

約束:
模式 = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$
serviceCidr 據以指派服務叢集 IP 的 CIDR 標記法 IP 範圍。 此範圍不得與任何子網路 IP 範圍重疊。 字串

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

SslConfiguration

名稱 描述
cert 憑證數據 字串
cname 憑證的 CNAME 字串
索引鍵 索引鍵數據 字串
status 啟用或停用 SSL 以進行評分 “Disabled”
“Enabled”

AmlCompute

名稱 描述
computeType 計算的類型 “AmlCompute” (必要)
properties AML 計算屬性 AmlComputeProperties

AmlComputeProperties

名稱 描述
remoteLoginPortPublicAccess 公用 SSH 埠的狀態。 可能的值為:Disabled - 指出叢集的所有節點上已關閉公用 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” (必要)
properties DatabricksProperties

DatabricksProperties

名稱 描述
databricksAccessToken Databricks 存取令牌 字串

DataFactory

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

DataLakeAnalytics

名稱 描述
computeType 計算的類型 “DataLakeAnalytics” (必要)
properties DataLakeAnalyticsProperties

DataLakeAnalyticsProperties

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

HDInsight

名稱 描述
computeType 計算的類型 “HDInsight” (必要)
properties HDInsightProperties

HDInsightProperties

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

VirtualMachineSshCredentials

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

VirtualMachine

名稱 描述
computeType 計算的類型 “VirtualMachine” (必要)
properties VirtualMachineProperties

VirtualMachineProperties

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

SKU

名稱 描述
NAME SKU 的名稱 字串
tier 基本或企業等 SKU 層 字串