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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String virtualClusterName)Deletes a virtual cluster.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void>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.voiddelete(String resourceGroupName, String virtualClusterName)Deletes a virtual cluster.voiddelete(String resourceGroupName, String virtualClusterName, com.azure.core.util.Context context)Deletes a virtual cluster.Mono<Void>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.VirtualClusterInnergetByResourceGroup(String resourceGroupName, String virtualClusterName)Gets a virtual cluster.Mono<VirtualClusterInner>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>listAsync()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.VirtualClusterInnerupdate(String resourceGroupName, String virtualClusterName, VirtualClusterUpdate parameters)Updates a virtual cluster.VirtualClusterInnerupdate(String resourceGroupName, String virtualClusterName, VirtualClusterUpdate parameters, com.azure.core.util.Context context)Updates a virtual cluster.Mono<VirtualClusterInner>updateAsync(String resourceGroupName, String virtualClusterName, VirtualClusterUpdate parameters)Updates a virtual cluster.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>updateWithResponseAsync(String resourceGroupName, String virtualClusterName, VirtualClusterUpdate parameters)Updates a virtual cluster.
-
-
-
Method Detail
-
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.
- 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.
- 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:
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.
- 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.
- 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:
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.
- 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:
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.
-
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:
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:
- 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.
-
-