DataSourceSummary¶
-
class
oci.cloud_guard.models.
DataSourceSummary
(**kwargs)¶ Bases:
object
Summary information for a specific data source.
Attributes
DATA_SOURCE_FEED_PROVIDER_LOGGINGQUERY
A constant which can be used with the data_source_feed_provider property of a DataSourceSummary. DATA_SOURCE_FEED_PROVIDER_SCHEDULEDQUERY
A constant which can be used with the data_source_feed_provider property of a DataSourceSummary. LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a DataSourceSummary. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a DataSourceSummary. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a DataSourceSummary. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a DataSourceSummary. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a DataSourceSummary. LIFECYCLE_STATE_INACTIVE
A constant which can be used with the lifecycle_state property of a DataSourceSummary. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a DataSourceSummary. STATUS_DISABLED
A constant which can be used with the status property of a DataSourceSummary. STATUS_ENABLED
A constant which can be used with the status property of a DataSourceSummary. compartment_id
[Required] Gets the compartment_id of this DataSourceSummary. data_source_feed_provider
[Required] Gets the data_source_feed_provider of this DataSourceSummary. data_source_summary_details
Gets the data_source_summary_details of this DataSourceSummary. defined_tags
Gets the defined_tags of this DataSourceSummary. display_name
[Required] Gets the display_name of this DataSourceSummary. freeform_tags
Gets the freeform_tags of this DataSourceSummary. id
[Required] Gets the id of this DataSourceSummary. lifecycle_details
Gets the lifecycle_details of this DataSourceSummary. lifecycle_state
Gets the lifecycle_state of this DataSourceSummary. logging_query_details
Gets the logging_query_details of this DataSourceSummary. status
Gets the status of this DataSourceSummary. system_tags
Gets the system_tags of this DataSourceSummary. time_created
Gets the time_created of this DataSourceSummary. time_updated
Gets the time_updated of this DataSourceSummary. Methods
__init__
(**kwargs)Initializes a new DataSourceSummary object with values from keyword arguments. -
DATA_SOURCE_FEED_PROVIDER_LOGGINGQUERY
= 'LOGGINGQUERY'¶ A constant which can be used with the data_source_feed_provider property of a DataSourceSummary. This constant has a value of “LOGGINGQUERY”
-
DATA_SOURCE_FEED_PROVIDER_SCHEDULEDQUERY
= 'SCHEDULEDQUERY'¶ A constant which can be used with the data_source_feed_provider property of a DataSourceSummary. This constant has a value of “SCHEDULEDQUERY”
-
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a DataSourceSummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a DataSourceSummary. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a DataSourceSummary. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a DataSourceSummary. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a DataSourceSummary. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_INACTIVE
= 'INACTIVE'¶ A constant which can be used with the lifecycle_state property of a DataSourceSummary. This constant has a value of “INACTIVE”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a DataSourceSummary. This constant has a value of “UPDATING”
-
STATUS_DISABLED
= 'DISABLED'¶ A constant which can be used with the status property of a DataSourceSummary. This constant has a value of “DISABLED”
-
STATUS_ENABLED
= 'ENABLED'¶ A constant which can be used with the status property of a DataSourceSummary. This constant has a value of “ENABLED”
-
__init__
(**kwargs)¶ Initializes a new DataSourceSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this DataSourceSummary.
- display_name (str) – The value to assign to the display_name property of this DataSourceSummary.
- data_source_feed_provider (str) – The value to assign to the data_source_feed_provider property of this DataSourceSummary. Allowed values for this property are: “LOGGINGQUERY”, “SCHEDULEDQUERY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- compartment_id (str) – The value to assign to the compartment_id property of this DataSourceSummary.
- data_source_summary_details (oci.cloud_guard.models.DataSourceSummaryDetails) – The value to assign to the data_source_summary_details property of this DataSourceSummary.
- time_created (datetime) – The value to assign to the time_created property of this DataSourceSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this DataSourceSummary.
- status (str) – The value to assign to the status property of this DataSourceSummary. Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- logging_query_details (oci.cloud_guard.models.LoggingQueryDetails) – The value to assign to the logging_query_details property of this DataSourceSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this DataSourceSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this DataSourceSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DataSourceSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DataSourceSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DataSourceSummary.
-
compartment_id
¶ [Required] Gets the compartment_id of this DataSourceSummary. Compartment OCID of the data source
Returns: The compartment_id of this DataSourceSummary. Return type: str
-
data_source_feed_provider
¶ [Required] Gets the data_source_feed_provider of this DataSourceSummary. Type of data source feed provider(LoggingQuery)
Allowed values for this property are: “LOGGINGQUERY”, “SCHEDULEDQUERY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The data_source_feed_provider of this DataSourceSummary. Return type: str
-
data_source_summary_details
¶ Gets the data_source_summary_details of this DataSourceSummary.
Returns: The data_source_summary_details of this DataSourceSummary. Return type: oci.cloud_guard.models.DataSourceSummaryDetails
Gets the defined_tags of this DataSourceSummary. 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 DataSourceSummary. Return type: dict(str, dict(str, object))
-
display_name
¶ [Required] Gets the display_name of this DataSourceSummary. Display name of the data source
Returns: The display_name of this DataSourceSummary. Return type: str
Gets the freeform_tags of this DataSourceSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Avoid entering confidential information.
Returns: The freeform_tags of this DataSourceSummary. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this DataSourceSummary. OCID for the data source
Returns: The id of this DataSourceSummary. Return type: str
-
lifecycle_details
¶ Gets the lifecycle_details of this DataSourceSummary. A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the Failed state.
Returns: The lifecycle_details of this DataSourceSummary. Return type: str
-
lifecycle_state
¶ Gets the lifecycle_state of this DataSourceSummary. The current lifecycle state of the resource
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “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 DataSourceSummary. Return type: str
-
logging_query_details
¶ Gets the logging_query_details of this DataSourceSummary.
Returns: The logging_query_details of this DataSourceSummary. Return type: oci.cloud_guard.models.LoggingQueryDetails
-
status
¶ Gets the status of this DataSourceSummary. Status of data source
Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The status of this DataSourceSummary. Return type: str
Gets the system_tags of this DataSourceSummary. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this DataSourceSummary. Return type: dict(str, dict(str, object))
-
time_created
¶ Gets the time_created of this DataSourceSummary. The date and time the data source was created. Format defined by RFC3339.
Returns: The time_created of this DataSourceSummary. Return type: datetime
-
time_updated
¶ Gets the time_updated of this DataSourceSummary. The date and time the data source was updated. Format defined by RFC3339.
Returns: The time_updated of this DataSourceSummary. Return type: datetime
-