DBExternalInstance¶
-
class
oci.opsi.models.DBExternalInstance(**kwargs)¶ Bases:
oci.opsi.models.database_configuration_metric_group.DatabaseConfigurationMetricGroupConfiguration parameters defined for external databases instance level.
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 cpu_countGets the cpu_count of this DBExternalInstance. database_statusGets the database_status of this DBExternalInstance. editionGets the edition of this DBExternalInstance. host_memory_capacityGets the host_memory_capacity of this DBExternalInstance. host_name[Required] Gets the host_name of this DBExternalInstance. instance_name[Required] Gets the instance_name of this DBExternalInstance. instance_roleGets the instance_role of this DBExternalInstance. loginsGets the logins of this DBExternalInstance. metric_name[Required] Gets the metric_name of this DatabaseConfigurationMetricGroup. parallelGets the parallel of this DBExternalInstance. startup_timeGets the startup_time of this DBExternalInstance. statusGets the status of this DBExternalInstance. time_collectedGets the time_collected of this DatabaseConfigurationMetricGroup. versionGets the version of this DBExternalInstance. Methods
__init__(**kwargs)Initializes a new DBExternalInstance 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 DBExternalInstance object with values from keyword arguments. The default value of the
metric_nameattribute of this class isDB_EXTERNAL_INSTANCEand 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 DBExternalInstance. 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 DBExternalInstance.
- instance_name (str) – The value to assign to the instance_name property of this DBExternalInstance.
- host_name (str) – The value to assign to the host_name property of this DBExternalInstance.
- cpu_count (int) – The value to assign to the cpu_count property of this DBExternalInstance.
- host_memory_capacity (float) – The value to assign to the host_memory_capacity property of this DBExternalInstance.
- version (str) – The value to assign to the version property of this DBExternalInstance.
- parallel (str) – The value to assign to the parallel property of this DBExternalInstance.
- instance_role (str) – The value to assign to the instance_role property of this DBExternalInstance.
- logins (str) – The value to assign to the logins property of this DBExternalInstance.
- database_status (str) – The value to assign to the database_status property of this DBExternalInstance.
- status (str) – The value to assign to the status property of this DBExternalInstance.
- edition (str) – The value to assign to the edition property of this DBExternalInstance.
- startup_time (datetime) – The value to assign to the startup_time property of this DBExternalInstance.
-
cpu_count¶ Gets the cpu_count of this DBExternalInstance. Total number of CPUs allocated for the host.
Returns: The cpu_count of this DBExternalInstance. Return type: int
-
database_status¶ Gets the database_status of this DBExternalInstance. Status of the database.
Returns: The database_status of this DBExternalInstance. Return type: str
-
edition¶ Gets the edition of this DBExternalInstance. The edition of the database.
Returns: The edition of this DBExternalInstance. 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.
-
host_memory_capacity¶ Gets the host_memory_capacity of this DBExternalInstance. Total amount of usable Physical RAM Memory available in gigabytes.
Returns: The host_memory_capacity of this DBExternalInstance. Return type: float
-
host_name¶ [Required] Gets the host_name of this DBExternalInstance. Host name of the database instance.
Returns: The host_name of this DBExternalInstance. Return type: str
-
instance_name¶ [Required] Gets the instance_name of this DBExternalInstance. Name of the database instance.
Returns: The instance_name of this DBExternalInstance. Return type: str
-
instance_role¶ Gets the instance_role of this DBExternalInstance. Role (permissions) of the database instance.
Returns: The instance_role of this DBExternalInstance. Return type: str
-
logins¶ Gets the logins of this DBExternalInstance. Indicates if logins are allowed or restricted.
Returns: The logins of this DBExternalInstance. 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
-
parallel¶ Gets the parallel of this DBExternalInstance. Indicates whether the instance is mounted in cluster database mode (YES) or not (NO).
Returns: The parallel of this DBExternalInstance. Return type: str
-
startup_time¶ Gets the startup_time of this DBExternalInstance. Start up time of the database instance.
Returns: The startup_time of this DBExternalInstance. Return type: datetime
-
status¶ Gets the status of this DBExternalInstance. Status of the instance.
Returns: The status of this DBExternalInstance. 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
-
version¶ Gets the version of this DBExternalInstance. Database version.
Returns: The version of this DBExternalInstance. Return type: str
-