你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

Microsoft。MachineLearningServices workspaces/batchEndpoints 2026-01-15-preview

Bicep 资源定义

可以使用目标操作部署工作区/batchEndpoints 资源类型:

有关每个 API 版本中已更改属性的列表,请参阅 更改日志。

资源格式

若要创建 Microsoft.MachineLearningServices/workspaces/batchEndpoints 资源,请将以下 Bicep 添加到模板。

resource symbolicname 'Microsoft.MachineLearningServices/workspaces/batchEndpoints@2026-01-15-preview' = {
  parent: resourceSymbolicName
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  kind: 'string'
  location: 'string'
  name: 'string'
  properties: {
    authMode: 'string'
    defaults: {
      deploymentName: 'string'
    }
    description: 'string'
    keys: {
      primaryKey: 'string'
      secondaryKey: 'string'
    }
    properties: {
      {customized property}: 'string'
    }
  }
  sku: {
    capacity: int
    family: 'string'
    name: 'string'
    size: 'string'
    tier: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

属性值

Microsoft.MachineLearningServices/workspaces/batchEndpoints

名称 说明 价值
标识 托管服务标识(系统分配和/或用户分配的标识) ManagedServiceIdentity
kind 门户/工具等用于为相同类型的资源呈现不同的 UX 体验的元数据。 字符串
位置 资源所在的地理位置 string (必需)
名字 资源名称 string (必需)
父级 在 Bicep 中,你可以指定子资源的父资源。 仅当子资源在父资源外部声明时,才需要添加此属性。

更多信息请参见Child 资源 outside parent resource。
类型资源的符号名称:工作区
性能 [必需]实体的其他属性。 BatchEndpointProperties(必需)
sku 用于自动缩放的 ARM 协定所需的 SKU 详细信息。 Sku
标记 资源标记 标记名称和值的字典。 请参见模板中的标签

BatchEndpoint默认值

名称 说明 价值
deploymentName (部署名称) 将默认为终结点的部署的名称。
调用终结点评分 URL 时,此部署最终将得到 100% 流量。
字符串

BatchEndpoint属性

名称 说明 价值
authMode [必需]用于调用终结点的身份验证方法(数据平面操作)。 使用“密钥”进行基于密钥的身份验证。 使用“AMLToken”进行基于 Azure 机器学习令牌的身份验证。 使用“AADToken”进行基于 entra 令牌的身份验证Microsoft。 'AADToken'
'AMLToken'
“键”(必填)
违约 Batch 终结点的默认值 BatchEndpoint默认值
说明 推理终结点的说明。 字符串
钥匙 最初在终结点上设置的 EndpointAuthKeys。
此属性将始终返回为 null。 必须使用 ListKeys API 检索 AuthKey 值。
EndpointAuthKeys
性能 属性字典。 可以添加属性,但不能删除或更改属性。 EndpointPropertiesBaseProperties

EndpointAuthKeys

名称 说明 价值
primaryKey 主键。 string

约束:
敏感值。 以安全参数的形式传入。
次要密钥 辅助密钥。 string

约束:
敏感值。 以安全参数的形式传入。

EndpointPropertiesBaseProperties

名称 说明 价值

ManagedServiceIdentity

名称 说明 价值
类型 托管服务标识的类型(其中允许 SystemAssigned 和 UserAssigned 类型)。 “None”
“SystemAssigned”
“SystemAssigned,UserAssigned”
“UserAssigned”(必需)
userAssignedIdentities 与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将为 ARM 资源 ID,格式为“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 字典值可以是请求中的空对象({})。 UserAssignedIdentities

Sku

名称 说明 价值
产能 如果 SKU 支持横向扩展/缩减,则应包含容量整数。 如果资源无法横向扩展/缩小,则可能会省略此范围。 int
family 如果服务具有不同代的硬件(对于同一 SKU,则可以在此处捕获)。 字符串
名字 SKU 的名称。 例 - P3。 它通常是字母+数字代码 string (必需)
size SKU 大小。 当名称字段是层和其他一些值的组合时,这将是独立的代码。 字符串
分层 如果服务具有多个层,但在 PUT 上不需要,则需要资源提供程序实现此字段。 “Basic”
“Free”
“Premium”
“Standard”

TrackedResourceTags

名称 说明 价值

UserAssignedIdentities

名称 说明 价值

UserAssignedIdentity

名称 说明 价值

ARM 模板资源定义

可以使用目标操作部署工作区/batchEndpoints 资源类型:

用法示例

资源格式

若要创建 Microsoft.MachineLearningServices/workspaces/batchEndpoints 资源,请将以下 JSON 添加到模板。

{
  "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints",
  "apiVersion": "2026-01-15-preview",
  "name": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "kind": "string",
  "location": "string",
  "properties": {
    "authMode": "string",
    "defaults": {
      "deploymentName": "string"
    },
    "description": "string",
    "keys": {
      "primaryKey": "string",
      "secondaryKey": "string"
    },
    "properties": {
      "{customized property}": "string"
    }
  },
  "sku": {
    "capacity": "int",
    "family": "string",
    "name": "string",
    "size": "string",
    "tier": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

属性值

Microsoft.MachineLearningServices/workspaces/batchEndpoints

名称 说明 价值
apiVersion API 版本 '2026-01-15-预览'
标识 托管服务标识(系统分配和/或用户分配的标识) ManagedServiceIdentity
kind 门户/工具等用于为相同类型的资源呈现不同的 UX 体验的元数据。 字符串
位置 资源所在的地理位置 string (必需)
名字 资源名称 string (必需)
性能 [必需]实体的其他属性。 BatchEndpointProperties(必需)
sku 用于自动缩放的 ARM 协定所需的 SKU 详细信息。 Sku
标记 资源标记 标记名称和值的字典。 请参见模板中的标签
类型 资源类型 “Microsoft.MachineLearningServices/workspaces/batchEndpoints”

BatchEndpoint默认值

名称 说明 价值
deploymentName (部署名称) 将默认为终结点的部署的名称。
调用终结点评分 URL 时,此部署最终将得到 100% 流量。
字符串

BatchEndpoint属性

名称 说明 价值
authMode [必需]用于调用终结点的身份验证方法(数据平面操作)。 使用“密钥”进行基于密钥的身份验证。 使用“AMLToken”进行基于 Azure 机器学习令牌的身份验证。 使用“AADToken”进行基于 entra 令牌的身份验证Microsoft。 'AADToken'
'AMLToken'
“键”(必填)
违约 Batch 终结点的默认值 BatchEndpoint默认值
说明 推理终结点的说明。 字符串
钥匙 最初在终结点上设置的 EndpointAuthKeys。
此属性将始终返回为 null。 必须使用 ListKeys API 检索 AuthKey 值。
EndpointAuthKeys
性能 属性字典。 可以添加属性,但不能删除或更改属性。 EndpointPropertiesBaseProperties

EndpointAuthKeys

名称 说明 价值
primaryKey 主键。 string

约束:
敏感值。 以安全参数的形式传入。
次要密钥 辅助密钥。 string

约束:
敏感值。 以安全参数的形式传入。

EndpointPropertiesBaseProperties

名称 说明 价值

ManagedServiceIdentity

名称 说明 价值
类型 托管服务标识的类型(其中允许 SystemAssigned 和 UserAssigned 类型)。 “None”
“SystemAssigned”
“SystemAssigned,UserAssigned”
“UserAssigned”(必需)
userAssignedIdentities 与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将为 ARM 资源 ID,格式为“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 字典值可以是请求中的空对象({})。 UserAssignedIdentities

Sku

名称 说明 价值
产能 如果 SKU 支持横向扩展/缩减,则应包含容量整数。 如果资源无法横向扩展/缩小,则可能会省略此范围。 int
family 如果服务具有不同代的硬件(对于同一 SKU,则可以在此处捕获)。 字符串
名字 SKU 的名称。 例 - P3。 它通常是字母+数字代码 string (必需)
size SKU 大小。 当名称字段是层和其他一些值的组合时,这将是独立的代码。 字符串
分层 如果服务具有多个层,但在 PUT 上不需要,则需要资源提供程序实现此字段。 “Basic”
“Free”
“Premium”
“Standard”

TrackedResourceTags

名称 说明 价值

UserAssignedIdentities

名称 说明 价值

UserAssignedIdentity

名称 说明 价值

Terraform (AzAPI 提供程序)资源定义

可以使用目标操作部署工作区/batchEndpoints 资源类型:

  • 资源组 关于每个API版本中变更属性的列表,请参见 更改日志。

资源格式

若要创建 Microsoft.MachineLearningServices/workspaces/batchEndpoints 资源,请将以下 Terraform 添加到模板。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MachineLearningServices/workspaces/batchEndpoints@2026-01-15-preview"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    kind = "string"
    properties = {
      authMode = "string"
      defaults = {
        deploymentName = "string"
      }
      description = "string"
      keys = {
        primaryKey = "string"
        secondaryKey = "string"
      }
      properties = {
        {customized property} = "string"
      }
    }
    sku = {
      capacity = int
      family = "string"
      name = "string"
      size = "string"
      tier = "string"
    }
  }
}

属性值

Microsoft.MachineLearningServices/workspaces/batchEndpoints

名称 说明 价值
标识 托管服务标识(系统分配和/或用户分配的标识) ManagedServiceIdentity
kind 门户/工具等用于为相同类型的资源呈现不同的 UX 体验的元数据。 字符串
位置 资源所在的地理位置 string (必需)
名字 资源名称 string (必需)
parent_id 此资源的父资源的 ID。 类型资源的 ID:工作区
性能 [必需]实体的其他属性。 BatchEndpointProperties(必需)
sku 用于自动缩放的 ARM 协定所需的 SKU 详细信息。 Sku
标记 资源标记 标记名称和值的字典。
类型 资源类型 “Microsoft.MachineLearningServices/workspaces/batchEndpoints@2026-01-15-preview”

BatchEndpoint默认值

名称 说明 价值
deploymentName (部署名称) 将默认为终结点的部署的名称。
调用终结点评分 URL 时,此部署最终将得到 100% 流量。
字符串

BatchEndpoint属性

名称 说明 价值
authMode [必需]用于调用终结点的身份验证方法(数据平面操作)。 使用“密钥”进行基于密钥的身份验证。 使用“AMLToken”进行基于 Azure 机器学习令牌的身份验证。 使用“AADToken”进行基于 entra 令牌的身份验证Microsoft。 'AADToken'
'AMLToken'
“键”(必填)
违约 Batch 终结点的默认值 BatchEndpoint默认值
说明 推理终结点的说明。 字符串
钥匙 最初在终结点上设置的 EndpointAuthKeys。
此属性将始终返回为 null。 必须使用 ListKeys API 检索 AuthKey 值。
EndpointAuthKeys
性能 属性字典。 可以添加属性,但不能删除或更改属性。 EndpointPropertiesBaseProperties

EndpointAuthKeys

名称 说明 价值
primaryKey 主键。 string

约束:
敏感值。 以安全参数的形式传入。
次要密钥 辅助密钥。 string

约束:
敏感值。 以安全参数的形式传入。

EndpointPropertiesBaseProperties

名称 说明 价值

ManagedServiceIdentity

名称 说明 价值
类型 托管服务标识的类型(其中允许 SystemAssigned 和 UserAssigned 类型)。 “None”
“SystemAssigned”
“SystemAssigned,UserAssigned”
“UserAssigned”(必需)
userAssignedIdentities 与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将为 ARM 资源 ID,格式为“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}”。 字典值可以是请求中的空对象({})。 UserAssignedIdentities

Sku

名称 说明 价值
产能 如果 SKU 支持横向扩展/缩减,则应包含容量整数。 如果资源无法横向扩展/缩小,则可能会省略此范围。 int
family 如果服务具有不同代的硬件(对于同一 SKU,则可以在此处捕获)。 字符串
名字 SKU 的名称。 例 - P3。 它通常是字母+数字代码 string (必需)
size SKU 大小。 当名称字段是层和其他一些值的组合时,这将是独立的代码。 字符串
分层 如果服务具有多个层,但在 PUT 上不需要,则需要资源提供程序实现此字段。 “Basic”
“Free”
“Premium”
“Standard”

TrackedResourceTags

名称 说明 价值

UserAssignedIdentities

名称 说明 价值

UserAssignedIdentity

名称 说明 价值