Interface DeploymentsClient


  • public interface DeploymentsClient
    An instance of this class provides access to all the operations defined in DeploymentsClient.
    • 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<DeploymentInner>,​DeploymentInner> beginCreateOrUpdate​(String resourceGroupName, String accountName, String deploymentName, DeploymentInner deployment)
      Update the state of specified deployments associated with the Cognitive Services account.
      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentInner>,​DeploymentInner> beginCreateOrUpdate​(String resourceGroupName, String accountName, String deploymentName, DeploymentInner deployment, com.azure.core.util.Context context)
      Update the state of specified deployments associated with the Cognitive Services account.
      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName, String accountName, String deploymentName)
      Deletes the specified deployment associated with the Cognitive Services account.
      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName, String accountName, String deploymentName, com.azure.core.util.Context context)
      Deletes the specified deployment associated with the Cognitive Services account.
      DeploymentInner createOrUpdate​(String resourceGroupName, String accountName, String deploymentName, DeploymentInner deployment)
      Update the state of specified deployments associated with the Cognitive Services account.
      DeploymentInner createOrUpdate​(String resourceGroupName, String accountName, String deploymentName, DeploymentInner deployment, com.azure.core.util.Context context)
      Update the state of specified deployments associated with the Cognitive Services account.
      void delete​(String resourceGroupName, String accountName, String deploymentName)
      Deletes the specified deployment associated with the Cognitive Services account.
      void delete​(String resourceGroupName, String accountName, String deploymentName, com.azure.core.util.Context context)
      Deletes the specified deployment associated with the Cognitive Services account.
      DeploymentInner get​(String resourceGroupName, String accountName, String deploymentName)
      Gets the specified deployments associated with the Cognitive Services account.
      com.azure.core.http.rest.Response<DeploymentInner> getWithResponse​(String resourceGroupName, String accountName, String deploymentName, com.azure.core.util.Context context)
      Gets the specified deployments associated with the Cognitive Services account.
      com.azure.core.http.rest.PagedIterable<DeploymentInner> list​(String resourceGroupName, String accountName)
      Gets the deployments associated with the Cognitive Services account.
      com.azure.core.http.rest.PagedIterable<DeploymentInner> list​(String resourceGroupName, String accountName, com.azure.core.util.Context context)
      Gets the deployments associated with the Cognitive Services account.
    • Method Detail

      • list

        com.azure.core.http.rest.PagedIterable<DeploymentInner> list​(String resourceGroupName,
                                                                     String accountName)
        Gets the deployments associated with the Cognitive Services account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - The name of Cognitive Services account.
        Returns:
        the deployments associated with the Cognitive Services account 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<DeploymentInner> list​(String resourceGroupName,
                                                                     String accountName,
                                                                     com.azure.core.util.Context context)
        Gets the deployments associated with the Cognitive Services account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - The name of Cognitive Services account.
        context - The context to associate with this operation.
        Returns:
        the deployments associated with the Cognitive Services account 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.
      • get

        DeploymentInner get​(String resourceGroupName,
                            String accountName,
                            String deploymentName)
        Gets the specified deployments associated with the Cognitive Services account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - The name of Cognitive Services account.
        deploymentName - The name of the deployment associated with the Cognitive Services Account.
        Returns:
        the specified deployments associated with the Cognitive Services account.
        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<DeploymentInner> getWithResponse​(String resourceGroupName,
                                                                           String accountName,
                                                                           String deploymentName,
                                                                           com.azure.core.util.Context context)
        Gets the specified deployments associated with the Cognitive Services account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - The name of Cognitive Services account.
        deploymentName - The name of the deployment associated with the Cognitive Services Account.
        context - The context to associate with this operation.
        Returns:
        the specified deployments associated with the Cognitive Services account 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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentInner>,​DeploymentInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                        String accountName,
                                                                                                                                                        String deploymentName,
                                                                                                                                                        DeploymentInner deployment)
        Update the state of specified deployments associated with the Cognitive Services account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - The name of Cognitive Services account.
        deploymentName - The name of the deployment associated with the Cognitive Services Account.
        deployment - The deployment properties.
        Returns:
        the SyncPoller for polling of cognitive Services account 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.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DeploymentInner>,​DeploymentInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                        String accountName,
                                                                                                                                                        String deploymentName,
                                                                                                                                                        DeploymentInner deployment,
                                                                                                                                                        com.azure.core.util.Context context)
        Update the state of specified deployments associated with the Cognitive Services account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - The name of Cognitive Services account.
        deploymentName - The name of the deployment associated with the Cognitive Services Account.
        deployment - The deployment properties.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of cognitive Services account 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.
      • createOrUpdate

        DeploymentInner createOrUpdate​(String resourceGroupName,
                                       String accountName,
                                       String deploymentName,
                                       DeploymentInner deployment)
        Update the state of specified deployments associated with the Cognitive Services account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - The name of Cognitive Services account.
        deploymentName - The name of the deployment associated with the Cognitive Services Account.
        deployment - The deployment properties.
        Returns:
        cognitive Services account 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.
      • createOrUpdate

        DeploymentInner createOrUpdate​(String resourceGroupName,
                                       String accountName,
                                       String deploymentName,
                                       DeploymentInner deployment,
                                       com.azure.core.util.Context context)
        Update the state of specified deployments associated with the Cognitive Services account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - The name of Cognitive Services account.
        deploymentName - The name of the deployment associated with the Cognitive Services Account.
        deployment - The deployment properties.
        context - The context to associate with this operation.
        Returns:
        cognitive Services account 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.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String accountName,
                                                                                                                          String deploymentName)
        Deletes the specified deployment associated with the Cognitive Services account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - The name of Cognitive Services account.
        deploymentName - The name of the deployment associated with the Cognitive Services Account.
        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 accountName,
                                                                                                                          String deploymentName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes the specified deployment associated with the Cognitive Services account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - The name of Cognitive Services account.
        deploymentName - The name of the deployment associated with the Cognitive Services Account.
        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 accountName,
                    String deploymentName)
        Deletes the specified deployment associated with the Cognitive Services account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - The name of Cognitive Services account.
        deploymentName - The name of the deployment associated with the Cognitive Services Account.
        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 accountName,
                    String deploymentName,
                    com.azure.core.util.Context context)
        Deletes the specified deployment associated with the Cognitive Services account.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        accountName - The name of Cognitive Services account.
        deploymentName - The name of the deployment associated with the Cognitive Services Account.
        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.