Class DiskDetails
java.lang.Object
com.azure.resourcemanager.workloads.models.DiskDetails
The supported disk size details for a disk type.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondiskTier()
Get the diskTier property: The disk tier, e.g.Get the iopsReadWrite property: The disk Iops.Get the maximumSupportedDiskCount property: The maximum supported disk count.Get the mbpsReadWrite property: The disk provisioned throughput in MBps.Get the minimumSupportedDiskCount property: The minimum supported disk count.sizeGB()
Get the sizeGB property: The disk size in GB.sku()
Get the sku property: The disk sku.void
validate()
Validates the instance.withDiskTier
(String diskTier) Set the diskTier property: The disk tier, e.g.withIopsReadWrite
(Long iopsReadWrite) Set the iopsReadWrite property: The disk Iops.withMaximumSupportedDiskCount
(Long maximumSupportedDiskCount) Set the maximumSupportedDiskCount property: The maximum supported disk count.withMbpsReadWrite
(Long mbpsReadWrite) Set the mbpsReadWrite property: The disk provisioned throughput in MBps.withMinimumSupportedDiskCount
(Long minimumSupportedDiskCount) Set the minimumSupportedDiskCount property: The minimum supported disk count.withSizeGB
(Long sizeGB) Set the sizeGB property: The disk size in GB.Set the sku property: The disk sku.
-
Constructor Details
-
DiskDetails
public DiskDetails()Creates an instance of DiskDetails class.
-
-
Method Details
-
sku
Get the sku property: The disk sku.- Returns:
- the sku value.
-
withSku
Set the sku property: The disk sku.- Parameters:
sku
- the sku value to set.- Returns:
- the DiskDetails object itself.
-
sizeGB
Get the sizeGB property: The disk size in GB.- Returns:
- the sizeGB value.
-
withSizeGB
Set the sizeGB property: The disk size in GB.- Parameters:
sizeGB
- the sizeGB value to set.- Returns:
- the DiskDetails object itself.
-
minimumSupportedDiskCount
Get the minimumSupportedDiskCount property: The minimum supported disk count.- Returns:
- the minimumSupportedDiskCount value.
-
withMinimumSupportedDiskCount
Set the minimumSupportedDiskCount property: The minimum supported disk count.- Parameters:
minimumSupportedDiskCount
- the minimumSupportedDiskCount value to set.- Returns:
- the DiskDetails object itself.
-
maximumSupportedDiskCount
Get the maximumSupportedDiskCount property: The maximum supported disk count.- Returns:
- the maximumSupportedDiskCount value.
-
withMaximumSupportedDiskCount
Set the maximumSupportedDiskCount property: The maximum supported disk count.- Parameters:
maximumSupportedDiskCount
- the maximumSupportedDiskCount value to set.- Returns:
- the DiskDetails object itself.
-
iopsReadWrite
Get the iopsReadWrite property: The disk Iops.- Returns:
- the iopsReadWrite value.
-
withIopsReadWrite
Set the iopsReadWrite property: The disk Iops.- Parameters:
iopsReadWrite
- the iopsReadWrite value to set.- Returns:
- the DiskDetails object itself.
-
mbpsReadWrite
Get the mbpsReadWrite property: The disk provisioned throughput in MBps.- Returns:
- the mbpsReadWrite value.
-
withMbpsReadWrite
Set the mbpsReadWrite property: The disk provisioned throughput in MBps.- Parameters:
mbpsReadWrite
- the mbpsReadWrite value to set.- Returns:
- the DiskDetails object itself.
-
diskTier
Get the diskTier property: The disk tier, e.g. P10, E10.- Returns:
- the diskTier value.
-
withDiskTier
Set the diskTier property: The disk tier, e.g. P10, E10.- Parameters:
diskTier
- the diskTier value to set.- Returns:
- the DiskDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-