ExternalPluggableDatabase¶
-
class
oci.database.models.
ExternalPluggableDatabase
(**kwargs)¶ Bases:
object
an external Oracle pluggable database.
Attributes
DATABASE_CONFIGURATION_RAC
A constant which can be used with the database_configuration property of a ExternalPluggableDatabase. DATABASE_CONFIGURATION_SINGLE_INSTANCE
A constant which can be used with the database_configuration property of a ExternalPluggableDatabase. DATABASE_EDITION_ENTERPRISE_EDITION
A constant which can be used with the database_edition property of a ExternalPluggableDatabase. DATABASE_EDITION_ENTERPRISE_EDITION_EXTREME_PERFORMANCE
A constant which can be used with the database_edition property of a ExternalPluggableDatabase. DATABASE_EDITION_ENTERPRISE_EDITION_HIGH_PERFORMANCE
A constant which can be used with the database_edition property of a ExternalPluggableDatabase. DATABASE_EDITION_STANDARD_EDITION
A constant which can be used with the database_edition property of a ExternalPluggableDatabase. LIFECYCLE_STATE_AVAILABLE
A constant which can be used with the lifecycle_state property of a ExternalPluggableDatabase. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a ExternalPluggableDatabase. LIFECYCLE_STATE_NOT_CONNECTED
A constant which can be used with the lifecycle_state property of a ExternalPluggableDatabase. LIFECYCLE_STATE_PROVISIONING
A constant which can be used with the lifecycle_state property of a ExternalPluggableDatabase. LIFECYCLE_STATE_TERMINATED
A constant which can be used with the lifecycle_state property of a ExternalPluggableDatabase. LIFECYCLE_STATE_TERMINATING
A constant which can be used with the lifecycle_state property of a ExternalPluggableDatabase. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a ExternalPluggableDatabase. character_set
Gets the character_set of this ExternalPluggableDatabase. compartment_id
[Required] Gets the compartment_id of this ExternalPluggableDatabase. database_configuration
Gets the database_configuration of this ExternalPluggableDatabase. database_edition
Gets the database_edition of this ExternalPluggableDatabase. database_management_config
Gets the database_management_config of this ExternalPluggableDatabase. database_version
Gets the database_version of this ExternalPluggableDatabase. db_id
Gets the db_id of this ExternalPluggableDatabase. db_packs
Gets the db_packs of this ExternalPluggableDatabase. db_unique_name
Gets the db_unique_name of this ExternalPluggableDatabase. defined_tags
Gets the defined_tags of this ExternalPluggableDatabase. display_name
[Required] Gets the display_name of this ExternalPluggableDatabase. external_container_database_id
[Required] Gets the external_container_database_id of this ExternalPluggableDatabase. freeform_tags
Gets the freeform_tags of this ExternalPluggableDatabase. id
[Required] Gets the id of this ExternalPluggableDatabase. lifecycle_details
Gets the lifecycle_details of this ExternalPluggableDatabase. lifecycle_state
[Required] Gets the lifecycle_state of this ExternalPluggableDatabase. ncharacter_set
Gets the ncharacter_set of this ExternalPluggableDatabase. operations_insights_config
Gets the operations_insights_config of this ExternalPluggableDatabase. source_id
Gets the source_id of this ExternalPluggableDatabase. stack_monitoring_config
Gets the stack_monitoring_config of this ExternalPluggableDatabase. time_created
[Required] Gets the time_created of this ExternalPluggableDatabase. time_zone
Gets the time_zone of this ExternalPluggableDatabase. Methods
__init__
(**kwargs)Initializes a new ExternalPluggableDatabase object with values from keyword arguments. -
DATABASE_CONFIGURATION_RAC
= 'RAC'¶ A constant which can be used with the database_configuration property of a ExternalPluggableDatabase. This constant has a value of “RAC”
-
DATABASE_CONFIGURATION_SINGLE_INSTANCE
= 'SINGLE_INSTANCE'¶ A constant which can be used with the database_configuration property of a ExternalPluggableDatabase. This constant has a value of “SINGLE_INSTANCE”
-
DATABASE_EDITION_ENTERPRISE_EDITION
= 'ENTERPRISE_EDITION'¶ A constant which can be used with the database_edition property of a ExternalPluggableDatabase. This constant has a value of “ENTERPRISE_EDITION”
-
DATABASE_EDITION_ENTERPRISE_EDITION_EXTREME_PERFORMANCE
= 'ENTERPRISE_EDITION_EXTREME_PERFORMANCE'¶ A constant which can be used with the database_edition property of a ExternalPluggableDatabase. This constant has a value of “ENTERPRISE_EDITION_EXTREME_PERFORMANCE”
-
DATABASE_EDITION_ENTERPRISE_EDITION_HIGH_PERFORMANCE
= 'ENTERPRISE_EDITION_HIGH_PERFORMANCE'¶ A constant which can be used with the database_edition property of a ExternalPluggableDatabase. This constant has a value of “ENTERPRISE_EDITION_HIGH_PERFORMANCE”
-
DATABASE_EDITION_STANDARD_EDITION
= 'STANDARD_EDITION'¶ A constant which can be used with the database_edition property of a ExternalPluggableDatabase. This constant has a value of “STANDARD_EDITION”
-
LIFECYCLE_STATE_AVAILABLE
= 'AVAILABLE'¶ A constant which can be used with the lifecycle_state property of a ExternalPluggableDatabase. This constant has a value of “AVAILABLE”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a ExternalPluggableDatabase. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_NOT_CONNECTED
= 'NOT_CONNECTED'¶ A constant which can be used with the lifecycle_state property of a ExternalPluggableDatabase. This constant has a value of “NOT_CONNECTED”
-
LIFECYCLE_STATE_PROVISIONING
= 'PROVISIONING'¶ A constant which can be used with the lifecycle_state property of a ExternalPluggableDatabase. This constant has a value of “PROVISIONING”
-
LIFECYCLE_STATE_TERMINATED
= 'TERMINATED'¶ A constant which can be used with the lifecycle_state property of a ExternalPluggableDatabase. This constant has a value of “TERMINATED”
-
LIFECYCLE_STATE_TERMINATING
= 'TERMINATING'¶ A constant which can be used with the lifecycle_state property of a ExternalPluggableDatabase. This constant has a value of “TERMINATING”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a ExternalPluggableDatabase. This constant has a value of “UPDATING”
-
__init__
(**kwargs)¶ Initializes a new ExternalPluggableDatabase object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - source_id (str) – The value to assign to the source_id property of this ExternalPluggableDatabase.
- external_container_database_id (str) – The value to assign to the external_container_database_id property of this ExternalPluggableDatabase.
- operations_insights_config (oci.database.models.OperationsInsightsConfig) – The value to assign to the operations_insights_config property of this ExternalPluggableDatabase.
- compartment_id (str) – The value to assign to the compartment_id property of this ExternalPluggableDatabase.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ExternalPluggableDatabase.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ExternalPluggableDatabase.
- display_name (str) – The value to assign to the display_name property of this ExternalPluggableDatabase.
- id (str) – The value to assign to the id property of this ExternalPluggableDatabase.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this ExternalPluggableDatabase.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ExternalPluggableDatabase. Allowed values for this property are: “PROVISIONING”, “NOT_CONNECTED”, “AVAILABLE”, “UPDATING”, “TERMINATING”, “TERMINATED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this ExternalPluggableDatabase.
- db_unique_name (str) – The value to assign to the db_unique_name property of this ExternalPluggableDatabase.
- db_id (str) – The value to assign to the db_id property of this ExternalPluggableDatabase.
- database_version (str) – The value to assign to the database_version property of this ExternalPluggableDatabase.
- database_edition (str) – The value to assign to the database_edition property of this ExternalPluggableDatabase. Allowed values for this property are: “STANDARD_EDITION”, “ENTERPRISE_EDITION”, “ENTERPRISE_EDITION_HIGH_PERFORMANCE”, “ENTERPRISE_EDITION_EXTREME_PERFORMANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_zone (str) – The value to assign to the time_zone property of this ExternalPluggableDatabase.
- character_set (str) – The value to assign to the character_set property of this ExternalPluggableDatabase.
- ncharacter_set (str) – The value to assign to the ncharacter_set property of this ExternalPluggableDatabase.
- db_packs (str) – The value to assign to the db_packs property of this ExternalPluggableDatabase.
- database_configuration (str) – The value to assign to the database_configuration property of this ExternalPluggableDatabase. Allowed values for this property are: “RAC”, “SINGLE_INSTANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- database_management_config (oci.database.models.DatabaseManagementConfig) – The value to assign to the database_management_config property of this ExternalPluggableDatabase.
- stack_monitoring_config (oci.database.models.StackMonitoringConfig) – The value to assign to the stack_monitoring_config property of this ExternalPluggableDatabase.
-
character_set
¶ Gets the character_set of this ExternalPluggableDatabase. The character set of the external database.
Returns: The character_set of this ExternalPluggableDatabase. Return type: str
-
compartment_id
¶ [Required] Gets the compartment_id of this ExternalPluggableDatabase. The OCID of the compartment.
Returns: The compartment_id of this ExternalPluggableDatabase. Return type: str
-
database_configuration
¶ Gets the database_configuration of this ExternalPluggableDatabase. The Oracle Database configuration
Allowed values for this property are: “RAC”, “SINGLE_INSTANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The database_configuration of this ExternalPluggableDatabase. Return type: str
-
database_edition
¶ Gets the database_edition of this ExternalPluggableDatabase. The Oracle Database edition.
Allowed values for this property are: “STANDARD_EDITION”, “ENTERPRISE_EDITION”, “ENTERPRISE_EDITION_HIGH_PERFORMANCE”, “ENTERPRISE_EDITION_EXTREME_PERFORMANCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The database_edition of this ExternalPluggableDatabase. Return type: str
-
database_management_config
¶ Gets the database_management_config of this ExternalPluggableDatabase.
Returns: The database_management_config of this ExternalPluggableDatabase. Return type: oci.database.models.DatabaseManagementConfig
-
database_version
¶ Gets the database_version of this ExternalPluggableDatabase. The Oracle Database version.
Returns: The database_version of this ExternalPluggableDatabase. Return type: str
-
db_id
¶ Gets the db_id of this ExternalPluggableDatabase. The Oracle Database ID, which identifies an Oracle Database located outside of Oracle Cloud.
Returns: The db_id of this ExternalPluggableDatabase. Return type: str
-
db_packs
¶ Gets the db_packs of this ExternalPluggableDatabase. The database packs licensed for the external Oracle Database.
Returns: The db_packs of this ExternalPluggableDatabase. Return type: str
-
db_unique_name
¶ Gets the db_unique_name of this ExternalPluggableDatabase. The DB_UNIQUE_NAME of the external database.
Returns: The db_unique_name of this ExternalPluggableDatabase. Return type: str
Gets the defined_tags of this ExternalPluggableDatabase. 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 ExternalPluggableDatabase. Return type: dict(str, dict(str, object))
-
display_name
¶ [Required] Gets the display_name of this ExternalPluggableDatabase. The user-friendly name for the external database. The name does not have to be unique.
Returns: The display_name of this ExternalPluggableDatabase. Return type: str
-
external_container_database_id
¶ [Required] Gets the external_container_database_id of this ExternalPluggableDatabase. The OCID of the
create_external_container_database_details()
that contains the specifiedcreate_external_pluggable_database_details()
resource.Returns: The external_container_database_id of this ExternalPluggableDatabase. Return type: str
Gets the freeform_tags of this ExternalPluggableDatabase. 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 ExternalPluggableDatabase. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this ExternalPluggableDatabase. The OCID of the Oracle Cloud Infrastructure external database resource.
Returns: The id of this ExternalPluggableDatabase. Return type: str
-
lifecycle_details
¶ Gets the lifecycle_details of this ExternalPluggableDatabase. Additional information about the current lifecycle state.
Returns: The lifecycle_details of this ExternalPluggableDatabase. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this ExternalPluggableDatabase. The current state of the Oracle Cloud Infrastructure external database resource.
Allowed values for this property are: “PROVISIONING”, “NOT_CONNECTED”, “AVAILABLE”, “UPDATING”, “TERMINATING”, “TERMINATED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this ExternalPluggableDatabase. Return type: str
-
ncharacter_set
¶ Gets the ncharacter_set of this ExternalPluggableDatabase. The national character of the external database.
Returns: The ncharacter_set of this ExternalPluggableDatabase. Return type: str
-
operations_insights_config
¶ Gets the operations_insights_config of this ExternalPluggableDatabase.
Returns: The operations_insights_config of this ExternalPluggableDatabase. Return type: oci.database.models.OperationsInsightsConfig
-
source_id
¶ Gets the source_id of this ExternalPluggableDatabase. The OCID of the the non-container database that was converted to a pluggable database to create this resource.
Returns: The source_id of this ExternalPluggableDatabase. Return type: str
-
stack_monitoring_config
¶ Gets the stack_monitoring_config of this ExternalPluggableDatabase.
Returns: The stack_monitoring_config of this ExternalPluggableDatabase. Return type: oci.database.models.StackMonitoringConfig
-
time_created
¶ [Required] Gets the time_created of this ExternalPluggableDatabase. The date and time the database was created.
Returns: The time_created of this ExternalPluggableDatabase. Return type: datetime
-
time_zone
¶ Gets the time_zone of this ExternalPluggableDatabase. The time zone of the external database. It is a time zone offset (a character type in the format ‘[+|-]TZH:TZM’) or a time zone region name, depending on how the time zone value was specified when the database was created / last altered.
Returns: The time_zone of this ExternalPluggableDatabase. Return type: str
-