ReplicatedRegionDetails¶
-
class
oci.identity.models.ReplicatedRegionDetails(**kwargs)¶ Bases:
object(For tenancies that support identity domains) Properties for a region where a replica for the identity domain exists.
Attributes
STATE_DELETEDA constant which can be used with the state property of a ReplicatedRegionDetails. STATE_DISABLING_REPLICATIONA constant which can be used with the state property of a ReplicatedRegionDetails. STATE_ENABLING_REPLICATIONA constant which can be used with the state property of a ReplicatedRegionDetails. STATE_REPLICATION_DISABLEDA constant which can be used with the state property of a ReplicatedRegionDetails. STATE_REPLICATION_ENABLEDA constant which can be used with the state property of a ReplicatedRegionDetails. regionGets the region of this ReplicatedRegionDetails. regional_urlGets the regional_url of this ReplicatedRegionDetails. stateGets the state of this ReplicatedRegionDetails. urlGets the url of this ReplicatedRegionDetails. Methods
__init__(**kwargs)Initializes a new ReplicatedRegionDetails object with values from keyword arguments. -
STATE_DELETED= 'DELETED'¶ A constant which can be used with the state property of a ReplicatedRegionDetails. This constant has a value of “DELETED”
-
STATE_DISABLING_REPLICATION= 'DISABLING_REPLICATION'¶ A constant which can be used with the state property of a ReplicatedRegionDetails. This constant has a value of “DISABLING_REPLICATION”
-
STATE_ENABLING_REPLICATION= 'ENABLING_REPLICATION'¶ A constant which can be used with the state property of a ReplicatedRegionDetails. This constant has a value of “ENABLING_REPLICATION”
-
STATE_REPLICATION_DISABLED= 'REPLICATION_DISABLED'¶ A constant which can be used with the state property of a ReplicatedRegionDetails. This constant has a value of “REPLICATION_DISABLED”
-
STATE_REPLICATION_ENABLED= 'REPLICATION_ENABLED'¶ A constant which can be used with the state property of a ReplicatedRegionDetails. This constant has a value of “REPLICATION_ENABLED”
-
__init__(**kwargs)¶ Initializes a new ReplicatedRegionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - region (str) – The value to assign to the region property of this ReplicatedRegionDetails.
- url (str) – The value to assign to the url property of this ReplicatedRegionDetails.
- regional_url (str) – The value to assign to the regional_url property of this ReplicatedRegionDetails.
- state (str) – The value to assign to the state property of this ReplicatedRegionDetails. Allowed values for this property are: “ENABLING_REPLICATION”, “REPLICATION_ENABLED”, “DISABLING_REPLICATION”, “REPLICATION_DISABLED”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
region¶ Gets the region of this ReplicatedRegionDetails. A REPLICATION_ENABLED region, e.g. us-ashburn-1. See Regions and Availability Domains for the full list of supported region names.
Returns: The region of this ReplicatedRegionDetails. Return type: str
-
regional_url¶ Gets the regional_url of this ReplicatedRegionDetails. Region-specific identity domain URL.
Returns: The regional_url of this ReplicatedRegionDetails. Return type: str
-
state¶ Gets the state of this ReplicatedRegionDetails. The IDCS-replicated region state.
Allowed values for this property are: “ENABLING_REPLICATION”, “REPLICATION_ENABLED”, “DISABLING_REPLICATION”, “REPLICATION_DISABLED”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The state of this ReplicatedRegionDetails. Return type: str
-
url¶ Gets the url of this ReplicatedRegionDetails. Region-agnostic identity domain URL.
Returns: The url of this ReplicatedRegionDetails. Return type: str
-