Class ManagedDiskParameters

java.lang.Object
com.microsoft.azure.SubResource
com.microsoft.azure.management.compute.ManagedDiskParameters

public class ManagedDiskParameters extends com.microsoft.azure.SubResource
The parameters of a managed disk.
  • Constructor Details

    • ManagedDiskParameters

      public ManagedDiskParameters()
  • Method Details

    • storageAccountType

      public StorageAccountTypes storageAccountType()
      Get specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'.
      Returns:
      the storageAccountType value
    • withStorageAccountType

      public ManagedDiskParameters withStorageAccountType(StorageAccountTypes storageAccountType)
      Set specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Possible values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'.
      Parameters:
      storageAccountType - the storageAccountType value to set
      Returns:
      the ManagedDiskParameters object itself.
    • diskEncryptionSet

      public DiskEncryptionSetParameters diskEncryptionSet()
      Get specifies the customer managed disk encryption set resource id for the managed disk.
      Returns:
      the diskEncryptionSet value
    • withDiskEncryptionSet

      public ManagedDiskParameters withDiskEncryptionSet(DiskEncryptionSetParameters diskEncryptionSet)
      Set specifies the customer managed disk encryption set resource id for the managed disk.
      Parameters:
      diskEncryptionSet - the diskEncryptionSet value to set
      Returns:
      the ManagedDiskParameters object itself.