Interface InstancePoolsClient
- All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<InstancePoolInner>, InnerSupportsListing<InstancePoolInner>
public interface InstancePoolsClient
extends InnerSupportsGet<InstancePoolInner>, InnerSupportsListing<InstancePoolInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in InstancePoolsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InstancePoolInner>, InstancePoolInner> beginCreateOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters) Creates or updates an instance pool.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InstancePoolInner>, InstancePoolInner> beginCreateOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters, com.azure.core.util.Context context) Creates or updates an instance pool.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<InstancePoolInner>, InstancePoolInner> beginCreateOrUpdateAsync(String resourceGroupName, String instancePoolName, InstancePoolInner parameters) Creates or updates an instance pool.beginDelete(String resourceGroupName, String instancePoolName) Deletes an instance pool.beginDelete(String resourceGroupName, String instancePoolName, com.azure.core.util.Context context) Deletes an instance pool.beginDeleteAsync(String resourceGroupName, String instancePoolName) Deletes an instance pool.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InstancePoolInner>, InstancePoolInner> beginUpdate(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters) Updates an instance pool.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InstancePoolInner>, InstancePoolInner> beginUpdate(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters, com.azure.core.util.Context context) Updates an instance pool.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<InstancePoolInner>, InstancePoolInner> beginUpdateAsync(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters) Updates an instance pool.createOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters) Creates or updates an instance pool.createOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters, com.azure.core.util.Context context) Creates or updates an instance pool.createOrUpdateAsync(String resourceGroupName, String instancePoolName, InstancePoolInner parameters) Creates or updates an instance pool.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String instancePoolName, InstancePoolInner parameters) Creates or updates an instance pool.voidDeletes an instance pool.voidDeletes an instance pool.deleteAsync(String resourceGroupName, String instancePoolName) Deletes an instance pool.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String instancePoolName) Deletes an instance pool.getByResourceGroup(String resourceGroupName, String instancePoolName) Gets an instance pool.getByResourceGroupAsync(String resourceGroupName, String instancePoolName) Gets an instance pool.com.azure.core.http.rest.Response<InstancePoolInner> getByResourceGroupWithResponse(String resourceGroupName, String instancePoolName, com.azure.core.util.Context context) Gets an instance pool.Mono<com.azure.core.http.rest.Response<InstancePoolInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String instancePoolName) Gets an instance pool.com.azure.core.http.rest.PagedIterable<InstancePoolInner> list()Gets a list of all instance pools in the subscription.com.azure.core.http.rest.PagedIterable<InstancePoolInner> list(com.azure.core.util.Context context) Gets a list of all instance pools in the subscription.com.azure.core.http.rest.PagedFlux<InstancePoolInner> Gets a list of all instance pools in the subscription.com.azure.core.http.rest.PagedIterable<InstancePoolInner> listByResourceGroup(String resourceGroupName) Gets a list of instance pools in the resource group.com.azure.core.http.rest.PagedIterable<InstancePoolInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets a list of instance pools in the resource group.com.azure.core.http.rest.PagedFlux<InstancePoolInner> listByResourceGroupAsync(String resourceGroupName) Gets a list of instance pools in the resource group.update(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters) Updates an instance pool.update(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters, com.azure.core.util.Context context) Updates an instance pool.updateAsync(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters) Updates an instance pool.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters) Updates an instance pool.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<InstancePoolInner> listAsync()Gets a list of all instance pools in the subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<InstancePoolInner>- Returns:
- a list of all instance pools 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<InstancePoolInner> list()Gets a list of all instance pools in the subscription.- Specified by:
listin interfaceInnerSupportsListing<InstancePoolInner>- Returns:
- a list of all instance pools 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
Gets a list of all instance pools in the subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- a list of all instance pools 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<InstancePoolInner> listByResourceGroupAsync(String resourceGroupName) Gets a list of instance pools in the resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<InstancePoolInner>- 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 instance pools in the 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<InstancePoolInner> listByResourceGroup(String resourceGroupName) Gets a list of instance pools in the resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<InstancePoolInner>- 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 instance pools in the 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<InstancePoolInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets a list of instance pools in the 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 instance pools in the 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<InstancePoolInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String instancePoolName) Gets an instance pool.- 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.instancePoolName- The name of the instance pool to be retrieved.- Returns:
- an instance pool 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
Gets an instance pool.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<InstancePoolInner>- 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.instancePoolName- The name of the instance pool to be retrieved.- Returns:
- an instance pool 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<InstancePoolInner> getByResourceGroupWithResponse(String resourceGroupName, String instancePoolName, com.azure.core.util.Context context) Gets an instance pool.- 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.instancePoolName- The name of the instance pool to be retrieved.context- The context to associate with this operation.- Returns:
- an instance pool 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 an instance pool.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<InstancePoolInner>- 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.instancePoolName- The name of the instance pool to be retrieved.- Returns:
- an instance pool.
- 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String instancePoolName, InstancePoolInner parameters) Creates or updates an instance pool.- 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.instancePoolName- The name of the instance pool to be created or updated.parameters- The requested instance pool resource state.- Returns:
- an Azure SQL instance pool 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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<InstancePoolInner>, InstancePoolInner> beginCreateOrUpdateAsync(String resourceGroupName, String instancePoolName, InstancePoolInner parameters) Creates or updates an instance pool.- 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.instancePoolName- The name of the instance pool to be created or updated.parameters- The requested instance pool resource state.- Returns:
- the
PollerFluxfor polling of an Azure SQL instance pool. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InstancePoolInner>, InstancePoolInner> beginCreateOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters) Creates or updates an instance pool.- 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.instancePoolName- The name of the instance pool to be created or updated.parameters- The requested instance pool resource state.- Returns:
- the
SyncPollerfor polling of an Azure SQL instance pool. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<InstancePoolInner>, InstancePoolInner> beginCreateOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters, com.azure.core.util.Context context) Creates or updates an instance pool.- 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.instancePoolName- The name of the instance pool to be created or updated.parameters- The requested instance pool resource state.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of an Azure SQL instance pool. - 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.
-
createOrUpdateAsync
Mono<InstancePoolInner> createOrUpdateAsync(String resourceGroupName, String instancePoolName, InstancePoolInner parameters) Creates or updates an instance pool.- 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.instancePoolName- The name of the instance pool to be created or updated.parameters- The requested instance pool resource state.- Returns:
- an Azure SQL instance pool 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.
-
createOrUpdate
InstancePoolInner createOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters) Creates or updates an instance pool.- 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.instancePoolName- The name of the instance pool to be created or updated.parameters- The requested instance pool resource state.- Returns:
- an Azure SQL instance pool.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
InstancePoolInner createOrUpdate(String resourceGroupName, String instancePoolName, InstancePoolInner parameters, com.azure.core.util.Context context) Creates or updates an instance pool.- 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.instancePoolName- The name of the instance pool to be created or updated.parameters- The requested instance pool resource state.context- The context to associate with this operation.- Returns:
- an Azure SQL instance pool.
- 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 instancePoolName) Deletes an instance pool.- 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.instancePoolName- The name of the instance pool to be deleted.- 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 instancePoolName) Deletes an instance pool.- 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.instancePoolName- The name of the instance pool to be deleted.- 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 instancePoolName) Deletes an instance pool.- 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.instancePoolName- The name of the instance pool to be deleted.- 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 instancePoolName, com.azure.core.util.Context context) Deletes an instance pool.- 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.instancePoolName- The name of the instance pool to be deleted.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 an instance pool.- 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.instancePoolName- The name of the instance pool to be deleted.- 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 an instance pool.- 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.instancePoolName- The name of the instance pool to be deleted.- 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 an instance pool.- 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.instancePoolName- The name of the instance pool to be deleted.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 instancePoolName, InstancePoolUpdate parameters) Updates an instance pool.- 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.instancePoolName- The name of the instance pool to be updated.parameters- The requested instance pool resource state.- Returns:
- an Azure SQL instance pool 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<InstancePoolInner>, InstancePoolInner> beginUpdateAsync(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters) Updates an instance pool.- 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.instancePoolName- The name of the instance pool to be updated.parameters- The requested instance pool resource state.- Returns:
- the
PollerFluxfor polling of an Azure SQL instance pool. - 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<InstancePoolInner>, InstancePoolInner> beginUpdate(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters) Updates an instance pool.- 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.instancePoolName- The name of the instance pool to be updated.parameters- The requested instance pool resource state.- Returns:
- the
SyncPollerfor polling of an Azure SQL instance pool. - 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<InstancePoolInner>, InstancePoolInner> beginUpdate(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters, com.azure.core.util.Context context) Updates an instance pool.- 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.instancePoolName- The name of the instance pool to be updated.parameters- The requested instance pool resource state.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of an Azure SQL instance pool. - 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<InstancePoolInner> updateAsync(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters) Updates an instance pool.- 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.instancePoolName- The name of the instance pool to be updated.parameters- The requested instance pool resource state.- Returns:
- an Azure SQL instance pool 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
InstancePoolInner update(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters) Updates an instance pool.- 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.instancePoolName- The name of the instance pool to be updated.parameters- The requested instance pool resource state.- Returns:
- an Azure SQL instance pool.
- 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
InstancePoolInner update(String resourceGroupName, String instancePoolName, InstancePoolUpdate parameters, com.azure.core.util.Context context) Updates an instance pool.- 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.instancePoolName- The name of the instance pool to be updated.parameters- The requested instance pool resource state.context- The context to associate with this operation.- Returns:
- an Azure SQL instance pool.
- 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.
-