Server IP : 103.119.228.120 / Your IP : 3.146.152.119 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/opsi/models/ |
Upload File : |
# coding: utf-8 # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200630 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class AwrHubSource(object): """ Awr hub source object """ #: A constant which can be used with the type property of a AwrHubSource. #: This constant has a value of "ADW_S" TYPE_ADW_S = "ADW_S" #: A constant which can be used with the type property of a AwrHubSource. #: This constant has a value of "ATP_S" TYPE_ATP_S = "ATP_S" #: A constant which can be used with the type property of a AwrHubSource. #: This constant has a value of "ADW_D" TYPE_ADW_D = "ADW_D" #: A constant which can be used with the type property of a AwrHubSource. #: This constant has a value of "ATP_D" TYPE_ATP_D = "ATP_D" #: A constant which can be used with the type property of a AwrHubSource. #: This constant has a value of "EXTERNAL_PDB" TYPE_EXTERNAL_PDB = "EXTERNAL_PDB" #: A constant which can be used with the type property of a AwrHubSource. #: This constant has a value of "EXTERNAL_NONCDB" TYPE_EXTERNAL_NONCDB = "EXTERNAL_NONCDB" #: A constant which can be used with the type property of a AwrHubSource. #: This constant has a value of "COMANAGED_VM_CDB" TYPE_COMANAGED_VM_CDB = "COMANAGED_VM_CDB" #: A constant which can be used with the type property of a AwrHubSource. #: This constant has a value of "COMANAGED_VM_PDB" TYPE_COMANAGED_VM_PDB = "COMANAGED_VM_PDB" #: A constant which can be used with the type property of a AwrHubSource. #: This constant has a value of "COMANAGED_VM_NONCDB" TYPE_COMANAGED_VM_NONCDB = "COMANAGED_VM_NONCDB" #: A constant which can be used with the type property of a AwrHubSource. #: This constant has a value of "COMANAGED_BM_CDB" TYPE_COMANAGED_BM_CDB = "COMANAGED_BM_CDB" #: A constant which can be used with the type property of a AwrHubSource. #: This constant has a value of "COMANAGED_BM_PDB" TYPE_COMANAGED_BM_PDB = "COMANAGED_BM_PDB" #: A constant which can be used with the type property of a AwrHubSource. #: This constant has a value of "COMANAGED_BM_NONCDB" TYPE_COMANAGED_BM_NONCDB = "COMANAGED_BM_NONCDB" #: A constant which can be used with the type property of a AwrHubSource. #: This constant has a value of "COMANAGED_EXACS_CDB" TYPE_COMANAGED_EXACS_CDB = "COMANAGED_EXACS_CDB" #: A constant which can be used with the type property of a AwrHubSource. #: This constant has a value of "COMANAGED_EXACS_PDB" TYPE_COMANAGED_EXACS_PDB = "COMANAGED_EXACS_PDB" #: A constant which can be used with the type property of a AwrHubSource. #: This constant has a value of "COMANAGED_EXACS_NONCDB" TYPE_COMANAGED_EXACS_NONCDB = "COMANAGED_EXACS_NONCDB" #: A constant which can be used with the type property of a AwrHubSource. #: This constant has a value of "UNDEFINED" TYPE_UNDEFINED = "UNDEFINED" #: A constant which can be used with the lifecycle_state property of a AwrHubSource. #: This constant has a value of "CREATING" LIFECYCLE_STATE_CREATING = "CREATING" #: A constant which can be used with the lifecycle_state property of a AwrHubSource. #: This constant has a value of "UPDATING" LIFECYCLE_STATE_UPDATING = "UPDATING" #: A constant which can be used with the lifecycle_state property of a AwrHubSource. #: This constant has a value of "ACTIVE" LIFECYCLE_STATE_ACTIVE = "ACTIVE" #: A constant which can be used with the lifecycle_state property of a AwrHubSource. #: This constant has a value of "DELETING" LIFECYCLE_STATE_DELETING = "DELETING" #: A constant which can be used with the lifecycle_state property of a AwrHubSource. #: This constant has a value of "DELETED" LIFECYCLE_STATE_DELETED = "DELETED" #: A constant which can be used with the lifecycle_state property of a AwrHubSource. #: This constant has a value of "FAILED" LIFECYCLE_STATE_FAILED = "FAILED" #: A constant which can be used with the status property of a AwrHubSource. #: This constant has a value of "ACCEPTING" STATUS_ACCEPTING = "ACCEPTING" #: A constant which can be used with the status property of a AwrHubSource. #: This constant has a value of "NOT_ACCEPTING" STATUS_NOT_ACCEPTING = "NOT_ACCEPTING" #: A constant which can be used with the status property of a AwrHubSource. #: This constant has a value of "NOT_REGISTERED" STATUS_NOT_REGISTERED = "NOT_REGISTERED" #: A constant which can be used with the status property of a AwrHubSource. #: This constant has a value of "TERMINATED" STATUS_TERMINATED = "TERMINATED" def __init__(self, **kwargs): """ Initializes a new AwrHubSource object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this AwrHubSource. :type name: str :param awr_hub_id: The value to assign to the awr_hub_id property of this AwrHubSource. :type awr_hub_id: str :param compartment_id: The value to assign to the compartment_id property of this AwrHubSource. :type compartment_id: str :param type: The value to assign to the type property of this AwrHubSource. 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", "UNDEFINED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param id: The value to assign to the id property of this AwrHubSource. :type id: str :param awr_hub_opsi_source_id: The value to assign to the awr_hub_opsi_source_id property of this AwrHubSource. :type awr_hub_opsi_source_id: str :param source_mail_box_url: The value to assign to the source_mail_box_url property of this AwrHubSource. :type source_mail_box_url: str :param associated_resource_id: The value to assign to the associated_resource_id property of this AwrHubSource. :type associated_resource_id: str :param associated_opsi_id: The value to assign to the associated_opsi_id property of this AwrHubSource. :type associated_opsi_id: str :param time_created: The value to assign to the time_created property of this AwrHubSource. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this AwrHubSource. :type time_updated: datetime :param freeform_tags: The value to assign to the freeform_tags property of this AwrHubSource. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this AwrHubSource. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this AwrHubSource. :type system_tags: dict(str, dict(str, object)) :param is_registered_with_awr_hub: The value to assign to the is_registered_with_awr_hub property of this AwrHubSource. :type is_registered_with_awr_hub: bool :param awr_source_database_id: The value to assign to the awr_source_database_id property of this AwrHubSource. :type awr_source_database_id: str :param min_snapshot_identifier: The value to assign to the min_snapshot_identifier property of this AwrHubSource. :type min_snapshot_identifier: float :param max_snapshot_identifier: The value to assign to the max_snapshot_identifier property of this AwrHubSource. :type max_snapshot_identifier: float :param time_first_snapshot_generated: The value to assign to the time_first_snapshot_generated property of this AwrHubSource. :type time_first_snapshot_generated: datetime :param time_last_snapshot_generated: The value to assign to the time_last_snapshot_generated property of this AwrHubSource. :type time_last_snapshot_generated: datetime :param hours_since_last_import: The value to assign to the hours_since_last_import property of this AwrHubSource. :type hours_since_last_import: float :param lifecycle_state: The value to assign to the lifecycle_state property of this AwrHubSource. 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'. :type lifecycle_state: str :param status: The value to assign to the status property of this AwrHubSource. 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'. :type status: str """ self.swagger_types = { 'name': 'str', 'awr_hub_id': 'str', 'compartment_id': 'str', 'type': 'str', 'id': 'str', 'awr_hub_opsi_source_id': 'str', 'source_mail_box_url': 'str', 'associated_resource_id': 'str', 'associated_opsi_id': 'str', 'time_created': 'datetime', 'time_updated': 'datetime', 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))', 'system_tags': 'dict(str, dict(str, object))', 'is_registered_with_awr_hub': 'bool', 'awr_source_database_id': 'str', 'min_snapshot_identifier': 'float', 'max_snapshot_identifier': 'float', 'time_first_snapshot_generated': 'datetime', 'time_last_snapshot_generated': 'datetime', 'hours_since_last_import': 'float', 'lifecycle_state': 'str', 'status': 'str' } self.attribute_map = { 'name': 'name', 'awr_hub_id': 'awrHubId', 'compartment_id': 'compartmentId', 'type': 'type', 'id': 'id', 'awr_hub_opsi_source_id': 'awrHubOpsiSourceId', 'source_mail_box_url': 'sourceMailBoxUrl', 'associated_resource_id': 'associatedResourceId', 'associated_opsi_id': 'associatedOpsiId', 'time_created': 'timeCreated', 'time_updated': 'timeUpdated', 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags', 'system_tags': 'systemTags', 'is_registered_with_awr_hub': 'isRegisteredWithAwrHub', 'awr_source_database_id': 'awrSourceDatabaseId', 'min_snapshot_identifier': 'minSnapshotIdentifier', 'max_snapshot_identifier': 'maxSnapshotIdentifier', 'time_first_snapshot_generated': 'timeFirstSnapshotGenerated', 'time_last_snapshot_generated': 'timeLastSnapshotGenerated', 'hours_since_last_import': 'hoursSinceLastImport', 'lifecycle_state': 'lifecycleState', 'status': 'status' } self._name = None self._awr_hub_id = None self._compartment_id = None self._type = None self._id = None self._awr_hub_opsi_source_id = None self._source_mail_box_url = None self._associated_resource_id = None self._associated_opsi_id = None self._time_created = None self._time_updated = None self._freeform_tags = None self._defined_tags = None self._system_tags = None self._is_registered_with_awr_hub = None self._awr_source_database_id = None self._min_snapshot_identifier = None self._max_snapshot_identifier = None self._time_first_snapshot_generated = None self._time_last_snapshot_generated = None self._hours_since_last_import = None self._lifecycle_state = None self._status = None @property def name(self): """ **[Required]** Gets the name of this AwrHubSource. The name of the Awr Hub source database. :return: The name of this AwrHubSource. :rtype: str """ return self._name @name.setter def name(self, name): """ Sets the name of this AwrHubSource. The name of the Awr Hub source database. :param name: The name of this AwrHubSource. :type: str """ self._name = name @property def awr_hub_id(self): """ **[Required]** Gets the awr_hub_id of this AwrHubSource. AWR Hub OCID :return: The awr_hub_id of this AwrHubSource. :rtype: str """ return self._awr_hub_id @awr_hub_id.setter def awr_hub_id(self, awr_hub_id): """ Sets the awr_hub_id of this AwrHubSource. AWR Hub OCID :param awr_hub_id: The awr_hub_id of this AwrHubSource. :type: str """ self._awr_hub_id = awr_hub_id @property def compartment_id(self): """ **[Required]** Gets the compartment_id of this AwrHubSource. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this AwrHubSource. :rtype: str """ return self._compartment_id @compartment_id.setter def compartment_id(self, compartment_id): """ Sets the compartment_id of this AwrHubSource. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this AwrHubSource. :type: str """ self._compartment_id = compartment_id @property def type(self): """ **[Required]** Gets the type of this AwrHubSource. 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", "UNDEFINED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this AwrHubSource. :rtype: str """ return self._type @type.setter def type(self, type): """ Sets the type of this AwrHubSource. source type of the database :param type: The type of this AwrHubSource. :type: str """ allowed_values = ["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", "UNDEFINED"] if not value_allowed_none_or_none_sentinel(type, allowed_values): type = 'UNKNOWN_ENUM_VALUE' self._type = type @property def id(self): """ **[Required]** Gets the id of this AwrHubSource. The `OCID`__ of the Awr Hub source database. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this AwrHubSource. :rtype: str """ return self._id @id.setter def id(self, id): """ Sets the id of this AwrHubSource. The `OCID`__ of the Awr Hub source database. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this AwrHubSource. :type: str """ self._id = id @property def awr_hub_opsi_source_id(self): """ **[Required]** Gets the awr_hub_opsi_source_id of this AwrHubSource. The shorted string of the Awr Hub source database identifier. :return: The awr_hub_opsi_source_id of this AwrHubSource. :rtype: str """ return self._awr_hub_opsi_source_id @awr_hub_opsi_source_id.setter def awr_hub_opsi_source_id(self, awr_hub_opsi_source_id): """ Sets the awr_hub_opsi_source_id of this AwrHubSource. The shorted string of the Awr Hub source database identifier. :param awr_hub_opsi_source_id: The awr_hub_opsi_source_id of this AwrHubSource. :type: str """ self._awr_hub_opsi_source_id = awr_hub_opsi_source_id @property def source_mail_box_url(self): """ **[Required]** Gets the source_mail_box_url of this AwrHubSource. Opsi Mailbox URL based on the Awr Hub and Awr Hub source. :return: The source_mail_box_url of this AwrHubSource. :rtype: str """ return self._source_mail_box_url @source_mail_box_url.setter def source_mail_box_url(self, source_mail_box_url): """ Sets the source_mail_box_url of this AwrHubSource. Opsi Mailbox URL based on the Awr Hub and Awr Hub source. :param source_mail_box_url: The source_mail_box_url of this AwrHubSource. :type: str """ self._source_mail_box_url = source_mail_box_url @property def associated_resource_id(self): """ Gets the associated_resource_id of this AwrHubSource. The `OCID`__ of the database id. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The associated_resource_id of this AwrHubSource. :rtype: str """ return self._associated_resource_id @associated_resource_id.setter def associated_resource_id(self, associated_resource_id): """ Sets the associated_resource_id of this AwrHubSource. The `OCID`__ of the database id. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param associated_resource_id: The associated_resource_id of this AwrHubSource. :type: str """ self._associated_resource_id = associated_resource_id @property def associated_opsi_id(self): """ Gets the associated_opsi_id of this AwrHubSource. The `OCID`__ of the database id. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The associated_opsi_id of this AwrHubSource. :rtype: str """ return self._associated_opsi_id @associated_opsi_id.setter def associated_opsi_id(self, associated_opsi_id): """ Sets the associated_opsi_id of this AwrHubSource. The `OCID`__ of the database id. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param associated_opsi_id: The associated_opsi_id of this AwrHubSource. :type: str """ self._associated_opsi_id = associated_opsi_id @property def time_created(self): """ **[Required]** Gets the time_created of this AwrHubSource. The time at which the resource was first created. An RFC3339 formatted datetime string :return: The time_created of this AwrHubSource. :rtype: datetime """ return self._time_created @time_created.setter def time_created(self, time_created): """ Sets the time_created of this AwrHubSource. The time at which the resource was first created. An RFC3339 formatted datetime string :param time_created: The time_created of this AwrHubSource. :type: datetime """ self._time_created = time_created @property def time_updated(self): """ Gets the time_updated of this AwrHubSource. The time at which the resource was last updated. An RFC3339 formatted datetime string :return: The time_updated of this AwrHubSource. :rtype: datetime """ return self._time_updated @time_updated.setter def time_updated(self, time_updated): """ Sets the time_updated of this AwrHubSource. The time at which the resource was last updated. An RFC3339 formatted datetime string :param time_updated: The time_updated of this AwrHubSource. :type: datetime """ self._time_updated = time_updated @property def freeform_tags(self): """ Gets the freeform_tags of this AwrHubSource. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}` :return: The freeform_tags of this AwrHubSource. :rtype: dict(str, str) """ return self._freeform_tags @freeform_tags.setter def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this AwrHubSource. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}` :param freeform_tags: The freeform_tags of this AwrHubSource. :type: dict(str, str) """ self._freeform_tags = freeform_tags @property def defined_tags(self): """ Gets the defined_tags of this AwrHubSource. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` :return: The defined_tags of this AwrHubSource. :rtype: dict(str, dict(str, object)) """ return self._defined_tags @defined_tags.setter def defined_tags(self, defined_tags): """ Sets the defined_tags of this AwrHubSource. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` :param defined_tags: The defined_tags of this AwrHubSource. :type: dict(str, dict(str, object)) """ self._defined_tags = defined_tags @property def system_tags(self): """ Gets the system_tags of this AwrHubSource. System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}` :return: The system_tags of this AwrHubSource. :rtype: dict(str, dict(str, object)) """ return self._system_tags @system_tags.setter def system_tags(self, system_tags): """ Sets the system_tags of this AwrHubSource. System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}` :param system_tags: The system_tags of this AwrHubSource. :type: dict(str, dict(str, object)) """ self._system_tags = system_tags @property def is_registered_with_awr_hub(self): """ Gets the is_registered_with_awr_hub of this AwrHubSource. This is `true` if the source databse is registered with a Awr Hub, otherwise `false` :return: The is_registered_with_awr_hub of this AwrHubSource. :rtype: bool """ return self._is_registered_with_awr_hub @is_registered_with_awr_hub.setter def is_registered_with_awr_hub(self, is_registered_with_awr_hub): """ Sets the is_registered_with_awr_hub of this AwrHubSource. This is `true` if the source databse is registered with a Awr Hub, otherwise `false` :param is_registered_with_awr_hub: The is_registered_with_awr_hub of this AwrHubSource. :type: bool """ self._is_registered_with_awr_hub = is_registered_with_awr_hub @property def awr_source_database_id(self): """ Gets the awr_source_database_id of this AwrHubSource. DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub. :return: The awr_source_database_id of this AwrHubSource. :rtype: str """ return self._awr_source_database_id @awr_source_database_id.setter def awr_source_database_id(self, awr_source_database_id): """ Sets the awr_source_database_id of this AwrHubSource. DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub. :param awr_source_database_id: The awr_source_database_id of this AwrHubSource. :type: str """ self._awr_source_database_id = awr_source_database_id @property def min_snapshot_identifier(self): """ Gets the min_snapshot_identifier of this AwrHubSource. The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub. :return: The min_snapshot_identifier of this AwrHubSource. :rtype: float """ return self._min_snapshot_identifier @min_snapshot_identifier.setter def min_snapshot_identifier(self, min_snapshot_identifier): """ Sets the min_snapshot_identifier of this AwrHubSource. The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub. :param min_snapshot_identifier: The min_snapshot_identifier of this AwrHubSource. :type: float """ self._min_snapshot_identifier = min_snapshot_identifier @property def max_snapshot_identifier(self): """ Gets the max_snapshot_identifier of this AwrHubSource. The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub. :return: The max_snapshot_identifier of this AwrHubSource. :rtype: float """ return self._max_snapshot_identifier @max_snapshot_identifier.setter def max_snapshot_identifier(self, max_snapshot_identifier): """ Sets the max_snapshot_identifier of this AwrHubSource. The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub. :param max_snapshot_identifier: The max_snapshot_identifier of this AwrHubSource. :type: float """ self._max_snapshot_identifier = max_snapshot_identifier @property def time_first_snapshot_generated(self): """ Gets the time_first_snapshot_generated of this AwrHubSource. 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 :return: The time_first_snapshot_generated of this AwrHubSource. :rtype: datetime """ return self._time_first_snapshot_generated @time_first_snapshot_generated.setter def time_first_snapshot_generated(self, time_first_snapshot_generated): """ Sets the time_first_snapshot_generated of this AwrHubSource. 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 :param time_first_snapshot_generated: The time_first_snapshot_generated of this AwrHubSource. :type: datetime """ self._time_first_snapshot_generated = time_first_snapshot_generated @property def time_last_snapshot_generated(self): """ Gets the time_last_snapshot_generated of this AwrHubSource. 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 :return: The time_last_snapshot_generated of this AwrHubSource. :rtype: datetime """ return self._time_last_snapshot_generated @time_last_snapshot_generated.setter def time_last_snapshot_generated(self, time_last_snapshot_generated): """ Sets the time_last_snapshot_generated of this AwrHubSource. 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 :param time_last_snapshot_generated: The time_last_snapshot_generated of this AwrHubSource. :type: datetime """ self._time_last_snapshot_generated = time_last_snapshot_generated @property def hours_since_last_import(self): """ Gets the hours_since_last_import of this AwrHubSource. Number of hours since last AWR snapshots import happened from the Source database. :return: The hours_since_last_import of this AwrHubSource. :rtype: float """ return self._hours_since_last_import @hours_since_last_import.setter def hours_since_last_import(self, hours_since_last_import): """ Sets the hours_since_last_import of this AwrHubSource. Number of hours since last AWR snapshots import happened from the Source database. :param hours_since_last_import: The hours_since_last_import of this AwrHubSource. :type: float """ self._hours_since_last_import = hours_since_last_import @property def lifecycle_state(self): """ **[Required]** Gets the lifecycle_state of this AwrHubSource. 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'. :return: The lifecycle_state of this AwrHubSource. :rtype: str """ return self._lifecycle_state @lifecycle_state.setter def lifecycle_state(self, lifecycle_state): """ Sets the lifecycle_state of this AwrHubSource. the current state of the source database :param lifecycle_state: The lifecycle_state of this AwrHubSource. :type: str """ allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"] if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values): lifecycle_state = 'UNKNOWN_ENUM_VALUE' self._lifecycle_state = lifecycle_state @property def status(self): """ **[Required]** Gets the status of this AwrHubSource. 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'. :return: The status of this AwrHubSource. :rtype: str """ return self._status @status.setter def status(self, status): """ Sets the status of this AwrHubSource. Indicates the status of a source database in Operations Insights :param status: The status of this AwrHubSource. :type: str """ allowed_values = ["ACCEPTING", "NOT_ACCEPTING", "NOT_REGISTERED", "TERMINATED"] if not value_allowed_none_or_none_sentinel(status, allowed_values): status = 'UNKNOWN_ENUM_VALUE' self._status = status def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other