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

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

Bicep资源定义

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

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

资源格式

去创造一个Microsoft。MachineLearningServices/workspaces/batchEndpoints/deployments 资源,将以下 Bicep 添加到你的模板中。

resource symbolicname 'Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments@2026-01-15-preview' = {
  parent: resourceSymbolicName
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  kind: 'string'
  location: 'string'
  name: 'string'
  properties: {
    codeConfiguration: {
      codeId: 'string'
      scoringScript: 'string'
    }
    compute: 'string'
    deploymentConfiguration: {
      deploymentConfigurationType: 'string'
      // For remaining properties, see BatchDeploymentConfiguration objects
    }
    description: 'string'
    environmentId: 'string'
    environmentVariables: {
      {customized property}: 'string'
    }
    errorThreshold: int
    loggingLevel: 'string'
    maxConcurrencyPerInstance: int
    miniBatchSize: int
    model: {
      referenceType: 'string'
      // For remaining properties, see AssetReferenceBase objects
    }
    outputAction: 'string'
    outputFileName: 'string'
    properties: {
      {customized property}: 'string'
    }
    resources: {
      instanceCount: int
      instanceType: 'string'
      properties: {
        {customized property}: any(...)
      }
    }
    retrySettings: {
      maxRetries: int
      timeout: 'string'
    }
  }
  sku: {
    capacity: int
    family: 'string'
    name: 'string'
    size: 'string'
    tier: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

AssetReferenceBase 对象

设置 referenceType 属性以指定对象的类型。

对于 DataPath,请使用:

{
  datastoreId: 'string'
  path: 'string'
  referenceType: 'DataPath'
}

对于 ID,请使用:

{
  assetId: 'string'
  referenceType: 'Id'
}

对于 OutputPath,请使用:

{
  jobId: 'string'
  path: 'string'
  referenceType: 'OutputPath'
}

BatchDeploymentConfiguration 对象

设置 deploymentConfigurationType 属性以指定对象的类型。

对于 PipelineComponent,请使用:

{
  componentId: {
    assetId: 'string'
    referenceType: 'string'
  }
  deploymentConfigurationType: 'PipelineComponent'
  description: 'string'
  settings: {
    {customized property}: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

属性值

Microsoft。机器学习服务/工作空间/批处理端点/部署

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

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

AssetReferenceBase

名称 说明 价值
referenceType 对于 dataPathAssetReference类型,设置为“DataPath”。 设置为 IdAssetReference类型的“Id”。 对于 OutputPathAssetReference,请设置为“OutputPath”。 'DataPath'
'Id'
'OutputPath'(必需)

BatchDeploymentConfiguration

名称 说明 价值
deploymentConfigurationType 对于 BatchPipelineComponentDeploymentConfiguration,请设置为“PipelineComponent”。 'PipelineComponent'(必填)

BatchDeploymentProperties

名称 说明 价值
codeConfiguration 终结点部署的代码配置。 CodeConfiguration
计算 批处理推理操作的计算目标。 字符串
deploymentConfiguration 与不同部署类型相关的属性。 BatchDeploymentConfiguration
说明 终结点部署的说明。 字符串
environmentId 终结点部署的环境规范的 ARM 资源 ID 或 AssetId。 字符串
environmentVariables 部署的环境变量配置。 EndpointDeploymentPropertiesBaseEnvironmentVariables
errorThreshold 错误阈值,如果整个输入的错误计数超过此值,
批处理推理将被中止。 范围为 [-1,int。MaxValue]。
对于 FileDataset,此值是文件失败的计数。
对于 TabularDataset,此值是记录失败的计数。
如果设置为 -1(下限),则会忽略批处理推理期间的所有失败。
int
loggingLevel 批量推理的日志详细程度。
日志记录的详细程度增加顺序为:警告、信息和调试。
默认值为“Info”。
'Debug'
'Info'
'Warning'
maxConcurrencyPerInstance 指示每个实例的最大并行度数。 int
miniBatchSize 传递给每个批处理调用的微型批处理的大小。
对于 FileDataset,这是每个微型批处理的文件数。
对于 TabularDataset,这是每个小型批处理的记录大小(以字节为单位)。
int
模型 对终结点部署的模型资产的引用。 AssetReferenceBase
outputAction 枚举以确定批量推理将如何处理输出 'AppendRow'
'SummaryOnly'
outputFileName append_row输出操作的自定义输出文件名。 字符串
性能 属性字典。 可以添加属性,但不能删除或更改属性。 EndpointDeploymentPropertiesBaseProperties
资源 指示作业的计算配置。
如果未提供,则默认为 ResourceConfiguration 中定义的默认值。
DeploymentResourceConfiguration
retrySettings 批处理推理操作的重试设置。
如果未提供,则默认为 BatchRetrySettings 中定义的默认值。
BatchRetrySettings

BatchPipelineComponentDeploymentConfiguration

名称 说明 价值
componentId 要运行的组件的 ARM ID。 IdAssetReference
deploymentConfigurationType [必需]部署的类型 'PipelineComponent'(必填)
说明 将应用于作业的说明。 字符串
设置 管道作业的运行时设置。 BatchPipelineComponentDeploymentConfigurationSettings
标记 将应用于作业的标记。 BatchPipelineComponentDeploymentConfigurationTags

BatchPipelineComponentDeploymentConfigurationSettings

名称 说明 价值

BatchPipelineComponentDeploymentConfigurationTags

名称 说明 价值

BatchRetrySettings

名称 说明 价值
maxRetries 小型批处理的最大重试计数 int
超时 迷你批处理的调用超时,采用 ISO 8601 格式。 字符串

CodeConfiguration

名称 说明 价值
codeId 代码资产的 ARM 资源 ID。 字符串
scoringScript [必需]在启动时执行的脚本。 eg. "score.py" string

约束:
最小长度 = 1
模式 = [a-zA-Z0-9_] (必需)

DataPathAssetReference

名称 说明 价值
datastoreId 资产所在的数据存储的 ARM 资源 ID。 字符串
路径 数据存储中文件/目录的路径。 字符串
referenceType [必需]指定资产引用的类型。 'DataPath'(必需)

DeploymentResourceConfiguration

名称 说明 价值
instanceCount 计算目标使用的可选实例或节点数。 int
instanceType 计算目标支持的可选 VM 类型。 字符串
性能 其他属性包。 ResourceConfigurationProperties

EndpointDeploymentPropertiesBaseEnvironmentVariables

名称 说明 价值

EndpointDeploymentPropertiesBaseProperties

名称 说明 价值

IdAssetReference

名称 说明 价值
资产ID [必需]资产的 ARM 资源 ID。 string

约束:
最小长度 = 1
模式 = [a-zA-Z0-9_] (必需)
referenceType [必需]指定资产引用的类型。 'id'(必填)

IdAssetReference

名称 说明 价值
资产ID [必需]资产的 ARM 资源 ID。 string

约束:
最小长度 = 1
模式 = [a-zA-Z0-9_] (必需)
referenceType [必需]指定资产引用的类型。 'DataPath'
'Id'
'OutputPath'(必需)

ManagedServiceIdentity

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

OutputPathAssetReference

名称 说明 价值
jobId 作业的 ARM 资源 ID。 字符串
路径 作业输出中文件/目录的路径。 字符串
referenceType [必需]指定资产引用的类型。 'OutputPath'(必需)

ResourceConfigurationProperties

名称 说明 价值

Sku

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

TrackedResourceTags

名称 说明 价值

UserAssignedIdentities

名称 说明 价值

UserAssignedIdentity

名称 说明 价值

ARM 模板资源定义

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

用法示例

资源格式

去创造一个Microsoft。MachineLearningServices/workspaces/batchEndpoints/deployments 资源,向你的模板添加以下 JSON 代码。

{
  "type": "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments",
  "apiVersion": "2026-01-15-preview",
  "name": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "kind": "string",
  "location": "string",
  "properties": {
    "codeConfiguration": {
      "codeId": "string",
      "scoringScript": "string"
    },
    "compute": "string",
    "deploymentConfiguration": {
      "deploymentConfigurationType": "string"
      // For remaining properties, see BatchDeploymentConfiguration objects
    },
    "description": "string",
    "environmentId": "string",
    "environmentVariables": {
      "{customized property}": "string"
    },
    "errorThreshold": "int",
    "loggingLevel": "string",
    "maxConcurrencyPerInstance": "int",
    "miniBatchSize": "int",
    "model": {
      "referenceType": "string"
      // For remaining properties, see AssetReferenceBase objects
    },
    "outputAction": "string",
    "outputFileName": "string",
    "properties": {
      "{customized property}": "string"
    },
    "resources": {
      "instanceCount": "int",
      "instanceType": "string",
      "properties": {
        "{customized property}": {}
      }
    },
    "retrySettings": {
      "maxRetries": "int",
      "timeout": "string"
    }
  },
  "sku": {
    "capacity": "int",
    "family": "string",
    "name": "string",
    "size": "string",
    "tier": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

AssetReferenceBase 对象

设置 referenceType 属性以指定对象的类型。

对于 DataPath,请使用:

{
  "datastoreId": "string",
  "path": "string",
  "referenceType": "DataPath"
}

对于 ID,请使用:

{
  "assetId": "string",
  "referenceType": "Id"
}

对于 OutputPath,请使用:

{
  "jobId": "string",
  "path": "string",
  "referenceType": "OutputPath"
}

BatchDeploymentConfiguration 对象

设置 deploymentConfigurationType 属性以指定对象的类型。

对于 PipelineComponent,请使用:

{
  "componentId": {
    "assetId": "string",
    "referenceType": "string"
  },
  "deploymentConfigurationType": "PipelineComponent",
  "description": "string",
  "settings": {
    "{customized property}": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

属性值

Microsoft。机器学习服务/工作空间/批处理端点/部署

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

AssetReferenceBase

名称 说明 价值
referenceType 对于 dataPathAssetReference类型,设置为“DataPath”。 设置为 IdAssetReference类型的“Id”。 对于 OutputPathAssetReference,请设置为“OutputPath”。 'DataPath'
'Id'
'OutputPath'(必需)

BatchDeploymentConfiguration

名称 说明 价值
deploymentConfigurationType 对于 BatchPipelineComponentDeploymentConfiguration,请设置为“PipelineComponent”。 'PipelineComponent'(必填)

BatchDeploymentProperties

名称 说明 价值
codeConfiguration 终结点部署的代码配置。 CodeConfiguration
计算 批处理推理操作的计算目标。 字符串
deploymentConfiguration 与不同部署类型相关的属性。 BatchDeploymentConfiguration
说明 终结点部署的说明。 字符串
environmentId 终结点部署的环境规范的 ARM 资源 ID 或 AssetId。 字符串
environmentVariables 部署的环境变量配置。 EndpointDeploymentPropertiesBaseEnvironmentVariables
errorThreshold 错误阈值,如果整个输入的错误计数超过此值,
批处理推理将被中止。 范围为 [-1,int。MaxValue]。
对于 FileDataset,此值是文件失败的计数。
对于 TabularDataset,此值是记录失败的计数。
如果设置为 -1(下限),则会忽略批处理推理期间的所有失败。
int
loggingLevel 批量推理的日志详细程度。
日志记录的详细程度增加顺序为:警告、信息和调试。
默认值为“Info”。
'Debug'
'Info'
'Warning'
maxConcurrencyPerInstance 指示每个实例的最大并行度数。 int
miniBatchSize 传递给每个批处理调用的微型批处理的大小。
对于 FileDataset,这是每个微型批处理的文件数。
对于 TabularDataset,这是每个小型批处理的记录大小(以字节为单位)。
int
模型 对终结点部署的模型资产的引用。 AssetReferenceBase
outputAction 枚举以确定批量推理将如何处理输出 'AppendRow'
'SummaryOnly'
outputFileName append_row输出操作的自定义输出文件名。 字符串
性能 属性字典。 可以添加属性,但不能删除或更改属性。 EndpointDeploymentPropertiesBaseProperties
资源 指示作业的计算配置。
如果未提供,则默认为 ResourceConfiguration 中定义的默认值。
DeploymentResourceConfiguration
retrySettings 批处理推理操作的重试设置。
如果未提供,则默认为 BatchRetrySettings 中定义的默认值。
BatchRetrySettings

BatchPipelineComponentDeploymentConfiguration

名称 说明 价值
componentId 要运行的组件的 ARM ID。 IdAssetReference
deploymentConfigurationType [必需]部署的类型 'PipelineComponent'(必填)
说明 将应用于作业的说明。 字符串
设置 管道作业的运行时设置。 BatchPipelineComponentDeploymentConfigurationSettings
标记 将应用于作业的标记。 BatchPipelineComponentDeploymentConfigurationTags

BatchPipelineComponentDeploymentConfigurationSettings

名称 说明 价值

BatchPipelineComponentDeploymentConfigurationTags

名称 说明 价值

BatchRetrySettings

名称 说明 价值
maxRetries 小型批处理的最大重试计数 int
超时 迷你批处理的调用超时,采用 ISO 8601 格式。 字符串

CodeConfiguration

名称 说明 价值
codeId 代码资产的 ARM 资源 ID。 字符串
scoringScript [必需]在启动时执行的脚本。 eg. "score.py" string

约束:
最小长度 = 1
模式 = [a-zA-Z0-9_] (必需)

DataPathAssetReference

名称 说明 价值
datastoreId 资产所在的数据存储的 ARM 资源 ID。 字符串
路径 数据存储中文件/目录的路径。 字符串
referenceType [必需]指定资产引用的类型。 'DataPath'(必需)

DeploymentResourceConfiguration

名称 说明 价值
instanceCount 计算目标使用的可选实例或节点数。 int
instanceType 计算目标支持的可选 VM 类型。 字符串
性能 其他属性包。 ResourceConfigurationProperties

EndpointDeploymentPropertiesBaseEnvironmentVariables

名称 说明 价值

EndpointDeploymentPropertiesBaseProperties

名称 说明 价值

IdAssetReference

名称 说明 价值
资产ID [必需]资产的 ARM 资源 ID。 string

约束:
最小长度 = 1
模式 = [a-zA-Z0-9_] (必需)
referenceType [必需]指定资产引用的类型。 'id'(必填)

IdAssetReference

名称 说明 价值
资产ID [必需]资产的 ARM 资源 ID。 string

约束:
最小长度 = 1
模式 = [a-zA-Z0-9_] (必需)
referenceType [必需]指定资产引用的类型。 'DataPath'
'Id'
'OutputPath'(必需)

ManagedServiceIdentity

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

OutputPathAssetReference

名称 说明 价值
jobId 作业的 ARM 资源 ID。 字符串
路径 作业输出中文件/目录的路径。 字符串
referenceType [必需]指定资产引用的类型。 'OutputPath'(必需)

ResourceConfigurationProperties

名称 说明 价值

Sku

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

TrackedResourceTags

名称 说明 价值

UserAssignedIdentities

名称 说明 价值

UserAssignedIdentity

名称 说明 价值

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

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

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

资源格式

去创造一个Microsoft。MachineLearningServices/workspaces/batchEndpoints/deployments 资源,将以下 Terraform 添加到你的模板中。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.MachineLearningServices/workspaces/batchEndpoints/deployments@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 = {
      codeConfiguration = {
        codeId = "string"
        scoringScript = "string"
      }
      compute = "string"
      deploymentConfiguration = {
        deploymentConfigurationType = "string"
        // For remaining properties, see BatchDeploymentConfiguration objects
      }
      description = "string"
      environmentId = "string"
      environmentVariables = {
        {customized property} = "string"
      }
      errorThreshold = int
      loggingLevel = "string"
      maxConcurrencyPerInstance = int
      miniBatchSize = int
      model = {
        referenceType = "string"
        // For remaining properties, see AssetReferenceBase objects
      }
      outputAction = "string"
      outputFileName = "string"
      properties = {
        {customized property} = "string"
      }
      resources = {
        instanceCount = int
        instanceType = "string"
        properties = {
          {customized property} = ?
        }
      }
      retrySettings = {
        maxRetries = int
        timeout = "string"
      }
    }
    sku = {
      capacity = int
      family = "string"
      name = "string"
      size = "string"
      tier = "string"
    }
  }
}

AssetReferenceBase 对象

设置 referenceType 属性以指定对象的类型。

对于 DataPath,请使用:

{
  datastoreId = "string"
  path = "string"
  referenceType = "DataPath"
}

对于 ID,请使用:

{
  assetId = "string"
  referenceType = "Id"
}

对于 OutputPath,请使用:

{
  jobId = "string"
  path = "string"
  referenceType = "OutputPath"
}

BatchDeploymentConfiguration 对象

设置 deploymentConfigurationType 属性以指定对象的类型。

对于 PipelineComponent,请使用:

{
  componentId = {
    assetId = "string"
    referenceType = "string"
  }
  deploymentConfigurationType = "PipelineComponent"
  description = "string"
  settings = {
    {customized property} = "string"
  }
  tags = {
    {customized property} = "string"
  }
}

属性值

Microsoft。机器学习服务/工作空间/批处理端点/部署

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

AssetReferenceBase

名称 说明 价值
referenceType 对于 dataPathAssetReference类型,设置为“DataPath”。 设置为 IdAssetReference类型的“Id”。 对于 OutputPathAssetReference,请设置为“OutputPath”。 'DataPath'
'Id'
'OutputPath'(必需)

BatchDeploymentConfiguration

名称 说明 价值
deploymentConfigurationType 对于 BatchPipelineComponentDeploymentConfiguration,请设置为“PipelineComponent”。 'PipelineComponent'(必填)

BatchDeploymentProperties

名称 说明 价值
codeConfiguration 终结点部署的代码配置。 CodeConfiguration
计算 批处理推理操作的计算目标。 字符串
deploymentConfiguration 与不同部署类型相关的属性。 BatchDeploymentConfiguration
说明 终结点部署的说明。 字符串
environmentId 终结点部署的环境规范的 ARM 资源 ID 或 AssetId。 字符串
environmentVariables 部署的环境变量配置。 EndpointDeploymentPropertiesBaseEnvironmentVariables
errorThreshold 错误阈值,如果整个输入的错误计数超过此值,
批处理推理将被中止。 范围为 [-1,int。MaxValue]。
对于 FileDataset,此值是文件失败的计数。
对于 TabularDataset,此值是记录失败的计数。
如果设置为 -1(下限),则会忽略批处理推理期间的所有失败。
int
loggingLevel 批量推理的日志详细程度。
日志记录的详细程度增加顺序为:警告、信息和调试。
默认值为“Info”。
'Debug'
'Info'
'Warning'
maxConcurrencyPerInstance 指示每个实例的最大并行度数。 int
miniBatchSize 传递给每个批处理调用的微型批处理的大小。
对于 FileDataset,这是每个微型批处理的文件数。
对于 TabularDataset,这是每个小型批处理的记录大小(以字节为单位)。
int
模型 对终结点部署的模型资产的引用。 AssetReferenceBase
outputAction 枚举以确定批量推理将如何处理输出 'AppendRow'
'SummaryOnly'
outputFileName append_row输出操作的自定义输出文件名。 字符串
性能 属性字典。 可以添加属性,但不能删除或更改属性。 EndpointDeploymentPropertiesBaseProperties
资源 指示作业的计算配置。
如果未提供,则默认为 ResourceConfiguration 中定义的默认值。
DeploymentResourceConfiguration
retrySettings 批处理推理操作的重试设置。
如果未提供,则默认为 BatchRetrySettings 中定义的默认值。
BatchRetrySettings

BatchPipelineComponentDeploymentConfiguration

名称 说明 价值
componentId 要运行的组件的 ARM ID。 IdAssetReference
deploymentConfigurationType [必需]部署的类型 'PipelineComponent'(必填)
说明 将应用于作业的说明。 字符串
设置 管道作业的运行时设置。 BatchPipelineComponentDeploymentConfigurationSettings
标记 将应用于作业的标记。 BatchPipelineComponentDeploymentConfigurationTags

BatchPipelineComponentDeploymentConfigurationSettings

名称 说明 价值

BatchPipelineComponentDeploymentConfigurationTags

名称 说明 价值

BatchRetrySettings

名称 说明 价值
maxRetries 小型批处理的最大重试计数 int
超时 迷你批处理的调用超时,采用 ISO 8601 格式。 字符串

CodeConfiguration

名称 说明 价值
codeId 代码资产的 ARM 资源 ID。 字符串
scoringScript [必需]在启动时执行的脚本。 eg. "score.py" string

约束:
最小长度 = 1
模式 = [a-zA-Z0-9_] (必需)

DataPathAssetReference

名称 说明 价值
datastoreId 资产所在的数据存储的 ARM 资源 ID。 字符串
路径 数据存储中文件/目录的路径。 字符串
referenceType [必需]指定资产引用的类型。 'DataPath'(必需)

DeploymentResourceConfiguration

名称 说明 价值
instanceCount 计算目标使用的可选实例或节点数。 int
instanceType 计算目标支持的可选 VM 类型。 字符串
性能 其他属性包。 ResourceConfigurationProperties

EndpointDeploymentPropertiesBaseEnvironmentVariables

名称 说明 价值

EndpointDeploymentPropertiesBaseProperties

名称 说明 价值

IdAssetReference

名称 说明 价值
资产ID [必需]资产的 ARM 资源 ID。 string

约束:
最小长度 = 1
模式 = [a-zA-Z0-9_] (必需)
referenceType [必需]指定资产引用的类型。 'id'(必填)

IdAssetReference

名称 说明 价值
资产ID [必需]资产的 ARM 资源 ID。 string

约束:
最小长度 = 1
模式 = [a-zA-Z0-9_] (必需)
referenceType [必需]指定资产引用的类型。 'DataPath'
'Id'
'OutputPath'(必需)

ManagedServiceIdentity

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

OutputPathAssetReference

名称 说明 价值
jobId 作业的 ARM 资源 ID。 字符串
路径 作业输出中文件/目录的路径。 字符串
referenceType [必需]指定资产引用的类型。 'OutputPath'(必需)

ResourceConfigurationProperties

名称 说明 价值

Sku

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

TrackedResourceTags

名称 说明 价值

UserAssignedIdentities

名称 说明 价值

UserAssignedIdentity

名称 说明 价值