1. Packages
  2. Datadog Provider
  3. API Docs
  4. getSyntheticsLocations
Datadog v4.48.1 published on Saturday, Apr 5, 2025 by Pulumi

datadog.getSyntheticsLocations

Explore with Pulumi AI

Datadog v4.48.1 published on Saturday, Apr 5, 2025 by Pulumi

Use this data source to retrieve Datadog’s Synthetics Locations (to be used in Synthetics tests).

Using getSyntheticsLocations

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 getSyntheticsLocations(opts?: InvokeOptions): Promise<GetSyntheticsLocationsResult>
function getSyntheticsLocationsOutput(opts?: InvokeOptions): Output<GetSyntheticsLocationsResult>
Copy
def get_synthetics_locations(opts: Optional[InvokeOptions] = None) -> GetSyntheticsLocationsResult
def get_synthetics_locations_output(opts: Optional[InvokeOptions] = None) -> Output[GetSyntheticsLocationsResult]
Copy
func GetSyntheticsLocations(ctx *Context, opts ...InvokeOption) (*GetSyntheticsLocationsResult, error)
func GetSyntheticsLocationsOutput(ctx *Context, opts ...InvokeOption) GetSyntheticsLocationsResultOutput
Copy

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

public static class GetSyntheticsLocations 
{
    public static Task<GetSyntheticsLocationsResult> InvokeAsync(InvokeOptions? opts = null)
    public static Output<GetSyntheticsLocationsResult> Invoke(InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSyntheticsLocationsResult> getSyntheticsLocations(InvokeOptions options)
public static Output<GetSyntheticsLocationsResult> getSyntheticsLocations(InvokeOptions options)
Copy
fn::invoke:
  function: datadog:index/getSyntheticsLocations:getSyntheticsLocations
  arguments:
    # arguments dictionary
Copy

getSyntheticsLocations Result

The following output properties are available:

Id string
The ID of this resource.
Locations Dictionary<string, string>
A map of available Synthetics location IDs to names for Synthetics tests.
Id string
The ID of this resource.
Locations map[string]string
A map of available Synthetics location IDs to names for Synthetics tests.
id String
The ID of this resource.
locations Map<String,String>
A map of available Synthetics location IDs to names for Synthetics tests.
id string
The ID of this resource.
locations {[key: string]: string}
A map of available Synthetics location IDs to names for Synthetics tests.
id str
The ID of this resource.
locations Mapping[str, str]
A map of available Synthetics location IDs to names for Synthetics tests.
id String
The ID of this resource.
locations Map<String>
A map of available Synthetics location IDs to names for Synthetics tests.

Package Details

Repository
Datadog pulumi/pulumi-datadog
License
Apache-2.0
Notes
This Pulumi package is based on the datadog Terraform Provider.
Datadog v4.48.1 published on Saturday, Apr 5, 2025 by Pulumi