VirtualHardDisk Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. VirtualHardDisk
- com.
Implements
public final class VirtualHardDisk
implements JsonSerializable<VirtualHardDisk>
Describes the uri of a disk.
Constructor Summary
Constructor | Description |
---|---|
VirtualHardDisk() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Json |
toJson(JsonWriter jsonWriter) |
String |
uri()
Get the uri property: Specifies the virtual hard disk's uri. |
void |
validate()
Validates the instance. |
Virtual |
withUri(String uri)
Set the uri property: Specifies the virtual hard disk's uri. |
Methods inherited from java.lang.Object
Constructor Details
VirtualHardDisk
public VirtualHardDisk()
Creates an instance of VirtualHardDisk class.
Method Details
fromJson
public static VirtualHardDisk fromJson(JsonReader jsonReader)
Reads an instance of VirtualHardDisk from the JsonReader.
Parameters:
Returns:
Throws:
toJson
uri
public String uri()
Get the uri property: Specifies the virtual hard disk's uri.
Returns:
validate
public void validate()
Validates the instance.
withUri
public VirtualHardDisk withUri(String uri)
Set the uri property: Specifies the virtual hard disk's uri.
Parameters:
Returns:
Applies to
Azure SDK for Java