Interface BatchDeploymentsClient
public interface BatchDeploymentsClient
An instance of this class provides access to all the operations defined in BatchDeploymentsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BatchDeploymentInner>,BatchDeploymentInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, BatchDeploymentInner body) Creates/updates a batch inference deployment (asynchronous).com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BatchDeploymentInner>,BatchDeploymentInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, BatchDeploymentInner body, com.azure.core.util.Context context) Creates/updates a batch inference deployment (asynchronous).beginDelete(String resourceGroupName, String workspaceName, String endpointName, String deploymentName) Delete Batch Inference deployment (asynchronous).beginDelete(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, com.azure.core.util.Context context) Delete Batch Inference deployment (asynchronous).com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BatchDeploymentInner>,BatchDeploymentInner> beginUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body) Update a batch inference deployment (asynchronous).com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BatchDeploymentInner>,BatchDeploymentInner> beginUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body, com.azure.core.util.Context context) Update a batch inference deployment (asynchronous).createOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, BatchDeploymentInner body) Creates/updates a batch inference deployment (asynchronous).createOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, BatchDeploymentInner body, com.azure.core.util.Context context) Creates/updates a batch inference deployment (asynchronous).voidDelete Batch Inference deployment (asynchronous).voiddelete(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, com.azure.core.util.Context context) Delete Batch Inference deployment (asynchronous).Gets a batch inference deployment by id.com.azure.core.http.rest.Response<BatchDeploymentInner>getWithResponse(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, com.azure.core.util.Context context) Gets a batch inference deployment by id.com.azure.core.http.rest.PagedIterable<BatchDeploymentInner>Lists Batch inference deployments in the workspace.com.azure.core.http.rest.PagedIterable<BatchDeploymentInner>list(String resourceGroupName, String workspaceName, String endpointName, String orderBy, Integer top, String skip, com.azure.core.util.Context context) Lists Batch inference deployments in the workspace.update(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body) Update a batch inference deployment (asynchronous).update(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body, com.azure.core.util.Context context) Update a batch inference deployment (asynchronous).
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<BatchDeploymentInner> list(String resourceGroupName, String workspaceName, String endpointName) Lists Batch inference deployments in the workspace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Endpoint name.- Returns:
- a paginated list of BatchDeployment 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<BatchDeploymentInner> list(String resourceGroupName, String workspaceName, String endpointName, String orderBy, Integer top, String skip, com.azure.core.util.Context context) Lists Batch inference deployments in the workspace.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Endpoint name.orderBy- Ordering of list.top- Top of list.skip- Continuation token for pagination.context- The context to associate with this operation.- Returns:
- a paginated list of BatchDeployment 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, String deploymentName) Delete Batch Inference deployment (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Endpoint name.deploymentName- Inference deployment identifier.- 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, String deploymentName, com.azure.core.util.Context context) Delete Batch Inference deployment (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Endpoint name.deploymentName- Inference deployment identifier.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
void delete(String resourceGroupName, String workspaceName, String endpointName, String deploymentName) Delete Batch Inference deployment (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Endpoint name.deploymentName- Inference deployment identifier.- 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, String deploymentName, com.azure.core.util.Context context) Delete Batch Inference deployment (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Endpoint name.deploymentName- Inference deployment identifier.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<BatchDeploymentInner> getWithResponse(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, com.azure.core.util.Context context) Gets a batch inference deployment by id.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Endpoint name.deploymentName- The identifier for the Batch deployments.context- The context to associate with this operation.- Returns:
- a batch inference deployment by id 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
BatchDeploymentInner get(String resourceGroupName, String workspaceName, String endpointName, String deploymentName) Gets a batch inference deployment by id.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Endpoint name.deploymentName- The identifier for the Batch deployments.- Returns:
- a batch inference deployment by 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BatchDeploymentInner>,BatchDeploymentInner> beginUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body) Update a batch inference deployment (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Inference endpoint name.deploymentName- The identifier for the Batch inference deployment.body- Batch inference deployment definition object.- 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<BatchDeploymentInner>,BatchDeploymentInner> beginUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body, com.azure.core.util.Context context) Update a batch inference deployment (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Inference endpoint name.deploymentName- The identifier for the Batch inference deployment.body- Batch inference deployment definition object.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
BatchDeploymentInner update(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body) Update a batch inference deployment (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Inference endpoint name.deploymentName- The identifier for the Batch inference deployment.body- Batch inference deployment definition object.- 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
BatchDeploymentInner update(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties body, com.azure.core.util.Context context) Update a batch inference deployment (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Inference endpoint name.deploymentName- The identifier for the Batch inference deployment.body- Batch inference deployment definition object.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<BatchDeploymentInner>,BatchDeploymentInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, BatchDeploymentInner body) Creates/updates a batch inference deployment (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Inference endpoint name.deploymentName- The identifier for the Batch inference deployment.body- Batch inference deployment definition object.- 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<BatchDeploymentInner>,BatchDeploymentInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, BatchDeploymentInner body, com.azure.core.util.Context context) Creates/updates a batch inference deployment (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Inference endpoint name.deploymentName- The identifier for the Batch inference deployment.body- Batch inference deployment definition object.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
BatchDeploymentInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, BatchDeploymentInner body) Creates/updates a batch inference deployment (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Inference endpoint name.deploymentName- The identifier for the Batch inference deployment.body- Batch inference deployment definition object.- 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
BatchDeploymentInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, BatchDeploymentInner body, com.azure.core.util.Context context) Creates/updates a batch inference deployment (asynchronous).- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.workspaceName- Name of Azure Machine Learning workspace.endpointName- Inference endpoint name.deploymentName- The identifier for the Batch inference deployment.body- Batch inference deployment definition object.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.
-