1. Packages
  2. Datadog Provider
  3. API Docs
  4. getSyntheticsLocations
Datadog v4.34.0 published on Friday, Oct 4, 2024 by Pulumi

datadog.getSyntheticsLocations

Explore with Pulumi AI

datadog logo
Datadog v4.34.0 published on Friday, Oct 4, 2024 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>
    def get_synthetics_locations(opts: Optional[InvokeOptions] = None) -> GetSyntheticsLocationsResult
    def get_synthetics_locations_output(opts: Optional[InvokeOptions] = None) -> Output[GetSyntheticsLocationsResult]
    func GetSyntheticsLocations(ctx *Context, opts ...InvokeOption) (*GetSyntheticsLocationsResult, error)
    func GetSyntheticsLocationsOutput(ctx *Context, opts ...InvokeOption) GetSyntheticsLocationsResultOutput

    > 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)
    }
    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, string>
    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]string
    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,String>
    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]: string}
    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, str]
    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>
    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.34.0 published on Friday, Oct 4, 2024 by Pulumi