Interface OnlineEndpointsClient
public interface OnlineEndpointsClient
An instance of this class provides access to all the operations defined in OnlineEndpointsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OnlineEndpointInner>,OnlineEndpointInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String endpointName, OnlineEndpointInner body) Create or update Online Endpoint (asynchronous).com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OnlineEndpointInner>,OnlineEndpointInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String endpointName, OnlineEndpointInner body, com.azure.core.util.Context context) Create or update Online Endpoint (asynchronous).beginDelete(String resourceGroupName, String workspaceName, String endpointName) Delete Online Endpoint (asynchronous).beginDelete(String resourceGroupName, String workspaceName, String endpointName, com.azure.core.util.Context context) Delete Online Endpoint (asynchronous).beginRegenerateKeys(String resourceGroupName, String workspaceName, String endpointName, RegenerateEndpointKeysRequest body) Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).beginRegenerateKeys(String resourceGroupName, String workspaceName, String endpointName, 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<OnlineEndpointInner>,OnlineEndpointInner> beginUpdate(String resourceGroupName, String workspaceName, String endpointName, PartialMinimalTrackedResourceWithIdentity body) Update Online Endpoint (asynchronous).com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OnlineEndpointInner>,OnlineEndpointInner> beginUpdate(String resourceGroupName, String workspaceName, String endpointName, PartialMinimalTrackedResourceWithIdentity body, com.azure.core.util.Context context) Update Online Endpoint (asynchronous).createOrUpdate(String resourceGroupName, String workspaceName, String endpointName, OnlineEndpointInner body) Create or update Online Endpoint (asynchronous).createOrUpdate(String resourceGroupName, String workspaceName, String endpointName, OnlineEndpointInner body, com.azure.core.util.Context context) Create or update Online Endpoint (asynchronous).voidDelete Online Endpoint (asynchronous).voiddelete(String resourceGroupName, String workspaceName, String endpointName, com.azure.core.util.Context context) Delete Online Endpoint (asynchronous).Get Online Endpoint.Retrieve a valid AML token for an Endpoint using AMLToken-based authentication.com.azure.core.http.rest.Response<EndpointAuthTokenInner>getTokenWithResponse(String resourceGroupName, String workspaceName, String endpointName, com.azure.core.util.Context context) Retrieve a valid AML token for an Endpoint using AMLToken-based authentication.com.azure.core.http.rest.Response<OnlineEndpointInner>getWithResponse(String resourceGroupName, String workspaceName, String endpointName, com.azure.core.util.Context context) Get Online Endpoint.com.azure.core.http.rest.PagedIterable<OnlineEndpointInner>List Online Endpoints.com.azure.core.http.rest.PagedIterable<OnlineEndpointInner>list(String resourceGroupName, String workspaceName, String name, Integer count, EndpointComputeType computeType, String skip, String tags, String properties, OrderString orderBy, com.azure.core.util.Context context) List Online Endpoints.List EndpointAuthKeys for an Endpoint using Key-based authentication.com.azure.core.http.rest.Response<EndpointAuthKeysInner>listKeysWithResponse(String resourceGroupName, String workspaceName, String endpointName, com.azure.core.util.Context context) List EndpointAuthKeys for an Endpoint using Key-based authentication.voidregenerateKeys(String resourceGroupName, String workspaceName, String endpointName, RegenerateEndpointKeysRequest body) Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).voidregenerateKeys(String resourceGroupName, String workspaceName, String endpointName, RegenerateEndpointKeysRequest body, com.azure.core.util.Context context) Regenerate EndpointAuthKeys for an Endpoint using Key-based authentication (asynchronous).update(String resourceGroupName, String workspaceName, String endpointName, PartialMinimalTrackedResourceWithIdentity body) Update Online Endpoint (asynchronous).update(String resourceGroupName, String workspaceName, String endpointName, PartialMinimalTrackedResourceWithIdentity body, com.azure.core.util.Context context) Update Online Endpoint (asynchronous).
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<OnlineEndpointInner> list(String resourceGroupName, String workspaceName) List Online 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 OnlineEndpoint 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<OnlineEndpointInner> list(String resourceGroupName, String workspaceName, String name, Integer count, EndpointComputeType computeType, String skip, String tags, String properties, OrderString orderBy, com.azure.core.util.Context context) List Online Endpoints.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.name- Name of the endpoint.count- Number of endpoints to be retrieved in a page of results.computeType- EndpointComputeType to be filtered by.skip- Continuation token for pagination.tags- A set of tags with which to filter the returned models. It is a comma separated string of tags key or tags key=value. Example: tagKey1,tagKey2,tagKey3=value3 .properties- A set of properties with which to filter the returned models. It is a comma separated string of properties key and/or properties key=value Example: propKey1,propKey2,propKey3=value3 .orderBy- The option to order the response.context- The context to associate with this operation.- Returns:
- a paginated list of OnlineEndpoint 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 endpointName) Delete Online Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Online 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 endpointName, com.azure.core.util.Context context) Delete Online Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Online 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 Online Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Online 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 endpointName, com.azure.core.util.Context context) Delete Online Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Online 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<OnlineEndpointInner> getWithResponse(String resourceGroupName, String workspaceName, String endpointName, com.azure.core.util.Context context) Get Online Endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Online Endpoint name.context- The context to associate with this operation.- Returns:
- online 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 Online Endpoint.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Online Endpoint name.- Returns:
- online 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<OnlineEndpointInner>,OnlineEndpointInner> beginUpdate(String resourceGroupName, String workspaceName, String endpointName, PartialMinimalTrackedResourceWithIdentity body) Update Online Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Online Endpoint name.body- Online 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<OnlineEndpointInner>,OnlineEndpointInner> beginUpdate(String resourceGroupName, String workspaceName, String endpointName, PartialMinimalTrackedResourceWithIdentity body, com.azure.core.util.Context context) Update Online Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Online Endpoint name.body- Online 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
OnlineEndpointInner update(String resourceGroupName, String workspaceName, String endpointName, PartialMinimalTrackedResourceWithIdentity body) Update Online Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Online Endpoint name.body- Online 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
OnlineEndpointInner update(String resourceGroupName, String workspaceName, String endpointName, PartialMinimalTrackedResourceWithIdentity body, com.azure.core.util.Context context) Update Online Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Online Endpoint name.body- Online 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<OnlineEndpointInner>,OnlineEndpointInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String endpointName, OnlineEndpointInner body) Create or update Online Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Online Endpoint name.body- Online 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<OnlineEndpointInner>,OnlineEndpointInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String endpointName, OnlineEndpointInner body, com.azure.core.util.Context context) Create or update Online Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Online Endpoint name.body- Online 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
OnlineEndpointInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName, OnlineEndpointInner body) Create or update Online Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Online Endpoint name.body- Online 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
OnlineEndpointInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName, OnlineEndpointInner body, com.azure.core.util.Context context) Create or update Online Endpoint (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Online Endpoint name.body- Online 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 endpointName, 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.endpointName- Online 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.endpointName- Online 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<Void>,Void> beginRegenerateKeys(String resourceGroupName, String workspaceName, String endpointName, 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.endpointName- Online Endpoint name.body- RegenerateKeys request .- 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.
-
beginRegenerateKeys
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRegenerateKeys(String resourceGroupName, String workspaceName, String endpointName, 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.endpointName- Online Endpoint name.body- RegenerateKeys request .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.
-
regenerateKeys
void regenerateKeys(String resourceGroupName, String workspaceName, String endpointName, 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.endpointName- Online Endpoint name.body- RegenerateKeys request .- 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
void regenerateKeys(String resourceGroupName, String workspaceName, String endpointName, 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.endpointName- Online Endpoint name.body- RegenerateKeys request .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.
-
getTokenWithResponse
com.azure.core.http.rest.Response<EndpointAuthTokenInner> getTokenWithResponse(String resourceGroupName, String workspaceName, String endpointName, com.azure.core.util.Context context) Retrieve a valid AML token for an Endpoint using AMLToken-based authentication.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Online Endpoint name.context- The context to associate with this operation.- Returns:
- service Token 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.
-
getToken
EndpointAuthTokenInner getToken(String resourceGroupName, String workspaceName, String endpointName) Retrieve a valid AML token for an Endpoint using AMLToken-based authentication.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Online Endpoint name.- Returns:
- service Token.
- 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.
-