Datadog v4.36.1 published on Friday, Nov 15, 2024 by Pulumi
datadog.getSyntheticsTest
Explore with Pulumi AI
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:
- 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
datadog
Terraform Provider.