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[_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)
public static Output<GetAdhocQueriesResult> getAdhocQueries(GetAdhocQueriesArgs args, InvokeOptions options)
fn::invoke:
function: oci:CloudGuard/getAdhocQueries:getAdhocQueries
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id This property is required. 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
Changes to this property will trigger replacement.
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 This property is required. 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
Changes to this property will trigger replacement.
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 This property is required. 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
Changes to this property will trigger replacement.
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 This property is required. 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
Changes to this property will trigger replacement.
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 This property is required. 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
Changes to this property will trigger replacement.
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 This property is required. 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
Changes to this property will trigger replacement.
- 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
- Items
This property is required. List<GetAdhoc Queries Adhoc Query Collection Item>
- Items
This property is required. []GetAdhoc Queries Adhoc Query Collection Item
- items
This property is required. List<GetAdhoc Queries Adhoc Query Collection Item>
- items
This property is required. GetAdhoc Queries Adhoc Query Collection Item[]
- items
This property is required. Sequence[cloudguard.Get Adhoc Queries Adhoc Query Collection Item]
- items
This property is required. List<Property Map>
GetAdhocQueriesAdhocQueryCollectionItem
- Adhoc
Query Details This property is required. List<GetAdhoc Queries Adhoc Query Collection Item Adhoc Query Detail> - Detailed information about the adhoc query.
- Adhoc
Query Regional Details This property is required. List<GetAdhoc Queries Adhoc Query Collection Item Adhoc Query Regional Detail> - Instance level status for each region
- Compartment
Id This property is required. string - The OCID of the compartment in which to list resources.
This property is required. Dictionary<string, string>- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Error
Message This property is required. string - Error message to show on UI in case of failure
This property is required. 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
This property is required. string - OCID for the adhoc query
- State
This property is required. string - The current lifecycle state of the resource.
- Status
This property is required. string - Status of the adhoc query
This property is required. 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"}
- Time
Created This property is required. string - The date and time the adhoc query was created. Format defined by RFC3339.
- Time
Updated This property is required. string - The date and time the adhoc query was updated. Format defined by RFC3339.
- Adhoc
Query Details This property is required. []GetAdhoc Queries Adhoc Query Collection Item Adhoc Query Detail - Detailed information about the adhoc query.
- Adhoc
Query Regional Details This property is required. []GetAdhoc Queries Adhoc Query Collection Item Adhoc Query Regional Detail - Instance level status for each region
- Compartment
Id This property is required. string - The OCID of the compartment in which to list resources.
This property is required. map[string]string- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Error
Message This property is required. string - Error message to show on UI in case of failure
This property is required. 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
This property is required. string - OCID for the adhoc query
- State
This property is required. string - The current lifecycle state of the resource.
- Status
This property is required. string - Status of the adhoc query
This property is required. 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"}
- Time
Created This property is required. string - The date and time the adhoc query was created. Format defined by RFC3339.
- Time
Updated This property is required. string - The date and time the adhoc query was updated. Format defined by RFC3339.
- adhoc
Query Details This property is required. List<GetAdhoc Queries Adhoc Query Collection Item Adhoc Query Detail> - Detailed information about the adhoc query.
- adhoc
Query Regional Details This property is required. List<GetAdhoc Queries Adhoc Query Collection Item Adhoc Query Regional Detail> - Instance level status for each region
- compartment
Id This property is required. String - The OCID of the compartment in which to list resources.
This property is required. Map<String,String>- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- error
Message This property is required. String - Error message to show on UI in case of failure
This property is required. 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
This property is required. String - OCID for the adhoc query
- state
This property is required. String - The current lifecycle state of the resource.
- status
This property is required. String - Status of the adhoc query
This property is required. 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"}
- time
Created This property is required. String - The date and time the adhoc query was created. Format defined by RFC3339.
- time
Updated This property is required. String - The date and time the adhoc query was updated. Format defined by RFC3339.
- adhoc
Query Details This property is required. GetAdhoc Queries Adhoc Query Collection Item Adhoc Query Detail[] - Detailed information about the adhoc query.
- adhoc
Query Regional Details This property is required. GetAdhoc Queries Adhoc Query Collection Item Adhoc Query Regional Detail[] - Instance level status for each region
- compartment
Id This property is required. string - The OCID of the compartment in which to list resources.
This property is required. {[key: string]: string}- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- error
Message This property is required. string - Error message to show on UI in case of failure
This property is required. {[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
This property is required. string - OCID for the adhoc query
- state
This property is required. string - The current lifecycle state of the resource.
- status
This property is required. string - Status of the adhoc query
This property is required. {[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"}
- time
Created This property is required. string - The date and time the adhoc query was created. Format defined by RFC3339.
- time
Updated This property is required. string - The date and time the adhoc query was updated. Format defined by RFC3339.
- adhoc_
query_ details This property is required. Sequence[cloudguard.Get Adhoc Queries Adhoc Query Collection Item Adhoc Query Detail] - Detailed information about the adhoc query.
- adhoc_
query_ regional_ details This property is required. Sequence[cloudguard.Get Adhoc Queries Adhoc Query Collection Item Adhoc Query Regional Detail] - Instance level status for each region
- compartment_
id This property is required. str - The OCID of the compartment in which to list resources.
This property is required. 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 This property is required. str - Error message to show on UI in case of failure
This property is required. 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
This property is required. str - OCID for the adhoc query
- state
This property is required. str - The current lifecycle state of the resource.
- status
This property is required. str - Status of the adhoc query
This property is required. 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 This property is required. str - The date and time the adhoc query was created. Format defined by RFC3339.
- time_
updated This property is required. str - The date and time the adhoc query was updated. Format defined by RFC3339.
- adhoc
Query Details This property is required. List<Property Map> - Detailed information about the adhoc query.
- adhoc
Query Regional Details This property is required. List<Property Map> - Instance level status for each region
- compartment
Id This property is required. String - The OCID of the compartment in which to list resources.
This property is required. Map<String>- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- error
Message This property is required. String - Error message to show on UI in case of failure
This property is required. 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
This property is required. String - OCID for the adhoc query
- state
This property is required. String - The current lifecycle state of the resource.
- status
This property is required. String - Status of the adhoc query
This property is required. 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"}
- time
Created This property is required. String - The date and time the adhoc query was created. Format defined by RFC3339.
- time
Updated This property is required. String - The date and time the adhoc query was updated. Format defined by RFC3339.
GetAdhocQueriesAdhocQueryCollectionItemAdhocQueryDetail
- Adhoc
Query Resources This property is required. List<GetAdhoc Queries Adhoc Query Collection Item Adhoc Query Detail Adhoc Query Resource> - Target information in which adhoc query will be run
- Query
This property is required. string - The adhoc query expression that is run
- Adhoc
Query Resources This property is required. []GetAdhoc Queries Adhoc Query Collection Item Adhoc Query Detail Adhoc Query Resource - Target information in which adhoc query will be run
- Query
This property is required. string - The adhoc query expression that is run
- adhoc
Query Resources This property is required. List<GetAdhoc Queries Adhoc Query Collection Item Adhoc Query Detail Adhoc Query Resource> - Target information in which adhoc query will be run
- query
This property is required. String - The adhoc query expression that is run
- adhoc
Query Resources This property is required. GetAdhoc Queries Adhoc Query Collection Item Adhoc Query Detail Adhoc Query Resource[] - Target information in which adhoc query will be run
- query
This property is required. string - The adhoc query expression that is run
- adhoc_
query_ resources This property is required. Sequence[cloudguard.Get Adhoc Queries Adhoc Query Collection Item Adhoc Query Detail Adhoc Query Resource] - Target information in which adhoc query will be run
- query
This property is required. str - The adhoc query expression that is run
- adhoc
Query Resources This property is required. List<Property Map> - Target information in which adhoc query will be run
- query
This property is required. String - The adhoc query expression that is run
GetAdhocQueriesAdhocQueryCollectionItemAdhocQueryDetailAdhocQueryResource
- Region
This property is required. string - Region name
- Resource
Ids This property is required. List<string> - List of OCIDs on which query needs to be run
- Resource
Type This property is required. string - Type of resource
- Region
This property is required. string - Region name
- Resource
Ids This property is required. []string - List of OCIDs on which query needs to be run
- Resource
Type This property is required. string - Type of resource
- region
This property is required. String - Region name
- resource
Ids This property is required. List<String> - List of OCIDs on which query needs to be run
- resource
Type This property is required. String - Type of resource
- region
This property is required. string - Region name
- resource
Ids This property is required. string[] - List of OCIDs on which query needs to be run
- resource
Type This property is required. string - Type of resource
- region
This property is required. str - Region name
- resource_
ids This property is required. Sequence[str] - List of OCIDs on which query needs to be run
- resource_
type This property is required. str - Type of resource
- region
This property is required. String - Region name
- resource
Ids This property is required. List<String> - List of OCIDs on which query needs to be run
- resource
Type This property is required. String - Type of resource
GetAdhocQueriesAdhocQueryCollectionItemAdhocQueryRegionalDetail
- Expected
Count This property is required. string - Expected number of instances on which query should run
- Expired
Count This property is required. string - Number of instances on which query expired
- Failed
Count This property is required. string - Number of instances on which query failed
- Region
This property is required. string - Region name
- Regional
Error This property is required. string - error message to show if adhoc query fails in a region
- Regional
Status This property is required. string - adhoc query status of the region
- Succeeded
Count This property is required. string - Number of instances on which query succeeded
- Expected
Count This property is required. string - Expected number of instances on which query should run
- Expired
Count This property is required. string - Number of instances on which query expired
- Failed
Count This property is required. string - Number of instances on which query failed
- Region
This property is required. string - Region name
- Regional
Error This property is required. string - error message to show if adhoc query fails in a region
- Regional
Status This property is required. string - adhoc query status of the region
- Succeeded
Count This property is required. string - Number of instances on which query succeeded
- expected
Count This property is required. String - Expected number of instances on which query should run
- expired
Count This property is required. String - Number of instances on which query expired
- failed
Count This property is required. String - Number of instances on which query failed
- region
This property is required. String - Region name
- regional
Error This property is required. String - error message to show if adhoc query fails in a region
- regional
Status This property is required. String - adhoc query status of the region
- succeeded
Count This property is required. String - Number of instances on which query succeeded
- expected
Count This property is required. string - Expected number of instances on which query should run
- expired
Count This property is required. string - Number of instances on which query expired
- failed
Count This property is required. string - Number of instances on which query failed
- region
This property is required. string - Region name
- regional
Error This property is required. string - error message to show if adhoc query fails in a region
- regional
Status This property is required. string - adhoc query status of the region
- succeeded
Count This property is required. string - Number of instances on which query succeeded
- expected_
count This property is required. str - Expected number of instances on which query should run
- expired_
count This property is required. str - Number of instances on which query expired
- failed_
count This property is required. str - Number of instances on which query failed
- region
This property is required. str - Region name
- regional_
error This property is required. str - error message to show if adhoc query fails in a region
- regional_
status This property is required. str - adhoc query status of the region
- succeeded_
count This property is required. str - Number of instances on which query succeeded
- expected
Count This property is required. String - Expected number of instances on which query should run
- expired
Count This property is required. String - Number of instances on which query expired
- failed
Count This property is required. String - Number of instances on which query failed
- region
This property is required. String - Region name
- regional
Error This property is required. String - error message to show if adhoc query fails in a region
- regional
Status This property is required. String - adhoc query status of the region
- succeeded
Count This property is required. 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.