AwrHubSourceSummary¶
- class oci.opsi.models.AwrHubSourceSummary(**kwargs)¶
Bases:
objectAwr hub source object
Attributes:
A constant which can be used with the lifecycle_state property of a AwrHubSourceSummary.
A constant which can be used with the lifecycle_state property of a AwrHubSourceSummary.
A constant which can be used with the lifecycle_state property of a AwrHubSourceSummary.
A constant which can be used with the lifecycle_state property of a AwrHubSourceSummary.
A constant which can be used with the lifecycle_state property of a AwrHubSourceSummary.
A constant which can be used with the lifecycle_state property of a AwrHubSourceSummary.
A constant which can be used with the status property of a AwrHubSourceSummary.
A constant which can be used with the status property of a AwrHubSourceSummary.
A constant which can be used with the status property of a AwrHubSourceSummary.
A constant which can be used with the status property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
A constant which can be used with the type property of a AwrHubSourceSummary.
Gets the associated_opsi_id of this AwrHubSourceSummary.
Gets the associated_resource_id of this AwrHubSourceSummary.
[Required] Gets the awr_hub_id of this AwrHubSourceSummary.
[Required] Gets the awr_hub_opsi_source_id of this AwrHubSourceSummary.
Gets the awr_source_database_id of this AwrHubSourceSummary.
[Required] Gets the compartment_id of this AwrHubSourceSummary.
Gets the defined_tags of this AwrHubSourceSummary.
Gets the freeform_tags of this AwrHubSourceSummary.
Gets the hours_since_last_import of this AwrHubSourceSummary.
[Required] Gets the id of this AwrHubSourceSummary.
Gets the is_registered_with_awr_hub of this AwrHubSourceSummary.
[Required] Gets the lifecycle_state of this AwrHubSourceSummary.
Gets the max_snapshot_identifier of this AwrHubSourceSummary.
Gets the min_snapshot_identifier of this AwrHubSourceSummary.
[Required] Gets the name of this AwrHubSourceSummary.
[Required] Gets the source_mail_box_url of this AwrHubSourceSummary.
[Required] Gets the status of this AwrHubSourceSummary.
Gets the system_tags of this AwrHubSourceSummary.
[Required] Gets the time_created of this AwrHubSourceSummary.
Gets the time_first_snapshot_generated of this AwrHubSourceSummary.
Gets the time_last_snapshot_generated of this AwrHubSourceSummary.
Gets the time_updated of this AwrHubSourceSummary.
[Required] Gets the type of this AwrHubSourceSummary.
Methods:
__init__(**kwargs)Initializes a new AwrHubSourceSummary object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a AwrHubSourceSummary. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a AwrHubSourceSummary. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a AwrHubSourceSummary. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a AwrHubSourceSummary. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a AwrHubSourceSummary. This constant has a value of “FAILED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a AwrHubSourceSummary. This constant has a value of “UPDATING”
- STATUS_ACCEPTING = 'ACCEPTING'¶
A constant which can be used with the status property of a AwrHubSourceSummary. This constant has a value of “ACCEPTING”
- STATUS_NOT_ACCEPTING = 'NOT_ACCEPTING'¶
A constant which can be used with the status property of a AwrHubSourceSummary. This constant has a value of “NOT_ACCEPTING”
- STATUS_NOT_REGISTERED = 'NOT_REGISTERED'¶
A constant which can be used with the status property of a AwrHubSourceSummary. This constant has a value of “NOT_REGISTERED”
- STATUS_TERMINATED = 'TERMINATED'¶
A constant which can be used with the status property of a AwrHubSourceSummary. This constant has a value of “TERMINATED”
- TYPE_ADW_D = 'ADW_D'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “ADW_D”
- TYPE_ADW_S = 'ADW_S'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “ADW_S”
- TYPE_AJD_D = 'AJD_D'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “AJD_D”
- TYPE_AJD_S = 'AJD_S'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “AJD_S”
- TYPE_APEX_D = 'APEX_D'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “APEX_D”
- TYPE_APEX_S = 'APEX_S'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “APEX_S”
- TYPE_ATP_D = 'ATP_D'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “ATP_D”
- TYPE_ATP_S = 'ATP_S'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “ATP_S”
- TYPE_AVD_D = 'AVD_D'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “AVD_D”
- TYPE_AVD_S = 'AVD_S'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “AVD_S”
- TYPE_COMANAGED_BM_CDB = 'COMANAGED_BM_CDB'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “COMANAGED_BM_CDB”
- TYPE_COMANAGED_BM_NONCDB = 'COMANAGED_BM_NONCDB'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “COMANAGED_BM_NONCDB”
- TYPE_COMANAGED_BM_PDB = 'COMANAGED_BM_PDB'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “COMANAGED_BM_PDB”
- TYPE_COMANAGED_EXACS_CDB = 'COMANAGED_EXACS_CDB'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “COMANAGED_EXACS_CDB”
- TYPE_COMANAGED_EXACS_NONCDB = 'COMANAGED_EXACS_NONCDB'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “COMANAGED_EXACS_NONCDB”
- TYPE_COMANAGED_EXACS_PDB = 'COMANAGED_EXACS_PDB'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “COMANAGED_EXACS_PDB”
- TYPE_COMANAGED_VM_CDB = 'COMANAGED_VM_CDB'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “COMANAGED_VM_CDB”
- TYPE_COMANAGED_VM_NONCDB = 'COMANAGED_VM_NONCDB'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “COMANAGED_VM_NONCDB”
- TYPE_COMANAGED_VM_PDB = 'COMANAGED_VM_PDB'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “COMANAGED_VM_PDB”
- TYPE_EXTERNAL_NONCDB = 'EXTERNAL_NONCDB'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “EXTERNAL_NONCDB”
- TYPE_EXTERNAL_PDB = 'EXTERNAL_PDB'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “EXTERNAL_PDB”
- TYPE_LH_D = 'LH_D'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “LH_D”
- TYPE_LH_S = 'LH_S'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “LH_S”
- TYPE_UNDEFINED = 'UNDEFINED'¶
A constant which can be used with the type property of a AwrHubSourceSummary. This constant has a value of “UNDEFINED”
- __init__(**kwargs)¶
Initializes a new AwrHubSourceSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this AwrHubSourceSummary.
awr_hub_id (str) – The value to assign to the awr_hub_id property of this AwrHubSourceSummary.
compartment_id (str) – The value to assign to the compartment_id property of this AwrHubSourceSummary.
type (str) – The value to assign to the type property of this AwrHubSourceSummary. Allowed values for this property are: “ADW_S”, “ATP_S”, “ADW_D”, “ATP_D”, “EXTERNAL_PDB”, “EXTERNAL_NONCDB”, “COMANAGED_VM_CDB”, “COMANAGED_VM_PDB”, “COMANAGED_VM_NONCDB”, “COMANAGED_BM_CDB”, “COMANAGED_BM_PDB”, “COMANAGED_BM_NONCDB”, “COMANAGED_EXACS_CDB”, “COMANAGED_EXACS_PDB”, “COMANAGED_EXACS_NONCDB”, “LH_S”, “APEX_S”, “AJD_S”, “AVD_S”, “LH_D”, “APEX_D”, “AJD_D”, “AVD_D”, “UNDEFINED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
id (str) – The value to assign to the id property of this AwrHubSourceSummary.
awr_hub_opsi_source_id (str) – The value to assign to the awr_hub_opsi_source_id property of this AwrHubSourceSummary.
source_mail_box_url (str) – The value to assign to the source_mail_box_url property of this AwrHubSourceSummary.
associated_resource_id (str) – The value to assign to the associated_resource_id property of this AwrHubSourceSummary.
associated_opsi_id (str) – The value to assign to the associated_opsi_id property of this AwrHubSourceSummary.
time_created (datetime) – The value to assign to the time_created property of this AwrHubSourceSummary.
time_updated (datetime) – The value to assign to the time_updated property of this AwrHubSourceSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AwrHubSourceSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AwrHubSourceSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AwrHubSourceSummary.
is_registered_with_awr_hub (bool) – The value to assign to the is_registered_with_awr_hub property of this AwrHubSourceSummary.
awr_source_database_id (str) – The value to assign to the awr_source_database_id property of this AwrHubSourceSummary.
min_snapshot_identifier (float) – The value to assign to the min_snapshot_identifier property of this AwrHubSourceSummary.
max_snapshot_identifier (float) – The value to assign to the max_snapshot_identifier property of this AwrHubSourceSummary.
time_first_snapshot_generated (datetime) – The value to assign to the time_first_snapshot_generated property of this AwrHubSourceSummary.
time_last_snapshot_generated (datetime) – The value to assign to the time_last_snapshot_generated property of this AwrHubSourceSummary.
hours_since_last_import (float) – The value to assign to the hours_since_last_import property of this AwrHubSourceSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this AwrHubSourceSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
status (str) – The value to assign to the status property of this AwrHubSourceSummary. Allowed values for this property are: “ACCEPTING”, “NOT_ACCEPTING”, “NOT_REGISTERED”, “TERMINATED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property associated_opsi_id¶
Gets the associated_opsi_id of this AwrHubSourceSummary. The OCID of the database id.
- Returns
The associated_opsi_id of this AwrHubSourceSummary.
- Return type
str
- property associated_resource_id¶
Gets the associated_resource_id of this AwrHubSourceSummary. The OCID of the database id.
- Returns
The associated_resource_id of this AwrHubSourceSummary.
- Return type
str
- property awr_hub_id¶
[Required] Gets the awr_hub_id of this AwrHubSourceSummary. AWR Hub OCID
- Returns
The awr_hub_id of this AwrHubSourceSummary.
- Return type
str
- property awr_hub_opsi_source_id¶
[Required] Gets the awr_hub_opsi_source_id of this AwrHubSourceSummary. The shorted string of the Awr Hub source database identifier.
- Returns
The awr_hub_opsi_source_id of this AwrHubSourceSummary.
- Return type
str
- property awr_source_database_id¶
Gets the awr_source_database_id of this AwrHubSourceSummary. DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- Returns
The awr_source_database_id of this AwrHubSourceSummary.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this AwrHubSourceSummary. The OCID of the compartment.
- Returns
The compartment_id of this AwrHubSourceSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this AwrHubSourceSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this AwrHubSourceSummary.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
Gets the freeform_tags of this AwrHubSourceSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns
The freeform_tags of this AwrHubSourceSummary.
- Return type
dict(str, str)
- property hours_since_last_import¶
Gets the hours_since_last_import of this AwrHubSourceSummary. Number of hours since last AWR snapshots import happened from the Source database.
- Returns
The hours_since_last_import of this AwrHubSourceSummary.
- Return type
float
- property id¶
[Required] Gets the id of this AwrHubSourceSummary. The OCID of the Awr Hub source database.
- Returns
The id of this AwrHubSourceSummary.
- Return type
str
- property is_registered_with_awr_hub¶
Gets the is_registered_with_awr_hub of this AwrHubSourceSummary. This is true if the source databse is registered with a Awr Hub, otherwise false
- Returns
The is_registered_with_awr_hub of this AwrHubSourceSummary.
- Return type
bool
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this AwrHubSourceSummary. the current state of the source database
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this AwrHubSourceSummary.
- Return type
str
- property max_snapshot_identifier¶
Gets the max_snapshot_identifier of this AwrHubSourceSummary. The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
- Returns
The max_snapshot_identifier of this AwrHubSourceSummary.
- Return type
float
- property min_snapshot_identifier¶
Gets the min_snapshot_identifier of this AwrHubSourceSummary. The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
- Returns
The min_snapshot_identifier of this AwrHubSourceSummary.
- Return type
float
- property name¶
[Required] Gets the name of this AwrHubSourceSummary. The name of the Awr Hub source database.
- Returns
The name of this AwrHubSourceSummary.
- Return type
str
- property source_mail_box_url¶
[Required] Gets the source_mail_box_url of this AwrHubSourceSummary. Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
- Returns
The source_mail_box_url of this AwrHubSourceSummary.
- Return type
str
- property status¶
[Required] Gets the status of this AwrHubSourceSummary. Indicates the status of a source database in Operations Insights
Allowed values for this property are: “ACCEPTING”, “NOT_ACCEPTING”, “NOT_REGISTERED”, “TERMINATED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The status of this AwrHubSourceSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this AwrHubSourceSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Returns
The system_tags of this AwrHubSourceSummary.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this AwrHubSourceSummary. The time at which the resource was first created. An RFC3339 formatted datetime string
- Returns
The time_created of this AwrHubSourceSummary.
- Return type
datetime
- property time_first_snapshot_generated¶
Gets the time_first_snapshot_generated of this AwrHubSourceSummary. The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
- Returns
The time_first_snapshot_generated of this AwrHubSourceSummary.
- Return type
datetime
- property time_last_snapshot_generated¶
Gets the time_last_snapshot_generated of this AwrHubSourceSummary. The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
- Returns
The time_last_snapshot_generated of this AwrHubSourceSummary.
- Return type
datetime
- property time_updated¶
Gets the time_updated of this AwrHubSourceSummary. The time at which the resource was last updated. An RFC3339 formatted datetime string
- Returns
The time_updated of this AwrHubSourceSummary.
- Return type
datetime
- property type¶
[Required] Gets the type of this AwrHubSourceSummary. source type of the database
Allowed values for this property are: “ADW_S”, “ATP_S”, “ADW_D”, “ATP_D”, “EXTERNAL_PDB”, “EXTERNAL_NONCDB”, “COMANAGED_VM_CDB”, “COMANAGED_VM_PDB”, “COMANAGED_VM_NONCDB”, “COMANAGED_BM_CDB”, “COMANAGED_BM_PDB”, “COMANAGED_BM_NONCDB”, “COMANAGED_EXACS_CDB”, “COMANAGED_EXACS_PDB”, “COMANAGED_EXACS_NONCDB”, “LH_S”, “APEX_S”, “AJD_S”, “AVD_S”, “LH_D”, “APEX_D”, “AJD_D”, “AVD_D”, “UNDEFINED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this AwrHubSourceSummary.
- Return type
str