public interface DiskPools
Modifier and Type | Method and Description |
---|---|
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.
|
DiskPool.DefinitionStages.Blank |
define(String name)
Begins definition for a new DiskPool resource.
|
void |
delete(String resourceGroupName,
String diskPoolName,
com.azure.core.util.Context context)
Delete a Disk pool; attached disks are not affected.
|
void |
deleteById(String id)
Delete a Disk pool; attached disks are not affected.
|
void |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Delete a Disk pool; attached disks are not affected.
|
void |
deleteByResourceGroup(String resourceGroupName,
String diskPoolName)
Delete a Disk pool; attached disks are not affected.
|
DiskPool |
getById(String id)
Get a Disk pool.
|
com.azure.core.http.rest.Response<DiskPool> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Get a Disk pool.
|
DiskPool |
getByResourceGroup(String resourceGroupName,
String diskPoolName)
Get a Disk pool.
|
com.azure.core.http.rest.Response<DiskPool> |
getByResourceGroupWithResponse(String resourceGroupName,
String diskPoolName,
com.azure.core.util.Context context)
Get a Disk pool.
|
com.azure.core.http.rest.PagedIterable<DiskPool> |
list()
Gets a list of Disk Pools in a subscription.
|
com.azure.core.http.rest.PagedIterable<DiskPool> |
list(com.azure.core.util.Context context)
Gets a list of Disk Pools in a subscription.
|
com.azure.core.http.rest.PagedIterable<DiskPool> |
listByResourceGroup(String resourceGroupName)
Gets a list of DiskPools in a resource group.
|
com.azure.core.http.rest.PagedIterable<DiskPool> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Gets a list of DiskPools in a resource group.
|
com.azure.core.http.rest.PagedIterable<OutboundEnvironmentEndpoint> |
listOutboundNetworkDependenciesEndpoints(String resourceGroupName,
String diskPoolName)
Gets the network endpoints of all outbound dependencies of a Disk Pool.
|
com.azure.core.http.rest.PagedIterable<OutboundEnvironmentEndpoint> |
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.
|
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<DiskPool> 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<DiskPool> 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<DiskPool> 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<DiskPool> 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.void deleteByResourceGroup(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.DiskPool 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<DiskPool> 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<OutboundEnvironmentEndpoint> 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<OutboundEnvironmentEndpoint> 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.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.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.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.DiskPool getById(String id)
id
- the resource ID.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<DiskPool> getByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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 deleteById(String id)
id
- the resource ID.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 deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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.DiskPool.DefinitionStages.Blank define(String name)
name
- resource name.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.