DiskPoolInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. storagepool. fluent. models. DiskPoolInner
- com.
- com.
- com.
public final class DiskPoolInner
extends Resource
Response for Disk Pool request.
Constructor Summary
| Constructor | Description |
|---|---|
| DiskPoolInner() |
Creates an instance of Disk |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
additionalCapabilities()
Get the additional |
| List<String> |
availabilityZones()
Get the availability |
| List<Disk> |
disks()
Get the disks property: List of Azure Managed Disks to attach to a Disk Pool. |
|
static
Disk |
fromJson(JsonReader jsonReader)
Reads an instance of Disk |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
managedBy()
Get the managed |
| List<String> |
managedByExtended()
Get the managed |
| String |
name()
Get the name property: The name of the resource. |
| String |
nameSkuName()
Get the name property: Sku name. |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Operational |
status()
Get the status property: Operational status of the Disk Pool. |
| String |
subnetId()
Get the subnet |
|
System |
systemData()
Get the system |
| String |
tier()
Get the tier property: Sku tier. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Disk |
withAdditionalCapabilities(List<String> additionalCapabilities)
Set the additional |
|
Disk |
withAvailabilityZones(List<String> availabilityZones)
Set the availability |
|
Disk |
withDisks(List<Disk> disks)
Set the disks property: List of Azure Managed Disks to attach to a Disk Pool. |
|
Disk |
withLocation(String location) |
|
Disk |
withNameSkuName(String name)
Set the name property: Sku name. |
|
Disk |
withStatus(OperationalStatus status)
Set the status property: Operational status of the Disk Pool. |
|
Disk |
withSubnetId(String subnetId)
Set the subnet |
|
Disk |
withTags(Map<String,String> tags) |
|
Disk |
withTier(String tier)
Set the tier property: Sku tier. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
DiskPoolInner
public DiskPoolInner()
Creates an instance of DiskPoolInner class.
Method Details
additionalCapabilities
public List<String> additionalCapabilities()
Get the additionalCapabilities property: List of additional capabilities for Disk Pool.
Returns:
availabilityZones
public List<String> availabilityZones()
Get the availabilityZones property: Logical zone for Disk Pool resource; example: ["1"].
Returns:
disks
public List<Disk> disks()
Get the disks property: List of Azure Managed Disks to attach to a Disk Pool.
Returns:
fromJson
public static DiskPoolInner fromJson(JsonReader jsonReader)
Reads an instance of DiskPoolInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DiskPoolInner.id()Returns:
managedBy
public String managedBy()
Get the managedBy property: Azure resource id. Indicates if this resource is managed by another Azure resource.
Returns:
managedByExtended
public List<String> managedByExtended()
Get the managedByExtended property: List of Azure resource ids that manage this resource.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DiskPoolInner.name()Returns:
nameSkuName
public String nameSkuName()
Get the name property: Sku name.
Returns:
provisioningState
public ProvisioningStates provisioningState()
Get the provisioningState property: State of the operation on the resource.
Returns:
status
public OperationalStatus status()
Get the status property: Operational status of the Disk Pool.
Returns:
subnetId
public String subnetId()
Get the subnetId property: Azure Resource ID of a Subnet for the Disk Pool.
Returns:
systemData
public SystemMetadata systemData()
Get the systemData property: Resource metadata required by ARM RPC.
Returns:
tier
public String tier()
Get the tier property: Sku tier.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DiskPoolInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DiskPoolInner.type()Returns:
validate
public void validate()
Validates the instance.
withAdditionalCapabilities
public DiskPoolInner withAdditionalCapabilities(List<String> additionalCapabilities)
Set the additionalCapabilities property: List of additional capabilities for Disk Pool.
Parameters:
Returns:
withAvailabilityZones
public DiskPoolInner withAvailabilityZones(List<String> availabilityZones)
Set the availabilityZones property: Logical zone for Disk Pool resource; example: ["1"].
Parameters:
Returns:
withDisks
public DiskPoolInner withDisks(List<Disk> disks)
Set the disks property: List of Azure Managed Disks to attach to a Disk Pool.
Parameters:
Returns:
withLocation
public DiskPoolInner withLocation(String location)
Overrides:
DiskPoolInner.withLocation(String location)Parameters:
withNameSkuName
public DiskPoolInner withNameSkuName(String name)
Set the name property: Sku name.
Parameters:
Returns:
withStatus
public DiskPoolInner withStatus(OperationalStatus status)
Set the status property: Operational status of the Disk Pool.
Parameters:
Returns:
withSubnetId
public DiskPoolInner withSubnetId(String subnetId)
Set the subnetId property: Azure Resource ID of a Subnet for the Disk Pool.
Parameters:
Returns:
withTags
public DiskPoolInner withTags(Map<String,String> tags)
Overrides:
DiskPoolInner.withTags(Map<String,String> tags)Parameters:
withTier
public DiskPoolInner withTier(String tier)
Set the tier property: Sku tier.
Parameters:
Returns: