Interface ServerlessEndpointsClient
public interface ServerlessEndpointsClient
An instance of this class provides access to all the operations defined in ServerlessEndpointsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerlessEndpointInner>,ServerlessEndpointInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String name, ServerlessEndpointInner body) Create or update Serverless Endpoint (asynchronous).com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerlessEndpointInner>,ServerlessEndpointInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String name, ServerlessEndpointInner body, com.azure.core.util.Context context) Create or update Serverless Endpoint (asynchronous).beginDelete(String resourceGroupName, String workspaceName, String name) Delete Serverless Endpoint (asynchronous).beginDelete(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context) Delete Serverless Endpoint (asynchronous).com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointAuthKeysInner>,EndpointAuthKeysInner> beginRegenerateKeys(String resourceGroupName, String workspaceName, String name, RegenerateEndpointKeysRequest body) Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointAuthKeysInner>,EndpointAuthKeysInner> beginRegenerateKeys(String resourceGroupName, String workspaceName, String name, RegenerateEndpointKeysRequest body, com.azure.core.util.Context context) Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerlessEndpointInner>,ServerlessEndpointInner> beginUpdate(String resourceGroupName, String workspaceName, String name, PartialMinimalTrackedResourceWithSkuAndIdentity body) Update Serverless Endpoint (asynchronous).com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerlessEndpointInner>,ServerlessEndpointInner> beginUpdate(String resourceGroupName, String workspaceName, String name, PartialMinimalTrackedResourceWithSkuAndIdentity body, com.azure.core.util.Context context) Update Serverless Endpoint (asynchronous).createOrUpdate(String resourceGroupName, String workspaceName, String name, ServerlessEndpointInner body) Create or update Serverless Endpoint (asynchronous).createOrUpdate(String resourceGroupName, String workspaceName, String name, ServerlessEndpointInner body, com.azure.core.util.Context context) Create or update Serverless Endpoint (asynchronous).voidDelete Serverless Endpoint (asynchronous).voiddelete(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context) Delete Serverless Endpoint (asynchronous).Get Serverless Endpoint.com.azure.core.http.rest.Response<ServerlessEndpointInner>getWithResponse(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context) Get Serverless Endpoint.com.azure.core.http.rest.PagedIterable<ServerlessEndpointInner>List Serverless Endpoints.com.azure.core.http.rest.PagedIterable<ServerlessEndpointInner>list(String resourceGroupName, String workspaceName, String skip, com.azure.core.util.Context context) List Serverless Endpoints.List EndpointAuthKeys for an Endpoint using Key-based authentication.com.azure.core.http.rest.Response<EndpointAuthKeysInner>listKeysWithResponse(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context) List EndpointAuthKeys for an Endpoint using Key-based authentication.regenerateKeys(String resourceGroupName, String workspaceName, String name, RegenerateEndpointKeysRequest body) Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).regenerateKeys(String resourceGroupName, String workspaceName, String name, RegenerateEndpointKeysRequest body, com.azure.core.util.Context context) Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).update(String resourceGroupName, String workspaceName, String name, PartialMinimalTrackedResourceWithSkuAndIdentity body) Update Serverless Endpoint (asynchronous).update(String resourceGroupName, String workspaceName, String name, PartialMinimalTrackedResourceWithSkuAndIdentity body, com.azure.core.util.Context context) Update Serverless Endpoint (asynchronous).
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<ServerlessEndpointInner> list(String resourceGroupName, String workspaceName) List Serverless Endpoints.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.- Returns:
- a paginated list of ServerlessEndpoint entities as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ServerlessEndpointInner> list(String resourceGroupName, String workspaceName, String skip, com.azure.core.util.Context context) List Serverless Endpoints.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.skip- Continuation token for pagination.context- The context to associate with this operation.- Returns:
- a paginated list of ServerlessEndpoint entities as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String name) Delete Serverless Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context) Delete Serverless Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Delete Serverless Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context) Delete Serverless Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<ServerlessEndpointInner> getWithResponse(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context) Get Serverless Endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.context- The context to associate with this operation.- Returns:
- serverless Endpoint along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
Get Serverless Endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.- Returns:
- serverless Endpoint.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerlessEndpointInner>,ServerlessEndpointInner> beginUpdate(String resourceGroupName, String workspaceName, String name, PartialMinimalTrackedResourceWithSkuAndIdentity body) Update Serverless Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.body- Serverless Endpoint entity to apply during operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerlessEndpointInner>,ServerlessEndpointInner> beginUpdate(String resourceGroupName, String workspaceName, String name, PartialMinimalTrackedResourceWithSkuAndIdentity body, com.azure.core.util.Context context) Update Serverless Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.body- Serverless Endpoint entity to apply during operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
ServerlessEndpointInner update(String resourceGroupName, String workspaceName, String name, PartialMinimalTrackedResourceWithSkuAndIdentity body) Update Serverless Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.body- Serverless Endpoint entity to apply during operation.- Returns:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
ServerlessEndpointInner update(String resourceGroupName, String workspaceName, String name, PartialMinimalTrackedResourceWithSkuAndIdentity body, com.azure.core.util.Context context) Update Serverless Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.body- Serverless Endpoint entity to apply during operation.context- The context to associate with this operation.- Returns:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerlessEndpointInner>,ServerlessEndpointInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String name, ServerlessEndpointInner body) Create or update Serverless Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.body- Serverless Endpoint entity to apply during operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ServerlessEndpointInner>,ServerlessEndpointInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String name, ServerlessEndpointInner body, com.azure.core.util.Context context) Create or update Serverless Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.body- Serverless Endpoint entity to apply during operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ServerlessEndpointInner createOrUpdate(String resourceGroupName, String workspaceName, String name, ServerlessEndpointInner body) Create or update Serverless Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.body- Serverless Endpoint entity to apply during operation.- Returns:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ServerlessEndpointInner createOrUpdate(String resourceGroupName, String workspaceName, String name, ServerlessEndpointInner body, com.azure.core.util.Context context) Create or update Serverless Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.body- Serverless Endpoint entity to apply during operation.context- The context to associate with this operation.- Returns:
- the response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listKeysWithResponse
com.azure.core.http.rest.Response<EndpointAuthKeysInner> listKeysWithResponse(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context) List EndpointAuthKeys for an Endpoint using Key-based authentication.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.context- The context to associate with this operation.- Returns:
- keys for endpoint authentication along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listKeys
List EndpointAuthKeys for an Endpoint using Key-based authentication.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.- Returns:
- keys for endpoint authentication.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRegenerateKeys
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointAuthKeysInner>,EndpointAuthKeysInner> beginRegenerateKeys(String resourceGroupName, String workspaceName, String name, RegenerateEndpointKeysRequest body) Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.body- RegenerateKeys request .- Returns:
- the
SyncPollerfor polling of keys for endpoint authentication. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRegenerateKeys
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<EndpointAuthKeysInner>,EndpointAuthKeysInner> beginRegenerateKeys(String resourceGroupName, String workspaceName, String name, RegenerateEndpointKeysRequest body, com.azure.core.util.Context context) Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.body- RegenerateKeys request .context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of keys for endpoint authentication. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
regenerateKeys
EndpointAuthKeysInner regenerateKeys(String resourceGroupName, String workspaceName, String name, RegenerateEndpointKeysRequest body) Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.body- RegenerateKeys request .- Returns:
- keys for endpoint authentication.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
regenerateKeys
EndpointAuthKeysInner regenerateKeys(String resourceGroupName, String workspaceName, String name, RegenerateEndpointKeysRequest body, com.azure.core.util.Context context) Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Serverless Endpoint name.body- RegenerateKeys request .context- The context to associate with this operation.- Returns:
- keys for endpoint authentication.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-