DataDisksToDetach Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. DataDisksToDetach
- com.
Implements
public final class DataDisksToDetach
implements JsonSerializable<DataDisksToDetach>
Describes the data disk to be detached.
Constructor | Description |
---|---|
Data |
Creates an instance of Data |
Modifier and Type | Method and Description |
---|---|
Disk |
detach Get the detach |
String |
disk Get the disk |
static
Data |
from Reads an instance of Data |
Json |
to |
void |
validate()
Validates the instance. |
Data |
with Set the detach |
Data |
with Set the disk |
Methods inherited from java.lang.Object
DataDisksToDetach
public DataDisksToDetach()
Creates an instance of DataDisksToDetach class.
detachOption
public DiskDetachOptionTypes detachOption()
Get the detachOption property: Supported options available for Detach of a disk from a VM. Refer to DetachOption object reference for more details.
Returns:
diskId
public String diskId()
Get the diskId property: ID of the managed data disk.
Returns:
fromJson
public static DataDisksToDetach fromJson(JsonReader jsonReader)
Reads an instance of DataDisksToDetach from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withDetachOption
public DataDisksToDetach withDetachOption(DiskDetachOptionTypes detachOption)
Set the detachOption property: Supported options available for Detach of a disk from a VM. Refer to DetachOption object reference for more details.
Parameters:
Returns:
withDiskId
public DataDisksToDetach withDiskId(String diskId)
Set the diskId property: ID of the managed data disk.
Parameters:
Returns:
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: