CreateDrProtectionGroupMemberPostgresqlDbSystemDetails

class oci.disaster_recovery.models.CreateDrProtectionGroupMemberPostgresqlDbSystemDetails(**kwargs)

Bases: CreateDrProtectionGroupMemberDetails

Create properties for an OCI Database with PostgreSQL member.

Attributes:

MEMBER_TYPE_AUTONOMOUS_CONTAINER_DATABASE

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails.

MEMBER_TYPE_AUTONOMOUS_DATABASE

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails.

MEMBER_TYPE_COMPUTE_INSTANCE

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails.

MEMBER_TYPE_COMPUTE_INSTANCE_MOVABLE

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails.

MEMBER_TYPE_COMPUTE_INSTANCE_NON_MOVABLE

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails.

MEMBER_TYPE_DATABASE

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails.

MEMBER_TYPE_FILE_SYSTEM

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails.

MEMBER_TYPE_INTEGRATION_INSTANCE

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails.

MEMBER_TYPE_LOAD_BALANCER

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails.

MEMBER_TYPE_MYSQL_DB_SYSTEM

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails.

MEMBER_TYPE_NETWORK_LOAD_BALANCER

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails.

MEMBER_TYPE_OBJECT_STORAGE_BUCKET

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails.

MEMBER_TYPE_OKE_CLUSTER

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails.

MEMBER_TYPE_POSTGRESQL_DB_SYSTEM

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails.

MEMBER_TYPE_VOLUME_GROUP

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails.

member_id

[Required] Gets the member_id of this CreateDrProtectionGroupMemberDetails.

member_type

[Required] Gets the member_type of this CreateDrProtectionGroupMemberDetails.

peer_db_system_id

Gets the peer_db_system_id of this CreateDrProtectionGroupMemberPostgresqlDbSystemDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateDrProtectionGroupMemberPostgresqlDbSystemDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

MEMBER_TYPE_AUTONOMOUS_CONTAINER_DATABASE = 'AUTONOMOUS_CONTAINER_DATABASE'

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails. This constant has a value of “AUTONOMOUS_CONTAINER_DATABASE”

MEMBER_TYPE_AUTONOMOUS_DATABASE = 'AUTONOMOUS_DATABASE'

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails. This constant has a value of “AUTONOMOUS_DATABASE”

MEMBER_TYPE_COMPUTE_INSTANCE = 'COMPUTE_INSTANCE'

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails. This constant has a value of “COMPUTE_INSTANCE”

MEMBER_TYPE_COMPUTE_INSTANCE_MOVABLE = 'COMPUTE_INSTANCE_MOVABLE'

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails. This constant has a value of “COMPUTE_INSTANCE_MOVABLE”

MEMBER_TYPE_COMPUTE_INSTANCE_NON_MOVABLE = 'COMPUTE_INSTANCE_NON_MOVABLE'

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails. This constant has a value of “COMPUTE_INSTANCE_NON_MOVABLE”

MEMBER_TYPE_DATABASE = 'DATABASE'

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails. This constant has a value of “DATABASE”

MEMBER_TYPE_FILE_SYSTEM = 'FILE_SYSTEM'

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails. This constant has a value of “FILE_SYSTEM”

MEMBER_TYPE_INTEGRATION_INSTANCE = 'INTEGRATION_INSTANCE'

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails. This constant has a value of “INTEGRATION_INSTANCE”

MEMBER_TYPE_LOAD_BALANCER = 'LOAD_BALANCER'

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails. This constant has a value of “LOAD_BALANCER”

MEMBER_TYPE_MYSQL_DB_SYSTEM = 'MYSQL_DB_SYSTEM'

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails. This constant has a value of “MYSQL_DB_SYSTEM”

MEMBER_TYPE_NETWORK_LOAD_BALANCER = 'NETWORK_LOAD_BALANCER'

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails. This constant has a value of “NETWORK_LOAD_BALANCER”

MEMBER_TYPE_OBJECT_STORAGE_BUCKET = 'OBJECT_STORAGE_BUCKET'

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails. This constant has a value of “OBJECT_STORAGE_BUCKET”

MEMBER_TYPE_OKE_CLUSTER = 'OKE_CLUSTER'

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails. This constant has a value of “OKE_CLUSTER”

MEMBER_TYPE_POSTGRESQL_DB_SYSTEM = 'POSTGRESQL_DB_SYSTEM'

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails. This constant has a value of “POSTGRESQL_DB_SYSTEM”

MEMBER_TYPE_VOLUME_GROUP = 'VOLUME_GROUP'

A constant which can be used with the member_type property of a CreateDrProtectionGroupMemberDetails. This constant has a value of “VOLUME_GROUP”

__init__(**kwargs)

Initializes a new CreateDrProtectionGroupMemberPostgresqlDbSystemDetails object with values from keyword arguments. The default value of the member_type attribute of this class is POSTGRESQL_DB_SYSTEM and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • member_id (str) – The value to assign to the member_id property of this CreateDrProtectionGroupMemberPostgresqlDbSystemDetails.

  • member_type (str) – The value to assign to the member_type property of this CreateDrProtectionGroupMemberPostgresqlDbSystemDetails. Allowed values for this property are: “COMPUTE_INSTANCE”, “COMPUTE_INSTANCE_MOVABLE”, “COMPUTE_INSTANCE_NON_MOVABLE”, “VOLUME_GROUP”, “DATABASE”, “AUTONOMOUS_DATABASE”, “AUTONOMOUS_CONTAINER_DATABASE”, “LOAD_BALANCER”, “NETWORK_LOAD_BALANCER”, “FILE_SYSTEM”, “OKE_CLUSTER”, “OBJECT_STORAGE_BUCKET”, “MYSQL_DB_SYSTEM”, “POSTGRESQL_DB_SYSTEM”, “INTEGRATION_INSTANCE”

  • peer_db_system_id (str) – The value to assign to the peer_db_system_id property of this CreateDrProtectionGroupMemberPostgresqlDbSystemDetails.

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property member_id

[Required] Gets the member_id of this CreateDrProtectionGroupMemberDetails. The OCID of the member.

Example: ocid1.instance.oc1..uniqueID

Returns

The member_id of this CreateDrProtectionGroupMemberDetails.

Return type

str

property member_type

[Required] Gets the member_type of this CreateDrProtectionGroupMemberDetails. The type of the member.

Allowed values for this property are: “COMPUTE_INSTANCE”, “COMPUTE_INSTANCE_MOVABLE”, “COMPUTE_INSTANCE_NON_MOVABLE”, “VOLUME_GROUP”, “DATABASE”, “AUTONOMOUS_DATABASE”, “AUTONOMOUS_CONTAINER_DATABASE”, “LOAD_BALANCER”, “NETWORK_LOAD_BALANCER”, “FILE_SYSTEM”, “OKE_CLUSTER”, “OBJECT_STORAGE_BUCKET”, “MYSQL_DB_SYSTEM”, “POSTGRESQL_DB_SYSTEM”, “INTEGRATION_INSTANCE”

Returns

The member_type of this CreateDrProtectionGroupMemberDetails.

Return type

str

property peer_db_system_id

Gets the peer_db_system_id of this CreateDrProtectionGroupMemberPostgresqlDbSystemDetails. The OCID of the peer OCI Database with PostgreSQL from the peer region.

Example: ocid1.postgresqldbsystem.oc1..uniqueID

Returns

The peer_db_system_id of this CreateDrProtectionGroupMemberPostgresqlDbSystemDetails.

Return type

str