BatchEndpoints interface
表示 BatchEndpoints 的接口。
方法
方法详细信息
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
推理终结点名称。
选项参数。
返回
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
推理终结点名称。
选项参数。
返回
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 推理终结点的名称。
可变批处理推理终结点定义对象。
选项参数。
返回
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 推理终结点的名称。
可变批处理推理终结点定义对象。
选项参数。
返回
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
推理终结点名称。
选项参数。
返回
Promise<EndpointAuthKeys>