statuscake.UptimeCheck
Explore with Pulumi AI
Create UptimeCheck Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new UptimeCheck(name: string, args: UptimeCheckArgs, opts?: CustomResourceOptions);
@overload
def UptimeCheck(resource_name: str,
args: UptimeCheckArgs,
opts: Optional[ResourceOptions] = None)
@overload
def UptimeCheck(resource_name: str,
opts: Optional[ResourceOptions] = None,
check_interval: Optional[int] = None,
monitored_resource: Optional[UptimeCheckMonitoredResourceArgs] = None,
dns_check: Optional[UptimeCheckDnsCheckArgs] = None,
contact_groups: Optional[Sequence[str]] = None,
http_check: Optional[UptimeCheckHttpCheckArgs] = None,
icmp_check: Optional[UptimeCheckIcmpCheckArgs] = None,
confirmation: Optional[int] = None,
name: Optional[str] = None,
paused: Optional[bool] = None,
regions: Optional[Sequence[str]] = None,
tags: Optional[Sequence[str]] = None,
tcp_check: Optional[UptimeCheckTcpCheckArgs] = None,
trigger_rate: Optional[int] = None)
func NewUptimeCheck(ctx *Context, name string, args UptimeCheckArgs, opts ...ResourceOption) (*UptimeCheck, error)
public UptimeCheck(string name, UptimeCheckArgs args, CustomResourceOptions? opts = null)
public UptimeCheck(String name, UptimeCheckArgs args)
public UptimeCheck(String name, UptimeCheckArgs args, CustomResourceOptions options)
type: statuscake:UptimeCheck
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args UptimeCheckArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args UptimeCheckArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args UptimeCheckArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UptimeCheckArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UptimeCheckArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var uptimeCheckResource = new Statuscake.UptimeCheck("uptimeCheckResource", new()
{
CheckInterval = 0,
MonitoredResource = new Statuscake.Inputs.UptimeCheckMonitoredResourceArgs
{
Address = "string",
Host = "string",
},
DnsCheck = new Statuscake.Inputs.UptimeCheckDnsCheckArgs
{
DnsIps = new[]
{
"string",
},
DnsServer = "string",
},
ContactGroups = new[]
{
"string",
},
HttpCheck = new Statuscake.Inputs.UptimeCheckHttpCheckArgs
{
StatusCodes = new[]
{
"string",
},
FinalEndpoint = "string",
EnableCookies = false,
BasicAuthentication = new Statuscake.Inputs.UptimeCheckHttpCheckBasicAuthenticationArgs
{
Password = "string",
Username = "string",
},
FollowRedirects = false,
RequestHeaders =
{
{ "string", "string" },
},
RequestMethod = "string",
RequestPayload =
{
{ "string", "string" },
},
RequestPayloadRaw = "string",
ContentMatchers = new Statuscake.Inputs.UptimeCheckHttpCheckContentMatchersArgs
{
Content = "string",
IncludeHeaders = false,
Matcher = "string",
},
Timeout = 0,
UserAgent = "string",
ValidateSsl = false,
},
IcmpCheck = new Statuscake.Inputs.UptimeCheckIcmpCheckArgs
{
Enabled = false,
},
Confirmation = 0,
Name = "string",
Paused = false,
Regions = new[]
{
"string",
},
Tags = new[]
{
"string",
},
TcpCheck = new Statuscake.Inputs.UptimeCheckTcpCheckArgs
{
Port = 0,
Authentication = new Statuscake.Inputs.UptimeCheckTcpCheckAuthenticationArgs
{
Password = "string",
Username = "string",
},
Protocol = "string",
Timeout = 0,
},
TriggerRate = 0,
});
example, err := statuscake.NewUptimeCheck(ctx, "uptimeCheckResource", &statuscake.UptimeCheckArgs{
CheckInterval: pulumi.Int(0),
MonitoredResource: &statuscake.UptimeCheckMonitoredResourceArgs{
Address: pulumi.String("string"),
Host: pulumi.String("string"),
},
DnsCheck: &statuscake.UptimeCheckDnsCheckArgs{
DnsIps: pulumi.StringArray{
pulumi.String("string"),
},
DnsServer: pulumi.String("string"),
},
ContactGroups: pulumi.StringArray{
pulumi.String("string"),
},
HttpCheck: &statuscake.UptimeCheckHttpCheckArgs{
StatusCodes: pulumi.StringArray{
pulumi.String("string"),
},
FinalEndpoint: pulumi.String("string"),
EnableCookies: pulumi.Bool(false),
BasicAuthentication: &statuscake.UptimeCheckHttpCheckBasicAuthenticationArgs{
Password: pulumi.String("string"),
Username: pulumi.String("string"),
},
FollowRedirects: pulumi.Bool(false),
RequestHeaders: pulumi.StringMap{
"string": pulumi.String("string"),
},
RequestMethod: pulumi.String("string"),
RequestPayload: pulumi.StringMap{
"string": pulumi.String("string"),
},
RequestPayloadRaw: pulumi.String("string"),
ContentMatchers: &statuscake.UptimeCheckHttpCheckContentMatchersArgs{
Content: pulumi.String("string"),
IncludeHeaders: pulumi.Bool(false),
Matcher: pulumi.String("string"),
},
Timeout: pulumi.Int(0),
UserAgent: pulumi.String("string"),
ValidateSsl: pulumi.Bool(false),
},
IcmpCheck: &statuscake.UptimeCheckIcmpCheckArgs{
Enabled: pulumi.Bool(false),
},
Confirmation: pulumi.Int(0),
Name: pulumi.String("string"),
Paused: pulumi.Bool(false),
Regions: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringArray{
pulumi.String("string"),
},
TcpCheck: &statuscake.UptimeCheckTcpCheckArgs{
Port: pulumi.Int(0),
Authentication: &statuscake.UptimeCheckTcpCheckAuthenticationArgs{
Password: pulumi.String("string"),
Username: pulumi.String("string"),
},
Protocol: pulumi.String("string"),
Timeout: pulumi.Int(0),
},
TriggerRate: pulumi.Int(0),
})
var uptimeCheckResource = new UptimeCheck("uptimeCheckResource", UptimeCheckArgs.builder()
.checkInterval(0)
.monitoredResource(UptimeCheckMonitoredResourceArgs.builder()
.address("string")
.host("string")
.build())
.dnsCheck(UptimeCheckDnsCheckArgs.builder()
.dnsIps("string")
.dnsServer("string")
.build())
.contactGroups("string")
.httpCheck(UptimeCheckHttpCheckArgs.builder()
.statusCodes("string")
.finalEndpoint("string")
.enableCookies(false)
.basicAuthentication(UptimeCheckHttpCheckBasicAuthenticationArgs.builder()
.password("string")
.username("string")
.build())
.followRedirects(false)
.requestHeaders(Map.of("string", "string"))
.requestMethod("string")
.requestPayload(Map.of("string", "string"))
.requestPayloadRaw("string")
.contentMatchers(UptimeCheckHttpCheckContentMatchersArgs.builder()
.content("string")
.includeHeaders(false)
.matcher("string")
.build())
.timeout(0)
.userAgent("string")
.validateSsl(false)
.build())
.icmpCheck(UptimeCheckIcmpCheckArgs.builder()
.enabled(false)
.build())
.confirmation(0)
.name("string")
.paused(false)
.regions("string")
.tags("string")
.tcpCheck(UptimeCheckTcpCheckArgs.builder()
.port(0)
.authentication(UptimeCheckTcpCheckAuthenticationArgs.builder()
.password("string")
.username("string")
.build())
.protocol("string")
.timeout(0)
.build())
.triggerRate(0)
.build());
uptime_check_resource = statuscake.UptimeCheck("uptimeCheckResource",
check_interval=0,
monitored_resource={
"address": "string",
"host": "string",
},
dns_check={
"dns_ips": ["string"],
"dns_server": "string",
},
contact_groups=["string"],
http_check={
"status_codes": ["string"],
"final_endpoint": "string",
"enable_cookies": False,
"basic_authentication": {
"password": "string",
"username": "string",
},
"follow_redirects": False,
"request_headers": {
"string": "string",
},
"request_method": "string",
"request_payload": {
"string": "string",
},
"request_payload_raw": "string",
"content_matchers": {
"content": "string",
"include_headers": False,
"matcher": "string",
},
"timeout": 0,
"user_agent": "string",
"validate_ssl": False,
},
icmp_check={
"enabled": False,
},
confirmation=0,
name="string",
paused=False,
regions=["string"],
tags=["string"],
tcp_check={
"port": 0,
"authentication": {
"password": "string",
"username": "string",
},
"protocol": "string",
"timeout": 0,
},
trigger_rate=0)
const uptimeCheckResource = new statuscake.UptimeCheck("uptimeCheckResource", {
checkInterval: 0,
monitoredResource: {
address: "string",
host: "string",
},
dnsCheck: {
dnsIps: ["string"],
dnsServer: "string",
},
contactGroups: ["string"],
httpCheck: {
statusCodes: ["string"],
finalEndpoint: "string",
enableCookies: false,
basicAuthentication: {
password: "string",
username: "string",
},
followRedirects: false,
requestHeaders: {
string: "string",
},
requestMethod: "string",
requestPayload: {
string: "string",
},
requestPayloadRaw: "string",
contentMatchers: {
content: "string",
includeHeaders: false,
matcher: "string",
},
timeout: 0,
userAgent: "string",
validateSsl: false,
},
icmpCheck: {
enabled: false,
},
confirmation: 0,
name: "string",
paused: false,
regions: ["string"],
tags: ["string"],
tcpCheck: {
port: 0,
authentication: {
password: "string",
username: "string",
},
protocol: "string",
timeout: 0,
},
triggerRate: 0,
});
type: statuscake:UptimeCheck
properties:
checkInterval: 0
confirmation: 0
contactGroups:
- string
dnsCheck:
dnsIps:
- string
dnsServer: string
httpCheck:
basicAuthentication:
password: string
username: string
contentMatchers:
content: string
includeHeaders: false
matcher: string
enableCookies: false
finalEndpoint: string
followRedirects: false
requestHeaders:
string: string
requestMethod: string
requestPayload:
string: string
requestPayloadRaw: string
statusCodes:
- string
timeout: 0
userAgent: string
validateSsl: false
icmpCheck:
enabled: false
monitoredResource:
address: string
host: string
name: string
paused: false
regions:
- string
tags:
- string
tcpCheck:
authentication:
password: string
username: string
port: 0
protocol: string
timeout: 0
triggerRate: 0
UptimeCheck Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The UptimeCheck resource accepts the following input properties:
- Check
Interval int - Number of seconds between checks
- Monitored
Resource Pulumiverse.Statuscake. Inputs. Uptime Check Monitored Resource - Monitored resource configuration block. The describes server under test
- Confirmation int
- Number of confirmation servers to confirm downtime before an alert is triggered
- Contact
Groups List<string> - List of contact group IDs
- Dns
Check Pulumiverse.Statuscake. Inputs. Uptime Check Dns Check - DNS check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - Http
Check Pulumiverse.Statuscake. Inputs. Uptime Check Http Check - HTTP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - Icmp
Check Pulumiverse.Statuscake. Inputs. Uptime Check Icmp Check - ICMP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - Name string
- Name of the check
- Paused bool
- Whether the check should be run
- Regions List<string>
- List of regions on which to run checks. The values required for this parameter can be retrieved from the
GET /v1/uptime-locations
endpoint - List<string>
- List of tags
- Tcp
Check Pulumiverse.Statuscake. Inputs. Uptime Check Tcp Check - TCP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - Trigger
Rate int - The number of minutes to wait before sending an alert
- Check
Interval int - Number of seconds between checks
- Monitored
Resource UptimeCheck Monitored Resource Args - Monitored resource configuration block. The describes server under test
- Confirmation int
- Number of confirmation servers to confirm downtime before an alert is triggered
- Contact
Groups []string - List of contact group IDs
- Dns
Check UptimeCheck Dns Check Args - DNS check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - Http
Check UptimeCheck Http Check Args - HTTP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - Icmp
Check UptimeCheck Icmp Check Args - ICMP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - Name string
- Name of the check
- Paused bool
- Whether the check should be run
- Regions []string
- List of regions on which to run checks. The values required for this parameter can be retrieved from the
GET /v1/uptime-locations
endpoint - []string
- List of tags
- Tcp
Check UptimeCheck Tcp Check Args - TCP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - Trigger
Rate int - The number of minutes to wait before sending an alert
- check
Interval Integer - Number of seconds between checks
- monitored
Resource UptimeCheck Monitored Resource - Monitored resource configuration block. The describes server under test
- confirmation Integer
- Number of confirmation servers to confirm downtime before an alert is triggered
- contact
Groups List<String> - List of contact group IDs
- dns
Check UptimeCheck Dns Check - DNS check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - http
Check UptimeCheck Http Check - HTTP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - icmp
Check UptimeCheck Icmp Check - ICMP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - name String
- Name of the check
- paused Boolean
- Whether the check should be run
- regions List<String>
- List of regions on which to run checks. The values required for this parameter can be retrieved from the
GET /v1/uptime-locations
endpoint - List<String>
- List of tags
- tcp
Check UptimeCheck Tcp Check - TCP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - trigger
Rate Integer - The number of minutes to wait before sending an alert
- check
Interval number - Number of seconds between checks
- monitored
Resource UptimeCheck Monitored Resource - Monitored resource configuration block. The describes server under test
- confirmation number
- Number of confirmation servers to confirm downtime before an alert is triggered
- contact
Groups string[] - List of contact group IDs
- dns
Check UptimeCheck Dns Check - DNS check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - http
Check UptimeCheck Http Check - HTTP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - icmp
Check UptimeCheck Icmp Check - ICMP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - name string
- Name of the check
- paused boolean
- Whether the check should be run
- regions string[]
- List of regions on which to run checks. The values required for this parameter can be retrieved from the
GET /v1/uptime-locations
endpoint - string[]
- List of tags
- tcp
Check UptimeCheck Tcp Check - TCP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - trigger
Rate number - The number of minutes to wait before sending an alert
- check_
interval int - Number of seconds between checks
- monitored_
resource UptimeCheck Monitored Resource Args - Monitored resource configuration block. The describes server under test
- confirmation int
- Number of confirmation servers to confirm downtime before an alert is triggered
- contact_
groups Sequence[str] - List of contact group IDs
- dns_
check UptimeCheck Dns Check Args - DNS check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - http_
check UptimeCheck Http Check Args - HTTP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - icmp_
check UptimeCheck Icmp Check Args - ICMP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - name str
- Name of the check
- paused bool
- Whether the check should be run
- regions Sequence[str]
- List of regions on which to run checks. The values required for this parameter can be retrieved from the
GET /v1/uptime-locations
endpoint - Sequence[str]
- List of tags
- tcp_
check UptimeCheck Tcp Check Args - TCP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - trigger_
rate int - The number of minutes to wait before sending an alert
- check
Interval Number - Number of seconds between checks
- monitored
Resource Property Map - Monitored resource configuration block. The describes server under test
- confirmation Number
- Number of confirmation servers to confirm downtime before an alert is triggered
- contact
Groups List<String> - List of contact group IDs
- dns
Check Property Map - DNS check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - http
Check Property Map - HTTP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - icmp
Check Property Map - ICMP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - name String
- Name of the check
- paused Boolean
- Whether the check should be run
- regions List<String>
- List of regions on which to run checks. The values required for this parameter can be retrieved from the
GET /v1/uptime-locations
endpoint - List<String>
- List of tags
- tcp
Check Property Map - TCP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - trigger
Rate Number - The number of minutes to wait before sending an alert
Outputs
All input properties are implicitly available as output properties. Additionally, the UptimeCheck resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Locations
List<Pulumiverse.
Statuscake. Outputs. Uptime Check Location> - List of assigned monitoring locations on which to run checks
- Id string
- The provider-assigned unique ID for this managed resource.
- Locations
[]Uptime
Check Location - List of assigned monitoring locations on which to run checks
- id String
- The provider-assigned unique ID for this managed resource.
- locations
List<Uptime
Check Location> - List of assigned monitoring locations on which to run checks
- id string
- The provider-assigned unique ID for this managed resource.
- locations
Uptime
Check Location[] - List of assigned monitoring locations on which to run checks
- id str
- The provider-assigned unique ID for this managed resource.
- locations
Sequence[Uptime
Check Location] - List of assigned monitoring locations on which to run checks
- id String
- The provider-assigned unique ID for this managed resource.
- locations List<Property Map>
- List of assigned monitoring locations on which to run checks
Look up Existing UptimeCheck Resource
Get an existing UptimeCheck 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?: UptimeCheckState, opts?: CustomResourceOptions): UptimeCheck
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
check_interval: Optional[int] = None,
confirmation: Optional[int] = None,
contact_groups: Optional[Sequence[str]] = None,
dns_check: Optional[UptimeCheckDnsCheckArgs] = None,
http_check: Optional[UptimeCheckHttpCheckArgs] = None,
icmp_check: Optional[UptimeCheckIcmpCheckArgs] = None,
locations: Optional[Sequence[UptimeCheckLocationArgs]] = None,
monitored_resource: Optional[UptimeCheckMonitoredResourceArgs] = None,
name: Optional[str] = None,
paused: Optional[bool] = None,
regions: Optional[Sequence[str]] = None,
tags: Optional[Sequence[str]] = None,
tcp_check: Optional[UptimeCheckTcpCheckArgs] = None,
trigger_rate: Optional[int] = None) -> UptimeCheck
func GetUptimeCheck(ctx *Context, name string, id IDInput, state *UptimeCheckState, opts ...ResourceOption) (*UptimeCheck, error)
public static UptimeCheck Get(string name, Input<string> id, UptimeCheckState? state, CustomResourceOptions? opts = null)
public static UptimeCheck get(String name, Output<String> id, UptimeCheckState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Check
Interval int - Number of seconds between checks
- Confirmation int
- Number of confirmation servers to confirm downtime before an alert is triggered
- Contact
Groups List<string> - List of contact group IDs
- Dns
Check Pulumiverse.Statuscake. Inputs. Uptime Check Dns Check - DNS check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - Http
Check Pulumiverse.Statuscake. Inputs. Uptime Check Http Check - HTTP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - Icmp
Check Pulumiverse.Statuscake. Inputs. Uptime Check Icmp Check - ICMP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - Locations
List<Pulumiverse.
Statuscake. Inputs. Uptime Check Location> - List of assigned monitoring locations on which to run checks
- Monitored
Resource Pulumiverse.Statuscake. Inputs. Uptime Check Monitored Resource - Monitored resource configuration block. The describes server under test
- Name string
- Name of the check
- Paused bool
- Whether the check should be run
- Regions List<string>
- List of regions on which to run checks. The values required for this parameter can be retrieved from the
GET /v1/uptime-locations
endpoint - List<string>
- List of tags
- Tcp
Check Pulumiverse.Statuscake. Inputs. Uptime Check Tcp Check - TCP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - Trigger
Rate int - The number of minutes to wait before sending an alert
- Check
Interval int - Number of seconds between checks
- Confirmation int
- Number of confirmation servers to confirm downtime before an alert is triggered
- Contact
Groups []string - List of contact group IDs
- Dns
Check UptimeCheck Dns Check Args - DNS check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - Http
Check UptimeCheck Http Check Args - HTTP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - Icmp
Check UptimeCheck Icmp Check Args - ICMP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - Locations
[]Uptime
Check Location Args - List of assigned monitoring locations on which to run checks
- Monitored
Resource UptimeCheck Monitored Resource Args - Monitored resource configuration block. The describes server under test
- Name string
- Name of the check
- Paused bool
- Whether the check should be run
- Regions []string
- List of regions on which to run checks. The values required for this parameter can be retrieved from the
GET /v1/uptime-locations
endpoint - []string
- List of tags
- Tcp
Check UptimeCheck Tcp Check Args - TCP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - Trigger
Rate int - The number of minutes to wait before sending an alert
- check
Interval Integer - Number of seconds between checks
- confirmation Integer
- Number of confirmation servers to confirm downtime before an alert is triggered
- contact
Groups List<String> - List of contact group IDs
- dns
Check UptimeCheck Dns Check - DNS check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - http
Check UptimeCheck Http Check - HTTP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - icmp
Check UptimeCheck Icmp Check - ICMP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - locations
List<Uptime
Check Location> - List of assigned monitoring locations on which to run checks
- monitored
Resource UptimeCheck Monitored Resource - Monitored resource configuration block. The describes server under test
- name String
- Name of the check
- paused Boolean
- Whether the check should be run
- regions List<String>
- List of regions on which to run checks. The values required for this parameter can be retrieved from the
GET /v1/uptime-locations
endpoint - List<String>
- List of tags
- tcp
Check UptimeCheck Tcp Check - TCP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - trigger
Rate Integer - The number of minutes to wait before sending an alert
- check
Interval number - Number of seconds between checks
- confirmation number
- Number of confirmation servers to confirm downtime before an alert is triggered
- contact
Groups string[] - List of contact group IDs
- dns
Check UptimeCheck Dns Check - DNS check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - http
Check UptimeCheck Http Check - HTTP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - icmp
Check UptimeCheck Icmp Check - ICMP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - locations
Uptime
Check Location[] - List of assigned monitoring locations on which to run checks
- monitored
Resource UptimeCheck Monitored Resource - Monitored resource configuration block. The describes server under test
- name string
- Name of the check
- paused boolean
- Whether the check should be run
- regions string[]
- List of regions on which to run checks. The values required for this parameter can be retrieved from the
GET /v1/uptime-locations
endpoint - string[]
- List of tags
- tcp
Check UptimeCheck Tcp Check - TCP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - trigger
Rate number - The number of minutes to wait before sending an alert
- check_
interval int - Number of seconds between checks
- confirmation int
- Number of confirmation servers to confirm downtime before an alert is triggered
- contact_
groups Sequence[str] - List of contact group IDs
- dns_
check UptimeCheck Dns Check Args - DNS check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - http_
check UptimeCheck Http Check Args - HTTP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - icmp_
check UptimeCheck Icmp Check Args - ICMP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - locations
Sequence[Uptime
Check Location Args] - List of assigned monitoring locations on which to run checks
- monitored_
resource UptimeCheck Monitored Resource Args - Monitored resource configuration block. The describes server under test
- name str
- Name of the check
- paused bool
- Whether the check should be run
- regions Sequence[str]
- List of regions on which to run checks. The values required for this parameter can be retrieved from the
GET /v1/uptime-locations
endpoint - Sequence[str]
- List of tags
- tcp_
check UptimeCheck Tcp Check Args - TCP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - trigger_
rate int - The number of minutes to wait before sending an alert
- check
Interval Number - Number of seconds between checks
- confirmation Number
- Number of confirmation servers to confirm downtime before an alert is triggered
- contact
Groups List<String> - List of contact group IDs
- dns
Check Property Map - DNS check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - http
Check Property Map - HTTP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - icmp
Check Property Map - ICMP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - locations List<Property Map>
- List of assigned monitoring locations on which to run checks
- monitored
Resource Property Map - Monitored resource configuration block. The describes server under test
- name String
- Name of the check
- paused Boolean
- Whether the check should be run
- regions List<String>
- List of regions on which to run checks. The values required for this parameter can be retrieved from the
GET /v1/uptime-locations
endpoint - List<String>
- List of tags
- tcp
Check Property Map - TCP check configuration block. Only one of
dns_check
,http_check
,icmp_check
, andtcp_check
may be specified - trigger
Rate Number - The number of minutes to wait before sending an alert
Supporting Types
UptimeCheckDnsCheck, UptimeCheckDnsCheckArgs
- dns_
ips Sequence[str] - dns_
server str
UptimeCheckHttpCheck, UptimeCheckHttpCheckArgs
- Status
Codes List<string> - Basic
Authentication Pulumiverse.Statuscake. Inputs. Uptime Check Http Check Basic Authentication - Content
Matchers Pulumiverse.Statuscake. Inputs. Uptime Check Http Check Content Matchers - bool
- Final
Endpoint string - Follow
Redirects bool - Request
Headers Dictionary<string, string> - Request
Method string - Request
Payload Dictionary<string, string> - Request
Payload stringRaw - Timeout int
- User
Agent string - Validate
Ssl bool
- Status
Codes []string - Basic
Authentication UptimeCheck Http Check Basic Authentication - Content
Matchers UptimeCheck Http Check Content Matchers - bool
- Final
Endpoint string - Follow
Redirects bool - Request
Headers map[string]string - Request
Method string - Request
Payload map[string]string - Request
Payload stringRaw - Timeout int
- User
Agent string - Validate
Ssl bool
- status
Codes List<String> - basic
Authentication UptimeCheck Http Check Basic Authentication - content
Matchers UptimeCheck Http Check Content Matchers - Boolean
- final
Endpoint String - follow
Redirects Boolean - request
Headers Map<String,String> - request
Method String - request
Payload Map<String,String> - request
Payload StringRaw - timeout Integer
- user
Agent String - validate
Ssl Boolean
- status
Codes string[] - basic
Authentication UptimeCheck Http Check Basic Authentication - content
Matchers UptimeCheck Http Check Content Matchers - boolean
- final
Endpoint string - follow
Redirects boolean - request
Headers {[key: string]: string} - request
Method string - request
Payload {[key: string]: string} - request
Payload stringRaw - timeout number
- user
Agent string - validate
Ssl boolean
- status_
codes Sequence[str] - basic_
authentication UptimeCheck Http Check Basic Authentication - content_
matchers UptimeCheck Http Check Content Matchers - bool
- final_
endpoint str - follow_
redirects bool - request_
headers Mapping[str, str] - request_
method str - request_
payload Mapping[str, str] - request_
payload_ strraw - timeout int
- user_
agent str - validate_
ssl bool
- status
Codes List<String> - basic
Authentication Property Map - content
Matchers Property Map - Boolean
- final
Endpoint String - follow
Redirects Boolean - request
Headers Map<String> - request
Method String - request
Payload Map<String> - request
Payload StringRaw - timeout Number
- user
Agent String - validate
Ssl Boolean
UptimeCheckHttpCheckBasicAuthentication, UptimeCheckHttpCheckBasicAuthenticationArgs
UptimeCheckHttpCheckContentMatchers, UptimeCheckHttpCheckContentMatchersArgs
- Content string
- Include
Headers bool - Matcher string
- Content string
- Include
Headers bool - Matcher string
- content String
- include
Headers Boolean - matcher String
- content string
- include
Headers boolean - matcher string
- content str
- include_
headers bool - matcher str
- content String
- include
Headers Boolean - matcher String
UptimeCheckIcmpCheck, UptimeCheckIcmpCheckArgs
- Enabled bool
- Enabled bool
- enabled Boolean
- enabled boolean
- enabled bool
- enabled Boolean
UptimeCheckLocation, UptimeCheckLocationArgs
- Description string
- Ipv4 string
- Ipv6 string
- Region string
- Region
Code string - Status string
- Description string
- Ipv4 string
- Ipv6 string
- Region string
- Region
Code string - Status string
- description String
- ipv4 String
- ipv6 String
- region String
- region
Code String - status String
- description string
- ipv4 string
- ipv6 string
- region string
- region
Code string - status string
- description str
- ipv4 str
- ipv6 str
- region str
- region_
code str - status str
- description String
- ipv4 String
- ipv6 String
- region String
- region
Code String - status String
UptimeCheckMonitoredResource, UptimeCheckMonitoredResourceArgs
UptimeCheckTcpCheck, UptimeCheckTcpCheckArgs
- port Integer
- authentication
Uptime
Check Tcp Check Authentication - protocol String
- timeout Integer
- port number
- authentication
Uptime
Check Tcp Check Authentication - protocol string
- timeout number
- port Number
- authentication Property Map
- protocol String
- timeout Number
UptimeCheckTcpCheckAuthentication, UptimeCheckTcpCheckAuthenticationArgs
Package Details
- Repository
- statuscake pulumiverse/pulumi-statuscake
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
statuscake
Terraform Provider.