public interface DiskPoolsClient
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
DiskPoolInner |
createOrUpdate(String resourceGroupName,
String diskPoolName,
DiskPoolCreate diskPoolCreatePayload)
Create or Update Disk pool.
|
DiskPoolInner |
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(String resourceGroupName,
String diskPoolName)
Delete a Disk pool; attached disks are not affected.
|
void |
delete(String resourceGroupName,
String diskPoolName,
com.azure.core.util.Context context)
Delete a Disk pool; attached disks are not affected.
|
DiskPoolInner |
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 |
start(String resourceGroupName,
String diskPoolName)
The operation to start a Disk Pool.
|
void |
start(String resourceGroupName,
String diskPoolName,
com.azure.core.util.Context context)
The operation to start a Disk Pool.
|
DiskPoolInner |
update(String resourceGroupName,
String diskPoolName,
DiskPoolUpdate diskPoolUpdatePayload)
Update a Disk pool.
|
DiskPoolInner |
update(String resourceGroupName,
String diskPoolName,
DiskPoolUpdate diskPoolUpdatePayload,
com.azure.core.util.Context context)
Update a Disk pool.
|
void |
upgrade(String resourceGroupName,
String diskPoolName)
Upgrade replaces the underlying virtual machine hosts one at a time.
|
void |
upgrade(String resourceGroupName,
String diskPoolName,
com.azure.core.util.Context context)
Upgrade replaces the underlying virtual machine hosts one at a time.
|
com.azure.core.http.rest.PagedIterable<DiskPoolInner> list()
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.com.azure.core.http.rest.PagedIterable<DiskPoolInner> list(com.azure.core.util.Context context)
context
- The context to associate with this operation.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.com.azure.core.http.rest.PagedIterable<DiskPoolInner> listByResourceGroup(String resourceGroupName)
resourceGroupName
- The name of the resource group. The name is case insensitive.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.com.azure.core.http.rest.PagedIterable<DiskPoolInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskPoolInner>,DiskPoolInner> beginCreateOrUpdate(String resourceGroupName, String diskPoolName, DiskPoolCreate diskPoolCreatePayload)
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.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.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)
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.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.DiskPoolInner createOrUpdate(String resourceGroupName, String diskPoolName, DiskPoolCreate diskPoolCreatePayload)
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.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.DiskPoolInner createOrUpdate(String resourceGroupName, String diskPoolName, DiskPoolCreate diskPoolCreatePayload, com.azure.core.util.Context context)
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.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DiskPoolInner>,DiskPoolInner> beginUpdate(String resourceGroupName, String diskPoolName, DiskPoolUpdate diskPoolUpdatePayload)
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.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.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)
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.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.DiskPoolInner update(String resourceGroupName, String diskPoolName, DiskPoolUpdate diskPoolUpdatePayload)
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.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.DiskPoolInner update(String resourceGroupName, String diskPoolName, DiskPoolUpdate diskPoolUpdatePayload, com.azure.core.util.Context context)
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.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String diskPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.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)
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.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.void delete(String resourceGroupName, String diskPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.void delete(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context)
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.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.DiskPoolInner getByResourceGroup(String resourceGroupName, String diskPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.com.azure.core.http.rest.Response<DiskPoolInner> getByResourceGroupWithResponse(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context)
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.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.com.azure.core.http.rest.PagedIterable<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesEndpoints(String resourceGroupName, String diskPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.com.azure.core.http.rest.PagedIterable<OutboundEnvironmentEndpointInner> listOutboundNetworkDependenciesEndpoints(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context)
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.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String diskPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.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)
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.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.void start(String resourceGroupName, String diskPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.void start(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context)
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.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeallocate(String resourceGroupName, String diskPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.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)
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.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.void deallocate(String resourceGroupName, String diskPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.void deallocate(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context)
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.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginUpgrade(String resourceGroupName, String diskPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.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)
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.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.void upgrade(String resourceGroupName, String diskPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.void upgrade(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context)
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.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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.