PerformanceMetricsData

class oci.database_management.models.PerformanceMetricsData(**kwargs)

Bases: object

The list of Data Guard performance metrics for Managed Databases.

Attributes

DB_ROLE_FAR_SYNC A constant which can be used with the db_role property of a PerformanceMetricsData.
DB_ROLE_LOGICAL_STANDBY A constant which can be used with the db_role property of a PerformanceMetricsData.
DB_ROLE_PHYSICAL_STANDBY A constant which can be used with the db_role property of a PerformanceMetricsData.
DB_ROLE_PRIMARY A constant which can be used with the db_role property of a PerformanceMetricsData.
DB_ROLE_SNAPSHOT_STANDBY A constant which can be used with the db_role property of a PerformanceMetricsData.
compartment_id Gets the compartment_id of this PerformanceMetricsData.
database_id Gets the database_id of this PerformanceMetricsData.
db_role Gets the db_role of this PerformanceMetricsData.
db_unique_name Gets the db_unique_name of this PerformanceMetricsData.
deployment_type Gets the deployment_type of this PerformanceMetricsData.
metrics Gets the metrics of this PerformanceMetricsData.
primary_db_id Gets the primary_db_id of this PerformanceMetricsData.
primary_db_unique_name Gets the primary_db_unique_name of this PerformanceMetricsData.
resource_id Gets the resource_id of this PerformanceMetricsData.
resource_name Gets the resource_name of this PerformanceMetricsData.

Methods

__init__(**kwargs) Initializes a new PerformanceMetricsData object with values from keyword arguments.
DB_ROLE_FAR_SYNC = 'FAR_SYNC'

A constant which can be used with the db_role property of a PerformanceMetricsData. This constant has a value of “FAR_SYNC”

DB_ROLE_LOGICAL_STANDBY = 'LOGICAL_STANDBY'

A constant which can be used with the db_role property of a PerformanceMetricsData. This constant has a value of “LOGICAL_STANDBY”

DB_ROLE_PHYSICAL_STANDBY = 'PHYSICAL_STANDBY'

A constant which can be used with the db_role property of a PerformanceMetricsData. This constant has a value of “PHYSICAL_STANDBY”

DB_ROLE_PRIMARY = 'PRIMARY'

A constant which can be used with the db_role property of a PerformanceMetricsData. This constant has a value of “PRIMARY”

DB_ROLE_SNAPSHOT_STANDBY = 'SNAPSHOT_STANDBY'

A constant which can be used with the db_role property of a PerformanceMetricsData. This constant has a value of “SNAPSHOT_STANDBY”

__init__(**kwargs)

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

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this PerformanceMetricsData.
  • resource_id (str) – The value to assign to the resource_id property of this PerformanceMetricsData.
  • primary_db_id (str) – The value to assign to the primary_db_id property of this PerformanceMetricsData.
  • primary_db_unique_name (str) – The value to assign to the primary_db_unique_name property of this PerformanceMetricsData.
  • database_id (str) – The value to assign to the database_id property of this PerformanceMetricsData.
  • db_unique_name (str) – The value to assign to the db_unique_name property of this PerformanceMetricsData.
  • deployment_type (str) – The value to assign to the deployment_type property of this PerformanceMetricsData.
  • resource_name (str) – The value to assign to the resource_name property of this PerformanceMetricsData.
  • db_role (str) – The value to assign to the db_role property of this PerformanceMetricsData. Allowed values for this property are: “SNAPSHOT_STANDBY”, “LOGICAL_STANDBY”, “PHYSICAL_STANDBY”, “PRIMARY”, “FAR_SYNC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • metrics (list[oci.database_management.models.PerformanceMetrics]) – The value to assign to the metrics property of this PerformanceMetricsData.
compartment_id

Gets the compartment_id of this PerformanceMetricsData. The OCID of the compartment in which the Managed Database resides.

Returns:The compartment_id of this PerformanceMetricsData.
Return type:str
database_id

Gets the database_id of this PerformanceMetricsData. The database ID of the Managed Database. Every database had its own ID and that value is captured here.

Returns:The database_id of this PerformanceMetricsData.
Return type:str
db_role

Gets the db_role of this PerformanceMetricsData. The database role of the Managed Database.

Allowed values for this property are: “SNAPSHOT_STANDBY”, “LOGICAL_STANDBY”, “PHYSICAL_STANDBY”, “PRIMARY”, “FAR_SYNC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The db_role of this PerformanceMetricsData.
Return type:str
db_unique_name

Gets the db_unique_name of this PerformanceMetricsData. The database unique name of the Managed Database.

Returns:The db_unique_name of this PerformanceMetricsData.
Return type:str
deployment_type

Gets the deployment_type of this PerformanceMetricsData. The deployment type of the Managed Database.

Returns:The deployment_type of this PerformanceMetricsData.
Return type:str
metrics

Gets the metrics of this PerformanceMetricsData. The list of Data Guard performance metrics such as ApplyLag, TransportLag and RedoApplyRate for the Managed Databases.

Returns:The metrics of this PerformanceMetricsData.
Return type:list[oci.database_management.models.PerformanceMetrics]
primary_db_id

Gets the primary_db_id of this PerformanceMetricsData. The ID of the primary database.

Returns:The primary_db_id of this PerformanceMetricsData.
Return type:str
primary_db_unique_name

Gets the primary_db_unique_name of this PerformanceMetricsData. The primary database unique name of the Managed Database.

Returns:The primary_db_unique_name of this PerformanceMetricsData.
Return type:str
resource_id

Gets the resource_id of this PerformanceMetricsData. The OCID of the Managed Database.

Returns:The resource_id of this PerformanceMetricsData.
Return type:str
resource_name

Gets the resource_name of this PerformanceMetricsData. The resource name of the Managed Database.

Returns:The resource_name of this PerformanceMetricsData.
Return type:str