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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet specifies the customer managed disk encryption set resource id for the managed disk.Get specifies the storage account type for the managed disk.withDiskEncryptionSet
(DiskEncryptionSetParameters diskEncryptionSet) Set specifies the customer managed disk encryption set resource id for the managed disk.withStorageAccountType
(StorageAccountTypes storageAccountType) Set specifies the storage account type for the managed disk.Methods inherited from class com.microsoft.azure.SubResource
id, withId
-
Constructor Details
-
ManagedDiskParameters
public ManagedDiskParameters()
-
-
Method Details
-
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
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
Get specifies the customer managed disk encryption set resource id for the managed disk.- Returns:
- the diskEncryptionSet value
-
withDiskEncryptionSet
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.
-