RegionalReplicationStatus Class

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

Implements

public final class RegionalReplicationStatus
implements JsonSerializable<RegionalReplicationStatus>

This is the regional replication status.

Constructor Summary

Constructor Description
RegionalReplicationStatus()

Creates an instance of RegionalReplicationStatus class.

Method Summary

Modifier and Type Method and Description
String details()

Get the details property: The details of the replication status.

static RegionalReplicationStatus fromJson(JsonReader jsonReader)

Reads an instance of RegionalReplicationStatus from the JsonReader.

Integer progress()

Get the progress property: It indicates progress of the replication job.

String region()

Get the region property: The region to which the gallery image version is being replicated to.

ReplicationState state()

Get the state property: This is the regional replication state.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

RegionalReplicationStatus

public RegionalReplicationStatus()

Creates an instance of RegionalReplicationStatus class.

Method Details

details

public String details()

Get the details property: The details of the replication status.

Returns:

the details value.

fromJson

public static RegionalReplicationStatus fromJson(JsonReader jsonReader)

Reads an instance of RegionalReplicationStatus from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

progress

public Integer progress()

Get the progress property: It indicates progress of the replication job.

Returns:

the progress value.

region

public String region()

Get the region property: The region to which the gallery image version is being replicated to.

Returns:

the region value.

state

public ReplicationState state()

Get the state property: This is the regional replication state.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to