oci.CloudGuard.getAdhocQueries
Explore with Pulumi AI
This data source provides the list of Adhoc Queries in Oracle Cloud Infrastructure Cloud Guard service.
Returns a list of all adhoc queries (AdhocQuery resources) for a compartment identified by compartmentId. List is returned in a AdhocQueryCollection resource with page of AdhocQuerySummary resources.
The ListAdhocQueries operation returns only the adhoc queries in ‘compartmentId’ passed. The list does not include any subcompartments of the compartmentId passed.
The parameter accessLevel
specifies whether to return only those compartments for which the
requestor has INSPECT permissions on at least one resource directly
or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
Principal doesn’t have access to even one of the child compartments. This is valid only when
compartmentIdInSubtree
is set to true
.
The parameter compartmentIdInSubtree
applies when you perform ListAdhocQueries on the
compartmentId
passed and when it is set to true, the entire hierarchy of compartments can be returned.
To get a full list of all compartments and subcompartments in the tenancy (root compartment),
set the parameter compartmentIdInSubtree
to true and accessLevel
to ACCESSIBLE.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAdhocQueries = oci.CloudGuard.getAdhocQueries({
compartmentId: compartmentId,
accessLevel: adhocQueryAccessLevel,
adhocQueryStatus: adhocQueryAdhocQueryStatus,
compartmentIdInSubtree: adhocQueryCompartmentIdInSubtree,
timeEndedFilterQueryParam: adhocQueryTimeEndedFilterQueryParam,
timeStartedFilterQueryParam: adhocQueryTimeStartedFilterQueryParam,
});
import pulumi
import pulumi_oci as oci
test_adhoc_queries = oci.CloudGuard.get_adhoc_queries(compartment_id=compartment_id,
access_level=adhoc_query_access_level,
adhoc_query_status=adhoc_query_adhoc_query_status,
compartment_id_in_subtree=adhoc_query_compartment_id_in_subtree,
time_ended_filter_query_param=adhoc_query_time_ended_filter_query_param,
time_started_filter_query_param=adhoc_query_time_started_filter_query_param)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/CloudGuard"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := CloudGuard.GetAdhocQueries(ctx, &cloudguard.GetAdhocQueriesArgs{
CompartmentId: compartmentId,
AccessLevel: pulumi.StringRef(adhocQueryAccessLevel),
AdhocQueryStatus: pulumi.StringRef(adhocQueryAdhocQueryStatus),
CompartmentIdInSubtree: pulumi.BoolRef(adhocQueryCompartmentIdInSubtree),
TimeEndedFilterQueryParam: pulumi.StringRef(adhocQueryTimeEndedFilterQueryParam),
TimeStartedFilterQueryParam: pulumi.StringRef(adhocQueryTimeStartedFilterQueryParam),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testAdhocQueries = Oci.CloudGuard.GetAdhocQueries.Invoke(new()
{
CompartmentId = compartmentId,
AccessLevel = adhocQueryAccessLevel,
AdhocQueryStatus = adhocQueryAdhocQueryStatus,
CompartmentIdInSubtree = adhocQueryCompartmentIdInSubtree,
TimeEndedFilterQueryParam = adhocQueryTimeEndedFilterQueryParam,
TimeStartedFilterQueryParam = adhocQueryTimeStartedFilterQueryParam,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CloudGuard.CloudGuardFunctions;
import com.pulumi.oci.CloudGuard.inputs.GetAdhocQueriesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testAdhocQueries = CloudGuardFunctions.getAdhocQueries(GetAdhocQueriesArgs.builder()
.compartmentId(compartmentId)
.accessLevel(adhocQueryAccessLevel)
.adhocQueryStatus(adhocQueryAdhocQueryStatus)
.compartmentIdInSubtree(adhocQueryCompartmentIdInSubtree)
.timeEndedFilterQueryParam(adhocQueryTimeEndedFilterQueryParam)
.timeStartedFilterQueryParam(adhocQueryTimeStartedFilterQueryParam)
.build());
}
}
variables:
testAdhocQueries:
fn::invoke:
Function: oci:CloudGuard:getAdhocQueries
Arguments:
compartmentId: ${compartmentId}
accessLevel: ${adhocQueryAccessLevel}
adhocQueryStatus: ${adhocQueryAdhocQueryStatus}
compartmentIdInSubtree: ${adhocQueryCompartmentIdInSubtree}
timeEndedFilterQueryParam: ${adhocQueryTimeEndedFilterQueryParam}
timeStartedFilterQueryParam: ${adhocQueryTimeStartedFilterQueryParam}
Using getAdhocQueries
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAdhocQueries(args: GetAdhocQueriesArgs, opts?: InvokeOptions): Promise<GetAdhocQueriesResult>
function getAdhocQueriesOutput(args: GetAdhocQueriesOutputArgs, opts?: InvokeOptions): Output<GetAdhocQueriesResult>
def get_adhoc_queries(access_level: Optional[str] = None,
adhoc_query_status: Optional[str] = None,
compartment_id: Optional[str] = None,
compartment_id_in_subtree: Optional[bool] = None,
filters: Optional[Sequence[_cloudguard.GetAdhocQueriesFilter]] = None,
time_ended_filter_query_param: Optional[str] = None,
time_started_filter_query_param: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAdhocQueriesResult
def get_adhoc_queries_output(access_level: Optional[pulumi.Input[str]] = None,
adhoc_query_status: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_cloudguard.GetAdhocQueriesFilterArgs]]]] = None,
time_ended_filter_query_param: Optional[pulumi.Input[str]] = None,
time_started_filter_query_param: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAdhocQueriesResult]
func GetAdhocQueries(ctx *Context, args *GetAdhocQueriesArgs, opts ...InvokeOption) (*GetAdhocQueriesResult, error)
func GetAdhocQueriesOutput(ctx *Context, args *GetAdhocQueriesOutputArgs, opts ...InvokeOption) GetAdhocQueriesResultOutput
> Note: This function is named GetAdhocQueries
in the Go SDK.
public static class GetAdhocQueries
{
public static Task<GetAdhocQueriesResult> InvokeAsync(GetAdhocQueriesArgs args, InvokeOptions? opts = null)
public static Output<GetAdhocQueriesResult> Invoke(GetAdhocQueriesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAdhocQueriesResult> getAdhocQueries(GetAdhocQueriesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:CloudGuard/getAdhocQueries:getAdhocQueries
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Access
Level string - Valid values are
RESTRICTED
andACCESSIBLE
. Default isRESTRICTED
. Setting this toACCESSIBLE
returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set toRESTRICTED
permissions are checked and no partial results are displayed. - Adhoc
Query stringStatus - The status of the adhoc query created. Default value for state is provisioning. If no value is specified state is provisioning.
- Compartment
Id boolIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of
accessLevel
. - Filters
List<Get
Adhoc Queries Filter> - Time
Ended stringFilter Query Param - End time for a filter. If end time is not specified, end time will be set to current time.
- Time
Started stringFilter Query Param - Start time for a filter. If start time is not specified, start time will be set to current time - 30 days.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Access
Level string - Valid values are
RESTRICTED
andACCESSIBLE
. Default isRESTRICTED
. Setting this toACCESSIBLE
returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set toRESTRICTED
permissions are checked and no partial results are displayed. - Adhoc
Query stringStatus - The status of the adhoc query created. Default value for state is provisioning. If no value is specified state is provisioning.
- Compartment
Id boolIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of
accessLevel
. - Filters
[]Get
Adhoc Queries Filter - Time
Ended stringFilter Query Param - End time for a filter. If end time is not specified, end time will be set to current time.
- Time
Started stringFilter Query Param - Start time for a filter. If start time is not specified, start time will be set to current time - 30 days.
- compartment
Id String - The OCID of the compartment in which to list resources.
- access
Level String - Valid values are
RESTRICTED
andACCESSIBLE
. Default isRESTRICTED
. Setting this toACCESSIBLE
returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set toRESTRICTED
permissions are checked and no partial results are displayed. - adhoc
Query StringStatus - The status of the adhoc query created. Default value for state is provisioning. If no value is specified state is provisioning.
- compartment
Id BooleanIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of
accessLevel
. - filters
List<Get
Adhoc Queries Filter> - time
Ended StringFilter Query Param - End time for a filter. If end time is not specified, end time will be set to current time.
- time
Started StringFilter Query Param - Start time for a filter. If start time is not specified, start time will be set to current time - 30 days.
- compartment
Id string - The OCID of the compartment in which to list resources.
- access
Level string - Valid values are
RESTRICTED
andACCESSIBLE
. Default isRESTRICTED
. Setting this toACCESSIBLE
returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set toRESTRICTED
permissions are checked and no partial results are displayed. - adhoc
Query stringStatus - The status of the adhoc query created. Default value for state is provisioning. If no value is specified state is provisioning.
- compartment
Id booleanIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of
accessLevel
. - filters
Get
Adhoc Queries Filter[] - time
Ended stringFilter Query Param - End time for a filter. If end time is not specified, end time will be set to current time.
- time
Started stringFilter Query Param - Start time for a filter. If start time is not specified, start time will be set to current time - 30 days.
- compartment_
id str - The OCID of the compartment in which to list resources.
- access_
level str - Valid values are
RESTRICTED
andACCESSIBLE
. Default isRESTRICTED
. Setting this toACCESSIBLE
returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set toRESTRICTED
permissions are checked and no partial results are displayed. - adhoc_
query_ strstatus - The status of the adhoc query created. Default value for state is provisioning. If no value is specified state is provisioning.
- compartment_
id_ boolin_ subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of
accessLevel
. - filters
Sequence[cloudguard.
Get Adhoc Queries Filter] - time_
ended_ strfilter_ query_ param - End time for a filter. If end time is not specified, end time will be set to current time.
- time_
started_ strfilter_ query_ param - Start time for a filter. If start time is not specified, start time will be set to current time - 30 days.
- compartment
Id String - The OCID of the compartment in which to list resources.
- access
Level String - Valid values are
RESTRICTED
andACCESSIBLE
. Default isRESTRICTED
. Setting this toACCESSIBLE
returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set toRESTRICTED
permissions are checked and no partial results are displayed. - adhoc
Query StringStatus - The status of the adhoc query created. Default value for state is provisioning. If no value is specified state is provisioning.
- compartment
Id BooleanIn Subtree - Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of
accessLevel
. - filters List<Property Map>
- time
Ended StringFilter Query Param - End time for a filter. If end time is not specified, end time will be set to current time.
- time
Started StringFilter Query Param - Start time for a filter. If start time is not specified, start time will be set to current time - 30 days.
getAdhocQueries Result
The following output properties are available:
- Adhoc
Query List<GetCollections Adhoc Queries Adhoc Query Collection> - The list of adhoc_query_collection.
- Compartment
Id string - Compartment OCID of the adhoc query
- Id string
- The provider-assigned unique ID for this managed resource.
- Access
Level string - Adhoc
Query stringStatus - Compartment
Id boolIn Subtree - Filters
List<Get
Adhoc Queries Filter> - Time
Ended stringFilter Query Param - Time
Started stringFilter Query Param
- Adhoc
Query []GetCollections Adhoc Queries Adhoc Query Collection - The list of adhoc_query_collection.
- Compartment
Id string - Compartment OCID of the adhoc query
- Id string
- The provider-assigned unique ID for this managed resource.
- Access
Level string - Adhoc
Query stringStatus - Compartment
Id boolIn Subtree - Filters
[]Get
Adhoc Queries Filter - Time
Ended stringFilter Query Param - Time
Started stringFilter Query Param
- adhoc
Query List<GetCollections Adhoc Queries Adhoc Query Collection> - The list of adhoc_query_collection.
- compartment
Id String - Compartment OCID of the adhoc query
- id String
- The provider-assigned unique ID for this managed resource.
- access
Level String - adhoc
Query StringStatus - compartment
Id BooleanIn Subtree - filters
List<Get
Adhoc Queries Filter> - time
Ended StringFilter Query Param - time
Started StringFilter Query Param
- adhoc
Query GetCollections Adhoc Queries Adhoc Query Collection[] - The list of adhoc_query_collection.
- compartment
Id string - Compartment OCID of the adhoc query
- id string
- The provider-assigned unique ID for this managed resource.
- access
Level string - adhoc
Query stringStatus - compartment
Id booleanIn Subtree - filters
Get
Adhoc Queries Filter[] - time
Ended stringFilter Query Param - time
Started stringFilter Query Param
- adhoc_
query_ Sequence[cloudguard.collections Get Adhoc Queries Adhoc Query Collection] - The list of adhoc_query_collection.
- compartment_
id str - Compartment OCID of the adhoc query
- id str
- The provider-assigned unique ID for this managed resource.
- access_
level str - adhoc_
query_ strstatus - compartment_
id_ boolin_ subtree - filters
Sequence[cloudguard.
Get Adhoc Queries Filter] - time_
ended_ strfilter_ query_ param - time_
started_ strfilter_ query_ param
- adhoc
Query List<Property Map>Collections - The list of adhoc_query_collection.
- compartment
Id String - Compartment OCID of the adhoc query
- id String
- The provider-assigned unique ID for this managed resource.
- access
Level String - adhoc
Query StringStatus - compartment
Id BooleanIn Subtree - filters List<Property Map>
- time
Ended StringFilter Query Param - time
Started StringFilter Query Param
Supporting Types
GetAdhocQueriesAdhocQueryCollection
GetAdhocQueriesAdhocQueryCollectionItem
- Adhoc
Query List<GetDetails Adhoc Queries Adhoc Query Collection Item Adhoc Query Detail> - Detailed information about the adhoc query.
- Adhoc
Query List<GetRegional Details Adhoc Queries Adhoc Query Collection Item Adhoc Query Regional Detail> - Instance level status for each region
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Error
Message string - Error message to show on UI in case of failure
- Dictionary<string, object>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
- OCID for the adhoc query
- State string
- The current lifecycle state of the resource.
- Status string
- Status of the adhoc query
- Dictionary<string, object>
- 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"}
- Time
Created string - The date and time the adhoc query was created. Format defined by RFC3339.
- Time
Updated string - The date and time the adhoc query was updated. Format defined by RFC3339.
- Adhoc
Query []GetDetails Adhoc Queries Adhoc Query Collection Item Adhoc Query Detail - Detailed information about the adhoc query.
- Adhoc
Query []GetRegional Details Adhoc Queries Adhoc Query Collection Item Adhoc Query Regional Detail - Instance level status for each region
- Compartment
Id string - The OCID of the compartment in which to list resources.
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Error
Message string - Error message to show on UI in case of failure
- map[string]interface{}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Id string
- OCID for the adhoc query
- State string
- The current lifecycle state of the resource.
- Status string
- Status of the adhoc query
- map[string]interface{}
- 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"}
- Time
Created string - The date and time the adhoc query was created. Format defined by RFC3339.
- Time
Updated string - The date and time the adhoc query was updated. Format defined by RFC3339.
- adhoc
Query List<GetDetails Adhoc Queries Adhoc Query Collection Item Adhoc Query Detail> - Detailed information about the adhoc query.
- adhoc
Query List<GetRegional Details Adhoc Queries Adhoc Query Collection Item Adhoc Query Regional Detail> - Instance level status for each region
- compartment
Id String - The OCID of the compartment in which to list resources.
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- error
Message String - Error message to show on UI in case of failure
- Map<String,Object>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
- OCID for the adhoc query
- state String
- The current lifecycle state of the resource.
- status String
- Status of the adhoc query
- Map<String,Object>
- 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"}
- time
Created String - The date and time the adhoc query was created. Format defined by RFC3339.
- time
Updated String - The date and time the adhoc query was updated. Format defined by RFC3339.
- adhoc
Query GetDetails Adhoc Queries Adhoc Query Collection Item Adhoc Query Detail[] - Detailed information about the adhoc query.
- adhoc
Query GetRegional Details Adhoc Queries Adhoc Query Collection Item Adhoc Query Regional Detail[] - Instance level status for each region
- compartment
Id string - The OCID of the compartment in which to list resources.
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- error
Message string - Error message to show on UI in case of failure
- {[key: string]: any}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id string
- OCID for the adhoc query
- state string
- The current lifecycle state of the resource.
- status string
- Status of the adhoc query
- {[key: string]: any}
- 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"}
- time
Created string - The date and time the adhoc query was created. Format defined by RFC3339.
- time
Updated string - The date and time the adhoc query was updated. Format defined by RFC3339.
- adhoc_
query_ Sequence[cloudguard.details Get Adhoc Queries Adhoc Query Collection Item Adhoc Query Detail] - Detailed information about the adhoc query.
- adhoc_
query_ Sequence[cloudguard.regional_ details Get Adhoc Queries Adhoc Query Collection Item Adhoc Query Regional Detail] - Instance level status for each region
- compartment_
id str - The OCID of the compartment in which to list resources.
- Mapping[str, Any]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- error_
message str - Error message to show on UI in case of failure
- Mapping[str, Any]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id str
- OCID for the adhoc query
- state str
- The current lifecycle state of the resource.
- status str
- Status of the adhoc query
- Mapping[str, Any]
- 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"}
- time_
created str - The date and time the adhoc query was created. Format defined by RFC3339.
- time_
updated str - The date and time the adhoc query was updated. Format defined by RFC3339.
- adhoc
Query List<Property Map>Details - Detailed information about the adhoc query.
- adhoc
Query List<Property Map>Regional Details - Instance level status for each region
- compartment
Id String - The OCID of the compartment in which to list resources.
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- error
Message String - Error message to show on UI in case of failure
- Map<Any>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- id String
- OCID for the adhoc query
- state String
- The current lifecycle state of the resource.
- status String
- Status of the adhoc query
- Map<Any>
- 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"}
- time
Created String - The date and time the adhoc query was created. Format defined by RFC3339.
- time
Updated String - The date and time the adhoc query was updated. Format defined by RFC3339.
GetAdhocQueriesAdhocQueryCollectionItemAdhocQueryDetail
- Adhoc
Query List<GetResources Adhoc Queries Adhoc Query Collection Item Adhoc Query Detail Adhoc Query Resource> - Target information in which adhoc query will be run
- Query string
- The adhoc query expression that is run
- Adhoc
Query []GetResources Adhoc Queries Adhoc Query Collection Item Adhoc Query Detail Adhoc Query Resource - Target information in which adhoc query will be run
- Query string
- The adhoc query expression that is run
- adhoc
Query List<GetResources Adhoc Queries Adhoc Query Collection Item Adhoc Query Detail Adhoc Query Resource> - Target information in which adhoc query will be run
- query String
- The adhoc query expression that is run
- adhoc
Query GetResources Adhoc Queries Adhoc Query Collection Item Adhoc Query Detail Adhoc Query Resource[] - Target information in which adhoc query will be run
- query string
- The adhoc query expression that is run
- adhoc_
query_ Sequence[cloudguard.resources Get Adhoc Queries Adhoc Query Collection Item Adhoc Query Detail Adhoc Query Resource] - Target information in which adhoc query will be run
- query str
- The adhoc query expression that is run
- adhoc
Query List<Property Map>Resources - Target information in which adhoc query will be run
- query String
- The adhoc query expression that is run
GetAdhocQueriesAdhocQueryCollectionItemAdhocQueryDetailAdhocQueryResource
- Region string
- Region name
- Resource
Ids List<string> - List of OCIDs on which query needs to be run
- Resource
Type string - Type of resource
- Region string
- Region name
- Resource
Ids []string - List of OCIDs on which query needs to be run
- Resource
Type string - Type of resource
- region String
- Region name
- resource
Ids List<String> - List of OCIDs on which query needs to be run
- resource
Type String - Type of resource
- region string
- Region name
- resource
Ids string[] - List of OCIDs on which query needs to be run
- resource
Type string - Type of resource
- region str
- Region name
- resource_
ids Sequence[str] - List of OCIDs on which query needs to be run
- resource_
type str - Type of resource
- region String
- Region name
- resource
Ids List<String> - List of OCIDs on which query needs to be run
- resource
Type String - Type of resource
GetAdhocQueriesAdhocQueryCollectionItemAdhocQueryRegionalDetail
- Expected
Count string - Expected number of instances on which query should run
- Expired
Count string - Number of instances on which query expired
- Failed
Count string - Number of instances on which query failed
- Region string
- Region name
- Regional
Error string - error message to show if adhoc query fails in a region
- Regional
Status string - adhoc query status of the region
- Succeeded
Count string - Number of instances on which query succeeded
- Expected
Count string - Expected number of instances on which query should run
- Expired
Count string - Number of instances on which query expired
- Failed
Count string - Number of instances on which query failed
- Region string
- Region name
- Regional
Error string - error message to show if adhoc query fails in a region
- Regional
Status string - adhoc query status of the region
- Succeeded
Count string - Number of instances on which query succeeded
- expected
Count String - Expected number of instances on which query should run
- expired
Count String - Number of instances on which query expired
- failed
Count String - Number of instances on which query failed
- region String
- Region name
- regional
Error String - error message to show if adhoc query fails in a region
- regional
Status String - adhoc query status of the region
- succeeded
Count String - Number of instances on which query succeeded
- expected
Count string - Expected number of instances on which query should run
- expired
Count string - Number of instances on which query expired
- failed
Count string - Number of instances on which query failed
- region string
- Region name
- regional
Error string - error message to show if adhoc query fails in a region
- regional
Status string - adhoc query status of the region
- succeeded
Count string - Number of instances on which query succeeded
- expected_
count str - Expected number of instances on which query should run
- expired_
count str - Number of instances on which query expired
- failed_
count str - Number of instances on which query failed
- region str
- Region name
- regional_
error str - error message to show if adhoc query fails in a region
- regional_
status str - adhoc query status of the region
- succeeded_
count str - Number of instances on which query succeeded
- expected
Count String - Expected number of instances on which query should run
- expired
Count String - Number of instances on which query expired
- failed
Count String - Number of instances on which query failed
- region String
- Region name
- regional
Error String - error message to show if adhoc query fails in a region
- regional
Status String - adhoc query status of the region
- succeeded
Count String - Number of instances on which query succeeded
GetAdhocQueriesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.