Interface ServerlessEndpoints
public interface ServerlessEndpoints
Resource collection API of ServerlessEndpoints.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new ServerlessEndpoint resource.voidDelete Serverless Endpoint (asynchronous).voiddelete(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context) Delete Serverless Endpoint (asynchronous).voiddeleteById(String id) Delete Serverless Endpoint (asynchronous).voiddeleteByIdWithResponse(String id, com.azure.core.util.Context context) Delete Serverless Endpoint (asynchronous).Get Serverless Endpoint.Get Serverless Endpoint.com.azure.core.http.rest.Response<ServerlessEndpoint>getByIdWithResponse(String id, com.azure.core.util.Context context) Get Serverless Endpoint.com.azure.core.http.rest.Response<ServerlessEndpoint>getWithResponse(String resourceGroupName, String workspaceName, String name, com.azure.core.util.Context context) Get Serverless Endpoint.com.azure.core.http.rest.PagedIterable<ServerlessEndpoint>List Serverless Endpoints.com.azure.core.http.rest.PagedIterable<ServerlessEndpoint>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<EndpointAuthKeys>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).
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<ServerlessEndpoint> 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<ServerlessEndpoint> 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.
-
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<ServerlessEndpoint> 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.
-
listKeysWithResponse
com.azure.core.http.rest.Response<EndpointAuthKeys> 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.
-
regenerateKeys
EndpointAuthKeys 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
EndpointAuthKeys 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.
-
getById
Get Serverless Endpoint.- Parameters:
id- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<ServerlessEndpoint> getByIdWithResponse(String id, com.azure.core.util.Context context) Get Serverless Endpoint.- Parameters:
id- the resource ID.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.
-
deleteById
Delete Serverless Endpoint (asynchronous).- Parameters:
id- the resource ID.- 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.
-
deleteByIdWithResponse
Delete Serverless Endpoint (asynchronous).- Parameters:
id- the resource ID.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.
-
define
Begins definition for a new ServerlessEndpoint resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new ServerlessEndpoint definition.
-