CreateAdhocQueryDetails¶
- class oci.cloud_guard.models.CreateAdhocQueryDetails(**kwargs)¶
Bases:
objectDetails for creating adhoc query.
Methods:
__init__(**kwargs)Initializes a new CreateAdhocQueryDetails object with values from keyword arguments.
Attributes:
[Required] Gets the adhoc_query_details of this CreateAdhocQueryDetails.
[Required] Gets the compartment_id of this CreateAdhocQueryDetails.
Gets the defined_tags of this CreateAdhocQueryDetails.
Gets the freeform_tags of this CreateAdhocQueryDetails.
- __init__(**kwargs)¶
Initializes a new CreateAdhocQueryDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
compartment_id (str) – The value to assign to the compartment_id property of this CreateAdhocQueryDetails.
adhoc_query_details (oci.cloud_guard.models.AdhocQueryDetails) – The value to assign to the adhoc_query_details property of this CreateAdhocQueryDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateAdhocQueryDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateAdhocQueryDetails.
- property adhoc_query_details¶
[Required] Gets the adhoc_query_details of this CreateAdhocQueryDetails.
- Returns
The adhoc_query_details of this CreateAdhocQueryDetails.
- Return type
- property compartment_id¶
[Required] Gets the compartment_id of this CreateAdhocQueryDetails. Compartment OCID of adhoc query
- Returns
The compartment_id of this CreateAdhocQueryDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateAdhocQueryDetails. 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 CreateAdhocQueryDetails.
- Return type
dict(str, dict(str, object))
- property freeform_tags¶
Gets the freeform_tags of this CreateAdhocQueryDetails. 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 CreateAdhocQueryDetails.
- Return type
dict(str, str)