Interface OnlineDeploymentsClient


public interface OnlineDeploymentsClient
An instance of this class provides access to all the operations defined in OnlineDeploymentsClient.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<OnlineDeploymentInner> list(String resourceGroupName, String workspaceName, String endpointName)
      List Inference Endpoint Deployments.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - Name of Azure Machine Learning workspace.
      endpointName - Inference endpoint name.
      Returns:
      a paginated list of OnlineDeployment 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<OnlineDeploymentInner> list(String resourceGroupName, String workspaceName, String endpointName, String orderBy, Integer top, String skip, com.azure.core.util.Context context)
      List Inference Endpoint Deployments.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      workspaceName - Name of Azure Machine Learning workspace.
      endpointName - Inference 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 OnlineDeployment 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 Inference Endpoint 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 - Inference Endpoint Deployment name.
      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 Inference Endpoint 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 - Inference Endpoint Deployment name.
      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 Inference Endpoint 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 - Inference Endpoint Deployment 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, String deploymentName, com.azure.core.util.Context context)
      Delete Inference Endpoint 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 - Inference Endpoint Deployment 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<OnlineDeploymentInner> getWithResponse(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, com.azure.core.util.Context context)
      Get Inference Deployment Deployment.
      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 - Inference Endpoint Deployment name.
      context - The context to associate with this operation.
      Returns:
      inference Deployment Deployment 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

      OnlineDeploymentInner get(String resourceGroupName, String workspaceName, String endpointName, String deploymentName)
      Get Inference Deployment Deployment.
      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 - Inference Endpoint Deployment name.
      Returns:
      inference Deployment Deployment.
      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<OnlineDeploymentInner>,OnlineDeploymentInner> beginUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialMinimalTrackedResourceWithSku body)
      Update Online Deployment (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.
      deploymentName - Inference Endpoint Deployment name.
      body - Online Endpoint entity to apply during 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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OnlineDeploymentInner>,OnlineDeploymentInner> beginUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialMinimalTrackedResourceWithSku body, com.azure.core.util.Context context)
      Update Online Deployment (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.
      deploymentName - Inference Endpoint Deployment name.
      body - Online Endpoint entity to apply during operation.
      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

      OnlineDeploymentInner update(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialMinimalTrackedResourceWithSku body)
      Update Online Deployment (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.
      deploymentName - Inference Endpoint Deployment 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

      OnlineDeploymentInner update(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, PartialMinimalTrackedResourceWithSku body, com.azure.core.util.Context context)
      Update Online Deployment (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.
      deploymentName - Inference Endpoint Deployment 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<OnlineDeploymentInner>,OnlineDeploymentInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, OnlineDeploymentInner body)
      Create or update Inference Endpoint 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 - Inference Endpoint Deployment name.
      body - Inference Endpoint entity to apply during 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OnlineDeploymentInner>,OnlineDeploymentInner> beginCreateOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, OnlineDeploymentInner body, com.azure.core.util.Context context)
      Create or update Inference Endpoint 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 - Inference Endpoint Deployment name.
      body - Inference Endpoint entity to apply during operation.
      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

      OnlineDeploymentInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, OnlineDeploymentInner body)
      Create or update Inference Endpoint 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 - Inference Endpoint Deployment name.
      body - Inference 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

      OnlineDeploymentInner createOrUpdate(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, OnlineDeploymentInner body, com.azure.core.util.Context context)
      Create or update Inference Endpoint 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 - Inference Endpoint Deployment name.
      body - Inference 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.
    • getLogsWithResponse

      com.azure.core.http.rest.Response<DeploymentLogsInner> getLogsWithResponse(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, DeploymentLogsRequest body, com.azure.core.util.Context context)
      Polls an Endpoint operation.
      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 name and identifier for the endpoint.
      body - The request containing parameters for retrieving logs.
      context - The context to associate with this operation.
      Returns:
      the response body 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.
    • getLogs

      DeploymentLogsInner getLogs(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, DeploymentLogsRequest body)
      Polls an Endpoint operation.
      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 name and identifier for the endpoint.
      body - The request containing parameters for retrieving logs.
      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.
    • listSkus

      com.azure.core.http.rest.PagedIterable<SkuResourceInner> listSkus(String resourceGroupName, String workspaceName, String endpointName, String deploymentName)
      List Inference Endpoint Deployment Skus.
      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 - Inference Endpoint Deployment name.
      Returns:
      a paginated list of SkuResource 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.
    • listSkus

      com.azure.core.http.rest.PagedIterable<SkuResourceInner> listSkus(String resourceGroupName, String workspaceName, String endpointName, String deploymentName, Integer count, String skip, com.azure.core.util.Context context)
      List Inference Endpoint Deployment Skus.
      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 - Inference Endpoint Deployment name.
      count - Number of Skus to be retrieved in a page of results.
      skip - Continuation token for pagination.
      context - The context to associate with this operation.
      Returns:
      a paginated list of SkuResource 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.