ReplicationInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. containerregistry. fluent. models. ReplicationInner
- com.
- com.
- com.
public final class ReplicationInner
extends Resource
An object that represents a replication for a container registry.
Constructor Summary
Constructor | Description |
---|---|
ReplicationInner() |
Creates an instance of Replication |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Replication |
fromJson(JsonReader jsonReader)
Reads an instance of Replication |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Provisioning |
provisioningState()
Get the provisioning |
Boolean |
regionEndpointEnabled()
Get the region |
Status |
status()
Get the status property: The status of the replication at the time the operation was called. |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Replication |
withLocation(String location) |
Replication |
withRegionEndpointEnabled(Boolean regionEndpointEnabled)
Set the region |
Replication |
withTags(Map<String,String> tags) |
Replication |
withZoneRedundancy(ZoneRedundancy zoneRedundancy)
Set the zone |
Zone |
zoneRedundancy()
Get the zone |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ReplicationInner
public ReplicationInner()
Creates an instance of ReplicationInner class.
Method Details
fromJson
public static ReplicationInner fromJson(JsonReader jsonReader)
Reads an instance of ReplicationInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ReplicationInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ReplicationInner.name()Returns:
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:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ReplicationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ReplicationInner.type()Returns:
validate
public void validate()
Validates the instance.
withLocation
public ReplicationInner withLocation(String location)
Overrides:
ReplicationInner.withLocation(String location)Parameters:
withRegionEndpointEnabled
public ReplicationInner 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:
withTags
public ReplicationInner withTags(Map
Overrides:
ReplicationInner.withTags(Map<String,String> tags)Parameters:
withZoneRedundancy
public ReplicationInner 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:
Applies to
Azure SDK for Java