AutomaticDrConfigurationMember

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

Bases: object

Details of a member in an Automatic DR configuration.

Attributes:

MEMBER_TYPE_AUTONOMOUS_CONTAINER_DATABASE

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

MEMBER_TYPE_AUTONOMOUS_DATABASE

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

MEMBER_TYPE_DATABASE

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

member_id

[Required] Gets the member_id of this AutomaticDrConfigurationMember.

member_type

[Required] Gets the member_type of this AutomaticDrConfigurationMember.

Methods:

__init__(**kwargs)

Initializes a new AutomaticDrConfigurationMember 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 AutomaticDrConfigurationMember. 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 AutomaticDrConfigurationMember. This constant has a value of “AUTONOMOUS_DATABASE”

MEMBER_TYPE_DATABASE = 'DATABASE'

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

__init__(**kwargs)

Initializes a new AutomaticDrConfigurationMember object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 AutomaticDrConfigurationMember.

  • member_type (str) – The value to assign to the member_type property of this AutomaticDrConfigurationMember. Allowed values for this property are: “DATABASE”, “AUTONOMOUS_DATABASE”, “AUTONOMOUS_CONTAINER_DATABASE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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 AutomaticDrConfigurationMember. The unique id of the member. Must not be modified by user.

Example: ocid1.database.oc1..uniqueID

Returns

The member_id of this AutomaticDrConfigurationMember.

Return type

str

property member_type

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

Allowed values for this property are: “DATABASE”, “AUTONOMOUS_DATABASE”, “AUTONOMOUS_CONTAINER_DATABASE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The member_type of this AutomaticDrConfigurationMember.

Return type

str