SyntheticsTest

Create a SyntheticsTest Resource

def SyntheticsTest(resource_name, opts=None, assertions=None, device_ids=None, locations=None, message=None, name=None, options=None, request=None, request_headers=None, status=None, subtype=None, tags=None, type=None, __props__=None);
name string
The unique name of the resource.
args SyntheticsTestArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args SyntheticsTestArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args SyntheticsTestArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

SyntheticsTest Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The SyntheticsTest resource accepts the following input properties:

Locations List<string>
Name string
Request SyntheticsTestRequestArgs
Status string
Tags List<string>
Type string
Assertions List<ImmutableDictionary<string, object>>
DeviceIds List<string>
Message string
Options SyntheticsTestOptionsArgs
RequestHeaders Dictionary<string, object>
Subtype string
Locations []string
Name string
Request SyntheticsTestRequest
Status string
Tags []string
Type string
Assertions []map[string]interface{}
DeviceIds []string
Message string
Options SyntheticsTestOptions
RequestHeaders map[string]interface{}
Subtype string
locations string[]
name string
request SyntheticsTestRequest
status string
tags string[]
type string
assertions {[key: string]: any}[]
deviceIds string[]
message string
options SyntheticsTestOptions
requestHeaders {[key: string]: any}
subtype string
locations List[str]
name str
request Dict[SyntheticsTestRequest]
status str
tags List[str]
type str
assertions List[Any>]
device_ids List[str]
message str
options Dict[SyntheticsTestOptions]
request_headers Dict[str, Any]
subtype str

Outputs

All input properties are implicitly available as output properties. Additionally, the SyntheticsTest resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
MonitorId int
Id string
The provider-assigned unique ID for this managed resource.
MonitorId int
id string
The provider-assigned unique ID for this managed resource.
monitorId number
id str
The provider-assigned unique ID for this managed resource.
monitor_id float

Look up an Existing SyntheticsTest Resource

Get an existing SyntheticsTest resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: SyntheticsTestState, opts?: CustomResourceOptions): SyntheticsTest
static get(resource_name, id, opts=None, assertions=None, device_ids=None, locations=None, message=None, monitor_id=None, name=None, options=None, request=None, request_headers=None, status=None, subtype=None, tags=None, type=None, __props__=None);
func GetSyntheticsTest(ctx *Context, name string, id IDInput, state *SyntheticsTestState, opts ...ResourceOption) (*SyntheticsTest, error)
public static SyntheticsTest Get(string name, Input<string> id, SyntheticsTestState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Assertions List<ImmutableDictionary<string, object>>
DeviceIds List<string>
Locations List<string>
Message string
MonitorId int
Name string
Options SyntheticsTestOptionsArgs
Request SyntheticsTestRequestArgs
RequestHeaders Dictionary<string, object>
Status string
Subtype string
Tags List<string>
Type string
Assertions []map[string]interface{}
DeviceIds []string
Locations []string
Message string
MonitorId int
Name string
Options SyntheticsTestOptions
Request SyntheticsTestRequest
RequestHeaders map[string]interface{}
Status string
Subtype string
Tags []string
Type string
assertions {[key: string]: any}[]
deviceIds string[]
locations string[]
message string
monitorId number
name string
options SyntheticsTestOptions
request SyntheticsTestRequest
requestHeaders {[key: string]: any}
status string
subtype string
tags string[]
type string
assertions List[Any>]
device_ids List[str]
locations List[str]
message str
monitor_id float
name str
options Dict[SyntheticsTestOptions]
request Dict[SyntheticsTestRequest]
request_headers Dict[str, Any]
status str
subtype str
tags List[str]
type str

Supporting Types

SyntheticsTestOptions

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

TickEvery int
AcceptSelfSigned bool
FollowRedirects bool
MinFailureDuration int
MinLocationFailed int
TickEvery int
AcceptSelfSigned bool
FollowRedirects bool
MinFailureDuration int
MinLocationFailed int
tickEvery number
acceptSelfSigned boolean
followRedirects boolean
minFailureDuration number
minLocationFailed number
tick_every float
accept_self_signed bool
follow_redirects bool
min_failure_duration float
min_location_failed float

SyntheticsTestRequest

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Body string
Host string
Method string
Port int
Timeout int
Url string
Body string
Host string
Method string
Port int
Timeout int
Url string
body string
host string
method string
port number
timeout number
url string
body str
host str
method str
port float
timeout float
url str

Package Details

Repository
https://github.com/pulumi/pulumi-datadog
License
Apache-2.0
Notes
This Pulumi package is based on the datadog Terraform Provider.