1. Packages
  2. Prismacloud Provider
  3. API Docs
  4. getRqlHistoricSearch
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks

prismacloud.getRqlHistoricSearch

Explore with Pulumi AI

prismacloud logo
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks

    Retrieve a specific historic RQL search.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as prismacloud from "@pulumi/prismacloud";
    
    const example = prismacloud.getRqlHistoricSearch({
        name: "",
    });
    
    import pulumi
    import pulumi_prismacloud as prismacloud
    
    example = prismacloud.get_rql_historic_search(name="")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/prismacloud/prismacloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := prismacloud.GetRqlHistoricSearch(ctx, &prismacloud.GetRqlHistoricSearchArgs{
    			Name: pulumi.StringRef(""),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Prismacloud = Pulumi.Prismacloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Prismacloud.GetRqlHistoricSearch.Invoke(new()
        {
            Name = "",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.prismacloud.PrismacloudFunctions;
    import com.pulumi.prismacloud.inputs.GetRqlHistoricSearchArgs;
    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 example = PrismacloudFunctions.getRqlHistoricSearch(GetRqlHistoricSearchArgs.builder()
                .name("")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: prismacloud:getRqlHistoricSearch
          arguments:
            name: ""
    

    Using getRqlHistoricSearch

    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 getRqlHistoricSearch(args: GetRqlHistoricSearchArgs, opts?: InvokeOptions): Promise<GetRqlHistoricSearchResult>
    function getRqlHistoricSearchOutput(args: GetRqlHistoricSearchOutputArgs, opts?: InvokeOptions): Output<GetRqlHistoricSearchResult>
    def get_rql_historic_search(id: Optional[str] = None,
                                name: Optional[str] = None,
                                search_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetRqlHistoricSearchResult
    def get_rql_historic_search_output(id: Optional[pulumi.Input[str]] = None,
                                name: Optional[pulumi.Input[str]] = None,
                                search_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetRqlHistoricSearchResult]
    func GetRqlHistoricSearch(ctx *Context, args *GetRqlHistoricSearchArgs, opts ...InvokeOption) (*GetRqlHistoricSearchResult, error)
    func GetRqlHistoricSearchOutput(ctx *Context, args *GetRqlHistoricSearchOutputArgs, opts ...InvokeOption) GetRqlHistoricSearchResultOutput

    > Note: This function is named GetRqlHistoricSearch in the Go SDK.

    public static class GetRqlHistoricSearch 
    {
        public static Task<GetRqlHistoricSearchResult> InvokeAsync(GetRqlHistoricSearchArgs args, InvokeOptions? opts = null)
        public static Output<GetRqlHistoricSearchResult> Invoke(GetRqlHistoricSearchInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRqlHistoricSearchResult> getRqlHistoricSearch(GetRqlHistoricSearchArgs args, InvokeOptions options)
    public static Output<GetRqlHistoricSearchResult> getRqlHistoricSearch(GetRqlHistoricSearchArgs args, InvokeOptions options)
    
    fn::invoke:
      function: prismacloud:index/getRqlHistoricSearch:getRqlHistoricSearch
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Name string
    Historic RQL search name
    SearchId string
    Historic RQL search ID
    Id string
    Name string
    Historic RQL search name
    SearchId string
    Historic RQL search ID
    id String
    name String
    Historic RQL search name
    searchId String
    Historic RQL search ID
    id string
    name string
    Historic RQL search name
    searchId string
    Historic RQL search ID
    id str
    name str
    Historic RQL search name
    search_id str
    Historic RQL search ID
    id String
    name String
    Historic RQL search name
    searchId String
    Historic RQL search ID

    getRqlHistoricSearch Result

    The following output properties are available:

    CloudType string
    Cloud type
    Description string
    Description
    Id string
    Name string
    Query string
    RQL query
    Saved bool
    (bool) If this is a saved search
    SearchId string
    SearchType string
    Search type
    TimeRanges List<GetRqlHistoricSearchTimeRange>
    The RQL time range spec, as defined below
    CloudType string
    Cloud type
    Description string
    Description
    Id string
    Name string
    Query string
    RQL query
    Saved bool
    (bool) If this is a saved search
    SearchId string
    SearchType string
    Search type
    TimeRanges []GetRqlHistoricSearchTimeRange
    The RQL time range spec, as defined below
    cloudType String
    Cloud type
    description String
    Description
    id String
    name String
    query String
    RQL query
    saved Boolean
    (bool) If this is a saved search
    searchId String
    searchType String
    Search type
    timeRanges List<GetRqlHistoricSearchTimeRange>
    The RQL time range spec, as defined below
    cloudType string
    Cloud type
    description string
    Description
    id string
    name string
    query string
    RQL query
    saved boolean
    (bool) If this is a saved search
    searchId string
    searchType string
    Search type
    timeRanges GetRqlHistoricSearchTimeRange[]
    The RQL time range spec, as defined below
    cloud_type str
    Cloud type
    description str
    Description
    id str
    name str
    query str
    RQL query
    saved bool
    (bool) If this is a saved search
    search_id str
    search_type str
    Search type
    time_ranges Sequence[GetRqlHistoricSearchTimeRange]
    The RQL time range spec, as defined below
    cloudType String
    Cloud type
    description String
    Description
    id String
    name String
    query String
    RQL query
    saved Boolean
    (bool) If this is a saved search
    searchId String
    searchType String
    Search type
    timeRanges List<Property Map>
    The RQL time range spec, as defined below

    Supporting Types

    GetRqlHistoricSearchTimeRange

    Absolutes List<GetRqlHistoricSearchTimeRangeAbsolute>
    An absolute time range spec, as defined below
    Relatives List<GetRqlHistoricSearchTimeRangeRelative>
    A relative time range spec, as defined below
    ToNows List<GetRqlHistoricSearchTimeRangeToNow>
    A "To Now" time range spec, as defined below
    Absolutes []GetRqlHistoricSearchTimeRangeAbsolute
    An absolute time range spec, as defined below
    Relatives []GetRqlHistoricSearchTimeRangeRelative
    A relative time range spec, as defined below
    ToNows []GetRqlHistoricSearchTimeRangeToNow
    A "To Now" time range spec, as defined below
    absolutes List<GetRqlHistoricSearchTimeRangeAbsolute>
    An absolute time range spec, as defined below
    relatives List<GetRqlHistoricSearchTimeRangeRelative>
    A relative time range spec, as defined below
    toNows List<GetRqlHistoricSearchTimeRangeToNow>
    A "To Now" time range spec, as defined below
    absolutes GetRqlHistoricSearchTimeRangeAbsolute[]
    An absolute time range spec, as defined below
    relatives GetRqlHistoricSearchTimeRangeRelative[]
    A relative time range spec, as defined below
    toNows GetRqlHistoricSearchTimeRangeToNow[]
    A "To Now" time range spec, as defined below
    absolutes Sequence[GetRqlHistoricSearchTimeRangeAbsolute]
    An absolute time range spec, as defined below
    relatives Sequence[GetRqlHistoricSearchTimeRangeRelative]
    A relative time range spec, as defined below
    to_nows Sequence[GetRqlHistoricSearchTimeRangeToNow]
    A "To Now" time range spec, as defined below
    absolutes List<Property Map>
    An absolute time range spec, as defined below
    relatives List<Property Map>
    A relative time range spec, as defined below
    toNows List<Property Map>
    A "To Now" time range spec, as defined below

    GetRqlHistoricSearchTimeRangeAbsolute

    End double
    (int) End time
    Start double
    (int) Start time
    End float64
    (int) End time
    Start float64
    (int) Start time
    end Double
    (int) End time
    start Double
    (int) Start time
    end number
    (int) End time
    start number
    (int) Start time
    end float
    (int) End time
    start float
    (int) Start time
    end Number
    (int) End time
    start Number
    (int) Start time

    GetRqlHistoricSearchTimeRangeRelative

    Amount double
    (int) The time number
    RelativeTimeType string
    Unit string
    The time unit
    Amount float64
    (int) The time number
    RelativeTimeType string
    Unit string
    The time unit
    amount Double
    (int) The time number
    relativeTimeType String
    unit String
    The time unit
    amount number
    (int) The time number
    relativeTimeType string
    unit string
    The time unit
    amount float
    (int) The time number
    relative_time_type str
    unit str
    The time unit
    amount Number
    (int) The time number
    relativeTimeType String
    unit String
    The time unit

    GetRqlHistoricSearchTimeRangeToNow

    Unit string
    The time unit
    Unit string
    The time unit
    unit String
    The time unit
    unit string
    The time unit
    unit str
    The time unit
    unit String
    The time unit

    Package Details

    Repository
    prismacloud paloaltonetworks/terraform-provider-prismacloud
    License
    Notes
    This Pulumi package is based on the prismacloud Terraform Provider.
    prismacloud logo
    prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks