ScheduledQueryDataSourceObjDetails

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

Bases: DataSourceDetails

The information about new schedule Query of type DataSource.

Attributes:

DATA_SOURCE_FEED_PROVIDER_LOGGINGQUERY

A constant which can be used with the data_source_feed_provider property of a DataSourceDetails.

DATA_SOURCE_FEED_PROVIDER_SCHEDULEDQUERY

A constant which can be used with the data_source_feed_provider property of a DataSourceDetails.

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'

A constant which can be used with the data_source_feed_provider property of a DataSourceDetails. 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 DataSourceDetails. This constant has a value of “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.

property 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

property 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.

property interval_in_seconds

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

Returns

The interval_in_seconds of this ScheduledQueryDataSourceObjDetails.

Return type

int

property query

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

Returns

The query of this ScheduledQueryDataSourceObjDetails.

Return type

str

property 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]