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

BatchEndpoints interface

表示 BatchEndpoints 的接口。

方法

beginCreateOrUpdate(string, string, string, BatchEndpoint, BatchEndpointsCreateOrUpdateOptionalParams)

创建批处理推理终结点(异步)。

beginCreateOrUpdateAndWait(string, string, string, BatchEndpoint, BatchEndpointsCreateOrUpdateOptionalParams)

创建批处理推理终结点(异步)。

beginDelete(string, string, string, BatchEndpointsDeleteOptionalParams)

删除 Batch 推理终结点(异步)。

beginDeleteAndWait(string, string, string, BatchEndpointsDeleteOptionalParams)

删除 Batch 推理终结点(异步)。

beginUpdate(string, string, string, PartialMinimalTrackedResourceWithIdentity, BatchEndpointsUpdateOptionalParams)

更新批处理推理终结点(异步)。

beginUpdateAndWait(string, string, string, PartialMinimalTrackedResourceWithIdentity, BatchEndpointsUpdateOptionalParams)

更新批处理推理终结点(异步)。

get(string, string, string, BatchEndpointsGetOptionalParams)

按名称获取批处理推理终结点。

list(string, string, BatchEndpointsListOptionalParams)

列出工作区中的 Batch 推理终结点。

listKeys(string, string, string, BatchEndpointsListKeysOptionalParams)

列出批处理推理终结点密钥。

方法详细信息

beginCreateOrUpdate(string, string, string, BatchEndpoint, BatchEndpointsCreateOrUpdateOptionalParams)

创建批处理推理终结点(异步)。

function beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, body: BatchEndpoint, options?: BatchEndpointsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<BatchEndpoint>, BatchEndpoint>>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

workspaceName

string

Azure 机器学习工作区的名称。

endpointName

string

Batch 推理终结点的名称。

body
BatchEndpoint

批处理推理终结点定义对象。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<BatchEndpoint>, BatchEndpoint>>

beginCreateOrUpdateAndWait(string, string, string, BatchEndpoint, BatchEndpointsCreateOrUpdateOptionalParams)

创建批处理推理终结点(异步)。

function beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, body: BatchEndpoint, options?: BatchEndpointsCreateOrUpdateOptionalParams): Promise<BatchEndpoint>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

workspaceName

string

Azure 机器学习工作区的名称。

endpointName

string

Batch 推理终结点的名称。

body
BatchEndpoint

批处理推理终结点定义对象。

返回

Promise<BatchEndpoint>

beginDelete(string, string, string, BatchEndpointsDeleteOptionalParams)

删除 Batch 推理终结点(异步)。

function beginDelete(resourceGroupName: string, workspaceName: string, endpointName: string, options?: BatchEndpointsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

workspaceName

string

Azure 机器学习工作区的名称。

endpointName

string

推理终结点名称。

options
BatchEndpointsDeleteOptionalParams

选项参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, BatchEndpointsDeleteOptionalParams)

删除 Batch 推理终结点(异步)。

function beginDeleteAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, options?: BatchEndpointsDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

workspaceName

string

Azure 机器学习工作区的名称。

endpointName

string

推理终结点名称。

options
BatchEndpointsDeleteOptionalParams

选项参数。

返回

Promise<void>

beginUpdate(string, string, string, PartialMinimalTrackedResourceWithIdentity, BatchEndpointsUpdateOptionalParams)

更新批处理推理终结点(异步)。

function beginUpdate(resourceGroupName: string, workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, options?: BatchEndpointsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<BatchEndpoint>, BatchEndpoint>>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

workspaceName

string

Azure 机器学习工作区的名称。

endpointName

string

Batch 推理终结点的名称。

body
PartialMinimalTrackedResourceWithIdentity

可变批处理推理终结点定义对象。

options
BatchEndpointsUpdateOptionalParams

选项参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<BatchEndpoint>, BatchEndpoint>>

beginUpdateAndWait(string, string, string, PartialMinimalTrackedResourceWithIdentity, BatchEndpointsUpdateOptionalParams)

更新批处理推理终结点(异步)。

function beginUpdateAndWait(resourceGroupName: string, workspaceName: string, endpointName: string, body: PartialMinimalTrackedResourceWithIdentity, options?: BatchEndpointsUpdateOptionalParams): Promise<BatchEndpoint>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

workspaceName

string

Azure 机器学习工作区的名称。

endpointName

string

Batch 推理终结点的名称。

body
PartialMinimalTrackedResourceWithIdentity

可变批处理推理终结点定义对象。

options
BatchEndpointsUpdateOptionalParams

选项参数。

返回

Promise<BatchEndpoint>

get(string, string, string, BatchEndpointsGetOptionalParams)

按名称获取批处理推理终结点。

function get(resourceGroupName: string, workspaceName: string, endpointName: string, options?: BatchEndpointsGetOptionalParams): Promise<BatchEndpoint>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

workspaceName

string

Azure 机器学习工作区的名称。

endpointName

string

Batch 终结点的名称。

options
BatchEndpointsGetOptionalParams

选项参数。

返回

Promise<BatchEndpoint>

list(string, string, BatchEndpointsListOptionalParams)

列出工作区中的 Batch 推理终结点。

function list(resourceGroupName: string, workspaceName: string, options?: BatchEndpointsListOptionalParams): PagedAsyncIterableIterator<BatchEndpoint, BatchEndpoint[], PageSettings>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

workspaceName

string

Azure 机器学习工作区的名称。

options
BatchEndpointsListOptionalParams

选项参数。

返回

listKeys(string, string, string, BatchEndpointsListKeysOptionalParams)

列出批处理推理终结点密钥。

function listKeys(resourceGroupName: string, workspaceName: string, endpointName: string, options?: BatchEndpointsListKeysOptionalParams): Promise<EndpointAuthKeys>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

workspaceName

string

Azure 机器学习工作区的名称。

endpointName

string

推理终结点名称。

options
BatchEndpointsListKeysOptionalParams

选项参数。

返回

Promise<EndpointAuthKeys>