Class DetachDiskProperties
java.lang.Object
com.azure.resourcemanager.devtestlabs.models.DetachDiskProperties
Properties of the disk to detach.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the leasedByLabVmId property: The resource ID of the Lab VM to which the disk is attached.void
validate()
Validates the instance.withLeasedByLabVmId
(String leasedByLabVmId) Set the leasedByLabVmId property: The resource ID of the Lab VM to which the disk is attached.
-
Constructor Details
-
DetachDiskProperties
public DetachDiskProperties()Creates an instance of DetachDiskProperties class.
-
-
Method Details
-
leasedByLabVmId
Get the leasedByLabVmId property: The resource ID of the Lab VM to which the disk is attached.- Returns:
- the leasedByLabVmId value.
-
withLeasedByLabVmId
Set the leasedByLabVmId property: The resource ID of the Lab VM to which the disk is attached.- Parameters:
leasedByLabVmId
- the leasedByLabVmId value to set.- Returns:
- the DetachDiskProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-