Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getQueryQuickPicks

This data source provides the list of Query Quick Picks in Oracle Cloud Infrastructure Apm Traces service.

Returns a list of predefined Quick Pick queries intended to assist the user to choose a query to run. There is no sorting applied on the results.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testQueryQuickPicks = Output.Create(Oci.ApmTraces.GetQueryQuickPicks.InvokeAsync(new Oci.ApmTraces.GetQueryQuickPicksArgs
        {
            ApmDomainId = oci_apm_apm_domain.Test_apm_domain.Id,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/ApmTraces"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ApmTraces.GetQueryQuickPicks(ctx, &apmtraces.GetQueryQuickPicksArgs{
			ApmDomainId: oci_apm_apm_domain.Test_apm_domain.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_query_quick_picks = oci.ApmTraces.get_query_quick_picks(apm_domain_id=oci_apm_apm_domain["test_apm_domain"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testQueryQuickPicks = oci.ApmTraces.getQueryQuickPicks({
    apmDomainId: oci_apm_apm_domain.test_apm_domain.id,
});

Coming soon!

Using getQueryQuickPicks

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 getQueryQuickPicks(args: GetQueryQuickPicksArgs, opts?: InvokeOptions): Promise<GetQueryQuickPicksResult>
function getQueryQuickPicksOutput(args: GetQueryQuickPicksOutputArgs, opts?: InvokeOptions): Output<GetQueryQuickPicksResult>
def get_query_quick_picks(apm_domain_id: Optional[str] = None,
                          filters: Optional[Sequence[_apmtraces.GetQueryQuickPicksFilter]] = None,
                          opts: Optional[InvokeOptions] = None) -> GetQueryQuickPicksResult
def get_query_quick_picks_output(apm_domain_id: Optional[pulumi.Input[str]] = None,
                          filters: Optional[pulumi.Input[Sequence[pulumi.Input[_apmtraces.GetQueryQuickPicksFilterArgs]]]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetQueryQuickPicksResult]
func GetQueryQuickPicks(ctx *Context, args *GetQueryQuickPicksArgs, opts ...InvokeOption) (*GetQueryQuickPicksResult, error)
func GetQueryQuickPicksOutput(ctx *Context, args *GetQueryQuickPicksOutputArgs, opts ...InvokeOption) GetQueryQuickPicksResultOutput

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

public static class GetQueryQuickPicks 
{
    public static Task<GetQueryQuickPicksResult> InvokeAsync(GetQueryQuickPicksArgs args, InvokeOptions? opts = null)
    public static Output<GetQueryQuickPicksResult> Invoke(GetQueryQuickPicksInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetQueryQuickPicksResult> getQueryQuickPicks(GetQueryQuickPicksArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:ApmTraces/getQueryQuickPicks:getQueryQuickPicks
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ApmDomainId string

The APM Domain ID the request is intended for.

Filters List<GetQueryQuickPicksFilter>
ApmDomainId string

The APM Domain ID the request is intended for.

Filters []GetQueryQuickPicksFilter
apmDomainId String

The APM Domain ID the request is intended for.

filters List<GetQueryQuickPicksFilter>
apmDomainId string

The APM Domain ID the request is intended for.

filters GetQueryQuickPicksFilter[]
apm_domain_id str

The APM Domain ID the request is intended for.

filters GetQueryQuickPicksFilter]
apmDomainId String

The APM Domain ID the request is intended for.

filters List<Property Map>

getQueryQuickPicks Result

The following output properties are available:

ApmDomainId string
Id string

The provider-assigned unique ID for this managed resource.

QuickPicks List<GetQueryQuickPicksQuickPick>

The list of quick_picks.

Filters List<GetQueryQuickPicksFilter>
ApmDomainId string
Id string

The provider-assigned unique ID for this managed resource.

QuickPicks []GetQueryQuickPicksQuickPick

The list of quick_picks.

Filters []GetQueryQuickPicksFilter
apmDomainId String
id String

The provider-assigned unique ID for this managed resource.

quickPicks List<GetQueryQuickPicksQuickPick>

The list of quick_picks.

filters List<GetQueryQuickPicksFilter>
apmDomainId string
id string

The provider-assigned unique ID for this managed resource.

quickPicks GetQueryQuickPicksQuickPick[]

The list of quick_picks.

filters GetQueryQuickPicksFilter[]
apm_domain_id str
id str

The provider-assigned unique ID for this managed resource.

quick_picks GetQueryQuickPicksQuickPick]

The list of quick_picks.

filters GetQueryQuickPicksFilter]
apmDomainId String
id String

The provider-assigned unique ID for this managed resource.

quickPicks List<Property Map>

The list of quick_picks.

filters List<Property Map>

Supporting Types

GetQueryQuickPicksFilter

Name string
Values List<string>
Regex bool
Name string
Values []string
Regex bool
name String
values List<String>
regex Boolean
name string
values string[]
regex boolean
name str
values Sequence[str]
regex bool
name String
values List<String>
regex Boolean

GetQueryQuickPicksQuickPick

QuickPickName string

Quick Pick name for the query.

QuickPickQuery string

Query for the Quick Pick.

QuickPickName string

Quick Pick name for the query.

QuickPickQuery string

Query for the Quick Pick.

quickPickName String

Quick Pick name for the query.

quickPickQuery String

Query for the Quick Pick.

quickPickName string

Quick Pick name for the query.

quickPickQuery string

Query for the Quick Pick.

quick_pick_name str

Quick Pick name for the query.

quick_pick_query str

Query for the Quick Pick.

quickPickName String

Quick Pick name for the query.

quickPickQuery String

Query for the Quick Pick.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.