Class PersistentDisk
java.lang.Object
com.azure.resourcemanager.appplatform.models.PersistentDisk
Persistent disk payload.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the mountPath property: Mount path of the persistent disk.sizeInGB()Get the sizeInGB property: Size of the persistent disk in GB.usedInGB()Get the usedInGB property: Size of the used persistent disk in GB.voidvalidate()Validates the instance.withMountPath(String mountPath) Set the mountPath property: Mount path of the persistent disk.withSizeInGB(Integer sizeInGB) Set the sizeInGB property: Size of the persistent disk in GB.
-
Constructor Details
-
PersistentDisk
public PersistentDisk()
-
-
Method Details
-
sizeInGB
Get the sizeInGB property: Size of the persistent disk in GB.- Returns:
- the sizeInGB value.
-
withSizeInGB
Set the sizeInGB property: Size of the persistent disk in GB.- Parameters:
sizeInGB- the sizeInGB value to set.- Returns:
- the PersistentDisk object itself.
-
usedInGB
Get the usedInGB property: Size of the used persistent disk in GB.- Returns:
- the usedInGB value.
-
mountPath
Get the mountPath property: Mount path of the persistent disk.- Returns:
- the mountPath value.
-
withMountPath
Set the mountPath property: Mount path of the persistent disk.- Parameters:
mountPath- the mountPath value to set.- Returns:
- the PersistentDisk object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-