Interface BatchDeploymentsClient
-
public interface BatchDeploymentsClient
An instance of this class provides access to all the operations defined in BatchDeploymentsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BatchDeploymentDataInner>,BatchDeploymentDataInner>
beginCreateOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, BatchDeploymentDataInner body)
Creates/updates a batch inference deployment (asynchronous).com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BatchDeploymentDataInner>,BatchDeploymentDataInner>
beginCreateOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, BatchDeploymentDataInner body, com.azure.core.util.Context context)
Creates/updates a batch inference deployment (asynchronous).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).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).com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BatchDeploymentDataInner>,BatchDeploymentDataInner>
beginUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialBatchDeploymentPartialTrackedResource body)
Update a batch inference deployment (asynchronous).com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BatchDeploymentDataInner>,BatchDeploymentDataInner>
beginUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialBatchDeploymentPartialTrackedResource body, com.azure.core.util.Context context)
Update a batch inference deployment (asynchronous).BatchDeploymentDataInner
createOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, BatchDeploymentDataInner body)
Creates/updates a batch inference deployment (asynchronous).BatchDeploymentDataInner
createOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, BatchDeploymentDataInner body, com.azure.core.util.Context context)
Creates/updates a batch inference deployment (asynchronous).void
delete(String resourceGroupName, String workspaceName, String endpointName, String deploymentName)
Delete Batch Inference deployment (asynchronous).void
delete(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, com.azure.core.util.Context context)
Delete Batch Inference deployment (asynchronous).BatchDeploymentDataInner
get(String resourceGroupName, String workspaceName, String endpointName, String deploymentName)
Gets a batch inference deployment by id.com.azure.core.http.rest.Response<BatchDeploymentDataInner>
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<BatchDeploymentDataInner>
list(String resourceGroupName, String workspaceName, String endpointName)
Lists Batch inference deployments in the workspace.com.azure.core.http.rest.PagedIterable<BatchDeploymentDataInner>
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.BatchDeploymentDataInner
update(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialBatchDeploymentPartialTrackedResource body)
Update a batch inference deployment (asynchronous).BatchDeploymentDataInner
update(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialBatchDeploymentPartialTrackedResource body, com.azure.core.util.Context context)
Update a batch inference deployment (asynchronous).
-
-
-
Method Detail
-
list
com.azure.core.http.rest.PagedIterable<BatchDeploymentDataInner> 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<BatchDeploymentDataInner> 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
SyncPoller
for 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
SyncPoller
for 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.
-
get
BatchDeploymentDataInner 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.
-
getWithResponse
com.azure.core.http.rest.Response<BatchDeploymentDataInner> 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BatchDeploymentDataInner>,BatchDeploymentDataInner> beginUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialBatchDeploymentPartialTrackedResource 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
SyncPoller
for 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<BatchDeploymentDataInner>,BatchDeploymentDataInner> beginUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialBatchDeploymentPartialTrackedResource 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
SyncPoller
for 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
BatchDeploymentDataInner update(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialBatchDeploymentPartialTrackedResource 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
BatchDeploymentDataInner update(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialBatchDeploymentPartialTrackedResource 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<BatchDeploymentDataInner>,BatchDeploymentDataInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, BatchDeploymentDataInner 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
SyncPoller
for 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<BatchDeploymentDataInner>,BatchDeploymentDataInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, BatchDeploymentDataInner 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
SyncPoller
for 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
BatchDeploymentDataInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, BatchDeploymentDataInner 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
BatchDeploymentDataInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, BatchDeploymentDataInner 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.
-
-