DBExternalProperties

class oci.opsi.models.DBExternalProperties(**kwargs)

Bases: oci.opsi.models.database_configuration_metric_group.DatabaseConfigurationMetricGroup

Configuration parameters defined for external databases.

Attributes

METRIC_NAME_DB_EXTERNAL_INSTANCE str(object=’’) -> str
METRIC_NAME_DB_EXTERNAL_PROPERTIES str(object=’’) -> str
METRIC_NAME_DB_OS_CONFIG_INSTANCE str(object=’’) -> str
cdb Gets the cdb of this DBExternalProperties.
control_file_type Gets the control_file_type of this DBExternalProperties.
created Gets the created of this DBExternalProperties.
database_role Gets the database_role of this DBExternalProperties.
guard_status Gets the guard_status of this DBExternalProperties.
log_mode Gets the log_mode of this DBExternalProperties.
metric_name [Required] Gets the metric_name of this DatabaseConfigurationMetricGroup.
name Gets the name of this DBExternalProperties.
open_mode Gets the open_mode of this DBExternalProperties.
platform_name Gets the platform_name of this DBExternalProperties.
switchover_status Gets the switchover_status of this DBExternalProperties.
time_collected Gets the time_collected of this DatabaseConfigurationMetricGroup.

Methods

__init__(**kwargs) Initializes a new DBExternalProperties 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.
METRIC_NAME_DB_EXTERNAL_INSTANCE = 'DB_EXTERNAL_INSTANCE'
METRIC_NAME_DB_EXTERNAL_PROPERTIES = 'DB_EXTERNAL_PROPERTIES'
METRIC_NAME_DB_OS_CONFIG_INSTANCE = 'DB_OS_CONFIG_INSTANCE'
__init__(**kwargs)

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

Parameters:
  • metric_name (str) – The value to assign to the metric_name property of this DBExternalProperties. Allowed values for this property are: “DB_EXTERNAL_PROPERTIES”, “DB_EXTERNAL_INSTANCE”, “DB_OS_CONFIG_INSTANCE”
  • time_collected (datetime) – The value to assign to the time_collected property of this DBExternalProperties.
  • name (str) – The value to assign to the name property of this DBExternalProperties.
  • log_mode (str) – The value to assign to the log_mode property of this DBExternalProperties.
  • cdb (str) – The value to assign to the cdb property of this DBExternalProperties.
  • open_mode (str) – The value to assign to the open_mode property of this DBExternalProperties.
  • database_role (str) – The value to assign to the database_role property of this DBExternalProperties.
  • guard_status (str) – The value to assign to the guard_status property of this DBExternalProperties.
  • platform_name (str) – The value to assign to the platform_name property of this DBExternalProperties.
  • control_file_type (str) – The value to assign to the control_file_type property of this DBExternalProperties.
  • switchover_status (str) – The value to assign to the switchover_status property of this DBExternalProperties.
  • created (datetime) – The value to assign to the created property of this DBExternalProperties.
cdb

Gets the cdb of this DBExternalProperties. Indicates if it is a CDB or not. This would be ‘yes’ or ‘no’.

Returns:The cdb of this DBExternalProperties.
Return type:str
control_file_type

Gets the control_file_type of this DBExternalProperties. Type of control file.

Returns:The control_file_type of this DBExternalProperties.
Return type:str
created

Gets the created of this DBExternalProperties. Creation time.

Returns:The created of this DBExternalProperties.
Return type:datetime
database_role

Gets the database_role of this DBExternalProperties. Current role of the database.

Returns:The database_role of this DBExternalProperties.
Return type:str
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.

guard_status

Gets the guard_status of this DBExternalProperties. Data protection policy.

Returns:The guard_status of this DBExternalProperties.
Return type:str
log_mode

Gets the log_mode of this DBExternalProperties. Archive log mode.

Returns:The log_mode of this DBExternalProperties.
Return type:str
metric_name

[Required] Gets the metric_name of this DatabaseConfigurationMetricGroup. Name of the metric group.

Allowed values for this property are: “DB_EXTERNAL_PROPERTIES”, “DB_EXTERNAL_INSTANCE”, “DB_OS_CONFIG_INSTANCE”

Returns:The metric_name of this DatabaseConfigurationMetricGroup.
Return type:str
name

Gets the name of this DBExternalProperties. Name of the database.

Returns:The name of this DBExternalProperties.
Return type:str
open_mode

Gets the open_mode of this DBExternalProperties. Open mode information.

Returns:The open_mode of this DBExternalProperties.
Return type:str
platform_name

Gets the platform_name of this DBExternalProperties. Platform name of the database, OS with architecture.

Returns:The platform_name of this DBExternalProperties.
Return type:str
switchover_status

Gets the switchover_status of this DBExternalProperties. Indicates whether switchover is allowed.

Returns:The switchover_status of this DBExternalProperties.
Return type:str
time_collected

Gets the time_collected of this DatabaseConfigurationMetricGroup. Collection timestamp Example: “2020-05-06T00:00:00.000Z”

Returns:The time_collected of this DatabaseConfigurationMetricGroup.
Return type:datetime