Class DiskDetails

java.lang.Object
com.azure.resourcemanager.workloads.models.DiskDetails

public final class DiskDetails extends Object
The supported disk size details for a disk type.
  • Constructor Details

    • DiskDetails

      public DiskDetails()
      Creates an instance of DiskDetails class.
  • Method Details

    • sku

      public DiskSku sku()
      Get the sku property: The disk sku.
      Returns:
      the sku value.
    • withSku

      public DiskDetails withSku(DiskSku sku)
      Set the sku property: The disk sku.
      Parameters:
      sku - the sku value to set.
      Returns:
      the DiskDetails object itself.
    • sizeGB

      public Long sizeGB()
      Get the sizeGB property: The disk size in GB.
      Returns:
      the sizeGB value.
    • withSizeGB

      public DiskDetails withSizeGB(Long sizeGB)
      Set the sizeGB property: The disk size in GB.
      Parameters:
      sizeGB - the sizeGB value to set.
      Returns:
      the DiskDetails object itself.
    • minimumSupportedDiskCount

      public Long minimumSupportedDiskCount()
      Get the minimumSupportedDiskCount property: The minimum supported disk count.
      Returns:
      the minimumSupportedDiskCount value.
    • withMinimumSupportedDiskCount

      public DiskDetails withMinimumSupportedDiskCount(Long minimumSupportedDiskCount)
      Set the minimumSupportedDiskCount property: The minimum supported disk count.
      Parameters:
      minimumSupportedDiskCount - the minimumSupportedDiskCount value to set.
      Returns:
      the DiskDetails object itself.
    • maximumSupportedDiskCount

      public Long maximumSupportedDiskCount()
      Get the maximumSupportedDiskCount property: The maximum supported disk count.
      Returns:
      the maximumSupportedDiskCount value.
    • withMaximumSupportedDiskCount

      public DiskDetails withMaximumSupportedDiskCount(Long maximumSupportedDiskCount)
      Set the maximumSupportedDiskCount property: The maximum supported disk count.
      Parameters:
      maximumSupportedDiskCount - the maximumSupportedDiskCount value to set.
      Returns:
      the DiskDetails object itself.
    • iopsReadWrite

      public Long iopsReadWrite()
      Get the iopsReadWrite property: The disk Iops.
      Returns:
      the iopsReadWrite value.
    • withIopsReadWrite

      public DiskDetails withIopsReadWrite(Long iopsReadWrite)
      Set the iopsReadWrite property: The disk Iops.
      Parameters:
      iopsReadWrite - the iopsReadWrite value to set.
      Returns:
      the DiskDetails object itself.
    • mbpsReadWrite

      public Long mbpsReadWrite()
      Get the mbpsReadWrite property: The disk provisioned throughput in MBps.
      Returns:
      the mbpsReadWrite value.
    • withMbpsReadWrite

      public DiskDetails withMbpsReadWrite(Long mbpsReadWrite)
      Set the mbpsReadWrite property: The disk provisioned throughput in MBps.
      Parameters:
      mbpsReadWrite - the mbpsReadWrite value to set.
      Returns:
      the DiskDetails object itself.
    • diskTier

      public String diskTier()
      Get the diskTier property: The disk tier, e.g. P10, E10.
      Returns:
      the diskTier value.
    • withDiskTier

      public DiskDetails withDiskTier(String diskTier)
      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.