Interface VirtualClustersClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<VirtualClusterInner>, InnerSupportsListing<VirtualClusterInner>

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

    • 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 as paginated response with PagedFlux.
      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 as paginated response with PagedIterable.
      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 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.
    • 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 as paginated response with PagedFlux.
      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 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.
    • 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 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.
    • 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 along with Response on successful completion of Mono.
      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 on successful completion of Mono.
      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 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.
    • 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.
    • 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 Response on successful completion of Mono.
      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 PollerFlux 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 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 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 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 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.
    • 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:
      A Mono that completes when a successful response is received.
      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 - The requested virtual cluster resource state.
      Returns:
      an Azure SQL virtual cluster along with Response on successful completion of Mono.
      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 - The requested virtual cluster resource state.
      Returns:
      the PollerFlux for polling of 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 - The requested virtual cluster resource state.
      Returns:
      the SyncPoller for polling of 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 - The requested virtual cluster resource state.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of 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 - The requested virtual cluster resource state.
      Returns:
      an Azure SQL virtual cluster on successful completion of Mono.
      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 - The requested virtual cluster resource state.
      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 - The requested virtual cluster resource state.
      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.
    • updateDnsServersWithResponseAsync

      Mono<com.azure.core.http.rest.Response<UpdateManagedInstanceDnsServersOperationInner>> updateDnsServersWithResponseAsync(String resourceGroupName, String virtualClusterName)
      Synchronizes the DNS server settings used by the managed instances inside the given 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 recoverable managed database resource along with Response on successful completion of Mono.
      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.
    • updateDnsServersAsync

      Mono<UpdateManagedInstanceDnsServersOperationInner> updateDnsServersAsync(String resourceGroupName, String virtualClusterName)
      Synchronizes the DNS server settings used by the managed instances inside the given 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 recoverable managed database resource on successful completion of Mono.
      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.
    • updateDnsServersWithResponse

      com.azure.core.http.rest.Response<UpdateManagedInstanceDnsServersOperationInner> updateDnsServersWithResponse(String resourceGroupName, String virtualClusterName, com.azure.core.util.Context context)
      Synchronizes the DNS server settings used by the managed instances inside the given 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 recoverable managed database resource 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.
    • updateDnsServers

      UpdateManagedInstanceDnsServersOperationInner updateDnsServers(String resourceGroupName, String virtualClusterName)
      Synchronizes the DNS server settings used by the managed instances inside the given 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 recoverable managed database resource.
      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.