Class ManagedDisk
java.lang.Object
com.azure.resourcemanager.batch.models.ManagedDisk
The ManagedDisk model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the storageAccountType property: The storage account type for use in creating data disks or OS disk.voidvalidate()Validates the instance.withStorageAccountType(StorageAccountType storageAccountType) Set the storageAccountType property: The storage account type for use in creating data disks or OS disk.
-
Constructor Details
-
ManagedDisk
public ManagedDisk()Creates an instance of ManagedDisk class.
-
-
Method Details
-
storageAccountType
Get the storageAccountType property: The storage account type for use in creating data disks or OS disk.- Returns:
- the storageAccountType value.
-
withStorageAccountType
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.
-