SharingStatus Class

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

Implements

public final class SharingStatus
implements JsonSerializable<SharingStatus>

Sharing status of current gallery.

Method Summary

Modifier and Type Method and Description
SharingState aggregatedState()

Get the aggregatedState property: Aggregated sharing state of current gallery.

static SharingStatus fromJson(JsonReader jsonReader)

Reads an instance of SharingStatus from the JsonReader.

List<RegionalSharingStatus> summary()

Get the summary property: Summary of all regional sharing status.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

aggregatedState

public SharingState aggregatedState()

Get the aggregatedState property: Aggregated sharing state of current gallery.

Returns:

the aggregatedState value.

fromJson

public static SharingStatus fromJson(JsonReader jsonReader)

Reads an instance of SharingStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SharingStatus 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 SharingStatus.

summary

public List<RegionalSharingStatus> summary()

Get the summary property: Summary of all regional sharing status.

Returns:

the summary value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to