DBParameters¶
-
class
oci.opsi.models.DBParameters(**kwargs)¶ Bases:
oci.opsi.models.database_configuration_metric_group.DatabaseConfigurationMetricGroupInitialization parameters for a database.
Attributes
METRIC_NAME_ASM_ENTITYstr(object=’’) -> str METRIC_NAME_DB_CONNECTION_STATUSstr(object=’’) -> str METRIC_NAME_DB_EXTERNAL_INSTANCEstr(object=’’) -> str METRIC_NAME_DB_EXTERNAL_PROPERTIESstr(object=’’) -> str METRIC_NAME_DB_OS_CONFIG_INSTANCEstr(object=’’) -> str METRIC_NAME_DB_PARAMETERSstr(object=’’) -> str METRIC_NAME_EXADATA_CELL_CONFIGstr(object=’’) -> str METRIC_NAME_HOST_RESOURCE_ALLOCATIONstr(object=’’) -> str instance_number[Required] Gets the instance_number of this DBParameters. is_changedGets the is_changed of this DBParameters. is_defaultGets the is_default of this DBParameters. metric_name[Required] Gets the metric_name of this DatabaseConfigurationMetricGroup. parameter_name[Required] Gets the parameter_name of this DBParameters. parameter_value[Required] Gets the parameter_value of this DBParameters. snapshot_idGets the snapshot_id of this DBParameters. time_collectedGets the time_collected of this DatabaseConfigurationMetricGroup. Methods
__init__(**kwargs)Initializes a new DBParameters 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_ASM_ENTITY= 'ASM_ENTITY'¶
-
METRIC_NAME_DB_CONNECTION_STATUS= 'DB_CONNECTION_STATUS'¶
-
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'¶
-
METRIC_NAME_DB_PARAMETERS= 'DB_PARAMETERS'¶
-
METRIC_NAME_EXADATA_CELL_CONFIG= 'EXADATA_CELL_CONFIG'¶
-
METRIC_NAME_HOST_RESOURCE_ALLOCATION= 'HOST_RESOURCE_ALLOCATION'¶
-
__init__(**kwargs)¶ Initializes a new DBParameters object with values from keyword arguments. The default value of the
metric_nameattribute of this class isDB_PARAMETERSand 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 DBParameters. Allowed values for this property are: “DB_EXTERNAL_PROPERTIES”, “DB_EXTERNAL_INSTANCE”, “DB_OS_CONFIG_INSTANCE”, “DB_PARAMETERS”, “DB_CONNECTION_STATUS”, “HOST_RESOURCE_ALLOCATION”, “ASM_ENTITY”, “EXADATA_CELL_CONFIG”
- time_collected (datetime) – The value to assign to the time_collected property of this DBParameters.
- instance_number (int) – The value to assign to the instance_number property of this DBParameters.
- parameter_name (str) – The value to assign to the parameter_name property of this DBParameters.
- parameter_value (str) – The value to assign to the parameter_value property of this DBParameters.
- snapshot_id (int) – The value to assign to the snapshot_id property of this DBParameters.
- is_changed (str) – The value to assign to the is_changed property of this DBParameters.
- is_default (str) – The value to assign to the is_default property of this DBParameters.
-
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.
-
instance_number¶ [Required] Gets the instance_number of this DBParameters. Database instance number.
Returns: The instance_number of this DBParameters. Return type: int
-
is_changed¶ Gets the is_changed of this DBParameters. Indicates whether the parameter’s value changed in given snapshot or not.
Returns: The is_changed of this DBParameters. Return type: str
-
is_default¶ Gets the is_default of this DBParameters. Indicates whether this value is the default value or not.
Returns: The is_default of this DBParameters. 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”, “DB_PARAMETERS”, “DB_CONNECTION_STATUS”, “HOST_RESOURCE_ALLOCATION”, “ASM_ENTITY”, “EXADATA_CELL_CONFIG”
Returns: The metric_name of this DatabaseConfigurationMetricGroup. Return type: str
-
parameter_name¶ [Required] Gets the parameter_name of this DBParameters. Database parameter name.
Returns: The parameter_name of this DBParameters. Return type: str
-
parameter_value¶ [Required] Gets the parameter_value of this DBParameters. Database parameter value.
Returns: The parameter_value of this DBParameters. Return type: str
-
snapshot_id¶ Gets the snapshot_id of this DBParameters. AWR snapshot id for the parameter value
Returns: The snapshot_id of this DBParameters. Return type: int
-
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
-