DataSourceEventSummary¶
- class oci.cloud_guard.models.DataSourceEventSummary(**kwargs)¶
Bases:
objectSummary information about a data source event.
Attributes:
A constant which can be used with the status property of a DataSourceEventSummary.
A constant which can be used with the status property of a DataSourceEventSummary.
Gets the comments of this DataSourceEventSummary.
[Required] Gets the data_source_id of this DataSourceEventSummary.
[Required] Gets the event_date of this DataSourceEventSummary.
[Required] Gets the event_info of this DataSourceEventSummary.
[Required] Gets the region of this DataSourceEventSummary.
Gets the status of this DataSourceEventSummary.
[Required] Gets the time_created of this DataSourceEventSummary.
Methods:
__init__(**kwargs)Initializes a new DataSourceEventSummary object with values from keyword arguments.
- STATUS_FAILURE = 'FAILURE'¶
A constant which can be used with the status property of a DataSourceEventSummary. This constant has a value of “FAILURE”
- STATUS_SUCCESS = 'SUCCESS'¶
A constant which can be used with the status property of a DataSourceEventSummary. This constant has a value of “SUCCESS”
- __init__(**kwargs)¶
Initializes a new DataSourceEventSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
region (str) – The value to assign to the region property of this DataSourceEventSummary.
event_date (datetime) – The value to assign to the event_date property of this DataSourceEventSummary.
data_source_id (str) – The value to assign to the data_source_id property of this DataSourceEventSummary.
time_created (datetime) – The value to assign to the time_created property of this DataSourceEventSummary.
status (str) – The value to assign to the status property of this DataSourceEventSummary. Allowed values for this property are: “SUCCESS”, “FAILURE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
comments (str) – The value to assign to the comments property of this DataSourceEventSummary.
event_info (oci.cloud_guard.models.DataSourceEventInfo) – The value to assign to the event_info property of this DataSourceEventSummary.
- property comments¶
Gets the comments of this DataSourceEventSummary. Data source event comments
- Returns
The comments of this DataSourceEventSummary.
- Return type
str
- property data_source_id¶
[Required] Gets the data_source_id of this DataSourceEventSummary. Unique identifier of data source.
- Returns
The data_source_id of this DataSourceEventSummary.
- Return type
str
- property event_date¶
[Required] Gets the event_date of this DataSourceEventSummary. Data source event date and time
- Returns
The event_date of this DataSourceEventSummary.
- Return type
datetime
- property event_info¶
[Required] Gets the event_info of this DataSourceEventSummary.
- Returns
The event_info of this DataSourceEventSummary.
- Return type
- property region¶
[Required] Gets the region of this DataSourceEventSummary. Data source event region
- Returns
The region of this DataSourceEventSummary.
- Return type
str
- property status¶
Gets the status of this DataSourceEventSummary. Current data source event info status
Allowed values for this property are: “SUCCESS”, “FAILURE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The status of this DataSourceEventSummary.
- Return type
str
- property time_created¶
[Required] Gets the time_created of this DataSourceEventSummary. Data source event creation date and time
- Returns
The time_created of this DataSourceEventSummary.
- Return type
datetime