AttachDiskProperties Class
- java.
lang. Object - com.
azure. resourcemanager. devtestlabs. models. AttachDiskProperties
- com.
Implements
public final class AttachDiskProperties
implements JsonSerializable<AttachDiskProperties>
Properties of the disk to attach.
Constructor Summary
| Constructor | Description |
|---|---|
| AttachDiskProperties() |
Creates an instance of Attach |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Attach |
fromJson(JsonReader jsonReader)
Reads an instance of Attach |
| String |
leasedByLabVmId()
Get the leased |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Attach |
withLeasedByLabVmId(String leasedByLabVmId)
Set the leased |
Methods inherited from java.lang.Object
Constructor Details
AttachDiskProperties
public AttachDiskProperties()
Creates an instance of AttachDiskProperties class.
Method Details
fromJson
public static AttachDiskProperties fromJson(JsonReader jsonReader)
Reads an instance of AttachDiskProperties from the JsonReader.
Parameters:
Returns:
Throws:
leasedByLabVmId
public String leasedByLabVmId()
Get the leasedByLabVmId property: The resource ID of the Lab virtual machine to which the disk is attached.
Returns:
toJson
withLeasedByLabVmId
public AttachDiskProperties withLeasedByLabVmId(String leasedByLabVmId)
Set the leasedByLabVmId property: The resource ID of the Lab virtual machine to which the disk is attached.
Parameters:
Returns: