1. Packages
  2. Datadog
  3. API Docs
  4. getSyntheticsGlobalVariable
Datadog v4.27.0 published on Thursday, Mar 14, 2024 by Pulumi

datadog.getSyntheticsGlobalVariable

Explore with Pulumi AI

datadog logo
Datadog v4.27.0 published on Thursday, Mar 14, 2024 by Pulumi

    Use this data source to retrieve a Datadog Synthetics global variable (to be used in Synthetics tests).

    Using getSyntheticsGlobalVariable

    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 getSyntheticsGlobalVariable(args: GetSyntheticsGlobalVariableArgs, opts?: InvokeOptions): Promise<GetSyntheticsGlobalVariableResult>
    function getSyntheticsGlobalVariableOutput(args: GetSyntheticsGlobalVariableOutputArgs, opts?: InvokeOptions): Output<GetSyntheticsGlobalVariableResult>
    def get_synthetics_global_variable(name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetSyntheticsGlobalVariableResult
    def get_synthetics_global_variable_output(name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetSyntheticsGlobalVariableResult]
    func LookupSyntheticsGlobalVariable(ctx *Context, args *LookupSyntheticsGlobalVariableArgs, opts ...InvokeOption) (*LookupSyntheticsGlobalVariableResult, error)
    func LookupSyntheticsGlobalVariableOutput(ctx *Context, args *LookupSyntheticsGlobalVariableOutputArgs, opts ...InvokeOption) LookupSyntheticsGlobalVariableResultOutput

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

    public static class GetSyntheticsGlobalVariable 
    {
        public static Task<GetSyntheticsGlobalVariableResult> InvokeAsync(GetSyntheticsGlobalVariableArgs args, InvokeOptions? opts = null)
        public static Output<GetSyntheticsGlobalVariableResult> Invoke(GetSyntheticsGlobalVariableInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSyntheticsGlobalVariableResult> getSyntheticsGlobalVariable(GetSyntheticsGlobalVariableArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: datadog:index/getSyntheticsGlobalVariable:getSyntheticsGlobalVariable
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The synthetics global variable name to search for. Must only match one global variable.
    Name string
    The synthetics global variable name to search for. Must only match one global variable.
    name String
    The synthetics global variable name to search for. Must only match one global variable.
    name string
    The synthetics global variable name to search for. Must only match one global variable.
    name str
    The synthetics global variable name to search for. Must only match one global variable.
    name String
    The synthetics global variable name to search for. Must only match one global variable.

    getSyntheticsGlobalVariable Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The synthetics global variable name to search for. Must only match one global variable.
    Tags List<string>
    A list of tags assigned to the Synthetics global variable.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The synthetics global variable name to search for. Must only match one global variable.
    Tags []string
    A list of tags assigned to the Synthetics global variable.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The synthetics global variable name to search for. Must only match one global variable.
    tags List<String>
    A list of tags assigned to the Synthetics global variable.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The synthetics global variable name to search for. Must only match one global variable.
    tags string[]
    A list of tags assigned to the Synthetics global variable.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The synthetics global variable name to search for. Must only match one global variable.
    tags Sequence[str]
    A list of tags assigned to the Synthetics global variable.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The synthetics global variable name to search for. Must only match one global variable.
    tags List<String>
    A list of tags assigned to the Synthetics global variable.

    Package Details

    Repository
    Datadog pulumi/pulumi-datadog
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the datadog Terraform Provider.
    datadog logo
    Datadog v4.27.0 published on Thursday, Mar 14, 2024 by Pulumi