ChangeRoleToReplicaDetails¶
- class oci.psql.models.ChangeRoleToReplicaDetails(**kwargs)¶
Bases:
objectThe information required to change a primary database system’s role to replica.
Methods:
__init__(**kwargs)Initializes a new ChangeRoleToReplicaDetails object with values from keyword arguments.
Attributes:
[Required] Gets the primary_db_system_id of this ChangeRoleToReplicaDetails.
- __init__(**kwargs)¶
Initializes a new ChangeRoleToReplicaDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
primary_db_system_id (str) – The value to assign to the primary_db_system_id property of this ChangeRoleToReplicaDetails.
- property primary_db_system_id¶
[Required] Gets the primary_db_system_id of this ChangeRoleToReplicaDetails. The [OCID] of the primary database system.
- Returns
The primary_db_system_id of this ChangeRoleToReplicaDetails.
- Return type
str