Class ManagedDisk

java.lang.Object
com.azure.resourcemanager.batch.models.ManagedDisk

public final class ManagedDisk extends Object
The ManagedDisk model.
  • Constructor Details

    • ManagedDisk

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

    • storageAccountType

      public StorageAccountType storageAccountType()
      Get the storageAccountType property: The storage account type for use in creating data disks or OS disk.
      Returns:
      the storageAccountType value.
    • withStorageAccountType

      public ManagedDisk withStorageAccountType(StorageAccountType storageAccountType)
      Set the storageAccountType property: The storage account type for use in creating data disks or OS disk.
      Parameters:
      storageAccountType - the storageAccountType value to set.
      Returns:
      the ManagedDisk object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.