Class DiskPoolProperties
java.lang.Object
com.azure.resourcemanager.storagepool.fluent.models.DiskPoolProperties
Disk Pool response properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalCapabilities property: List of additional capabilities for Disk Pool.Get the availabilityZones property: Logical zone for Disk Pool resource; example: ["1"].disks()
Get the disks property: List of Azure Managed Disks to attach to a Disk Pool.Get the provisioningState property: State of the operation on the resource.status()
Get the status property: Operational status of the Disk Pool.subnetId()
Get the subnetId property: Azure Resource ID of a Subnet for the Disk Pool.void
validate()
Validates the instance.withAdditionalCapabilities
(List<String> additionalCapabilities) Set the additionalCapabilities property: List of additional capabilities for Disk Pool.withAvailabilityZones
(List<String> availabilityZones) Set the availabilityZones property: Logical zone for Disk Pool resource; example: ["1"].Set the disks property: List of Azure Managed Disks to attach to a Disk Pool.withStatus
(OperationalStatus status) Set the status property: Operational status of the Disk Pool.withSubnetId
(String subnetId) Set the subnetId property: Azure Resource ID of a Subnet for the Disk Pool.
-
Constructor Details
-
DiskPoolProperties
public DiskPoolProperties()Creates an instance of DiskPoolProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: State of the operation on the resource.- Returns:
- the provisioningState value.
-
availabilityZones
Get the availabilityZones property: Logical zone for Disk Pool resource; example: ["1"].- Returns:
- the availabilityZones value.
-
withAvailabilityZones
Set the availabilityZones property: Logical zone for Disk Pool resource; example: ["1"].- Parameters:
availabilityZones
- the availabilityZones value to set.- Returns:
- the DiskPoolProperties object itself.
-
status
Get the status property: Operational status of the Disk Pool.- Returns:
- the status value.
-
withStatus
Set the status property: Operational status of the Disk Pool.- Parameters:
status
- the status value to set.- Returns:
- the DiskPoolProperties object itself.
-
disks
Get the disks property: List of Azure Managed Disks to attach to a Disk Pool.- Returns:
- the disks value.
-
withDisks
Set the disks property: List of Azure Managed Disks to attach to a Disk Pool.- Parameters:
disks
- the disks value to set.- Returns:
- the DiskPoolProperties object itself.
-
subnetId
Get the subnetId property: Azure Resource ID of a Subnet for the Disk Pool.- Returns:
- the subnetId value.
-
withSubnetId
Set the subnetId property: Azure Resource ID of a Subnet for the Disk Pool.- Parameters:
subnetId
- the subnetId value to set.- Returns:
- the DiskPoolProperties object itself.
-
additionalCapabilities
Get the additionalCapabilities property: List of additional capabilities for Disk Pool.- Returns:
- the additionalCapabilities value.
-
withAdditionalCapabilities
Set the additionalCapabilities property: List of additional capabilities for Disk Pool.- Parameters:
additionalCapabilities
- the additionalCapabilities value to set.- Returns:
- the DiskPoolProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-