你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Microsoft.MachineLearningServices workspaces/computes 2019-05-01
- 最新
- 2023-10-01
- 2023-08-01-preview
- 2023-06-01-preview
- 2023-04-01
- 2023-04-01-preview
- 2023-02-01-preview
- 2022-12-01-preview
- 2022-10-01
- 2022-10-01-preview
- 2022-06-01-preview
- 2022-05-01
- 2022-02-01-preview
- 2022-01-01-preview
- 2021-07-01
- 2021-04-01
- 2021-03-01-preview
- 2021-01-01
- 2020-09-01-preview
- 2020-08-01
- 2020-06-01
- 2020-05-15-preview
- 2020-05-01-preview
- 2020-04-01
- 2020-03-01
- 2020-02-18-preview
- 2020-01-01
- 2019-11-01
- 2019-06-01
- 2019-05-01
- 2018-11-19
- 2018-03-01-preview
Bicep 资源定义
工作区/计算资源类型可以使用目标操作进行部署:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中更改的属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.MachineLearningServices/workspaces/computes 资源,请将以下 Bicep 添加到模板。
resource symbolicname 'Microsoft.MachineLearningServices/workspaces/computes@2019-05-01' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
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: {
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 | 指定资源的位置。 | 字符串 |
标记 | 包含定义为键/值对的资源标记。 | 标记名称和值的字典。 请参阅 模板中的标记 |
父级 (parent) | 在 Bicep 中,可以为子资源指定父资源。 仅当子资源在父资源外部声明时,才需要添加此属性。 有关详细信息,请参阅 父资源之外的子资源。 |
类型为资源的符号名称: 工作区 |
标识 | 资源的标识。 | 标识 |
properties | 计算属性 | 计算 |
标识
名称 | 说明 | Value |
---|---|---|
type | 标识类型。 | “SystemAssigned” |
计算
名称 | 说明 | 值 |
---|---|---|
computeLocation | 基础计算的位置 | string |
description | 机器学习计算的说明。 | string |
ResourceId | 基础计算的 ARM 资源 ID | string |
computeType | 设置对象类型 | AKS AmlCompute Databricks DataFactory DataLakeAnalytics HDInsight VirtualMachine (必需) |
AKS
名称 | 说明 | 值 |
---|---|---|
computeType | 计算类型 | “AKS” (必需) |
properties | AKS 属性 | AKSProperties |
AKSProperties
名称 | 说明 | 值 |
---|---|---|
agentCount | 代理数 | int 约束: 最小值 = 1 |
agentVMSize | 代理虚拟机大小 | string |
aksNetworkingConfiguration | vnet 的 AKS 网络配置 | AksNetworkingConfiguration |
clusterFqdn | 群集完全限定的域名 | string |
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 服务地址范围重叠。 | string 约束: Pattern = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$ |
serviceCidr | CIDR 表示法 IP 范围,从其中分配服务群集 IP。 此范围不得与任何子网 IP 范围重叠。 | string 约束: Pattern = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$ |
subnetId | 计算节点所属的虚拟网络子网资源 ID | 字符串 |
SslConfiguration
名称 | 说明 | 值 |
---|---|---|
cert | 证书数据 | 字符串 |
cname | 证书的 CNAME | string |
key | 密钥数据 | 字符串 |
status | 启用或禁用用于评分的 ssl | “Disabled” “已启用” |
AmlCompute
名称 | 说明 | 值 |
---|---|---|
computeType | 计算类型 | “AmlCompute” (必需) |
properties | AML 计算属性 | AmlComputeProperties |
AmlComputeProperties
名称 | 说明 | 值 |
---|---|---|
scaleSettings | AML 计算的缩放设置 | ScaleSettings |
子网 | 计算节点所属的虚拟网络子网资源 ID。 | ResourceId |
userAccountCredentials | 将在每个计算节点上创建的管理员用户帐户的凭据。 | UserAccountCredentials |
vmPriority | 虚拟机优先级 | “专用” “LowPriority” |
vmSize | 虚拟机大小 | 字符串 |
ScaleSettings
名称 | 说明 | 值 |
---|---|---|
maxNodeCount | 要使用的最大节点数 | int (必需) |
minNodeCount | 要使用的最小节点数 | int |
nodeIdleTimeBeforeScaleDown | 纵向缩减 amlCompute 之前的节点空闲时间 | 字符串 |
ResourceId
名称 | 说明 | Value |
---|---|---|
id | 资源的 ID | 字符串 (必需) |
UserAccountCredentials
名称 | 说明 | 值 |
---|---|---|
adminUserName | 可用于通过 SSH 连接到节点的管理员用户帐户的名称。 | 字符串 (必需) |
adminUserPassword | 管理员用户帐户的密码。 | string |
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 地址。 | string |
administratorAccount | 管理员群集主节点的凭据 | VirtualMachineSshCredentials |
sshPort | 为群集主节点上的 ssh 连接打开端口。 | int |
VirtualMachineSshCredentials
名称 | 说明 | 值 |
---|---|---|
password | 管理员帐户的密码 | 字符串 |
privateKeyData | 私钥数据 | 字符串 |
publicKeyData | 公钥数据 | 字符串 |
username | 管理员帐户的用户名 | 字符串 |
VirtualMachine
名称 | 说明 | 值 |
---|---|---|
computeType | 计算类型 | 需要“VirtualMachine” () |
properties | VirtualMachineProperties |
VirtualMachineProperties
名称 | 说明 | 值 |
---|---|---|
address | 虚拟机的公共 IP 地址。 | string |
administratorAccount | 为虚拟机管理员凭据 | VirtualMachineSshCredentials |
sshPort | 为 ssh 连接打开端口。 | int |
virtualMachineSize | 虚拟机大小 | 字符串 |
快速入门模板
以下快速入门模板部署此资源类型。
模板 | 说明 |
---|---|
创建机器学习服务 ADLA 计算 |
此模板创建机器学习服务 ADLA 计算。 |
创建机器学习服务 Aks 计算 |
此模板创建机器学习服务 Aks 计算。 |
创建机器学习服务 DSVM 计算 |
此模板创建机器学习服务 DSVM 计算。 |
创建机器学习服务 HDInsight 群集 |
此模板创建机器学习服务 HDInsight 群集 |
创建 Azure 机器学习 aks 计算 |
此模板创建 Azure 机器学习 aks 计算。 |
创建 Azure 机器学习计算群集 |
此模板创建 Azure 机器学习计算群集。 |
创建 Azure 机器学习计算实例 |
此模板使用示例内联设置脚本代表其他用户创建 Azure 机器学习计算实例 |
在 Azure 机器学习工作区中创建 LinkedService |
此模板在现有 Azure 机器学习工作区中创建 LinkedService。 |
创建具有专用 IP 地址的 AKS 计算目标 |
此模板在给定的 Azure 机器学习服务工作区中创建具有专用 IP 地址的 AKS 计算目标。 |
ARM 模板资源定义
可以使用面向以下操作部署工作区/计算资源类型:
- 资源组 - 请参阅 资源组部署命令
有关每个 API 版本中已更改属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.MachineLearningServices/workspaces/computes 资源,请将以下 JSON 添加到模板。
{
"type": "Microsoft.MachineLearningServices/workspaces/computes",
"apiVersion": "2019-05-01",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"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": {
"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
名称 | 说明 | Value |
---|---|---|
type | 资源类型 | 'Microsoft.MachineLearningServices/workspaces/computes' |
apiVersion | 资源 API 版本 | '2019-05-01' |
name | 资源名称 了解如何在 JSON ARM 模板中设置子资源的名称和类型。 |
字符串 (必需) 字符限制:计算实例为 3-24 3-32 用于 AML 计算 2-16 用于其他计算类型 有效字符: 字母数字和连字符。 |
location | 指定资源的位置。 | 字符串 |
标记 | 包含定义为键/值对的资源标记。 | 标记名称和值的字典。 请参阅 模板中的标记 |
标识 | 资源的标识。 | 标识 |
properties | 计算属性 | 计算 |
标识
名称 | 说明 | Value |
---|---|---|
type | 标识类型。 | “SystemAssigned” |
计算
名称 | 说明 | 值 |
---|---|---|
computeLocation | 基础计算的位置 | 字符串 |
description | 机器学习计算的说明。 | string |
ResourceId | 基础计算的 ARM 资源 ID | string |
computeType | 设置对象类型 | AKS AmlCompute Databricks DataFactory DataLakeAnalytics HDInsight VirtualMachine (必需) |
AKS
名称 | 说明 | 值 |
---|---|---|
computeType | 计算类型 | “AKS” (必需) |
properties | AKS 属性 | AKSProperties |
AKSProperties
名称 | 说明 | 值 |
---|---|---|
agentCount | 代理数 | int 约束: 最小值 = 1 |
agentVMSize | 代理虚拟机大小 | 字符串 |
aksNetworkingConfiguration | vnet 的 AKS 网络配置 | AksNetworkingConfiguration |
clusterFqdn | 群集完全限定的域名 | string |
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 服务地址范围重叠。 | 字符串 约束: Pattern = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$ |
serviceCidr | CIDR 表示法 IP 范围,从其中分配服务群集 IP。 此范围不得与任何子网 IP 范围重叠。 | 字符串 约束: Pattern = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$ |
subnetId | 计算节点所属的虚拟网络子网资源 ID | 字符串 |
SslConfiguration
名称 | 说明 | 值 |
---|---|---|
cert | 证书数据 | 字符串 |
cname | 证书的 CNAME | string |
key | 密钥数据 | 字符串 |
status | 启用或禁用用于评分的 ssl | “Disabled” “已启用” |
AmlCompute
名称 | 说明 | 值 |
---|---|---|
computeType | 计算类型 | “AmlCompute” (必需) |
properties | AML 计算属性 | AmlComputeProperties |
AmlComputeProperties
名称 | 说明 | 值 |
---|---|---|
scaleSettings | AML 计算的缩放设置 | ScaleSettings |
子网 | 计算节点所属的虚拟网络子网资源 ID。 | ResourceId |
userAccountCredentials | 将在每个计算节点上创建的管理员用户帐户的凭据。 | UserAccountCredentials |
vmPriority | 虚拟机优先级 | “专用” “LowPriority” |
vmSize | 虚拟机大小 | 字符串 |
ScaleSettings
名称 | 说明 | 值 |
---|---|---|
maxNodeCount | 要使用的最大节点数 | int (必需) |
minNodeCount | 要使用的最小节点数 | int |
nodeIdleTimeBeforeScaleDown | 缩减 amlCompute 之前的节点空闲时间 | string |
ResourceId
名称 | 说明 | Value |
---|---|---|
id | 资源的 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 地址。 | string |
administratorAccount | 管理员群集主节点的凭据 | VirtualMachineSshCredentials |
sshPort | 为群集主节点上的 ssh 连接打开端口。 | int |
VirtualMachineSshCredentials
名称 | 说明 | 值 |
---|---|---|
password | 管理员帐户的密码 | string |
privateKeyData | 私钥数据 | 字符串 |
publicKeyData | 公钥数据 | string |
username | 管理员帐户的用户名 | 字符串 |
VirtualMachine
名称 | 说明 | 值 |
---|---|---|
computeType | 计算类型 | “VirtualMachine” (必需) |
properties | VirtualMachineProperties |
VirtualMachineProperties
名称 | 说明 | 值 |
---|---|---|
address | 虚拟机的公共 IP 地址。 | 字符串 |
administratorAccount | 为虚拟机管理员凭据 | VirtualMachineSshCredentials |
sshPort | 为 SSH 连接打开端口。 | int |
virtualMachineSize | 虚拟机大小 | string |
快速入门模板
以下快速入门模板部署此资源类型。
模板 | 说明 |
---|---|
创建机器学习服务 ADLA 计算 |
此模板创建机器学习服务 ADLA 计算。 |
创建机器学习服务 Aks 计算 |
此模板创建机器学习服务 Aks 计算。 |
创建机器学习服务 DSVM 计算 |
此模板创建机器学习服务 DSVM 计算。 |
创建机器学习服务 HDInsight 群集 |
此模板创建机器学习服务 HDInsight 群集 |
创建 Azure 机器学习 aks 计算 |
此模板创建 Azure 机器学习 aks 计算。 |
创建 Azure 机器学习计算群集 |
此模板创建 Azure 机器学习计算群集。 |
创建 Azure 机器学习计算实例 |
此模板代表其他用户使用示例内联安装脚本创建 Azure 机器学习计算实例 |
在 Azure 机器学习工作区中创建 LinkedService |
此模板在现有的 Azure 机器学习工作区中创建 LinkedService。 |
使用专用 IP 地址创建 AKS 计算目标 |
此模板使用专用 IP 地址在给定的 Azure 机器学习服务工作区中创建 AKS 计算目标。 |
Terraform (AzAPI 提供程序) 资源定义
工作区/计算资源类型可以使用目标操作进行部署:
- 资源组
有关每个 API 版本中更改的属性的列表,请参阅 更改日志。
资源格式
若要创建 Microsoft.MachineLearningServices/workspaces/computes 资源,请将以下 Terraform 添加到模板。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.MachineLearningServices/workspaces/computes@2019-05-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
}
})
}
计算对象
设置 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 = {
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
名称 | 说明 | Value |
---|---|---|
type | 资源类型 | “Microsoft.MachineLearningServices/workspaces/computes@2019-05-01” |
name | 资源名称 | 字符串 (必需) 计算实例的字符限制:3-24 3-32 用于 AML 计算 2-16 用于其他计算类型 有效字符: 字母数字和连字符。 |
location | 指定资源的位置。 | 字符串 |
parent_id | 此资源的父资源 ID。 | 类型为“工作区”的资源的 ID |
标记 | 包含定义为键/值对的资源标记。 | 标记名称和值的字典。 |
标识 | 资源的标识。 | 标识 |
properties | 计算属性 | 计算 |
标识
名称 | 说明 | Value |
---|---|---|
type | 标识类型。 | “SystemAssigned” |
计算
名称 | 说明 | 值 |
---|---|---|
computeLocation | 基础计算的位置 | 字符串 |
description | 机器学习计算的说明。 | 字符串 |
ResourceId | 基础计算的 ARM 资源 ID | 字符串 |
computeType | 设置对象类型 | AKS AmlCompute Databricks DataFactory DataLakeAnalytics HDInsight VirtualMachine (必需) |
AKS
名称 | 说明 | 值 |
---|---|---|
computeType | 计算类型 | “AKS” (必需) |
properties | AKS 属性 | AKSProperties |
AKSProperties
名称 | 说明 | 值 |
---|---|---|
agentCount | 代理数 | int 约束: 最小值 = 1 |
agentVMSize | 代理虚拟机大小 | string |
aksNetworkingConfiguration | vnet 的 AKS 网络配置 | AksNetworkingConfiguration |
clusterFqdn | 群集完全限定的域名 | string |
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 服务地址范围重叠。 | string 约束: Pattern = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$ |
serviceCidr | CIDR 表示法 IP 范围,从其中分配服务群集 IP。 此范围不得与任何子网 IP 范围重叠。 | string 约束: Pattern = ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$ |
subnetId | 计算节点所属的虚拟网络子网资源 ID | 字符串 |
SslConfiguration
名称 | 说明 | 值 |
---|---|---|
cert | 证书数据 | 字符串 |
cname | 证书的 CNAME | string |
key | 密钥数据 | 字符串 |
status | 启用或禁用用于评分的 ssl | “Disabled” “已启用” |
AmlCompute
名称 | 说明 | 值 |
---|---|---|
computeType | 计算类型 | “AmlCompute” (必需) |
properties | AML 计算属性 | AmlComputeProperties |
AmlComputeProperties
名称 | 说明 | 值 |
---|---|---|
scaleSettings | AML 计算的缩放设置 | ScaleSettings |
子网 | 计算节点所属的虚拟网络子网资源 ID。 | ResourceId |
userAccountCredentials | 将在每个计算节点上创建的管理员用户帐户的凭据。 | UserAccountCredentials |
vmPriority | 虚拟机优先级 | “专用” “LowPriority” |
vmSize | 虚拟机大小 | 字符串 |
ScaleSettings
名称 | 说明 | 值 |
---|---|---|
maxNodeCount | 要使用的最大节点数 | int (必需) |
minNodeCount | 要使用的最小节点数 | int |
nodeIdleTimeBeforeScaleDown | 纵向缩减 amlCompute 之前的节点空闲时间 | string |
ResourceId
名称 | 说明 | Value |
---|---|---|
id | 资源的 ID | 字符串 (必需) |
UserAccountCredentials
名称 | 说明 | 值 |
---|---|---|
adminUserName | 可用于通过 SSH 连接到节点的管理员用户帐户的名称。 | 字符串 (必需) |
adminUserPassword | 管理员用户帐户的密码。 | string |
adminUserSshPublicKey | 管理员用户帐户的 SSH 公钥。 | 字符串 |
Databricks
名称 | 说明 | 值 |
---|---|---|
computeType | 计算类型 | 需要“Databricks” () |
properties | DatabricksProperties |
DatabricksProperties
名称 | 说明 | 值 |
---|---|---|
databricksAccessToken | Databricks 访问令牌 | 字符串 |
DataFactory
名称 | 说明 | 值 |
---|---|---|
computeType | 计算类型 | “DataFactory” (必需) |
DataLakeAnalytics
名称 | 说明 | 值 |
---|---|---|
computeType | 计算类型 | “DataLakeAnalytics” (必需) |
properties | DataLakeAnalyticsProperties |
DataLakeAnalyticsProperties
名称 | 说明 | 值 |
---|---|---|
dataLakeStoreAccountName | DataLake Store 帐户名称 | string |
HDInsight
名称 | 说明 | 值 |
---|---|---|
computeType | 计算类型 | 需要“HDInsight” () |
properties | HDInsightProperties |
HDInsightProperties
名称 | 说明 | 值 |
---|---|---|
address | 群集主节点的公共 IP 地址。 | 字符串 |
administratorAccount | 管理员群集主节点的凭据 | VirtualMachineSshCredentials |
sshPort | 为群集主节点上的 ssh 连接打开端口。 | int |
VirtualMachineSshCredentials
名称 | 说明 | 值 |
---|---|---|
password | 管理员帐户的密码 | 字符串 |
privateKeyData | 私钥数据 | 字符串 |
publicKeyData | 公钥数据 | 字符串 |
username | 管理员帐户的用户名 | 字符串 |
VirtualMachine
名称 | 说明 | 值 |
---|---|---|
computeType | 计算类型 | “VirtualMachine” (必需) |
properties | VirtualMachineProperties |
VirtualMachineProperties
名称 | 说明 | 值 |
---|---|---|
address | 虚拟机的公共 IP 地址。 | string |
administratorAccount | 为虚拟机管理员凭据 | VirtualMachineSshCredentials |
sshPort | 为 SSH 连接打开端口。 | int |
virtualMachineSize | 虚拟机大小 | 字符串 |
反馈
https://aka.ms/ContentUserFeedback。
即将推出:在整个 2024 年,我们将逐步取消以“GitHub 问题”作为内容的反馈机制,并将其替换为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈