Interface DiskPoolsClient
public interface DiskPoolsClient
An instance of this class provides access to all the operations defined in DiskPoolsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskPoolInner>,
DiskPoolInner> beginCreateOrUpdate
(String resourceGroupName, String diskPoolName, DiskPoolCreate diskPoolCreatePayload) Create or Update Disk pool.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskPoolInner>,
DiskPoolInner> beginCreateOrUpdate
(String resourceGroupName, String diskPoolName, DiskPoolCreate diskPoolCreatePayload, com.azure.core.util.Context context) Create or Update Disk pool.beginDeallocate
(String resourceGroupName, String diskPoolName) Shuts down the Disk Pool and releases the compute resources.beginDeallocate
(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context) Shuts down the Disk Pool and releases the compute resources.beginDelete
(String resourceGroupName, String diskPoolName) Delete a Disk pool; attached disks are not affected.beginDelete
(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context) Delete a Disk pool; attached disks are not affected.beginStart
(String resourceGroupName, String diskPoolName) The operation to start a Disk Pool.beginStart
(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context) The operation to start a Disk Pool.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskPoolInner>,
DiskPoolInner> beginUpdate
(String resourceGroupName, String diskPoolName, DiskPoolUpdate diskPoolUpdatePayload) Update a Disk pool.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskPoolInner>,
DiskPoolInner> beginUpdate
(String resourceGroupName, String diskPoolName, DiskPoolUpdate diskPoolUpdatePayload, com.azure.core.util.Context context) Update a Disk pool.beginUpgrade
(String resourceGroupName, String diskPoolName) Upgrade replaces the underlying virtual machine hosts one at a time.beginUpgrade
(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context) Upgrade replaces the underlying virtual machine hosts one at a time.createOrUpdate
(String resourceGroupName, String diskPoolName, DiskPoolCreate diskPoolCreatePayload) Create or Update Disk pool.createOrUpdate
(String resourceGroupName, String diskPoolName, DiskPoolCreate diskPoolCreatePayload, com.azure.core.util.Context context) Create or Update Disk pool.void
deallocate
(String resourceGroupName, String diskPoolName) Shuts down the Disk Pool and releases the compute resources.void
deallocate
(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context) Shuts down the Disk Pool and releases the compute resources.void
Delete a Disk pool; attached disks are not affected.void
Delete a Disk pool; attached disks are not affected.getByResourceGroup
(String resourceGroupName, String diskPoolName) Get a Disk pool.com.azure.core.http.rest.Response<DiskPoolInner>
getByResourceGroupWithResponse
(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context) Get a Disk pool.com.azure.core.http.rest.PagedIterable<DiskPoolInner>
list()
Gets a list of Disk Pools in a subscription.com.azure.core.http.rest.PagedIterable<DiskPoolInner>
list
(com.azure.core.util.Context context) Gets a list of Disk Pools in a subscription.com.azure.core.http.rest.PagedIterable<DiskPoolInner>
listByResourceGroup
(String resourceGroupName) Gets a list of DiskPools in a resource group.com.azure.core.http.rest.PagedIterable<DiskPoolInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Gets a list of DiskPools in a resource group.com.azure.core.http.rest.PagedIterable<OutboundEnvironmentEndpointInner>
listOutboundNetworkDependenciesEndpoints
(String resourceGroupName, String diskPoolName) Gets the network endpoints of all outbound dependencies of a Disk Pool.com.azure.core.http.rest.PagedIterable<OutboundEnvironmentEndpointInner>
listOutboundNetworkDependenciesEndpoints
(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context) Gets the network endpoints of all outbound dependencies of a Disk Pool.void
The operation to start a Disk Pool.void
The operation to start a Disk Pool.update
(String resourceGroupName, String diskPoolName, DiskPoolUpdate diskPoolUpdatePayload) Update a Disk pool.update
(String resourceGroupName, String diskPoolName, DiskPoolUpdate diskPoolUpdatePayload, com.azure.core.util.Context context) Update a Disk pool.void
Upgrade replaces the underlying virtual machine hosts one at a time.void
Upgrade replaces the underlying virtual machine hosts one at a time.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<DiskPoolInner> list()Gets a list of Disk Pools in a subscription.- Returns:
- a list of Disk Pools in a 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 Disk Pools in a subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- a list of Disk Pools in a 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.
-
listByResourceGroup
Gets a list of DiskPools in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- a list of DiskPools 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<DiskPoolInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets a list of DiskPools in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- a list of DiskPools 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskPoolInner>,DiskPoolInner> beginCreateOrUpdate(String resourceGroupName, String diskPoolName, DiskPoolCreate diskPoolCreatePayload) Create or Update Disk pool. This create or update operation can take 15 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.diskPoolCreatePayload
- Request payload for Disk Pool create operation.- Returns:
- the
SyncPoller
for polling of response for Disk Pool request. - 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<DiskPoolInner>,DiskPoolInner> beginCreateOrUpdate(String resourceGroupName, String diskPoolName, DiskPoolCreate diskPoolCreatePayload, com.azure.core.util.Context context) Create or Update Disk pool. This create or update operation can take 15 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.diskPoolCreatePayload
- Request payload for Disk Pool create operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of response for Disk Pool request. - 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
DiskPoolInner createOrUpdate(String resourceGroupName, String diskPoolName, DiskPoolCreate diskPoolCreatePayload) Create or Update Disk pool. This create or update operation can take 15 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.diskPoolCreatePayload
- Request payload for Disk Pool create operation.- Returns:
- response for Disk Pool request.
- 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
DiskPoolInner createOrUpdate(String resourceGroupName, String diskPoolName, DiskPoolCreate diskPoolCreatePayload, com.azure.core.util.Context context) Create or Update Disk pool. This create or update operation can take 15 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.diskPoolCreatePayload
- Request payload for Disk Pool create operation.context
- The context to associate with this operation.- Returns:
- response for Disk Pool request.
- 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<DiskPoolInner>,DiskPoolInner> beginUpdate(String resourceGroupName, String diskPoolName, DiskPoolUpdate diskPoolUpdatePayload) Update a Disk pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.diskPoolUpdatePayload
- Request payload for Disk Pool update operation.- Returns:
- the
SyncPoller
for polling of response for Disk Pool request. - 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<DiskPoolInner>,DiskPoolInner> beginUpdate(String resourceGroupName, String diskPoolName, DiskPoolUpdate diskPoolUpdatePayload, com.azure.core.util.Context context) Update a Disk pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.diskPoolUpdatePayload
- Request payload for Disk Pool update operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of response for Disk Pool request. - 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
DiskPoolInner update(String resourceGroupName, String diskPoolName, DiskPoolUpdate diskPoolUpdatePayload) Update a Disk pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.diskPoolUpdatePayload
- Request payload for Disk Pool update operation.- Returns:
- response for Disk Pool request.
- 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
DiskPoolInner update(String resourceGroupName, String diskPoolName, DiskPoolUpdate diskPoolUpdatePayload, com.azure.core.util.Context context) Update a Disk pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.diskPoolUpdatePayload
- Request payload for Disk Pool update operation.context
- The context to associate with this operation.- Returns:
- response for Disk Pool request.
- 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 diskPoolName) Delete a Disk pool; attached disks are not affected. This delete operation can take 10 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.- 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 diskPoolName, com.azure.core.util.Context context) Delete a Disk pool; attached disks are not affected. This delete operation can take 10 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.
-
delete
Delete a Disk pool; attached disks are not affected. This delete operation can take 10 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk 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.
-
delete
Delete a Disk pool; attached disks are not affected. This delete operation can take 10 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<DiskPoolInner> getByResourceGroupWithResponse(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context) Get a Disk pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.context
- The context to associate with this operation.- Returns:
- a Disk 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
Get a Disk pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.- Returns:
- a Disk 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.
-
listOutboundNetworkDependenciesEndpoints
com.azure.core.http.rest.PagedIterable<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesEndpoints(String resourceGroupName, String diskPoolName) Gets the network endpoints of all outbound dependencies of a Disk Pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.- Returns:
- the network endpoints of all outbound dependencies of a Disk Pool 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.
-
listOutboundNetworkDependenciesEndpoints
com.azure.core.http.rest.PagedIterable<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesEndpoints(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context) Gets the network endpoints of all outbound dependencies of a Disk Pool.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.context
- The context to associate with this operation.- Returns:
- the network endpoints of all outbound dependencies of a Disk Pool 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.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String diskPoolName) The operation to start a Disk Pool. This start operation can take 10 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.- 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.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context) The operation to start a Disk Pool. This start operation can take 10 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.
-
start
The operation to start a Disk Pool. This start operation can take 10 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk 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.
-
start
The operation to start a Disk Pool. This start operation can take 10 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.
-
beginDeallocate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String diskPoolName) Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. This operation can take 10 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.- 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.
-
beginDeallocate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context) Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. This operation can take 10 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.
-
deallocate
Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. This operation can take 10 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk 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.
-
deallocate
Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute resources that this Disk Pool uses. This operation can take 10 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.
-
beginUpgrade
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginUpgrade(String resourceGroupName, String diskPoolName) Upgrade replaces the underlying virtual machine hosts one at a time. This operation can take 10-15 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.- 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.
-
beginUpgrade
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginUpgrade(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context) Upgrade replaces the underlying virtual machine hosts one at a time. This operation can take 10-15 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.
-
upgrade
Upgrade replaces the underlying virtual machine hosts one at a time. This operation can take 10-15 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk 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.
-
upgrade
Upgrade replaces the underlying virtual machine hosts one at a time. This operation can take 10-15 minutes to complete. This is expected service behavior.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.
-