1. Packages
  2. Datadog
  3. API Docs
  4. getSyntheticsLocations
Datadog v4.23.0 published on Wednesday, Sep 27, 2023 by Pulumi

datadog.getSyntheticsLocations

Explore with Pulumi AI

datadog logo
Datadog v4.23.0 published on Wednesday, Sep 27, 2023 by Pulumi

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

    Using getSyntheticsLocations

    function getSyntheticsLocations(opts?: InvokeOptions): Promise<GetSyntheticsLocationsResult>
    def get_synthetics_locations(opts: Optional[InvokeOptions] = None) -> GetSyntheticsLocationsResult
    func GetSyntheticsLocations(ctx *Context, opts ...InvokeOption) (*GetSyntheticsLocationsResult, error)

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

    public static class GetSyntheticsLocations 
    {
        public static Task<GetSyntheticsLocationsResult> InvokeAsync(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSyntheticsLocationsResult> getSyntheticsLocations(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: datadog:index/getSyntheticsLocations:getSyntheticsLocations
      arguments:
        # arguments dictionary

    getSyntheticsLocations Result

    The following output properties are available:

    Id string

    The provider-assigned unique ID for this managed resource.

    Locations Dictionary<string, object>

    A map of available Synthetics location IDs to names for Synthetics tests.

    Id string

    The provider-assigned unique ID for this managed resource.

    Locations map[string]interface{}

    A map of available Synthetics location IDs to names for Synthetics tests.

    id String

    The provider-assigned unique ID for this managed resource.

    locations Map<String,Object>

    A map of available Synthetics location IDs to names for Synthetics tests.

    id string

    The provider-assigned unique ID for this managed resource.

    locations {[key: string]: any}

    A map of available Synthetics location IDs to names for Synthetics tests.

    id str

    The provider-assigned unique ID for this managed resource.

    locations Mapping[str, Any]

    A map of available Synthetics location IDs to names for Synthetics tests.

    id String

    The provider-assigned unique ID for this managed resource.

    locations Map<Any>

    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 logo
    Datadog v4.23.0 published on Wednesday, Sep 27, 2023 by Pulumi