ServerlessEndpoints interface
表示 ServerlessEndpoints 的接口。
方法
方法详细信息
beginCreateOrUpdate(string, string, string, ServerlessEndpoint, ServerlessEndpointsCreateOrUpdateOptionalParams)
创建或更新无服务器终结点(异步)。
function beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, name: string, body: ServerlessEndpoint, options?: ServerlessEndpointsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServerlessEndpoint>, ServerlessEndpoint>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- workspaceName
-
string
Azure 机器学习工作区的名称。
- name
-
string
无服务器终结点名称。
- body
- ServerlessEndpoint
在操作过程中要应用的无服务器终结点实体。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<ServerlessEndpoint>, ServerlessEndpoint>>
beginCreateOrUpdateAndWait(string, string, string, ServerlessEndpoint, ServerlessEndpointsCreateOrUpdateOptionalParams)
创建或更新无服务器终结点(异步)。
function beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, body: ServerlessEndpoint, options?: ServerlessEndpointsCreateOrUpdateOptionalParams): Promise<ServerlessEndpoint>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- workspaceName
-
string
Azure 机器学习工作区的名称。
- name
-
string
无服务器终结点名称。
- body
- ServerlessEndpoint
在操作过程中要应用的无服务器终结点实体。
选项参数。
返回
Promise<ServerlessEndpoint>
beginDelete(string, string, string, ServerlessEndpointsDeleteOptionalParams)
删除无服务器终结点(异步)。
function beginDelete(resourceGroupName: string, workspaceName: string, name: string, options?: ServerlessEndpointsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ServerlessEndpointsDeleteHeaders>, ServerlessEndpointsDeleteHeaders>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- workspaceName
-
string
Azure 机器学习工作区的名称。
- name
-
string
无服务器终结点名称。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<ServerlessEndpointsDeleteHeaders>, ServerlessEndpointsDeleteHeaders>>
beginDeleteAndWait(string, string, string, ServerlessEndpointsDeleteOptionalParams)
删除无服务器终结点(异步)。
function beginDeleteAndWait(resourceGroupName: string, workspaceName: string, name: string, options?: ServerlessEndpointsDeleteOptionalParams): Promise<ServerlessEndpointsDeleteHeaders>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- workspaceName
-
string
Azure 机器学习工作区的名称。
- name
-
string
无服务器终结点名称。
选项参数。
返回
Promise<ServerlessEndpointsDeleteHeaders>
beginRegenerateKeys(string, string, string, RegenerateEndpointKeysRequest, ServerlessEndpointsRegenerateKeysOptionalParams)
使用基于密钥的身份验证(异步)为终结点重新生成 EndpointAuthKeys。
function beginRegenerateKeys(resourceGroupName: string, workspaceName: string, name: string, body: RegenerateEndpointKeysRequest, options?: ServerlessEndpointsRegenerateKeysOptionalParams): Promise<SimplePollerLike<OperationState<EndpointAuthKeys>, EndpointAuthKeys>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- workspaceName
-
string
Azure 机器学习工作区的名称。
- name
-
string
无服务器终结点名称。
RegenerateKeys 请求 。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<EndpointAuthKeys>, EndpointAuthKeys>>
beginRegenerateKeysAndWait(string, string, string, RegenerateEndpointKeysRequest, ServerlessEndpointsRegenerateKeysOptionalParams)
使用基于密钥的身份验证(异步)为终结点重新生成 EndpointAuthKeys。
function beginRegenerateKeysAndWait(resourceGroupName: string, workspaceName: string, name: string, body: RegenerateEndpointKeysRequest, options?: ServerlessEndpointsRegenerateKeysOptionalParams): Promise<EndpointAuthKeys>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- workspaceName
-
string
Azure 机器学习工作区的名称。
- name
-
string
无服务器终结点名称。
RegenerateKeys 请求 。
选项参数。
返回
Promise<EndpointAuthKeys>
beginUpdate(string, string, string, PartialMinimalTrackedResourceWithSkuAndIdentity, ServerlessEndpointsUpdateOptionalParams)
更新无服务器终结点(异步)。
function beginUpdate(resourceGroupName: string, workspaceName: string, name: string, body: PartialMinimalTrackedResourceWithSkuAndIdentity, options?: ServerlessEndpointsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServerlessEndpoint>, ServerlessEndpoint>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- workspaceName
-
string
Azure 机器学习工作区的名称。
- name
-
string
无服务器终结点名称。
在操作过程中要应用的无服务器终结点实体。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<ServerlessEndpoint>, ServerlessEndpoint>>
beginUpdateAndWait(string, string, string, PartialMinimalTrackedResourceWithSkuAndIdentity, ServerlessEndpointsUpdateOptionalParams)
更新无服务器终结点(异步)。
function beginUpdateAndWait(resourceGroupName: string, workspaceName: string, name: string, body: PartialMinimalTrackedResourceWithSkuAndIdentity, options?: ServerlessEndpointsUpdateOptionalParams): Promise<ServerlessEndpoint>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- workspaceName
-
string
Azure 机器学习工作区的名称。
- name
-
string
无服务器终结点名称。
在操作过程中要应用的无服务器终结点实体。
选项参数。
返回
Promise<ServerlessEndpoint>
get(string, string, string, ServerlessEndpointsGetOptionalParams)
获取无服务器终结点。
function get(resourceGroupName: string, workspaceName: string, name: string, options?: ServerlessEndpointsGetOptionalParams): Promise<ServerlessEndpoint>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- workspaceName
-
string
Azure 机器学习工作区的名称。
- name
-
string
无服务器终结点名称。
选项参数。
返回
Promise<ServerlessEndpoint>
list(string, string, ServerlessEndpointsListOptionalParams)
列出无服务器终结点。
function list(resourceGroupName: string, workspaceName: string, options?: ServerlessEndpointsListOptionalParams): PagedAsyncIterableIterator<ServerlessEndpoint, ServerlessEndpoint[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- workspaceName
-
string
Azure 机器学习工作区的名称。
选项参数。
返回
listKeys(string, string, string, ServerlessEndpointsListKeysOptionalParams)
使用基于密钥的身份验证列出终结点的 EndpointAuthKeys。
function listKeys(resourceGroupName: string, workspaceName: string, name: string, options?: ServerlessEndpointsListKeysOptionalParams): Promise<EndpointAuthKeys>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- workspaceName
-
string
Azure 机器学习工作区的名称。
- name
-
string
无服务器终结点名称。
选项参数。
返回
Promise<EndpointAuthKeys>