ReplicationProperties Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. fluent. models. ReplicationProperties
- com.
Implements
public final class ReplicationProperties
implements JsonSerializable<ReplicationProperties>
The properties of a replication.
Constructor | Description |
---|---|
Replication |
Creates an instance of Replication |
Modifier and Type | Method and Description |
---|---|
static
Replication |
from Reads an instance of Replication |
Provisioning |
provisioning Get the provisioning |
Boolean |
region Get the region |
Status |
status()
Get the status property: The status of the replication at the time the operation was called. |
Json |
to |
void |
validate()
Validates the instance. |
Replication |
with Set the region |
Replication |
with Set the zone |
Zone |
zone Get the zone |
Methods inherited from java.lang.Object
ReplicationProperties
public ReplicationProperties()
Creates an instance of ReplicationProperties class.
fromJson
public static ReplicationProperties fromJson(JsonReader jsonReader)
Reads an instance of ReplicationProperties from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the replication at the time the operation was called.
Returns:
regionEndpointEnabled
public Boolean regionEndpointEnabled()
Get the regionEndpointEnabled property: Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.
Returns:
status
public Status status()
Get the status property: The status of the replication at the time the operation was called.
Returns:
toJson
validate
public void validate()
Validates the instance.
withRegionEndpointEnabled
public ReplicationProperties withRegionEndpointEnabled(Boolean regionEndpointEnabled)
Set the regionEndpointEnabled property: Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications.
Parameters:
Returns:
withZoneRedundancy
public ReplicationProperties withZoneRedundancy(ZoneRedundancy zoneRedundancy)
Set the zoneRedundancy property: Whether or not zone redundancy is enabled for this container registry replication.
Parameters:
Returns:
zoneRedundancy
public ZoneRedundancy zoneRedundancy()
Get the zoneRedundancy property: Whether or not zone redundancy is enabled for this container registry replication.
Returns:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: