Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.ApmTraces.getQueryQuickPicks
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testQueryQuickPicks = oci.ApmTraces.getQueryQuickPicks({
apmDomainId: testApmDomain.id,
});
import pulumi
import pulumi_oci as oci
test_query_quick_picks = oci.ApmTraces.get_query_quick_picks(apm_domain_id=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: testApmDomain.Id,
}, 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 testQueryQuickPicks = Oci.ApmTraces.GetQueryQuickPicks.Invoke(new()
{
ApmDomainId = testApmDomain.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ApmTraces.ApmTracesFunctions;
import com.pulumi.oci.ApmTraces.inputs.GetQueryQuickPicksArgs;
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 testQueryQuickPicks = ApmTracesFunctions.getQueryQuickPicks(GetQueryQuickPicksArgs.builder()
.apmDomainId(testApmDomain.id())
.build());
}
}
variables:
testQueryQuickPicks:
fn::invoke:
Function: oci:ApmTraces:getQueryQuickPicks
Arguments:
apmDomainId: ${testApmDomain.id}
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:
- Apm
Domain stringId - The APM Domain ID for the intended request.
- Filters
List<Get
Query Quick Picks Filter>
- Apm
Domain stringId - The APM Domain ID for the intended request.
- Filters
[]Get
Query Quick Picks Filter
- apm
Domain StringId - The APM Domain ID for the intended request.
- filters
List<Get
Query Quick Picks Filter>
- apm
Domain stringId - The APM Domain ID for the intended request.
- filters
Get
Query Quick Picks Filter[]
- apm_
domain_ strid - The APM Domain ID for the intended request.
- filters
Sequence[apmtraces.
Get Query Quick Picks Filter]
- apm
Domain StringId - The APM Domain ID for the intended request.
- filters List<Property Map>
getQueryQuickPicks Result
The following output properties are available:
- Apm
Domain stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Quick
Picks List<GetQuery Quick Picks Quick Pick> - The list of quick_picks.
- Filters
List<Get
Query Quick Picks Filter>
- Apm
Domain stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Quick
Picks []GetQuery Quick Picks Quick Pick - The list of quick_picks.
- Filters
[]Get
Query Quick Picks Filter
- apm
Domain StringId - id String
- The provider-assigned unique ID for this managed resource.
- quick
Picks List<GetQuery Quick Picks Quick Pick> - The list of quick_picks.
- filters
List<Get
Query Quick Picks Filter>
- apm
Domain stringId - id string
- The provider-assigned unique ID for this managed resource.
- quick
Picks GetQuery Quick Picks Quick Pick[] - The list of quick_picks.
- filters
Get
Query Quick Picks Filter[]
- apm_
domain_ strid - id str
- The provider-assigned unique ID for this managed resource.
- quick_
picks Sequence[apmtraces.Get Query Quick Picks Quick Pick] - The list of quick_picks.
- filters
Sequence[apmtraces.
Get Query Quick Picks Filter]
- apm
Domain StringId - id String
- The provider-assigned unique ID for this managed resource.
- quick
Picks List<Property Map> - The list of quick_picks.
- filters List<Property Map>
Supporting Types
GetQueryQuickPicksFilter
GetQueryQuickPicksQuickPick
- Quick
Pick stringName - Quick Pick name for the query.
- Quick
Pick stringQuery - Query for the Quick Pick.
- Quick
Pick stringName - Quick Pick name for the query.
- Quick
Pick stringQuery - Query for the Quick Pick.
- quick
Pick StringName - Quick Pick name for the query.
- quick
Pick StringQuery - Query for the Quick Pick.
- quick
Pick stringName - Quick Pick name for the query.
- quick
Pick stringQuery - Query for the Quick Pick.
- quick_
pick_ strname - Quick Pick name for the query.
- quick_
pick_ strquery - Query for the Quick Pick.
- quick
Pick StringName - Quick Pick name for the query.
- quick
Pick StringQuery - Query for the Quick Pick.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi