ShareInfoElement Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.ShareInfoElement

Implements

public final class ShareInfoElement
implements JsonSerializable<ShareInfoElement>

The ShareInfoElement model.

Constructor Summary

Constructor Description
ShareInfoElement()

Creates an instance of ShareInfoElement class.

Method Summary

Modifier and Type Method and Description
static ShareInfoElement fromJson(JsonReader jsonReader)

Reads an instance of ShareInfoElement from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String vmUri()

Get the vmUri property: A relative URI containing the ID of the VM that has the disk attached.

Methods inherited from java.lang.Object

Constructor Details

ShareInfoElement

public ShareInfoElement()

Creates an instance of ShareInfoElement class.

Method Details

fromJson

public static ShareInfoElement fromJson(JsonReader jsonReader)

Reads an instance of ShareInfoElement from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ShareInfoElement if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ShareInfoElement.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

vmUri

public String vmUri()

Get the vmUri property: A relative URI containing the ID of the VM that has the disk attached.

Returns:

the vmUri value.

Applies to