Class Disk
java.lang.Object
com.azure.resourcemanager.storagepool.models.Disk
Azure Managed Disk to attach to the Disk Pool.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Disk
public Disk()Creates an instance of Disk class.
-
-
Method Details
-
id
Get the id property: Unique Azure Resource ID of the Managed Disk.- Returns:
- the id value.
-
withId
Set the id property: Unique Azure Resource ID of the Managed Disk.- Parameters:
id
- the id value to set.- Returns:
- the Disk object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-