AdhocQuerySummary

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

Bases: object

Summary information for a adhoc query.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a AdhocQuerySummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a AdhocQuerySummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a AdhocQuerySummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a AdhocQuerySummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a AdhocQuerySummary.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a AdhocQuerySummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a AdhocQuerySummary.
STATUS_COMPLETED A constant which can be used with the status property of a AdhocQuerySummary.
STATUS_CREATED A constant which can be used with the status property of a AdhocQuerySummary.
STATUS_CREATING A constant which can be used with the status property of a AdhocQuerySummary.
STATUS_EXPIRED A constant which can be used with the status property of a AdhocQuerySummary.
STATUS_FAILED A constant which can be used with the status property of a AdhocQuerySummary.
STATUS_IN_PROGRESS A constant which can be used with the status property of a AdhocQuerySummary.
STATUS_PARTIALLY_COMPLETED A constant which can be used with the status property of a AdhocQuerySummary.
adhoc_query_details [Required] Gets the adhoc_query_details of this AdhocQuerySummary.
adhoc_query_regional_details Gets the adhoc_query_regional_details of this AdhocQuerySummary.
compartment_id [Required] Gets the compartment_id of this AdhocQuerySummary.
defined_tags Gets the defined_tags of this AdhocQuerySummary.
error_message Gets the error_message of this AdhocQuerySummary.
freeform_tags Gets the freeform_tags of this AdhocQuerySummary.
id [Required] Gets the id of this AdhocQuerySummary.
lifecycle_details Gets the lifecycle_details of this AdhocQuerySummary.
lifecycle_state Gets the lifecycle_state of this AdhocQuerySummary.
status [Required] Gets the status of this AdhocQuerySummary.
system_tags Gets the system_tags of this AdhocQuerySummary.
time_created Gets the time_created of this AdhocQuerySummary.
time_updated Gets the time_updated of this AdhocQuerySummary.

Methods

__init__(**kwargs) Initializes a new AdhocQuerySummary object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a AdhocQuerySummary. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a AdhocQuerySummary. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a AdhocQuerySummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a AdhocQuerySummary. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a AdhocQuerySummary. This constant has a value of “FAILED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a AdhocQuerySummary. This constant has a value of “INACTIVE”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a AdhocQuerySummary. This constant has a value of “UPDATING”

STATUS_COMPLETED = 'COMPLETED'

A constant which can be used with the status property of a AdhocQuerySummary. This constant has a value of “COMPLETED”

STATUS_CREATED = 'CREATED'

A constant which can be used with the status property of a AdhocQuerySummary. This constant has a value of “CREATED”

STATUS_CREATING = 'CREATING'

A constant which can be used with the status property of a AdhocQuerySummary. This constant has a value of “CREATING”

STATUS_EXPIRED = 'EXPIRED'

A constant which can be used with the status property of a AdhocQuerySummary. This constant has a value of “EXPIRED”

STATUS_FAILED = 'FAILED'

A constant which can be used with the status property of a AdhocQuerySummary. This constant has a value of “FAILED”

STATUS_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the status property of a AdhocQuerySummary. This constant has a value of “IN_PROGRESS”

STATUS_PARTIALLY_COMPLETED = 'PARTIALLY_COMPLETED'

A constant which can be used with the status property of a AdhocQuerySummary. This constant has a value of “PARTIALLY_COMPLETED”

__init__(**kwargs)

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

Parameters:
  • id (str) – The value to assign to the id property of this AdhocQuerySummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this AdhocQuerySummary.
  • time_created (datetime) – The value to assign to the time_created property of this AdhocQuerySummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this AdhocQuerySummary.
  • status (str) – The value to assign to the status property of this AdhocQuerySummary. Allowed values for this property are: “CREATING”, “CREATED”, “IN_PROGRESS”, “PARTIALLY_COMPLETED”, “EXPIRED”, “COMPLETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • adhoc_query_regional_details (list[oci.cloud_guard.models.AdhocQueryRegionalDetails]) – The value to assign to the adhoc_query_regional_details property of this AdhocQuerySummary.
  • adhoc_query_details (oci.cloud_guard.models.AdhocQueryDetails) – The value to assign to the adhoc_query_details property of this AdhocQuerySummary.
  • error_message (str) – The value to assign to the error_message property of this AdhocQuerySummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AdhocQuerySummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this AdhocQuerySummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AdhocQuerySummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AdhocQuerySummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AdhocQuerySummary.
adhoc_query_details

[Required] Gets the adhoc_query_details of this AdhocQuerySummary.

Returns:The adhoc_query_details of this AdhocQuerySummary.
Return type:oci.cloud_guard.models.AdhocQueryDetails
adhoc_query_regional_details

Gets the adhoc_query_regional_details of this AdhocQuerySummary. List of instance level status values for each region

Returns:The adhoc_query_regional_details of this AdhocQuerySummary.
Return type:list[oci.cloud_guard.models.AdhocQueryRegionalDetails]
compartment_id

[Required] Gets the compartment_id of this AdhocQuerySummary. Compartment OCID of the adhoc query

Returns:The compartment_id of this AdhocQuerySummary.
Return type:str
defined_tags

Gets the defined_tags of this AdhocQuerySummary. 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 AdhocQuerySummary.
Return type:dict(str, dict(str, object))
error_message

Gets the error_message of this AdhocQuerySummary. Error message to show on UI in case of failure

Returns:The error_message of this AdhocQuerySummary.
Return type:str
freeform_tags

Gets the freeform_tags of this AdhocQuerySummary. 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 AdhocQuerySummary.
Return type:dict(str, str)
id

[Required] Gets the id of this AdhocQuerySummary. OCID for adhoc query

Returns:The id of this AdhocQuerySummary.
Return type:str
lifecycle_details

Gets the lifecycle_details of this AdhocQuerySummary. A message describing the current state in more detail. For example, this can be used to provide actionable information for a zone in the Failed state.

Returns:The lifecycle_details of this AdhocQuerySummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this AdhocQuerySummary. The current lifecycle state of the resource

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this AdhocQuerySummary.
Return type:str
status

[Required] Gets the status of this AdhocQuerySummary. Status of the adhoc query

Allowed values for this property are: “CREATING”, “CREATED”, “IN_PROGRESS”, “PARTIALLY_COMPLETED”, “EXPIRED”, “COMPLETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The status of this AdhocQuerySummary.
Return type:str
system_tags

Gets the system_tags of this AdhocQuerySummary. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.

Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this AdhocQuerySummary.
Return type:dict(str, dict(str, object))
time_created

Gets the time_created of this AdhocQuerySummary. The date and time the adhoc query was created. Format defined by RFC3339.

Returns:The time_created of this AdhocQuerySummary.
Return type:datetime
time_updated

Gets the time_updated of this AdhocQuerySummary. The date and time the adhoc query was updated. Format defined by RFC3339.

Returns:The time_updated of this AdhocQuerySummary.
Return type:datetime