ConvertStandbyAutonomousContainerDatabaseDetails

class oci.database.models.ConvertStandbyAutonomousContainerDatabaseDetails(**kwargs)

Bases: object

The configuration details for change Autonomous Container Database Dataguard role

Attributes

CONNECTION_STRINGS_TYPE_PRIMARY_SERVICES A constant which can be used with the connection_strings_type property of a ConvertStandbyAutonomousContainerDatabaseDetails.
CONNECTION_STRINGS_TYPE_SNAPSHOT_SERVICES A constant which can be used with the connection_strings_type property of a ConvertStandbyAutonomousContainerDatabaseDetails.
ROLE_BACKUP_COPY A constant which can be used with the role property of a ConvertStandbyAutonomousContainerDatabaseDetails.
ROLE_DISABLED_STANDBY A constant which can be used with the role property of a ConvertStandbyAutonomousContainerDatabaseDetails.
ROLE_PRIMARY A constant which can be used with the role property of a ConvertStandbyAutonomousContainerDatabaseDetails.
ROLE_SNAPSHOT_STANDBY A constant which can be used with the role property of a ConvertStandbyAutonomousContainerDatabaseDetails.
ROLE_STANDBY A constant which can be used with the role property of a ConvertStandbyAutonomousContainerDatabaseDetails.
connection_strings_type Gets the connection_strings_type of this ConvertStandbyAutonomousContainerDatabaseDetails.
role [Required] Gets the role of this ConvertStandbyAutonomousContainerDatabaseDetails.

Methods

__init__(**kwargs) Initializes a new ConvertStandbyAutonomousContainerDatabaseDetails object with values from keyword arguments.
CONNECTION_STRINGS_TYPE_PRIMARY_SERVICES = 'PRIMARY_SERVICES'

A constant which can be used with the connection_strings_type property of a ConvertStandbyAutonomousContainerDatabaseDetails. This constant has a value of “PRIMARY_SERVICES”

CONNECTION_STRINGS_TYPE_SNAPSHOT_SERVICES = 'SNAPSHOT_SERVICES'

A constant which can be used with the connection_strings_type property of a ConvertStandbyAutonomousContainerDatabaseDetails. This constant has a value of “SNAPSHOT_SERVICES”

ROLE_BACKUP_COPY = 'BACKUP_COPY'

A constant which can be used with the role property of a ConvertStandbyAutonomousContainerDatabaseDetails. This constant has a value of “BACKUP_COPY”

ROLE_DISABLED_STANDBY = 'DISABLED_STANDBY'

A constant which can be used with the role property of a ConvertStandbyAutonomousContainerDatabaseDetails. This constant has a value of “DISABLED_STANDBY”

ROLE_PRIMARY = 'PRIMARY'

A constant which can be used with the role property of a ConvertStandbyAutonomousContainerDatabaseDetails. This constant has a value of “PRIMARY”

ROLE_SNAPSHOT_STANDBY = 'SNAPSHOT_STANDBY'

A constant which can be used with the role property of a ConvertStandbyAutonomousContainerDatabaseDetails. This constant has a value of “SNAPSHOT_STANDBY”

ROLE_STANDBY = 'STANDBY'

A constant which can be used with the role property of a ConvertStandbyAutonomousContainerDatabaseDetails. This constant has a value of “STANDBY”

__init__(**kwargs)

Initializes a new ConvertStandbyAutonomousContainerDatabaseDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • role (str) – The value to assign to the role property of this ConvertStandbyAutonomousContainerDatabaseDetails. Allowed values for this property are: “PRIMARY”, “STANDBY”, “DISABLED_STANDBY”, “BACKUP_COPY”, “SNAPSHOT_STANDBY”
  • connection_strings_type (str) – The value to assign to the connection_strings_type property of this ConvertStandbyAutonomousContainerDatabaseDetails. Allowed values for this property are: “SNAPSHOT_SERVICES”, “PRIMARY_SERVICES”
connection_strings_type

Gets the connection_strings_type of this ConvertStandbyAutonomousContainerDatabaseDetails. type of connection strings when converting database to snapshot mode

Allowed values for this property are: “SNAPSHOT_SERVICES”, “PRIMARY_SERVICES”

Returns:The connection_strings_type of this ConvertStandbyAutonomousContainerDatabaseDetails.
Return type:str
role

[Required] Gets the role of this ConvertStandbyAutonomousContainerDatabaseDetails. The Data Guard role of the Autonomous Container Database or Autonomous AI Database, if Autonomous Data Guard is enabled.

Allowed values for this property are: “PRIMARY”, “STANDBY”, “DISABLED_STANDBY”, “BACKUP_COPY”, “SNAPSHOT_STANDBY”

Returns:The role of this ConvertStandbyAutonomousContainerDatabaseDetails.
Return type:str