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

datadog.getSyntheticsTest

Explore with Pulumi AI

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

    Use this data source to retrieve a Datadog Synthetic Test.

    Using getSyntheticsTest

    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 getSyntheticsTest(args: GetSyntheticsTestArgs, opts?: InvokeOptions): Promise<GetSyntheticsTestResult>
    function getSyntheticsTestOutput(args: GetSyntheticsTestOutputArgs, opts?: InvokeOptions): Output<GetSyntheticsTestResult>
    def get_synthetics_test(test_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetSyntheticsTestResult
    def get_synthetics_test_output(test_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetSyntheticsTestResult]
    func LookupSyntheticsTest(ctx *Context, args *LookupSyntheticsTestArgs, opts ...InvokeOption) (*LookupSyntheticsTestResult, error)
    func LookupSyntheticsTestOutput(ctx *Context, args *LookupSyntheticsTestOutputArgs, opts ...InvokeOption) LookupSyntheticsTestResultOutput

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

    public static class GetSyntheticsTest 
    {
        public static Task<GetSyntheticsTestResult> InvokeAsync(GetSyntheticsTestArgs args, InvokeOptions? opts = null)
        public static Output<GetSyntheticsTestResult> Invoke(GetSyntheticsTestInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSyntheticsTestResult> getSyntheticsTest(GetSyntheticsTestArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: datadog:index/getSyntheticsTest:getSyntheticsTest
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TestId string

    The synthetic test id or URL to search for

    TestId string

    The synthetic test id or URL to search for

    testId String

    The synthetic test id or URL to search for

    testId string

    The synthetic test id or URL to search for

    test_id str

    The synthetic test id or URL to search for

    testId String

    The synthetic test id or URL to search for

    getSyntheticsTest Result

    The following output properties are available:

    Id string

    The provider-assigned unique ID for this managed resource.

    Name string

    The name of the synthetic test.

    Tags List<string>

    A list of tags assigned to the synthetic test.

    TestId string

    The synthetic test id or URL to search for

    Url string

    The start URL of the synthetic test.

    Id string

    The provider-assigned unique ID for this managed resource.

    Name string

    The name of the synthetic test.

    Tags []string

    A list of tags assigned to the synthetic test.

    TestId string

    The synthetic test id or URL to search for

    Url string

    The start URL of the synthetic test.

    id String

    The provider-assigned unique ID for this managed resource.

    name String

    The name of the synthetic test.

    tags List<String>

    A list of tags assigned to the synthetic test.

    testId String

    The synthetic test id or URL to search for

    url String

    The start URL of the synthetic test.

    id string

    The provider-assigned unique ID for this managed resource.

    name string

    The name of the synthetic test.

    tags string[]

    A list of tags assigned to the synthetic test.

    testId string

    The synthetic test id or URL to search for

    url string

    The start URL of the synthetic test.

    id str

    The provider-assigned unique ID for this managed resource.

    name str

    The name of the synthetic test.

    tags Sequence[str]

    A list of tags assigned to the synthetic test.

    test_id str

    The synthetic test id or URL to search for

    url str

    The start URL of the synthetic test.

    id String

    The provider-assigned unique ID for this managed resource.

    name String

    The name of the synthetic test.

    tags List<String>

    A list of tags assigned to the synthetic test.

    testId String

    The synthetic test id or URL to search for

    url String

    The start URL of the synthetic test.

    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