Datadog v4.28.1 published on Monday, Jun 24, 2024 by Pulumi
datadog.getSyntheticsGlobalVariable
Explore with Pulumi AI
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:
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadog
Terraform Provider.