CreateStandbyDetails

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

Bases: object

Standby Creation Details.

Attributes:

PROTECTION_MODE_MAXIMUM_AVAILABILITY

A constant which can be used with the protection_mode property of a CreateStandbyDetails.

PROTECTION_MODE_MAXIMUM_PERFORMANCE

A constant which can be used with the protection_mode property of a CreateStandbyDetails.

PROTECTION_MODE_MAXIMUM_PROTECTION

A constant which can be used with the protection_mode property of a CreateStandbyDetails.

TRANSPORT_TYPE_ASYNC

A constant which can be used with the transport_type property of a CreateStandbyDetails.

TRANSPORT_TYPE_FASTSYNC

A constant which can be used with the transport_type property of a CreateStandbyDetails.

TRANSPORT_TYPE_SYNC

A constant which can be used with the transport_type property of a CreateStandbyDetails.

auto_failover_configuration

Gets the auto_failover_configuration of this CreateStandbyDetails.

data_safe_registration_details

Gets the data_safe_registration_details of this CreateStandbyDetails.

database_admin_password

[Required] Gets the database_admin_password of this CreateStandbyDetails.

db_unique_name

Gets the db_unique_name of this CreateStandbyDetails.

defined_tags

Gets the defined_tags of this CreateStandbyDetails.

freeform_tags

Gets the freeform_tags of this CreateStandbyDetails.

is_active_data_guard_enabled

Gets the is_active_data_guard_enabled of this CreateStandbyDetails.

protection_mode

[Required] Gets the protection_mode of this CreateStandbyDetails.

sid_prefix

Gets the sid_prefix of this CreateStandbyDetails.

source_database_id

[Required] Gets the source_database_id of this CreateStandbyDetails.

source_encryption_key_location_details

Gets the source_encryption_key_location_details of this CreateStandbyDetails.

source_tde_wallet_password

[Required] Gets the source_tde_wallet_password of this CreateStandbyDetails.

storage_size_details

Gets the storage_size_details of this CreateStandbyDetails.

transport_type

[Required] Gets the transport_type of this CreateStandbyDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateStandbyDetails object with values from keyword arguments.

PROTECTION_MODE_MAXIMUM_AVAILABILITY = 'MAXIMUM_AVAILABILITY'

A constant which can be used with the protection_mode property of a CreateStandbyDetails. This constant has a value of “MAXIMUM_AVAILABILITY”

PROTECTION_MODE_MAXIMUM_PERFORMANCE = 'MAXIMUM_PERFORMANCE'

A constant which can be used with the protection_mode property of a CreateStandbyDetails. This constant has a value of “MAXIMUM_PERFORMANCE”

PROTECTION_MODE_MAXIMUM_PROTECTION = 'MAXIMUM_PROTECTION'

A constant which can be used with the protection_mode property of a CreateStandbyDetails. This constant has a value of “MAXIMUM_PROTECTION”

TRANSPORT_TYPE_ASYNC = 'ASYNC'

A constant which can be used with the transport_type property of a CreateStandbyDetails. This constant has a value of “ASYNC”

TRANSPORT_TYPE_FASTSYNC = 'FASTSYNC'

A constant which can be used with the transport_type property of a CreateStandbyDetails. This constant has a value of “FASTSYNC”

TRANSPORT_TYPE_SYNC = 'SYNC'

A constant which can be used with the transport_type property of a CreateStandbyDetails. This constant has a value of “SYNC”

__init__(**kwargs)

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

Parameters
  • source_database_id (str) – The value to assign to the source_database_id property of this CreateStandbyDetails.

  • database_admin_password (str) – The value to assign to the database_admin_password property of this CreateStandbyDetails.

  • source_tde_wallet_password (str) – The value to assign to the source_tde_wallet_password property of this CreateStandbyDetails.

  • source_encryption_key_location_details (oci.database.models.EncryptionKeyLocationDetails) – The value to assign to the source_encryption_key_location_details property of this CreateStandbyDetails.

  • is_active_data_guard_enabled (bool) – The value to assign to the is_active_data_guard_enabled property of this CreateStandbyDetails.

  • db_unique_name (str) – The value to assign to the db_unique_name property of this CreateStandbyDetails.

  • sid_prefix (str) – The value to assign to the sid_prefix property of this CreateStandbyDetails.

  • protection_mode (str) – The value to assign to the protection_mode property of this CreateStandbyDetails. Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”, “MAXIMUM_PROTECTION”

  • transport_type (str) – The value to assign to the transport_type property of this CreateStandbyDetails. Allowed values for this property are: “SYNC”, “ASYNC”, “FASTSYNC”

  • storage_size_details (oci.database.models.DatabaseStorageSizeDetails) – The value to assign to the storage_size_details property of this CreateStandbyDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateStandbyDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateStandbyDetails.

  • auto_failover_configuration (oci.database.models.AutoFailoverConfiguration) – The value to assign to the auto_failover_configuration property of this CreateStandbyDetails.

  • data_safe_registration_details (oci.database.models.DataSafeRegistrationRequestDetails) – The value to assign to the data_safe_registration_details property of this CreateStandbyDetails.

property auto_failover_configuration

Gets the auto_failover_configuration of this CreateStandbyDetails.

Returns

The auto_failover_configuration of this CreateStandbyDetails.

Return type

oci.database.models.AutoFailoverConfiguration

property data_safe_registration_details

Gets the data_safe_registration_details of this CreateStandbyDetails.

Returns

The data_safe_registration_details of this CreateStandbyDetails.

Return type

oci.database.models.DataSafeRegistrationRequestDetails

property database_admin_password

[Required] Gets the database_admin_password of this CreateStandbyDetails. The administrator password of the primary database in this Data Guard association.

The password MUST be the same as the primary admin password.

Returns

The database_admin_password of this CreateStandbyDetails.

Return type

str

property db_unique_name

Gets the db_unique_name of this CreateStandbyDetails. Specifies the DB_UNIQUE_NAME of the peer database to be created.

Returns

The db_unique_name of this CreateStandbyDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateStandbyDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Returns

The defined_tags of this CreateStandbyDetails.

Return type

dict(str, dict(str, object))

property freeform_tags

Gets the freeform_tags of this CreateStandbyDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

Example: {“Department”: “Finance”}

Returns

The freeform_tags of this CreateStandbyDetails.

Return type

dict(str, str)

property is_active_data_guard_enabled

Gets the is_active_data_guard_enabled of this CreateStandbyDetails. True if active Data Guard is enabled.

Returns

The is_active_data_guard_enabled of this CreateStandbyDetails.

Return type

bool

property protection_mode

[Required] Gets the protection_mode of this CreateStandbyDetails. The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.

Allowed values for this property are: “MAXIMUM_AVAILABILITY”, “MAXIMUM_PERFORMANCE”, “MAXIMUM_PROTECTION”

Returns

The protection_mode of this CreateStandbyDetails.

Return type

str

property sid_prefix

Gets the sid_prefix of this CreateStandbyDetails. Specifies a prefix for the Oracle SID of the database to be created.

Returns

The sid_prefix of this CreateStandbyDetails.

Return type

str

property source_database_id

[Required] Gets the source_database_id of this CreateStandbyDetails. The OCID of the source database.

Returns

The source_database_id of this CreateStandbyDetails.

Return type

str

property source_encryption_key_location_details

Gets the source_encryption_key_location_details of this CreateStandbyDetails.

Returns

The source_encryption_key_location_details of this CreateStandbyDetails.

Return type

oci.database.models.EncryptionKeyLocationDetails

property source_tde_wallet_password

[Required] Gets the source_tde_wallet_password of this CreateStandbyDetails. The TDE wallet password of the source database specified by ‘sourceDatabaseId’.

Returns

The source_tde_wallet_password of this CreateStandbyDetails.

Return type

str

property storage_size_details

Gets the storage_size_details of this CreateStandbyDetails.

Returns

The storage_size_details of this CreateStandbyDetails.

Return type

oci.database.models.DatabaseStorageSizeDetails

property transport_type

[Required] Gets the transport_type of this CreateStandbyDetails. The redo transport type to use for this Data Guard association. Valid values depend on the specified protectionMode:

  • MAXIMUM_AVAILABILITY - SYNC or FASTSYNC

  • MAXIMUM_PERFORMANCE - ASYNC

  • MAXIMUM_PROTECTION - SYNC

For more information, see Redo Transport Services in the Oracle Data Guard documentation.

IMPORTANT - The only transport type currently supported by the Database service is ASYNC.

Allowed values for this property are: “SYNC”, “ASYNC”, “FASTSYNC”

Returns

The transport_type of this CreateStandbyDetails.

Return type

str