Viewing docs for Datadog v4.68.0
published on Wednesday, Feb 25, 2026 by Pulumi
published on Wednesday, Feb 25, 2026 by Pulumi
Viewing docs for Datadog v4.68.0
published on Wednesday, Feb 25, 2026 by Pulumi
published on Wednesday, Feb 25, 2026 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)
public static Output<GetSyntheticsTestResult> getSyntheticsTest(GetSyntheticsTestArgs args, InvokeOptions options)
fn::invoke:
function: datadog:index/getSyntheticsTest:getSyntheticsTest
arguments:
# arguments dictionaryThe following arguments are supported:
- Test
Id string - The synthetic test id or URL to search for
- Test
Id string - The synthetic test id or URL to search for
- test
Id String - The synthetic test id or URL to search for
- test
Id string - The synthetic test id or URL to search for
- test_
id str - The synthetic test id or URL to search for
- test
Id String - The synthetic test id or URL to search for
getSyntheticsTest 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
datadogTerraform Provider.
Viewing docs for Datadog v4.68.0
published on Wednesday, Feb 25, 2026 by Pulumi
published on Wednesday, Feb 25, 2026 by Pulumi
