public interface DiskPool
Modifier and Type | Interface and Description |
---|---|
static interface |
DiskPool.Definition
The entirety of the DiskPool definition.
|
static interface |
DiskPool.DefinitionStages
The DiskPool definition stages.
|
static interface |
DiskPool.Update
The template for DiskPool update.
|
static interface |
DiskPool.UpdateStages
The DiskPool update stages.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
additionalCapabilities()
Gets the additionalCapabilities property: List of additional capabilities for Disk Pool.
|
List<String> |
availabilityZones()
Gets the availabilityZones property: Logical zone for Disk Pool resource; example: ["1"].
|
void |
deallocate()
Shuts down the Disk Pool and releases the compute resources.
|
void |
deallocate(com.azure.core.util.Context context)
Shuts down the Disk Pool and releases the compute resources.
|
List<Disk> |
disks()
Gets the disks property: List of Azure Managed Disks to attach to a Disk Pool.
|
String |
id()
Gets the id property: Fully qualified resource Id for the resource.
|
DiskPoolInner |
innerModel()
Gets the inner com.azure.resourcemanager.storagepool.fluent.models.DiskPoolInner object.
|
String |
location()
Gets the location property: The geo-location where the resource lives.
|
String |
managedBy()
Gets the managedBy property: Azure resource id.
|
List<String> |
managedByExtended()
Gets the managedByExtended property: List of Azure resource ids that manage this resource.
|
String |
name()
Gets the name property: The name of the resource.
|
String |
nameSkuName()
Gets the nameSkuName property: Sku name.
|
ProvisioningStates |
provisioningState()
Gets the provisioningState property: State of the operation on the resource.
|
DiskPool |
refresh()
Refreshes the resource to sync with Azure.
|
DiskPool |
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.
|
com.azure.core.management.Region |
region()
Gets the region of the resource.
|
String |
regionName()
Gets the name of the resource region.
|
void |
start()
The operation to start a Disk Pool.
|
void |
start(com.azure.core.util.Context context)
The operation to start a Disk Pool.
|
OperationalStatus |
status()
Gets the status property: Operational status of the Disk Pool.
|
String |
subnetId()
Gets the subnetId property: Azure Resource ID of a Subnet for the Disk Pool.
|
SystemMetadata |
systemData()
Gets the systemData property: Resource metadata required by ARM RPC.
|
Map<String,String> |
tags()
Gets the tags property: Resource tags.
|
String |
tier()
Gets the tier property: Sku tier.
|
String |
type()
Gets the type property: The type of the resource.
|
DiskPool.Update |
update()
Begins update for the DiskPool resource.
|
void |
upgrade()
Upgrade replaces the underlying virtual machine hosts one at a time.
|
void |
upgrade(com.azure.core.util.Context context)
Upgrade replaces the underlying virtual machine hosts one at a time.
|
String id()
String name()
String type()
String location()
String managedBy()
List<String> managedByExtended()
SystemMetadata systemData()
String nameSkuName()
String tier()
ProvisioningStates provisioningState()
List<String> availabilityZones()
OperationalStatus status()
List<Disk> disks()
String subnetId()
List<String> additionalCapabilities()
com.azure.core.management.Region region()
String regionName()
DiskPoolInner innerModel()
DiskPool.Update update()
DiskPool refresh()
DiskPool refresh(com.azure.core.util.Context context)
context
- The context to associate with this operation.void start()
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(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.void deallocate()
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(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.void upgrade()
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(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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.