Batch Deployments |
您所在的位置:网站首页 › list属性代码 › Batch Deployments |
你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。 Batch Deployments - List 参考 Service: Machine Learning API Version: 2023-04-01-preview列出工作区中的 Batch 推理部署。 GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments?api-version=2023-04-01-preview With optional parameters: GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}/deployments?api-version=2023-04-01-preview&$orderBy={$orderBy}&$top={$top}&$skip={$skip} URI 参数 名称 在 必需 类型 说明 endpointName path Truestring 终结点名称 resourceGroupName path Truestring 资源组的名称。 此名称不区分大小写。 subscriptionId path Truestring 目标订阅的 ID。 workspaceName path Truestring Azure 机器学习工作区的名称。 Regex pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{2,32}$ api-version query Truestring 要用于此操作的 API 版本。 $orderBy querystring 列表排序。 $skip querystring 分页的继续标记。 $top queryinteger int32列表顶部。 响应 名称 类型 说明 200 OKBatchDeploymentTrackedResourceArmPaginatedResult 成功 Other Status CodesErrorResponse 错误 示例 List Workspace Batch Deployment. Sample Request HTTP GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/workspaces/my-aml-workspace/batchEndpoints/testEndpointName/deployments?api-version=2023-04-01-preview&$orderBy=string&$top=1 Sample Response Status code: 200 { "value": [ { "id": "string", "name": "string", "type": "string", "properties": { "description": "string", "properties": { "string": "string" }, "codeConfiguration": { "codeId": "string", "scoringScript": "string" }, "environmentId": "string", "environmentVariables": { "string": "string" }, "compute": "string", "errorThreshold": 1, "retrySettings": { "maxRetries": 1, "timeout": "PT5M" }, "miniBatchSize": 1, "loggingLevel": "Info", "model": { "referenceType": "Id", "assetId": "string" }, "maxConcurrencyPerInstance": 1, "outputAction": "SummaryOnly", "outputFileName": "string", "resources": { "instanceCount": 1, "instanceType": "string", "properties": { "string": { "a3c13e2e-a213-4cac-9f5a-b49966906ad6": null } } }, "provisioningState": "Creating" }, "systemData": { "createdAt": "2020-01-01T12:34:56.999Z", "createdBy": "string", "createdByType": "User", "lastModifiedAt": "2020-01-01T12:34:56.999Z", "lastModifiedBy": "string", "lastModifiedByType": "User" }, "tags": {}, "location": "string", "kind": "string", "identity": { "type": "SystemAssigned", "principalId": "00000000-1111-2222-3333-444444444444", "tenantId": "00000000-1111-2222-3333-444444444444", "userAssignedIdentities": { "string": { "principalId": "00000000-1111-2222-3333-444444444444", "clientId": "00000000-1111-2222-3333-444444444444" } } }, "sku": { "name": "string", "tier": "Free", "size": "string", "family": "string", "capacity": 1 } } ], "nextLink": "string" } 定义 名称 说明 BatchDeployment每个部署的批量推理设置。 BatchDeploymentConfigurationType批处理部署的枚举属性类型。 BatchDeploymentTrackedResource BatchDeploymentTrackedResourceArmPaginatedResultBatchDeployment 实体的分页列表。 BatchLoggingLevel记录批量推理的详细程度。 日志记录的详细顺序增加为:警告、信息和调试。 默认值为“信息”。 BatchOutputAction用于确定批处理推理如何处理输出的枚举 BatchPipelineComponentDeploymentConfigurationBatch 管道组件部署的属性。 BatchRetrySettings批量推理操作的重试设置。 CodeConfiguration评分代码资产的配置。 createdByType创建资源的标识类型。 DataPathAssetReference通过资产在数据存储中的路径引用资产。 DeploymentProvisioningStateDeploymentProvisioningState 的可能值。 DeploymentResourceConfiguration ErrorAdditionalInfo资源管理错误其他信息。 ErrorDetail错误详细信息。 ErrorResponse错误响应 IdAssetReference通过其 ARM 资源 ID 引用资产。 ManagedServiceIdentity托管服务标识 (系统分配的标识和/或用户分配的标识) ManagedServiceIdentityType) 允许 SystemAssigned 和 UserAssigned 类型的托管服务标识 (的类型。 OutputPathAssetReference通过资产在作业输出中的路径引用资产。 ReferenceType用于确定要用于资产的引用方法的枚举。 Sku表示 SKU 的资源模型定义 SkuTier如果服务具有多个层,但 PUT 上不需要此字段,则资源提供程序需要实现此字段。 systemData与资源的创建和上次修改相关的元数据。 UserAssignedIdentity用户分配的标识属性 BatchDeployment每个部署的批量推理设置。 名称 类型 默认值 说明 codeConfigurationCodeConfiguration 终结点部署的代码配置。 computestring 批量推理操作的计算目标。 deploymentConfiguration BatchDeploymentConfiguration:BatchPipelineComponentDeploymentConfiguration 与不同部署类型相关的属性。 descriptionstring 终结点部署的说明。 environmentIdstring 终结点部署的环境规范的 ARM 资源 ID。 environmentVariablesobject 部署的环境变量配置。 errorThresholdinteger -1错误阈值,如果整个输入的错误计数超过此值,则批处理推理将中止。 范围为 [-1, int.MaxValue]。 对于 FileDataset,此值是文件失败的计数。 对于 TabularDataset,此值是记录失败的计数。 如果设置为 -1 (下限) ,则将忽略批处理推理期间的所有失败。 loggingLevelBatchLoggingLevel Info批量推理操作的日志记录级别。 maxConcurrencyPerInstanceinteger 1指示每个实例的最大并行数。 miniBatchSizeinteger 10传递给每个批处理调用的微型批的大小。 对于 FileDataset,这是每个微型批的文件数。 对于 TabularDataset,这是每个微批记录的大小(以字节为单位)。 model AssetReferenceBase: DataPathAssetReference IdAssetReference OutputPathAssetReference对终结点部署的模型资产的引用。 outputActionBatchOutputAction AppendRow指示输出的组织方式。 outputFileNamestring predictions.csvappend_row输出操作的自定义输出文件名。 propertiesobject 属性字典。 可以添加属性,但不能删除或更改。 provisioningStateDeploymentProvisioningState 终结点部署的预配状态。 resourcesDeploymentResourceConfiguration 指示作业的计算配置。 如果未提供, 将默认为 ResourceConfiguration 中定义的默认值。 retrySettingsBatchRetrySettings 批量推理操作的重试设置。 如果未提供, 将默认为 BatchRetrySettings 中定义的默认值。 BatchDeploymentConfigurationType批处理部署的枚举属性类型。 名称 类型 说明 Modelstring PipelineComponentstring BatchDeploymentTrackedResource 名称 类型 说明 idstring 资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} identityManagedServiceIdentity 托管服务标识 (系统分配的标识和/或用户分配的标识) kindstring 门户/工具等用于为相同类型的资源呈现不同的 UX 体验的元数据。 locationstring 资源所在的地理位置 namestring 资源的名称 propertiesBatchDeployment [必需]实体的其他属性。 skuSku 自动缩放的 ARM 协定所需的 SKU 详细信息。 systemDatasystemData 包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。 tagsobject 资源标记。 typestring 资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts” BatchDeploymentTrackedResourceArmPaginatedResultBatchDeployment 实体的分页列表。 名称 类型 说明 nextLinkstring 指向 BatchDeployment 对象的下一页的链接。 如果为 null,则没有其他页。 valueBatchDeploymentTrackedResource[] BatchDeployment 类型的对象数组。 BatchLoggingLevel记录批量推理的详细程度。 日志记录的详细顺序增加为:警告、信息和调试。 默认值为“信息”。 名称 类型 说明 Debugstring Infostring Warningstring BatchOutputAction用于确定批处理推理如何处理输出的枚举 名称 类型 说明 AppendRowstring SummaryOnlystring BatchPipelineComponentDeploymentConfigurationBatch 管道组件部署的属性。 名称 类型 说明 componentIdIdAssetReference 要运行的组件的 ARM ID。 deploymentConfigurationType string:PipelineComponent [必需]部署的类型 descriptionstring 将应用于作业的说明。 settingsobject 管道作业的运行时设置。 tagsobject 将应用于作业的标记。 BatchRetrySettings批量推理操作的重试设置。 名称 类型 默认值 说明 maxRetriesinteger 3小型批的最大重试计数 timeoutstring PT30S小型批的调用超时,采用 ISO 8601 格式。 CodeConfiguration评分代码资产的配置。 名称 类型 说明 codeIdstring 代码资产的 ARM 资源 ID。 scoringScriptstring [必需]启动时要执行的脚本。 例如 “score.py” createdByType创建资源的标识类型。 名称 类型 说明 Applicationstring Keystring ManagedIdentitystring Userstring DataPathAssetReference通过资产在数据存储中的路径引用资产。 名称 类型 说明 datastoreIdstring 资产所在的数据存储的 ARM 资源 ID。 pathstring 数据存储中文件/目录的路径。 referenceType string:DataPath [必需]指定资产引用的类型。 DeploymentProvisioningStateDeploymentProvisioningState 的可能值。 名称 类型 说明 Canceledstring Creatingstring Deletingstring Failedstring Scalingstring Succeededstring Updatingstring DeploymentResourceConfiguration 名称 类型 默认值 说明 instanceCountinteger 1计算目标使用的可选实例或节点数。 instanceTypestring 计算目标支持的 VM 的可选类型。 locationsstring[] 作业可以运行的位置。 maxInstanceCountinteger 可选最大允许计算目标使用的实例或节点数。 用于弹性训练,目前仅受 PyTorch 分发类型支持。 propertiesobject 其他属性包。 ErrorAdditionalInfo资源管理错误其他信息。 名称 类型 说明 infoobject 其他信息。 typestring 其他信息类型。 ErrorDetail错误详细信息。 名称 类型 说明 additionalInfoErrorAdditionalInfo[] 错误附加信息。 codestring 错误代码。 detailsErrorDetail[] 错误详细信息。 messagestring 错误消息。 targetstring 错误目标。 ErrorResponse错误响应 名称 类型 说明 errorErrorDetail 错误对象。 IdAssetReference通过其 ARM 资源 ID 引用资产。 名称 类型 说明 assetIdstring [必需]资产的 ARM 资源 ID。 referenceType string:Id [必需]指定资产引用的类型。 ManagedServiceIdentity托管服务标识 (系统分配的标识和/或用户分配的标识) 名称 类型 说明 principalIdstring 系统分配的标识的服务主体 ID。 此属性仅针对系统分配的标识提供。 tenantIdstring 系统分配的标识的租户 ID。 此属性仅针对系统分配的标识提供。 typeManagedServiceIdentityType ) 允许 SystemAssigned 和 UserAssigned 类型的托管服务标识 (的类型。 userAssignedIdentities
User-Assigned标识 与资源关联的用户分配标识集。 userAssignedIdentities 字典密钥将是采用以下格式的 ARM 资源 ID:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}。 字典值可以是请求中) ({} 空对象。 ManagedServiceIdentityType) 允许 SystemAssigned 和 UserAssigned 类型的托管服务标识 (的类型。 名称 类型 说明 Nonestring SystemAssignedstring SystemAssigned,UserAssignedstring UserAssignedstring OutputPathAssetReference通过资产在作业输出中的路径引用资产。 名称 类型 说明 jobIdstring 作业的 ARM 资源 ID。 pathstring 作业输出中文件/目录的路径。 referenceType string:OutputPath [必需]指定资产引用的类型。 ReferenceType用于确定要用于资产的引用方法的枚举。 名称 类型 说明 DataPathstring Idstring OutputPathstring Sku表示 SKU 的资源模型定义 名称 类型 说明 capacityinteger 如果 SKU 支持横向扩展/缩减,则应包含容量整数。 如果无法对资源进行横向扩展/缩减,则可能会省略此项。 familystring 如果服务针对同一 SKU 具有不同代系的硬件,则可以在此处捕获。 namestring SKU 的名称。 例如 - P3。 它通常是字母+数字代码 sizestring SKU 大小。 当名称字段是层和一些其他值的组合时,这将是独立代码。 tierSkuTier 如果服务具有多个层,但 PUT 上不需要此字段,则资源提供程序需要实现此字段。 SkuTier如果服务具有多个层,但 PUT 上不需要此字段,则资源提供程序需要实现此字段。 名称 类型 说明 Basicstring Freestring Premiumstring Standardstring systemData与资源的创建和上次修改相关的元数据。 名称 类型 说明 createdAtstring 资源创建时间戳 (UTC) 。 createdBystring 创建资源的标识。 createdByTypecreatedByType 创建资源的标识类型。 lastModifiedAtstring 资源上次修改的时间戳 (UTC) lastModifiedBystring 上次修改资源的标识。 lastModifiedByTypecreatedByType 上次修改资源的标识类型。 UserAssignedIdentity用户分配的标识属性 名称 类型 说明 clientIdstring 已分配标识的客户端 ID。 principalIdstring 分配的标识的主体 ID。 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |