1. Packages
  2. Datadog Provider
  3. API Docs
  4. getSyntheticsGlobalVariable
Datadog v4.49.0 published on Thursday, Apr 17, 2025 by Pulumi

datadog.getSyntheticsGlobalVariable

Explore with Pulumi AI

Datadog v4.49.0 published on Thursday, Apr 17, 2025 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>
Copy
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]
Copy
func LookupSyntheticsGlobalVariable(ctx *Context, args *LookupSyntheticsGlobalVariableArgs, opts ...InvokeOption) (*LookupSyntheticsGlobalVariableResult, error)
func LookupSyntheticsGlobalVariableOutput(ctx *Context, args *LookupSyntheticsGlobalVariableOutputArgs, opts ...InvokeOption) LookupSyntheticsGlobalVariableResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetSyntheticsGlobalVariableResult> getSyntheticsGlobalVariable(GetSyntheticsGlobalVariableArgs args, InvokeOptions options)
public static Output<GetSyntheticsGlobalVariableResult> getSyntheticsGlobalVariable(GetSyntheticsGlobalVariableArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: datadog:index/getSyntheticsGlobalVariable:getSyntheticsGlobalVariable
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The synthetics global variable name to search for. Must only match one global variable.
Name This property is required. string
The synthetics global variable name to search for. Must only match one global variable.
name This property is required. String
The synthetics global variable name to search for. Must only match one global variable.
name This property is required. string
The synthetics global variable name to search for. Must only match one global variable.
name This property is required. str
The synthetics global variable name to search for. Must only match one global variable.
name This property is required. 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 ID of this 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 ID of this 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 ID of this 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 ID of this 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 ID of this 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 ID of this 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 v4.49.0 published on Thursday, Apr 17, 2025 by Pulumi