AdhocQueryDetails

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

Bases: object

Detailed information about the adhoc query.

Methods:

__init__(**kwargs)

Initializes a new AdhocQueryDetails object with values from keyword arguments.

Attributes:

adhoc_query_resources

[Required] Gets the adhoc_query_resources of this AdhocQueryDetails.

query

[Required] Gets the query of this AdhocQueryDetails.

__init__(**kwargs)

Initializes a new AdhocQueryDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • query (str) – The value to assign to the query property of this AdhocQueryDetails.

  • adhoc_query_resources (list[oci.cloud_guard.models.AdhocQueryResource]) – The value to assign to the adhoc_query_resources property of this AdhocQueryDetails.

property adhoc_query_resources

[Required] Gets the adhoc_query_resources of this AdhocQueryDetails. Target information in which adhoc query will be run

Returns

The adhoc_query_resources of this AdhocQueryDetails.

Return type

list[oci.cloud_guard.models.AdhocQueryResource]

property query

[Required] Gets the query of this AdhocQueryDetails. The adhoc query expression that is run

Returns

The query of this AdhocQueryDetails.

Return type

str