ReplicationStatus Class

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

Implements

public final class ReplicationStatus
implements JsonSerializable<ReplicationStatus>

This is the replication status of the gallery image version.

Method Summary

Modifier and Type Method and Description
AggregatedReplicationState aggregatedState()

Get the aggregatedState property: This is the aggregated replication status based on all the regional replication status flags.

static ReplicationStatus fromJson(JsonReader jsonReader)

Reads an instance of ReplicationStatus from the JsonReader.

List<RegionalReplicationStatus> summary()

Get the summary property: This is a summary of replication status for each region.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

aggregatedState

public AggregatedReplicationState aggregatedState()

Get the aggregatedState property: This is the aggregated replication status based on all the regional replication status flags.

Returns:

the aggregatedState value.

fromJson

public static ReplicationStatus fromJson(JsonReader jsonReader)

Reads an instance of ReplicationStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

summary

public List<RegionalReplicationStatus> summary()

Get the summary property: This is a summary of replication status for each region.

Returns:

the summary value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to