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/v2/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[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[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)
public static Output<GetAdhocQueriesResult> getAdhocQueries(GetAdhocQueriesArgs args, InvokeOptions options)
fn::invoke:
  function: oci:CloudGuard/getAdhocQueries:getAdhocQueries
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CompartmentId string
- The OCID of the compartment in which to list resources.
- AccessLevel string
- Valid values are RESTRICTEDandACCESSIBLE. Default isRESTRICTED. Setting this toACCESSIBLEreturns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set toRESTRICTEDpermissions are checked and no partial results are displayed.
- AdhocQuery stringStatus 
- The status of the adhoc query created. Default value for state is provisioning. If no value is specified state is provisioning.
- CompartmentId 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<GetAdhoc Queries Filter> 
- TimeEnded stringFilter Query Param 
- End time for a filter. If end time is not specified, end time will be set to current time.
- TimeStarted stringFilter Query Param 
- Start time for a filter. If start time is not specified, start time will be set to current time - 30 days.
- CompartmentId string
- The OCID of the compartment in which to list resources.
- AccessLevel string
- Valid values are RESTRICTEDandACCESSIBLE. Default isRESTRICTED. Setting this toACCESSIBLEreturns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set toRESTRICTEDpermissions are checked and no partial results are displayed.
- AdhocQuery stringStatus 
- The status of the adhoc query created. Default value for state is provisioning. If no value is specified state is provisioning.
- CompartmentId 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
[]GetAdhoc Queries Filter 
- TimeEnded stringFilter Query Param 
- End time for a filter. If end time is not specified, end time will be set to current time.
- TimeStarted stringFilter Query Param 
- Start time for a filter. If start time is not specified, start time will be set to current time - 30 days.
- compartmentId String
- The OCID of the compartment in which to list resources.
- accessLevel String
- Valid values are RESTRICTEDandACCESSIBLE. Default isRESTRICTED. Setting this toACCESSIBLEreturns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set toRESTRICTEDpermissions are checked and no partial results are displayed.
- adhocQuery StringStatus 
- The status of the adhoc query created. Default value for state is provisioning. If no value is specified state is provisioning.
- compartmentId 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<GetAdhoc Queries Filter> 
- timeEnded StringFilter Query Param 
- End time for a filter. If end time is not specified, end time will be set to current time.
- timeStarted StringFilter Query Param 
- Start time for a filter. If start time is not specified, start time will be set to current time - 30 days.
- compartmentId string
- The OCID of the compartment in which to list resources.
- accessLevel string
- Valid values are RESTRICTEDandACCESSIBLE. Default isRESTRICTED. Setting this toACCESSIBLEreturns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set toRESTRICTEDpermissions are checked and no partial results are displayed.
- adhocQuery stringStatus 
- The status of the adhoc query created. Default value for state is provisioning. If no value is specified state is provisioning.
- compartmentId 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
GetAdhoc Queries Filter[] 
- timeEnded stringFilter Query Param 
- End time for a filter. If end time is not specified, end time will be set to current time.
- timeStarted 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 RESTRICTEDandACCESSIBLE. Default isRESTRICTED. Setting this toACCESSIBLEreturns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set toRESTRICTEDpermissions 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[GetAdhoc 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.
- compartmentId String
- The OCID of the compartment in which to list resources.
- accessLevel String
- Valid values are RESTRICTEDandACCESSIBLE. Default isRESTRICTED. Setting this toACCESSIBLEreturns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set toRESTRICTEDpermissions are checked and no partial results are displayed.
- adhocQuery StringStatus 
- The status of the adhoc query created. Default value for state is provisioning. If no value is specified state is provisioning.
- compartmentId 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>
- timeEnded StringFilter Query Param 
- End time for a filter. If end time is not specified, end time will be set to current time.
- timeStarted 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:
- AdhocQuery List<GetCollections Adhoc Queries Adhoc Query Collection> 
- The list of adhoc_query_collection.
- CompartmentId string
- Compartment OCID of the adhoc query
- Id string
- The provider-assigned unique ID for this managed resource.
- AccessLevel string
- AdhocQuery stringStatus 
- CompartmentId boolIn Subtree 
- Filters
List<GetAdhoc Queries Filter> 
- TimeEnded stringFilter Query Param 
- TimeStarted stringFilter Query Param 
- AdhocQuery []GetCollections Adhoc Queries Adhoc Query Collection 
- The list of adhoc_query_collection.
- CompartmentId string
- Compartment OCID of the adhoc query
- Id string
- The provider-assigned unique ID for this managed resource.
- AccessLevel string
- AdhocQuery stringStatus 
- CompartmentId boolIn Subtree 
- Filters
[]GetAdhoc Queries Filter 
- TimeEnded stringFilter Query Param 
- TimeStarted stringFilter Query Param 
- adhocQuery List<GetCollections Adhoc Queries Adhoc Query Collection> 
- The list of adhoc_query_collection.
- compartmentId String
- Compartment OCID of the adhoc query
- id String
- The provider-assigned unique ID for this managed resource.
- accessLevel String
- adhocQuery StringStatus 
- compartmentId BooleanIn Subtree 
- filters
List<GetAdhoc Queries Filter> 
- timeEnded StringFilter Query Param 
- timeStarted StringFilter Query Param 
- adhocQuery GetCollections Adhoc Queries Adhoc Query Collection[] 
- The list of adhoc_query_collection.
- compartmentId string
- Compartment OCID of the adhoc query
- id string
- The provider-assigned unique ID for this managed resource.
- accessLevel string
- adhocQuery stringStatus 
- compartmentId booleanIn Subtree 
- filters
GetAdhoc Queries Filter[] 
- timeEnded stringFilter Query Param 
- timeStarted stringFilter Query Param 
- adhoc_query_ Sequence[Getcollections 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[GetAdhoc Queries Filter] 
- time_ended_ strfilter_ query_ param 
- time_started_ strfilter_ query_ param 
- adhocQuery List<Property Map>Collections 
- The list of adhoc_query_collection.
- compartmentId String
- Compartment OCID of the adhoc query
- id String
- The provider-assigned unique ID for this managed resource.
- accessLevel String
- adhocQuery StringStatus 
- compartmentId BooleanIn Subtree 
- filters List<Property Map>
- timeEnded StringFilter Query Param 
- timeStarted StringFilter Query Param 
Supporting Types
GetAdhocQueriesAdhocQueryCollection     
GetAdhocQueriesAdhocQueryCollectionItem      
- AdhocQuery List<GetDetails Adhoc Queries Adhoc Query Collection Item Adhoc Query Detail> 
- Detailed information about the adhoc query.
- AdhocQuery List<GetRegional Details Adhoc Queries Adhoc Query Collection Item Adhoc Query Regional Detail> 
- Instance level status for each region
- CompartmentId string
- The OCID of the compartment in which to list resources.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- ErrorMessage string
- Error message to show on UI in case of failure
- Dictionary<string, string>
- 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, string>
- 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"}
- TimeCreated string
- The date and time the adhoc query was created. Format defined by RFC3339.
- TimeUpdated string
- The date and time the adhoc query was updated. Format defined by RFC3339.
- AdhocQuery []GetDetails Adhoc Queries Adhoc Query Collection Item Adhoc Query Detail 
- Detailed information about the adhoc query.
- AdhocQuery []GetRegional Details Adhoc Queries Adhoc Query Collection Item Adhoc Query Regional Detail 
- Instance level status for each region
- CompartmentId string
- The OCID of the compartment in which to list resources.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- ErrorMessage string
- Error message to show on UI in case of failure
- map[string]string
- 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]string
- 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"}
- TimeCreated string
- The date and time the adhoc query was created. Format defined by RFC3339.
- TimeUpdated string
- The date and time the adhoc query was updated. Format defined by RFC3339.
- adhocQuery List<GetDetails Adhoc Queries Adhoc Query Collection Item Adhoc Query Detail> 
- Detailed information about the adhoc query.
- adhocQuery List<GetRegional Details Adhoc Queries Adhoc Query Collection Item Adhoc Query Regional Detail> 
- Instance level status for each region
- compartmentId String
- The OCID of the compartment in which to list resources.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- errorMessage String
- Error message to show on UI in case of failure
- Map<String,String>
- 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,String>
- 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"}
- timeCreated String
- The date and time the adhoc query was created. Format defined by RFC3339.
- timeUpdated String
- The date and time the adhoc query was updated. Format defined by RFC3339.
- adhocQuery GetDetails Adhoc Queries Adhoc Query Collection Item Adhoc Query Detail[] 
- Detailed information about the adhoc query.
- adhocQuery GetRegional Details Adhoc Queries Adhoc Query Collection Item Adhoc Query Regional Detail[] 
- Instance level status for each region
- compartmentId string
- The OCID of the compartment in which to list resources.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- errorMessage string
- Error message to show on UI in case of failure
- {[key: string]: string}
- 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]: string}
- 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"}
- timeCreated string
- The date and time the adhoc query was created. Format defined by RFC3339.
- timeUpdated string
- The date and time the adhoc query was updated. Format defined by RFC3339.
- adhoc_query_ Sequence[Getdetails Adhoc Queries Adhoc Query Collection Item Adhoc Query Detail] 
- Detailed information about the adhoc query.
- adhoc_query_ Sequence[Getregional_ details 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, str]
- 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, str]
- 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, str]
- 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.
- adhocQuery List<Property Map>Details 
- Detailed information about the adhoc query.
- adhocQuery List<Property Map>Regional Details 
- Instance level status for each region
- compartmentId String
- The OCID of the compartment in which to list resources.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
- errorMessage String
- Error message to show on UI in case of failure
- Map<String>
- 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>
- 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"}
- timeCreated String
- The date and time the adhoc query was created. Format defined by RFC3339.
- timeUpdated String
- The date and time the adhoc query was updated. Format defined by RFC3339.
GetAdhocQueriesAdhocQueryCollectionItemAdhocQueryDetail         
- AdhocQuery 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
- AdhocQuery []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
- adhocQuery 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
- adhocQuery 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[Getresources 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
- adhocQuery 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
- ResourceIds List<string>
- List of OCIDs on which query needs to be run
- ResourceType string
- Type of resource
- Region string
- Region name
- ResourceIds []string
- List of OCIDs on which query needs to be run
- ResourceType string
- Type of resource
- region String
- Region name
- resourceIds List<String>
- List of OCIDs on which query needs to be run
- resourceType String
- Type of resource
- region string
- Region name
- resourceIds string[]
- List of OCIDs on which query needs to be run
- resourceType 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
- resourceIds List<String>
- List of OCIDs on which query needs to be run
- resourceType String
- Type of resource
GetAdhocQueriesAdhocQueryCollectionItemAdhocQueryRegionalDetail          
- ExpectedCount string
- Expected number of instances on which query should run
- ExpiredCount string
- Number of instances on which query expired
- FailedCount string
- Number of instances on which query failed
- Region string
- Region name
- RegionalError string
- error message to show if adhoc query fails in a region
- RegionalStatus string
- adhoc query status of the region
- SucceededCount string
- Number of instances on which query succeeded
- ExpectedCount string
- Expected number of instances on which query should run
- ExpiredCount string
- Number of instances on which query expired
- FailedCount string
- Number of instances on which query failed
- Region string
- Region name
- RegionalError string
- error message to show if adhoc query fails in a region
- RegionalStatus string
- adhoc query status of the region
- SucceededCount string
- Number of instances on which query succeeded
- expectedCount String
- Expected number of instances on which query should run
- expiredCount String
- Number of instances on which query expired
- failedCount String
- Number of instances on which query failed
- region String
- Region name
- regionalError String
- error message to show if adhoc query fails in a region
- regionalStatus String
- adhoc query status of the region
- succeededCount String
- Number of instances on which query succeeded
- expectedCount string
- Expected number of instances on which query should run
- expiredCount string
- Number of instances on which query expired
- failedCount string
- Number of instances on which query failed
- region string
- Region name
- regionalError string
- error message to show if adhoc query fails in a region
- regionalStatus string
- adhoc query status of the region
- succeededCount 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
- expectedCount String
- Expected number of instances on which query should run
- expiredCount String
- Number of instances on which query expired
- failedCount String
- Number of instances on which query failed
- region String
- Region name
- regionalError String
- error message to show if adhoc query fails in a region
- regionalStatus String
- adhoc query status of the region
- succeededCount 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 ociTerraform Provider.