ScheduledQueryDataSourceObjDetails

class oci.cloud_guard.models.ScheduledQueryDataSourceObjDetails(**kwargs)

Bases: oci.cloud_guard.models.data_source_details.DataSourceDetails

The information about new schedule Query of type DataSource.

Attributes

DATA_SOURCE_FEED_PROVIDER_LOGGINGQUERY str(object=’’) -> str
DATA_SOURCE_FEED_PROVIDER_SCHEDULEDQUERY str(object=’’) -> str
data_source_feed_provider [Required] Gets the data_source_feed_provider of this DataSourceDetails.
description Gets the description of this ScheduledQueryDataSourceObjDetails.
interval_in_seconds Gets the interval_in_seconds of this ScheduledQueryDataSourceObjDetails.
query Gets the query of this ScheduledQueryDataSourceObjDetails.
scheduled_query_scope_details Gets the scheduled_query_scope_details of this ScheduledQueryDataSourceObjDetails.

Methods

__init__(**kwargs) Initializes a new ScheduledQueryDataSourceObjDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
DATA_SOURCE_FEED_PROVIDER_LOGGINGQUERY = 'LOGGINGQUERY'
DATA_SOURCE_FEED_PROVIDER_SCHEDULEDQUERY = 'SCHEDULEDQUERY'
__init__(**kwargs)

Initializes a new ScheduledQueryDataSourceObjDetails object with values from keyword arguments. The default value of the data_source_feed_provider attribute of this class is SCHEDULEDQUERY and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • data_source_feed_provider (str) – The value to assign to the data_source_feed_provider property of this ScheduledQueryDataSourceObjDetails. Allowed values for this property are: “LOGGINGQUERY”, “SCHEDULEDQUERY”
  • query (str) – The value to assign to the query property of this ScheduledQueryDataSourceObjDetails.
  • description (str) – The value to assign to the description property of this ScheduledQueryDataSourceObjDetails.
  • interval_in_seconds (int) – The value to assign to the interval_in_seconds property of this ScheduledQueryDataSourceObjDetails.
  • scheduled_query_scope_details (list[oci.cloud_guard.models.ScheduledQueryScopeDetail]) – The value to assign to the scheduled_query_scope_details property of this ScheduledQueryDataSourceObjDetails.
data_source_feed_provider

[Required] Gets the data_source_feed_provider of this DataSourceDetails. 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 DataSourceDetails.
Return type:str
description

Gets the description of this ScheduledQueryDataSourceObjDetails. Description text for the query

Returns:The description of this ScheduledQueryDataSourceObjDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

interval_in_seconds

Gets the interval_in_seconds of this ScheduledQueryDataSourceObjDetails. Interval in minutes which query is run periodically.

Returns:The interval_in_seconds of this ScheduledQueryDataSourceObjDetails.
Return type:int
query

Gets the query of this ScheduledQueryDataSourceObjDetails. The continuous query expression that is run periodically.

Returns:The query of this ScheduledQueryDataSourceObjDetails.
Return type:str
scheduled_query_scope_details

Gets the scheduled_query_scope_details of this ScheduledQueryDataSourceObjDetails. Target information in which scheduled query will be run

Returns:The scheduled_query_scope_details of this ScheduledQueryDataSourceObjDetails.
Return type:list[oci.cloud_guard.models.ScheduledQueryScopeDetail]