Interface VirtualClustersClient

    • Method Detail

      • listAsync

        com.azure.core.http.rest.PagedFlux<VirtualClusterInner> listAsync()
        Gets a list of all virtualClusters in the subscription.
        Specified by:
        listAsync in interface InnerSupportsListing<VirtualClusterInner>
        Returns:
        a list of all virtualClusters in the subscription.
        Throws:
        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<VirtualClusterInner> list()
        Gets a list of all virtualClusters in the subscription.
        Specified by:
        list in interface InnerSupportsListing<VirtualClusterInner>
        Returns:
        a list of all virtualClusters in the subscription.
        Throws:
        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<VirtualClusterInner> list​(com.azure.core.util.Context context)
        Gets a list of all virtualClusters in the subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        a list of all virtualClusters in the subscription.
        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.
      • listByResourceGroupAsync

        com.azure.core.http.rest.PagedFlux<VirtualClusterInner> listByResourceGroupAsync​(String resourceGroupName)
        Gets a list of virtual clusters in a resource group.
        Specified by:
        listByResourceGroupAsync in interface InnerSupportsListing<VirtualClusterInner>
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        Returns:
        a list of virtual clusters in a resource group.
        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.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<VirtualClusterInner> listByResourceGroup​(String resourceGroupName)
        Gets a list of virtual clusters in a resource group.
        Specified by:
        listByResourceGroup in interface InnerSupportsListing<VirtualClusterInner>
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        Returns:
        a list of virtual clusters in a resource group.
        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.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<VirtualClusterInner> listByResourceGroup​(String resourceGroupName,
                                                                                        com.azure.core.util.Context context)
        Gets a list of virtual clusters in a resource group.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        context - The context to associate with this operation.
        Returns:
        a list of virtual clusters in a resource group.
        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.
      • getByResourceGroupWithResponseAsync

        Mono<com.azure.core.http.rest.Response<VirtualClusterInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                         String virtualClusterName)
        Gets a virtual cluster.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        virtualClusterName - The name of the virtual cluster.
        Returns:
        a virtual cluster.
        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.
      • getByResourceGroupAsync

        Mono<VirtualClusterInner> getByResourceGroupAsync​(String resourceGroupName,
                                                          String virtualClusterName)
        Gets a virtual cluster.
        Specified by:
        getByResourceGroupAsync in interface InnerSupportsGet<VirtualClusterInner>
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        virtualClusterName - The name of the virtual cluster.
        Returns:
        a virtual cluster.
        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.
      • getByResourceGroup

        VirtualClusterInner getByResourceGroup​(String resourceGroupName,
                                               String virtualClusterName)
        Gets a virtual cluster.
        Specified by:
        getByResourceGroup in interface InnerSupportsGet<VirtualClusterInner>
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        virtualClusterName - The name of the virtual cluster.
        Returns:
        a virtual cluster.
        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.
      • getByResourceGroupWithResponse

        com.azure.core.http.rest.Response<VirtualClusterInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                              String virtualClusterName,
                                                                                              com.azure.core.util.Context context)
        Gets a virtual cluster.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        virtualClusterName - The name of the virtual cluster.
        context - The context to associate with this operation.
        Returns:
        a virtual cluster.
        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.
      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String virtualClusterName)
        Deletes a virtual cluster.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        virtualClusterName - The name of the virtual cluster.
        Returns:
        the completion.
        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.
      • beginDeleteAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteAsync​(String resourceGroupName,
                                                                                                                               String virtualClusterName)
        Deletes a virtual cluster.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        virtualClusterName - The name of the virtual cluster.
        Returns:
        the completion.
        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 virtualClusterName)
        Deletes a virtual cluster.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        virtualClusterName - The name of the virtual cluster.
        Returns:
        the completion.
        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 virtualClusterName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes a virtual cluster.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        virtualClusterName - The name of the virtual cluster.
        context - The context to associate with this operation.
        Returns:
        the completion.
        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.
      • deleteAsync

        Mono<Void> deleteAsync​(String resourceGroupName,
                               String virtualClusterName)
        Deletes a virtual cluster.
        Specified by:
        deleteAsync in interface InnerSupportsDelete<Void>
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        virtualClusterName - The name of the virtual cluster.
        Returns:
        the completion.
        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 virtualClusterName)
        Deletes a virtual cluster.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        virtualClusterName - The name of the virtual cluster.
        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 virtualClusterName,
                    com.azure.core.util.Context context)
        Deletes a virtual cluster.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        virtualClusterName - The name of the virtual cluster.
        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.
      • updateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync​(String resourceGroupName,
                                                                                          String virtualClusterName,
                                                                                          VirtualClusterUpdate parameters)
        Updates a virtual cluster.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        virtualClusterName - The name of the virtual cluster.
        parameters - An update request for an Azure SQL Database virtual cluster.
        Returns:
        an Azure SQL virtual cluster.
        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.
      • beginUpdateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualClusterInner>,​VirtualClusterInner> beginUpdateAsync​(String resourceGroupName,
                                                                                                                                                             String virtualClusterName,
                                                                                                                                                             VirtualClusterUpdate parameters)
        Updates a virtual cluster.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        virtualClusterName - The name of the virtual cluster.
        parameters - An update request for an Azure SQL Database virtual cluster.
        Returns:
        an Azure SQL virtual cluster.
        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<VirtualClusterInner>,​VirtualClusterInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                        String virtualClusterName,
                                                                                                                                                        VirtualClusterUpdate parameters)
        Updates a virtual cluster.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        virtualClusterName - The name of the virtual cluster.
        parameters - An update request for an Azure SQL Database virtual cluster.
        Returns:
        an Azure SQL virtual cluster.
        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<VirtualClusterInner>,​VirtualClusterInner> beginUpdate​(String resourceGroupName,
                                                                                                                                                        String virtualClusterName,
                                                                                                                                                        VirtualClusterUpdate parameters,
                                                                                                                                                        com.azure.core.util.Context context)
        Updates a virtual cluster.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        virtualClusterName - The name of the virtual cluster.
        parameters - An update request for an Azure SQL Database virtual cluster.
        context - The context to associate with this operation.
        Returns:
        an Azure SQL virtual cluster.
        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.
      • updateAsync

        Mono<VirtualClusterInner> updateAsync​(String resourceGroupName,
                                              String virtualClusterName,
                                              VirtualClusterUpdate parameters)
        Updates a virtual cluster.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        virtualClusterName - The name of the virtual cluster.
        parameters - An update request for an Azure SQL Database virtual cluster.
        Returns:
        an Azure SQL virtual cluster.
        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

        VirtualClusterInner update​(String resourceGroupName,
                                   String virtualClusterName,
                                   VirtualClusterUpdate parameters)
        Updates a virtual cluster.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        virtualClusterName - The name of the virtual cluster.
        parameters - An update request for an Azure SQL Database virtual cluster.
        Returns:
        an Azure SQL virtual cluster.
        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

        VirtualClusterInner update​(String resourceGroupName,
                                   String virtualClusterName,
                                   VirtualClusterUpdate parameters,
                                   com.azure.core.util.Context context)
        Updates a virtual cluster.
        Parameters:
        resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
        virtualClusterName - The name of the virtual cluster.
        parameters - An update request for an Azure SQL Database virtual cluster.
        context - The context to associate with this operation.
        Returns:
        an Azure SQL virtual cluster.
        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.