Interface VirtualClustersClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<VirtualClusterInner>,InnerSupportsListing<VirtualClusterInner>
public interface VirtualClustersClient
extends InnerSupportsGet<VirtualClusterInner>, InnerSupportsListing<VirtualClusterInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in VirtualClustersClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginDelete(String resourceGroupName, String virtualClusterName) Deletes a virtual cluster.beginDelete(String resourceGroupName, String virtualClusterName, com.azure.core.util.Context context) Deletes a virtual cluster.beginDeleteAsync(String resourceGroupName, String virtualClusterName) Deletes a virtual cluster.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.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.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.voidDeletes a virtual cluster.voidDeletes a virtual cluster.deleteAsync(String resourceGroupName, String virtualClusterName) Deletes a virtual cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualClusterName) Deletes a virtual cluster.getByResourceGroup(String resourceGroupName, String virtualClusterName) Gets a virtual cluster.getByResourceGroupAsync(String resourceGroupName, String virtualClusterName) Gets a virtual cluster.com.azure.core.http.rest.Response<VirtualClusterInner> getByResourceGroupWithResponse(String resourceGroupName, String virtualClusterName, com.azure.core.util.Context context) Gets a virtual cluster.Mono<com.azure.core.http.rest.Response<VirtualClusterInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualClusterName) Gets a virtual cluster.com.azure.core.http.rest.PagedIterable<VirtualClusterInner> list()Gets a list of all virtualClusters in the subscription.com.azure.core.http.rest.PagedIterable<VirtualClusterInner> list(com.azure.core.util.Context context) Gets a list of all virtualClusters in the subscription.com.azure.core.http.rest.PagedFlux<VirtualClusterInner> Gets a list of all virtualClusters in the subscription.com.azure.core.http.rest.PagedIterable<VirtualClusterInner> listByResourceGroup(String resourceGroupName) Gets a list of virtual clusters in a resource group.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.com.azure.core.http.rest.PagedFlux<VirtualClusterInner> listByResourceGroupAsync(String resourceGroupName) Gets a list of virtual clusters in a resource group.update(String resourceGroupName, String virtualClusterName, VirtualClusterUpdate parameters) Updates a virtual cluster.update(String resourceGroupName, String virtualClusterName, VirtualClusterUpdate parameters, com.azure.core.util.Context context) Updates a virtual cluster.updateAsync(String resourceGroupName, String virtualClusterName, VirtualClusterUpdate parameters) Updates a virtual cluster.updateDnsServers(String resourceGroupName, String virtualClusterName) Synchronizes the DNS server settings used by the managed instances inside the given virtual cluster.updateDnsServersAsync(String resourceGroupName, String virtualClusterName) Synchronizes the DNS server settings used by the managed instances inside the given virtual cluster.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.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String virtualClusterName, VirtualClusterUpdate parameters) Updates a virtual cluster.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<VirtualClusterInner> listAsync()Gets a list of all virtualClusters in the subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<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:
listin interfaceInnerSupportsListing<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:
listByResourceGroupAsyncin interfaceInnerSupportsListing<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:
listByResourceGroupin interfaceInnerSupportsListing<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
Responseon successful completion ofMono. - 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:
getByResourceGroupAsyncin interfaceInnerSupportsGet<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
Gets a virtual cluster.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<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
Responseon successful completion ofMono. - 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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
Deletes a virtual cluster.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<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
Monothat 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
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
Responseon successful completion ofMono. - 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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
Responseon successful completion ofMono. - 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.
-