AdhocQueryResource¶
- class oci.cloud_guard.models.AdhocQueryResource(**kwargs)¶
Bases:
objectDetails about the adhoc resources for which query needs to be run.
Methods:
__init__(**kwargs)Initializes a new AdhocQueryResource object with values from keyword arguments.
Attributes:
Gets the region of this AdhocQueryResource.
Gets the resource_ids of this AdhocQueryResource.
Gets the resource_type of this AdhocQueryResource.
- __init__(**kwargs)¶
Initializes a new AdhocQueryResource object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
region (str) – The value to assign to the region property of this AdhocQueryResource.
resource_ids (list[str]) – The value to assign to the resource_ids property of this AdhocQueryResource.
resource_type (str) – The value to assign to the resource_type property of this AdhocQueryResource.
- property region¶
Gets the region of this AdhocQueryResource. Region in which adhoc query needs to be run
- Returns
The region of this AdhocQueryResource.
- Return type
str
- property resource_ids¶
Gets the resource_ids of this AdhocQueryResource. List of OCIDs on which query needs to be run
- Returns
The resource_ids of this AdhocQueryResource.
- Return type
list[str]
- property resource_type¶
Gets the resource_type of this AdhocQueryResource. Type of resource
- Returns
The resource_type of this AdhocQueryResource.
- Return type
str