checkly.DnsMonitor
Creates a DNS Monitor to check DNS record availability and response times.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as checkly from "@checkly/pulumi";
const example_dns_monitor = new checkly.DnsMonitor("example-dns-monitor", {
name: "Example DNS monitor",
activated: true,
frequency: 2,
useGlobalAlertSettings: true,
locations: ["eu-west-1"],
request: {
recordType: "A",
query: "welcome.checklyhq.com",
nameServer: {
host: "1.1.1.1",
port: 53,
},
assertions: [{
source: "RESPONSE_CODE",
comparison: "EQUALS",
target: "NOERROR",
}],
},
});
import pulumi
import pulumi_checkly as checkly
example_dns_monitor = checkly.DnsMonitor("example-dns-monitor",
name="Example DNS monitor",
activated=True,
frequency=2,
use_global_alert_settings=True,
locations=["eu-west-1"],
request={
"record_type": "A",
"query": "welcome.checklyhq.com",
"name_server": {
"host": "1.1.1.1",
"port": 53,
},
"assertions": [{
"source": "RESPONSE_CODE",
"comparison": "EQUALS",
"target": "NOERROR",
}],
})
package main
import (
"github.com/checkly/pulumi-checkly/sdk/v2/go/checkly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := checkly.NewDnsMonitor(ctx, "example-dns-monitor", &checkly.DnsMonitorArgs{
Name: pulumi.String("Example DNS monitor"),
Activated: pulumi.Bool(true),
Frequency: pulumi.Int(2),
UseGlobalAlertSettings: pulumi.Bool(true),
Locations: pulumi.StringArray{
pulumi.String("eu-west-1"),
},
Request: &checkly.DnsMonitorRequestArgs{
RecordType: pulumi.String("A"),
Query: pulumi.String("welcome.checklyhq.com"),
NameServer: &checkly.DnsMonitorRequestNameServerArgs{
Host: pulumi.String("1.1.1.1"),
Port: pulumi.Int(53),
},
Assertions: checkly.DnsMonitorRequestAssertionArray{
&checkly.DnsMonitorRequestAssertionArgs{
Source: pulumi.String("RESPONSE_CODE"),
Comparison: pulumi.String("EQUALS"),
Target: pulumi.String("NOERROR"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Checkly = Pulumi.Checkly;
return await Deployment.RunAsync(() =>
{
var example_dns_monitor = new Checkly.DnsMonitor("example-dns-monitor", new()
{
Name = "Example DNS monitor",
Activated = true,
Frequency = 2,
UseGlobalAlertSettings = true,
Locations = new[]
{
"eu-west-1",
},
Request = new Checkly.Inputs.DnsMonitorRequestArgs
{
RecordType = "A",
Query = "welcome.checklyhq.com",
NameServer = new Checkly.Inputs.DnsMonitorRequestNameServerArgs
{
Host = "1.1.1.1",
Port = 53,
},
Assertions = new[]
{
new Checkly.Inputs.DnsMonitorRequestAssertionArgs
{
Source = "RESPONSE_CODE",
Comparison = "EQUALS",
Target = "NOERROR",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.checkly.DnsMonitor;
import com.pulumi.checkly.DnsMonitorArgs;
import com.pulumi.checkly.inputs.DnsMonitorRequestArgs;
import com.pulumi.checkly.inputs.DnsMonitorRequestNameServerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example_dns_monitor = new DnsMonitor("example-dns-monitor", DnsMonitorArgs.builder()
.name("Example DNS monitor")
.activated(true)
.frequency(2)
.useGlobalAlertSettings(true)
.locations("eu-west-1")
.request(DnsMonitorRequestArgs.builder()
.recordType("A")
.query("welcome.checklyhq.com")
.nameServer(DnsMonitorRequestNameServerArgs.builder()
.host("1.1.1.1")
.port(53)
.build())
.assertions(DnsMonitorRequestAssertionArgs.builder()
.source("RESPONSE_CODE")
.comparison("EQUALS")
.target("NOERROR")
.build())
.build())
.build());
}
}
resources:
example-dns-monitor:
type: checkly:DnsMonitor
properties:
name: Example DNS monitor
activated: true
frequency: 2
useGlobalAlertSettings: true
locations:
- eu-west-1
request:
recordType: A
query: welcome.checklyhq.com
nameServer:
host: 1.1.1.1
port: 53
assertions:
- source: RESPONSE_CODE
comparison: EQUALS
target: NOERROR
Create DnsMonitor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DnsMonitor(name: string, args: DnsMonitorArgs, opts?: CustomResourceOptions);@overload
def DnsMonitor(resource_name: str,
args: DnsMonitorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DnsMonitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
request: Optional[DnsMonitorRequestArgs] = None,
frequency: Optional[int] = None,
activated: Optional[bool] = None,
muted: Optional[bool] = None,
max_response_time: Optional[int] = None,
frequency_offset: Optional[int] = None,
group_id: Optional[int] = None,
group_order: Optional[int] = None,
alert_channel_subscriptions: Optional[Sequence[DnsMonitorAlertChannelSubscriptionArgs]] = None,
locations: Optional[Sequence[str]] = None,
degraded_response_time: Optional[int] = None,
name: Optional[str] = None,
alert_settings: Optional[DnsMonitorAlertSettingsArgs] = None,
retry_strategy: Optional[DnsMonitorRetryStrategyArgs] = None,
run_parallel: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
trigger_incident: Optional[DnsMonitorTriggerIncidentArgs] = None,
use_global_alert_settings: Optional[bool] = None)func NewDnsMonitor(ctx *Context, name string, args DnsMonitorArgs, opts ...ResourceOption) (*DnsMonitor, error)public DnsMonitor(string name, DnsMonitorArgs args, CustomResourceOptions? opts = null)
public DnsMonitor(String name, DnsMonitorArgs args)
public DnsMonitor(String name, DnsMonitorArgs args, CustomResourceOptions options)
type: checkly:DnsMonitor
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 DnsMonitorArgs
- 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 DnsMonitorArgs
- 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 DnsMonitorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DnsMonitorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DnsMonitorArgs
- 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 dnsMonitorResource = new Checkly.DnsMonitor("dnsMonitorResource", new()
{
Request = new Checkly.Inputs.DnsMonitorRequestArgs
{
Query = "string",
RecordType = "string",
Assertions = new[]
{
new Checkly.Inputs.DnsMonitorRequestAssertionArgs
{
Comparison = "string",
Source = "string",
Target = "string",
Property = "string",
},
},
NameServer = new Checkly.Inputs.DnsMonitorRequestNameServerArgs
{
Host = "string",
Port = 0,
},
Protocol = "string",
},
Frequency = 0,
Activated = false,
Muted = false,
MaxResponseTime = 0,
FrequencyOffset = 0,
GroupId = 0,
GroupOrder = 0,
AlertChannelSubscriptions = new[]
{
new Checkly.Inputs.DnsMonitorAlertChannelSubscriptionArgs
{
Activated = false,
ChannelId = 0,
},
},
Locations = new[]
{
"string",
},
DegradedResponseTime = 0,
Name = "string",
AlertSettings = new Checkly.Inputs.DnsMonitorAlertSettingsArgs
{
EscalationType = "string",
ParallelRunFailureThresholds = new[]
{
new Checkly.Inputs.DnsMonitorAlertSettingsParallelRunFailureThresholdArgs
{
Enabled = false,
Percentage = 0,
},
},
Reminders = new[]
{
new Checkly.Inputs.DnsMonitorAlertSettingsReminderArgs
{
Amount = 0,
Interval = 0,
},
},
RunBasedEscalations = new[]
{
new Checkly.Inputs.DnsMonitorAlertSettingsRunBasedEscalationArgs
{
FailedRunThreshold = 0,
},
},
TimeBasedEscalations = new[]
{
new Checkly.Inputs.DnsMonitorAlertSettingsTimeBasedEscalationArgs
{
MinutesFailingThreshold = 0,
},
},
},
RetryStrategy = new Checkly.Inputs.DnsMonitorRetryStrategyArgs
{
Type = "string",
BaseBackoffSeconds = 0,
MaxDurationSeconds = 0,
MaxRetries = 0,
OnlyOn = new Checkly.Inputs.DnsMonitorRetryStrategyOnlyOnArgs
{
NetworkError = false,
},
SameRegion = false,
},
RunParallel = false,
Tags = new[]
{
"string",
},
TriggerIncident = new Checkly.Inputs.DnsMonitorTriggerIncidentArgs
{
Description = "string",
Name = "string",
NotifySubscribers = false,
ServiceId = "string",
Severity = "string",
},
UseGlobalAlertSettings = false,
});
example, err := checkly.NewDnsMonitor(ctx, "dnsMonitorResource", &checkly.DnsMonitorArgs{
Request: &checkly.DnsMonitorRequestArgs{
Query: pulumi.String("string"),
RecordType: pulumi.String("string"),
Assertions: checkly.DnsMonitorRequestAssertionArray{
&checkly.DnsMonitorRequestAssertionArgs{
Comparison: pulumi.String("string"),
Source: pulumi.String("string"),
Target: pulumi.String("string"),
Property: pulumi.String("string"),
},
},
NameServer: &checkly.DnsMonitorRequestNameServerArgs{
Host: pulumi.String("string"),
Port: pulumi.Int(0),
},
Protocol: pulumi.String("string"),
},
Frequency: pulumi.Int(0),
Activated: pulumi.Bool(false),
Muted: pulumi.Bool(false),
MaxResponseTime: pulumi.Int(0),
FrequencyOffset: pulumi.Int(0),
GroupId: pulumi.Int(0),
GroupOrder: pulumi.Int(0),
AlertChannelSubscriptions: checkly.DnsMonitorAlertChannelSubscriptionArray{
&checkly.DnsMonitorAlertChannelSubscriptionArgs{
Activated: pulumi.Bool(false),
ChannelId: pulumi.Int(0),
},
},
Locations: pulumi.StringArray{
pulumi.String("string"),
},
DegradedResponseTime: pulumi.Int(0),
Name: pulumi.String("string"),
AlertSettings: &checkly.DnsMonitorAlertSettingsArgs{
EscalationType: pulumi.String("string"),
ParallelRunFailureThresholds: checkly.DnsMonitorAlertSettingsParallelRunFailureThresholdArray{
&checkly.DnsMonitorAlertSettingsParallelRunFailureThresholdArgs{
Enabled: pulumi.Bool(false),
Percentage: pulumi.Int(0),
},
},
Reminders: checkly.DnsMonitorAlertSettingsReminderArray{
&checkly.DnsMonitorAlertSettingsReminderArgs{
Amount: pulumi.Int(0),
Interval: pulumi.Int(0),
},
},
RunBasedEscalations: checkly.DnsMonitorAlertSettingsRunBasedEscalationArray{
&checkly.DnsMonitorAlertSettingsRunBasedEscalationArgs{
FailedRunThreshold: pulumi.Int(0),
},
},
TimeBasedEscalations: checkly.DnsMonitorAlertSettingsTimeBasedEscalationArray{
&checkly.DnsMonitorAlertSettingsTimeBasedEscalationArgs{
MinutesFailingThreshold: pulumi.Int(0),
},
},
},
RetryStrategy: &checkly.DnsMonitorRetryStrategyArgs{
Type: pulumi.String("string"),
BaseBackoffSeconds: pulumi.Int(0),
MaxDurationSeconds: pulumi.Int(0),
MaxRetries: pulumi.Int(0),
OnlyOn: &checkly.DnsMonitorRetryStrategyOnlyOnArgs{
NetworkError: pulumi.Bool(false),
},
SameRegion: pulumi.Bool(false),
},
RunParallel: pulumi.Bool(false),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
TriggerIncident: &checkly.DnsMonitorTriggerIncidentArgs{
Description: pulumi.String("string"),
Name: pulumi.String("string"),
NotifySubscribers: pulumi.Bool(false),
ServiceId: pulumi.String("string"),
Severity: pulumi.String("string"),
},
UseGlobalAlertSettings: pulumi.Bool(false),
})
var dnsMonitorResource = new DnsMonitor("dnsMonitorResource", DnsMonitorArgs.builder()
.request(DnsMonitorRequestArgs.builder()
.query("string")
.recordType("string")
.assertions(DnsMonitorRequestAssertionArgs.builder()
.comparison("string")
.source("string")
.target("string")
.property("string")
.build())
.nameServer(DnsMonitorRequestNameServerArgs.builder()
.host("string")
.port(0)
.build())
.protocol("string")
.build())
.frequency(0)
.activated(false)
.muted(false)
.maxResponseTime(0)
.frequencyOffset(0)
.groupId(0)
.groupOrder(0)
.alertChannelSubscriptions(DnsMonitorAlertChannelSubscriptionArgs.builder()
.activated(false)
.channelId(0)
.build())
.locations("string")
.degradedResponseTime(0)
.name("string")
.alertSettings(DnsMonitorAlertSettingsArgs.builder()
.escalationType("string")
.parallelRunFailureThresholds(DnsMonitorAlertSettingsParallelRunFailureThresholdArgs.builder()
.enabled(false)
.percentage(0)
.build())
.reminders(DnsMonitorAlertSettingsReminderArgs.builder()
.amount(0)
.interval(0)
.build())
.runBasedEscalations(DnsMonitorAlertSettingsRunBasedEscalationArgs.builder()
.failedRunThreshold(0)
.build())
.timeBasedEscalations(DnsMonitorAlertSettingsTimeBasedEscalationArgs.builder()
.minutesFailingThreshold(0)
.build())
.build())
.retryStrategy(DnsMonitorRetryStrategyArgs.builder()
.type("string")
.baseBackoffSeconds(0)
.maxDurationSeconds(0)
.maxRetries(0)
.onlyOn(DnsMonitorRetryStrategyOnlyOnArgs.builder()
.networkError(false)
.build())
.sameRegion(false)
.build())
.runParallel(false)
.tags("string")
.triggerIncident(DnsMonitorTriggerIncidentArgs.builder()
.description("string")
.name("string")
.notifySubscribers(false)
.serviceId("string")
.severity("string")
.build())
.useGlobalAlertSettings(false)
.build());
dns_monitor_resource = checkly.DnsMonitor("dnsMonitorResource",
request={
"query": "string",
"record_type": "string",
"assertions": [{
"comparison": "string",
"source": "string",
"target": "string",
"property": "string",
}],
"name_server": {
"host": "string",
"port": 0,
},
"protocol": "string",
},
frequency=0,
activated=False,
muted=False,
max_response_time=0,
frequency_offset=0,
group_id=0,
group_order=0,
alert_channel_subscriptions=[{
"activated": False,
"channel_id": 0,
}],
locations=["string"],
degraded_response_time=0,
name="string",
alert_settings={
"escalation_type": "string",
"parallel_run_failure_thresholds": [{
"enabled": False,
"percentage": 0,
}],
"reminders": [{
"amount": 0,
"interval": 0,
}],
"run_based_escalations": [{
"failed_run_threshold": 0,
}],
"time_based_escalations": [{
"minutes_failing_threshold": 0,
}],
},
retry_strategy={
"type": "string",
"base_backoff_seconds": 0,
"max_duration_seconds": 0,
"max_retries": 0,
"only_on": {
"network_error": False,
},
"same_region": False,
},
run_parallel=False,
tags=["string"],
trigger_incident={
"description": "string",
"name": "string",
"notify_subscribers": False,
"service_id": "string",
"severity": "string",
},
use_global_alert_settings=False)
const dnsMonitorResource = new checkly.DnsMonitor("dnsMonitorResource", {
request: {
query: "string",
recordType: "string",
assertions: [{
comparison: "string",
source: "string",
target: "string",
property: "string",
}],
nameServer: {
host: "string",
port: 0,
},
protocol: "string",
},
frequency: 0,
activated: false,
muted: false,
maxResponseTime: 0,
frequencyOffset: 0,
groupId: 0,
groupOrder: 0,
alertChannelSubscriptions: [{
activated: false,
channelId: 0,
}],
locations: ["string"],
degradedResponseTime: 0,
name: "string",
alertSettings: {
escalationType: "string",
parallelRunFailureThresholds: [{
enabled: false,
percentage: 0,
}],
reminders: [{
amount: 0,
interval: 0,
}],
runBasedEscalations: [{
failedRunThreshold: 0,
}],
timeBasedEscalations: [{
minutesFailingThreshold: 0,
}],
},
retryStrategy: {
type: "string",
baseBackoffSeconds: 0,
maxDurationSeconds: 0,
maxRetries: 0,
onlyOn: {
networkError: false,
},
sameRegion: false,
},
runParallel: false,
tags: ["string"],
triggerIncident: {
description: "string",
name: "string",
notifySubscribers: false,
serviceId: "string",
severity: "string",
},
useGlobalAlertSettings: false,
});
type: checkly:DnsMonitor
properties:
activated: false
alertChannelSubscriptions:
- activated: false
channelId: 0
alertSettings:
escalationType: string
parallelRunFailureThresholds:
- enabled: false
percentage: 0
reminders:
- amount: 0
interval: 0
runBasedEscalations:
- failedRunThreshold: 0
timeBasedEscalations:
- minutesFailingThreshold: 0
degradedResponseTime: 0
frequency: 0
frequencyOffset: 0
groupId: 0
groupOrder: 0
locations:
- string
maxResponseTime: 0
muted: false
name: string
request:
assertions:
- comparison: string
property: string
source: string
target: string
nameServer:
host: string
port: 0
protocol: string
query: string
recordType: string
retryStrategy:
baseBackoffSeconds: 0
maxDurationSeconds: 0
maxRetries: 0
onlyOn:
networkError: false
sameRegion: false
type: string
runParallel: false
tags:
- string
triggerIncident:
description: string
name: string
notifySubscribers: false
serviceId: string
severity: string
useGlobalAlertSettings: false
DnsMonitor 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 DnsMonitor resource accepts the following input properties:
- Activated bool
- Determines whether the monitor will run periodically or not after being deployed.
- Frequency int
- How often the monitor should run in minutes. Possible values are
0,1,2,5,10,15,30,60,120,180,360,720, and1440. - Request
Dns
Monitor Request - The parameters of the HTTP request.
- Alert
Channel List<DnsSubscriptions Monitor Alert Channel Subscription> - An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your monitor, we won't be able to alert you.
- Alert
Settings DnsMonitor Alert Settings - Determines the alert escalation policy for the monitor.
- Degraded
Response intTime - The response time in milliseconds where the monitor should be considered degraded. Possible values are between
0and5000. (Default500). - Frequency
Offset int - To create a high frequency monitor, set
frequencyto0andfrequency_offsetto10,20, or30. - Group
Id int - The ID of the check group that this monitor is part of.
- Group
Order int - The position of the monitor in the check group. It determines in what order checks and monitors are run when a group is triggered from the API or from CI/CD.
- Locations List<string>
- An array of one or more data center locations where to run the this monitor.
- Max
Response intTime - The response time in milliseconds where the monitor should be considered failing. Possible values are between
0and5000. (Default1000). - Muted bool
- Determines if any notifications will be sent out when the monitor fails and/or recovers. (Default
false). - Name string
- The name of the monitor.
- Retry
Strategy DnsMonitor Retry Strategy - A strategy for retrying failed check/monitor runs.
- Run
Parallel bool - Determines whether the monitor should run on all selected locations in parallel or round-robin. (Default
false). - List<string>
- A list of tags for organizing and filtering checks and monitors.
- Trigger
Incident DnsMonitor Trigger Incident - Create and resolve an incident based on the alert configuration. Useful for status page automation.
- Use
Global boolAlert Settings - When true, the account level alert settings will be used, not the alert setting defined on this monitor. (Default
true).
- Activated bool
- Determines whether the monitor will run periodically or not after being deployed.
- Frequency int
- How often the monitor should run in minutes. Possible values are
0,1,2,5,10,15,30,60,120,180,360,720, and1440. - Request
Dns
Monitor Request Args - The parameters of the HTTP request.
- Alert
Channel []DnsSubscriptions Monitor Alert Channel Subscription Args - An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your monitor, we won't be able to alert you.
- Alert
Settings DnsMonitor Alert Settings Args - Determines the alert escalation policy for the monitor.
- Degraded
Response intTime - The response time in milliseconds where the monitor should be considered degraded. Possible values are between
0and5000. (Default500). - Frequency
Offset int - To create a high frequency monitor, set
frequencyto0andfrequency_offsetto10,20, or30. - Group
Id int - The ID of the check group that this monitor is part of.
- Group
Order int - The position of the monitor in the check group. It determines in what order checks and monitors are run when a group is triggered from the API or from CI/CD.
- Locations []string
- An array of one or more data center locations where to run the this monitor.
- Max
Response intTime - The response time in milliseconds where the monitor should be considered failing. Possible values are between
0and5000. (Default1000). - Muted bool
- Determines if any notifications will be sent out when the monitor fails and/or recovers. (Default
false). - Name string
- The name of the monitor.
- Retry
Strategy DnsMonitor Retry Strategy Args - A strategy for retrying failed check/monitor runs.
- Run
Parallel bool - Determines whether the monitor should run on all selected locations in parallel or round-robin. (Default
false). - []string
- A list of tags for organizing and filtering checks and monitors.
- Trigger
Incident DnsMonitor Trigger Incident Args - Create and resolve an incident based on the alert configuration. Useful for status page automation.
- Use
Global boolAlert Settings - When true, the account level alert settings will be used, not the alert setting defined on this monitor. (Default
true).
- activated Boolean
- Determines whether the monitor will run periodically or not after being deployed.
- frequency Integer
- How often the monitor should run in minutes. Possible values are
0,1,2,5,10,15,30,60,120,180,360,720, and1440. - request
Dns
Monitor Request - The parameters of the HTTP request.
- alert
Channel List<DnsSubscriptions Monitor Alert Channel Subscription> - An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your monitor, we won't be able to alert you.
- alert
Settings DnsMonitor Alert Settings - Determines the alert escalation policy for the monitor.
- degraded
Response IntegerTime - The response time in milliseconds where the monitor should be considered degraded. Possible values are between
0and5000. (Default500). - frequency
Offset Integer - To create a high frequency monitor, set
frequencyto0andfrequency_offsetto10,20, or30. - group
Id Integer - The ID of the check group that this monitor is part of.
- group
Order Integer - The position of the monitor in the check group. It determines in what order checks and monitors are run when a group is triggered from the API or from CI/CD.
- locations List<String>
- An array of one or more data center locations where to run the this monitor.
- max
Response IntegerTime - The response time in milliseconds where the monitor should be considered failing. Possible values are between
0and5000. (Default1000). - muted Boolean
- Determines if any notifications will be sent out when the monitor fails and/or recovers. (Default
false). - name String
- The name of the monitor.
- retry
Strategy DnsMonitor Retry Strategy - A strategy for retrying failed check/monitor runs.
- run
Parallel Boolean - Determines whether the monitor should run on all selected locations in parallel or round-robin. (Default
false). - List<String>
- A list of tags for organizing and filtering checks and monitors.
- trigger
Incident DnsMonitor Trigger Incident - Create and resolve an incident based on the alert configuration. Useful for status page automation.
- use
Global BooleanAlert Settings - When true, the account level alert settings will be used, not the alert setting defined on this monitor. (Default
true).
- activated boolean
- Determines whether the monitor will run periodically or not after being deployed.
- frequency number
- How often the monitor should run in minutes. Possible values are
0,1,2,5,10,15,30,60,120,180,360,720, and1440. - request
Dns
Monitor Request - The parameters of the HTTP request.
- alert
Channel DnsSubscriptions Monitor Alert Channel Subscription[] - An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your monitor, we won't be able to alert you.
- alert
Settings DnsMonitor Alert Settings - Determines the alert escalation policy for the monitor.
- degraded
Response numberTime - The response time in milliseconds where the monitor should be considered degraded. Possible values are between
0and5000. (Default500). - frequency
Offset number - To create a high frequency monitor, set
frequencyto0andfrequency_offsetto10,20, or30. - group
Id number - The ID of the check group that this monitor is part of.
- group
Order number - The position of the monitor in the check group. It determines in what order checks and monitors are run when a group is triggered from the API or from CI/CD.
- locations string[]
- An array of one or more data center locations where to run the this monitor.
- max
Response numberTime - The response time in milliseconds where the monitor should be considered failing. Possible values are between
0and5000. (Default1000). - muted boolean
- Determines if any notifications will be sent out when the monitor fails and/or recovers. (Default
false). - name string
- The name of the monitor.
- retry
Strategy DnsMonitor Retry Strategy - A strategy for retrying failed check/monitor runs.
- run
Parallel boolean - Determines whether the monitor should run on all selected locations in parallel or round-robin. (Default
false). - string[]
- A list of tags for organizing and filtering checks and monitors.
- trigger
Incident DnsMonitor Trigger Incident - Create and resolve an incident based on the alert configuration. Useful for status page automation.
- use
Global booleanAlert Settings - When true, the account level alert settings will be used, not the alert setting defined on this monitor. (Default
true).
- activated bool
- Determines whether the monitor will run periodically or not after being deployed.
- frequency int
- How often the monitor should run in minutes. Possible values are
0,1,2,5,10,15,30,60,120,180,360,720, and1440. - request
Dns
Monitor Request Args - The parameters of the HTTP request.
- alert_
channel_ Sequence[Dnssubscriptions Monitor Alert Channel Subscription Args] - An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your monitor, we won't be able to alert you.
- alert_
settings DnsMonitor Alert Settings Args - Determines the alert escalation policy for the monitor.
- degraded_
response_ inttime - The response time in milliseconds where the monitor should be considered degraded. Possible values are between
0and5000. (Default500). - frequency_
offset int - To create a high frequency monitor, set
frequencyto0andfrequency_offsetto10,20, or30. - group_
id int - The ID of the check group that this monitor is part of.
- group_
order int - The position of the monitor in the check group. It determines in what order checks and monitors are run when a group is triggered from the API or from CI/CD.
- locations Sequence[str]
- An array of one or more data center locations where to run the this monitor.
- max_
response_ inttime - The response time in milliseconds where the monitor should be considered failing. Possible values are between
0and5000. (Default1000). - muted bool
- Determines if any notifications will be sent out when the monitor fails and/or recovers. (Default
false). - name str
- The name of the monitor.
- retry_
strategy DnsMonitor Retry Strategy Args - A strategy for retrying failed check/monitor runs.
- run_
parallel bool - Determines whether the monitor should run on all selected locations in parallel or round-robin. (Default
false). - Sequence[str]
- A list of tags for organizing and filtering checks and monitors.
- trigger_
incident DnsMonitor Trigger Incident Args - Create and resolve an incident based on the alert configuration. Useful for status page automation.
- use_
global_ boolalert_ settings - When true, the account level alert settings will be used, not the alert setting defined on this monitor. (Default
true).
- activated Boolean
- Determines whether the monitor will run periodically or not after being deployed.
- frequency Number
- How often the monitor should run in minutes. Possible values are
0,1,2,5,10,15,30,60,120,180,360,720, and1440. - request Property Map
- The parameters of the HTTP request.
- alert
Channel List<Property Map>Subscriptions - An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your monitor, we won't be able to alert you.
- alert
Settings Property Map - Determines the alert escalation policy for the monitor.
- degraded
Response NumberTime - The response time in milliseconds where the monitor should be considered degraded. Possible values are between
0and5000. (Default500). - frequency
Offset Number - To create a high frequency monitor, set
frequencyto0andfrequency_offsetto10,20, or30. - group
Id Number - The ID of the check group that this monitor is part of.
- group
Order Number - The position of the monitor in the check group. It determines in what order checks and monitors are run when a group is triggered from the API or from CI/CD.
- locations List<String>
- An array of one or more data center locations where to run the this monitor.
- max
Response NumberTime - The response time in milliseconds where the monitor should be considered failing. Possible values are between
0and5000. (Default1000). - muted Boolean
- Determines if any notifications will be sent out when the monitor fails and/or recovers. (Default
false). - name String
- The name of the monitor.
- retry
Strategy Property Map - A strategy for retrying failed check/monitor runs.
- run
Parallel Boolean - Determines whether the monitor should run on all selected locations in parallel or round-robin. (Default
false). - List<String>
- A list of tags for organizing and filtering checks and monitors.
- trigger
Incident Property Map - Create and resolve an incident based on the alert configuration. Useful for status page automation.
- use
Global BooleanAlert Settings - When true, the account level alert settings will be used, not the alert setting defined on this monitor. (Default
true).
Outputs
All input properties are implicitly available as output properties. Additionally, the DnsMonitor resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing DnsMonitor Resource
Get an existing DnsMonitor 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?: DnsMonitorState, opts?: CustomResourceOptions): DnsMonitor@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
activated: Optional[bool] = None,
alert_channel_subscriptions: Optional[Sequence[DnsMonitorAlertChannelSubscriptionArgs]] = None,
alert_settings: Optional[DnsMonitorAlertSettingsArgs] = None,
degraded_response_time: Optional[int] = None,
frequency: Optional[int] = None,
frequency_offset: Optional[int] = None,
group_id: Optional[int] = None,
group_order: Optional[int] = None,
locations: Optional[Sequence[str]] = None,
max_response_time: Optional[int] = None,
muted: Optional[bool] = None,
name: Optional[str] = None,
request: Optional[DnsMonitorRequestArgs] = None,
retry_strategy: Optional[DnsMonitorRetryStrategyArgs] = None,
run_parallel: Optional[bool] = None,
tags: Optional[Sequence[str]] = None,
trigger_incident: Optional[DnsMonitorTriggerIncidentArgs] = None,
use_global_alert_settings: Optional[bool] = None) -> DnsMonitorfunc GetDnsMonitor(ctx *Context, name string, id IDInput, state *DnsMonitorState, opts ...ResourceOption) (*DnsMonitor, error)public static DnsMonitor Get(string name, Input<string> id, DnsMonitorState? state, CustomResourceOptions? opts = null)public static DnsMonitor get(String name, Output<String> id, DnsMonitorState state, CustomResourceOptions options)resources: _: type: checkly:DnsMonitor get: id: ${id}- 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.
- Activated bool
- Determines whether the monitor will run periodically or not after being deployed.
- Alert
Channel List<DnsSubscriptions Monitor Alert Channel Subscription> - An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your monitor, we won't be able to alert you.
- Alert
Settings DnsMonitor Alert Settings - Determines the alert escalation policy for the monitor.
- Degraded
Response intTime - The response time in milliseconds where the monitor should be considered degraded. Possible values are between
0and5000. (Default500). - Frequency int
- How often the monitor should run in minutes. Possible values are
0,1,2,5,10,15,30,60,120,180,360,720, and1440. - Frequency
Offset int - To create a high frequency monitor, set
frequencyto0andfrequency_offsetto10,20, or30. - Group
Id int - The ID of the check group that this monitor is part of.
- Group
Order int - The position of the monitor in the check group. It determines in what order checks and monitors are run when a group is triggered from the API or from CI/CD.
- Locations List<string>
- An array of one or more data center locations where to run the this monitor.
- Max
Response intTime - The response time in milliseconds where the monitor should be considered failing. Possible values are between
0and5000. (Default1000). - Muted bool
- Determines if any notifications will be sent out when the monitor fails and/or recovers. (Default
false). - Name string
- The name of the monitor.
- Request
Dns
Monitor Request - The parameters of the HTTP request.
- Retry
Strategy DnsMonitor Retry Strategy - A strategy for retrying failed check/monitor runs.
- Run
Parallel bool - Determines whether the monitor should run on all selected locations in parallel or round-robin. (Default
false). - List<string>
- A list of tags for organizing and filtering checks and monitors.
- Trigger
Incident DnsMonitor Trigger Incident - Create and resolve an incident based on the alert configuration. Useful for status page automation.
- Use
Global boolAlert Settings - When true, the account level alert settings will be used, not the alert setting defined on this monitor. (Default
true).
- Activated bool
- Determines whether the monitor will run periodically or not after being deployed.
- Alert
Channel []DnsSubscriptions Monitor Alert Channel Subscription Args - An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your monitor, we won't be able to alert you.
- Alert
Settings DnsMonitor Alert Settings Args - Determines the alert escalation policy for the monitor.
- Degraded
Response intTime - The response time in milliseconds where the monitor should be considered degraded. Possible values are between
0and5000. (Default500). - Frequency int
- How often the monitor should run in minutes. Possible values are
0,1,2,5,10,15,30,60,120,180,360,720, and1440. - Frequency
Offset int - To create a high frequency monitor, set
frequencyto0andfrequency_offsetto10,20, or30. - Group
Id int - The ID of the check group that this monitor is part of.
- Group
Order int - The position of the monitor in the check group. It determines in what order checks and monitors are run when a group is triggered from the API or from CI/CD.
- Locations []string
- An array of one or more data center locations where to run the this monitor.
- Max
Response intTime - The response time in milliseconds where the monitor should be considered failing. Possible values are between
0and5000. (Default1000). - Muted bool
- Determines if any notifications will be sent out when the monitor fails and/or recovers. (Default
false). - Name string
- The name of the monitor.
- Request
Dns
Monitor Request Args - The parameters of the HTTP request.
- Retry
Strategy DnsMonitor Retry Strategy Args - A strategy for retrying failed check/monitor runs.
- Run
Parallel bool - Determines whether the monitor should run on all selected locations in parallel or round-robin. (Default
false). - []string
- A list of tags for organizing and filtering checks and monitors.
- Trigger
Incident DnsMonitor Trigger Incident Args - Create and resolve an incident based on the alert configuration. Useful for status page automation.
- Use
Global boolAlert Settings - When true, the account level alert settings will be used, not the alert setting defined on this monitor. (Default
true).
- activated Boolean
- Determines whether the monitor will run periodically or not after being deployed.
- alert
Channel List<DnsSubscriptions Monitor Alert Channel Subscription> - An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your monitor, we won't be able to alert you.
- alert
Settings DnsMonitor Alert Settings - Determines the alert escalation policy for the monitor.
- degraded
Response IntegerTime - The response time in milliseconds where the monitor should be considered degraded. Possible values are between
0and5000. (Default500). - frequency Integer
- How often the monitor should run in minutes. Possible values are
0,1,2,5,10,15,30,60,120,180,360,720, and1440. - frequency
Offset Integer - To create a high frequency monitor, set
frequencyto0andfrequency_offsetto10,20, or30. - group
Id Integer - The ID of the check group that this monitor is part of.
- group
Order Integer - The position of the monitor in the check group. It determines in what order checks and monitors are run when a group is triggered from the API or from CI/CD.
- locations List<String>
- An array of one or more data center locations where to run the this monitor.
- max
Response IntegerTime - The response time in milliseconds where the monitor should be considered failing. Possible values are between
0and5000. (Default1000). - muted Boolean
- Determines if any notifications will be sent out when the monitor fails and/or recovers. (Default
false). - name String
- The name of the monitor.
- request
Dns
Monitor Request - The parameters of the HTTP request.
- retry
Strategy DnsMonitor Retry Strategy - A strategy for retrying failed check/monitor runs.
- run
Parallel Boolean - Determines whether the monitor should run on all selected locations in parallel or round-robin. (Default
false). - List<String>
- A list of tags for organizing and filtering checks and monitors.
- trigger
Incident DnsMonitor Trigger Incident - Create and resolve an incident based on the alert configuration. Useful for status page automation.
- use
Global BooleanAlert Settings - When true, the account level alert settings will be used, not the alert setting defined on this monitor. (Default
true).
- activated boolean
- Determines whether the monitor will run periodically or not after being deployed.
- alert
Channel DnsSubscriptions Monitor Alert Channel Subscription[] - An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your monitor, we won't be able to alert you.
- alert
Settings DnsMonitor Alert Settings - Determines the alert escalation policy for the monitor.
- degraded
Response numberTime - The response time in milliseconds where the monitor should be considered degraded. Possible values are between
0and5000. (Default500). - frequency number
- How often the monitor should run in minutes. Possible values are
0,1,2,5,10,15,30,60,120,180,360,720, and1440. - frequency
Offset number - To create a high frequency monitor, set
frequencyto0andfrequency_offsetto10,20, or30. - group
Id number - The ID of the check group that this monitor is part of.
- group
Order number - The position of the monitor in the check group. It determines in what order checks and monitors are run when a group is triggered from the API or from CI/CD.
- locations string[]
- An array of one or more data center locations where to run the this monitor.
- max
Response numberTime - The response time in milliseconds where the monitor should be considered failing. Possible values are between
0and5000. (Default1000). - muted boolean
- Determines if any notifications will be sent out when the monitor fails and/or recovers. (Default
false). - name string
- The name of the monitor.
- request
Dns
Monitor Request - The parameters of the HTTP request.
- retry
Strategy DnsMonitor Retry Strategy - A strategy for retrying failed check/monitor runs.
- run
Parallel boolean - Determines whether the monitor should run on all selected locations in parallel or round-robin. (Default
false). - string[]
- A list of tags for organizing and filtering checks and monitors.
- trigger
Incident DnsMonitor Trigger Incident - Create and resolve an incident based on the alert configuration. Useful for status page automation.
- use
Global booleanAlert Settings - When true, the account level alert settings will be used, not the alert setting defined on this monitor. (Default
true).
- activated bool
- Determines whether the monitor will run periodically or not after being deployed.
- alert_
channel_ Sequence[Dnssubscriptions Monitor Alert Channel Subscription Args] - An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your monitor, we won't be able to alert you.
- alert_
settings DnsMonitor Alert Settings Args - Determines the alert escalation policy for the monitor.
- degraded_
response_ inttime - The response time in milliseconds where the monitor should be considered degraded. Possible values are between
0and5000. (Default500). - frequency int
- How often the monitor should run in minutes. Possible values are
0,1,2,5,10,15,30,60,120,180,360,720, and1440. - frequency_
offset int - To create a high frequency monitor, set
frequencyto0andfrequency_offsetto10,20, or30. - group_
id int - The ID of the check group that this monitor is part of.
- group_
order int - The position of the monitor in the check group. It determines in what order checks and monitors are run when a group is triggered from the API or from CI/CD.
- locations Sequence[str]
- An array of one or more data center locations where to run the this monitor.
- max_
response_ inttime - The response time in milliseconds where the monitor should be considered failing. Possible values are between
0and5000. (Default1000). - muted bool
- Determines if any notifications will be sent out when the monitor fails and/or recovers. (Default
false). - name str
- The name of the monitor.
- request
Dns
Monitor Request Args - The parameters of the HTTP request.
- retry_
strategy DnsMonitor Retry Strategy Args - A strategy for retrying failed check/monitor runs.
- run_
parallel bool - Determines whether the monitor should run on all selected locations in parallel or round-robin. (Default
false). - Sequence[str]
- A list of tags for organizing and filtering checks and monitors.
- trigger_
incident DnsMonitor Trigger Incident Args - Create and resolve an incident based on the alert configuration. Useful for status page automation.
- use_
global_ boolalert_ settings - When true, the account level alert settings will be used, not the alert setting defined on this monitor. (Default
true).
- activated Boolean
- Determines whether the monitor will run periodically or not after being deployed.
- alert
Channel List<Property Map>Subscriptions - An array of channel IDs and whether they're activated or not. If you don't set at least one alert subscription for your monitor, we won't be able to alert you.
- alert
Settings Property Map - Determines the alert escalation policy for the monitor.
- degraded
Response NumberTime - The response time in milliseconds where the monitor should be considered degraded. Possible values are between
0and5000. (Default500). - frequency Number
- How often the monitor should run in minutes. Possible values are
0,1,2,5,10,15,30,60,120,180,360,720, and1440. - frequency
Offset Number - To create a high frequency monitor, set
frequencyto0andfrequency_offsetto10,20, or30. - group
Id Number - The ID of the check group that this monitor is part of.
- group
Order Number - The position of the monitor in the check group. It determines in what order checks and monitors are run when a group is triggered from the API or from CI/CD.
- locations List<String>
- An array of one or more data center locations where to run the this monitor.
- max
Response NumberTime - The response time in milliseconds where the monitor should be considered failing. Possible values are between
0and5000. (Default1000). - muted Boolean
- Determines if any notifications will be sent out when the monitor fails and/or recovers. (Default
false). - name String
- The name of the monitor.
- request Property Map
- The parameters of the HTTP request.
- retry
Strategy Property Map - A strategy for retrying failed check/monitor runs.
- run
Parallel Boolean - Determines whether the monitor should run on all selected locations in parallel or round-robin. (Default
false). - List<String>
- A list of tags for organizing and filtering checks and monitors.
- trigger
Incident Property Map - Create and resolve an incident based on the alert configuration. Useful for status page automation.
- use
Global BooleanAlert Settings - When true, the account level alert settings will be used, not the alert setting defined on this monitor. (Default
true).
Supporting Types
DnsMonitorAlertChannelSubscription, DnsMonitorAlertChannelSubscriptionArgs
- activated bool
- Whether an alert should be sent to this channel.
- channel_
id int - The ID of the alert channel.
DnsMonitorAlertSettings, DnsMonitorAlertSettingsArgs
- Escalation
Type string - Determines the type of escalation to use. Possible values are
RUN_BASEDandTIME_BASED. (DefaultRUN_BASED). - Parallel
Run List<DnsFailure Thresholds Monitor Alert Settings Parallel Run Failure Threshold> - Configuration for parallel run failure threshold.
- Reminders
List<Dns
Monitor Alert Settings Reminder> - Defines how often to send reminder notifications after initial alert.
- Run
Based List<DnsEscalations Monitor Alert Settings Run Based Escalation> - Configuration for run-based escalation.
- Time
Based List<DnsEscalations Monitor Alert Settings Time Based Escalation> - Configuration for time-based escalation.
- Escalation
Type string - Determines the type of escalation to use. Possible values are
RUN_BASEDandTIME_BASED. (DefaultRUN_BASED). - Parallel
Run []DnsFailure Thresholds Monitor Alert Settings Parallel Run Failure Threshold - Configuration for parallel run failure threshold.
- Reminders
[]Dns
Monitor Alert Settings Reminder - Defines how often to send reminder notifications after initial alert.
- Run
Based []DnsEscalations Monitor Alert Settings Run Based Escalation - Configuration for run-based escalation.
- Time
Based []DnsEscalations Monitor Alert Settings Time Based Escalation - Configuration for time-based escalation.
- escalation
Type String - Determines the type of escalation to use. Possible values are
RUN_BASEDandTIME_BASED. (DefaultRUN_BASED). - parallel
Run List<DnsFailure Thresholds Monitor Alert Settings Parallel Run Failure Threshold> - Configuration for parallel run failure threshold.
- reminders
List<Dns
Monitor Alert Settings Reminder> - Defines how often to send reminder notifications after initial alert.
- run
Based List<DnsEscalations Monitor Alert Settings Run Based Escalation> - Configuration for run-based escalation.
- time
Based List<DnsEscalations Monitor Alert Settings Time Based Escalation> - Configuration for time-based escalation.
- escalation
Type string - Determines the type of escalation to use. Possible values are
RUN_BASEDandTIME_BASED. (DefaultRUN_BASED). - parallel
Run DnsFailure Thresholds Monitor Alert Settings Parallel Run Failure Threshold[] - Configuration for parallel run failure threshold.
- reminders
Dns
Monitor Alert Settings Reminder[] - Defines how often to send reminder notifications after initial alert.
- run
Based DnsEscalations Monitor Alert Settings Run Based Escalation[] - Configuration for run-based escalation.
- time
Based DnsEscalations Monitor Alert Settings Time Based Escalation[] - Configuration for time-based escalation.
- escalation_
type str - Determines the type of escalation to use. Possible values are
RUN_BASEDandTIME_BASED. (DefaultRUN_BASED). - parallel_
run_ Sequence[Dnsfailure_ thresholds Monitor Alert Settings Parallel Run Failure Threshold] - Configuration for parallel run failure threshold.
- reminders
Sequence[Dns
Monitor Alert Settings Reminder] - Defines how often to send reminder notifications after initial alert.
- run_
based_ Sequence[Dnsescalations Monitor Alert Settings Run Based Escalation] - Configuration for run-based escalation.
- time_
based_ Sequence[Dnsescalations Monitor Alert Settings Time Based Escalation] - Configuration for time-based escalation.
- escalation
Type String - Determines the type of escalation to use. Possible values are
RUN_BASEDandTIME_BASED. (DefaultRUN_BASED). - parallel
Run List<Property Map>Failure Thresholds - Configuration for parallel run failure threshold.
- reminders List<Property Map>
- Defines how often to send reminder notifications after initial alert.
- run
Based List<Property Map>Escalations - Configuration for run-based escalation.
- time
Based List<Property Map>Escalations - Configuration for time-based escalation.
DnsMonitorAlertSettingsParallelRunFailureThreshold, DnsMonitorAlertSettingsParallelRunFailureThresholdArgs
- Enabled bool
- Whether parallel run failure threshold is enabled. Only applies if the monitor is scheduled for multiple locations in parallel. (Default
false). - Percentage int
- Percentage of runs that must fail to trigger alert. Possible values are
10,20,30,40,50,60,70,80,90, and100. (Default10).
- Enabled bool
- Whether parallel run failure threshold is enabled. Only applies if the monitor is scheduled for multiple locations in parallel. (Default
false). - Percentage int
- Percentage of runs that must fail to trigger alert. Possible values are
10,20,30,40,50,60,70,80,90, and100. (Default10).
- enabled Boolean
- Whether parallel run failure threshold is enabled. Only applies if the monitor is scheduled for multiple locations in parallel. (Default
false). - percentage Integer
- Percentage of runs that must fail to trigger alert. Possible values are
10,20,30,40,50,60,70,80,90, and100. (Default10).
- enabled boolean
- Whether parallel run failure threshold is enabled. Only applies if the monitor is scheduled for multiple locations in parallel. (Default
false). - percentage number
- Percentage of runs that must fail to trigger alert. Possible values are
10,20,30,40,50,60,70,80,90, and100. (Default10).
- enabled bool
- Whether parallel run failure threshold is enabled. Only applies if the monitor is scheduled for multiple locations in parallel. (Default
false). - percentage int
- Percentage of runs that must fail to trigger alert. Possible values are
10,20,30,40,50,60,70,80,90, and100. (Default10).
- enabled Boolean
- Whether parallel run failure threshold is enabled. Only applies if the monitor is scheduled for multiple locations in parallel. (Default
false). - percentage Number
- Percentage of runs that must fail to trigger alert. Possible values are
10,20,30,40,50,60,70,80,90, and100. (Default10).
DnsMonitorAlertSettingsReminder, DnsMonitorAlertSettingsReminderArgs
DnsMonitorAlertSettingsRunBasedEscalation, DnsMonitorAlertSettingsRunBasedEscalationArgs
- Failed
Run intThreshold - Send an alert notification after the given number of consecutive monitor runs have failed. Possible values are between
1and5. (Default1).
- Failed
Run intThreshold - Send an alert notification after the given number of consecutive monitor runs have failed. Possible values are between
1and5. (Default1).
- failed
Run IntegerThreshold - Send an alert notification after the given number of consecutive monitor runs have failed. Possible values are between
1and5. (Default1).
- failed
Run numberThreshold - Send an alert notification after the given number of consecutive monitor runs have failed. Possible values are between
1and5. (Default1).
- failed_
run_ intthreshold - Send an alert notification after the given number of consecutive monitor runs have failed. Possible values are between
1and5. (Default1).
- failed
Run NumberThreshold - Send an alert notification after the given number of consecutive monitor runs have failed. Possible values are between
1and5. (Default1).
DnsMonitorAlertSettingsTimeBasedEscalation, DnsMonitorAlertSettingsTimeBasedEscalationArgs
- Minutes
Failing intThreshold - Send an alert notification after the monitor has been failing for the given amount of time (in minutes). Possible values are
5,10,15, and30. (Default5).
- Minutes
Failing intThreshold - Send an alert notification after the monitor has been failing for the given amount of time (in minutes). Possible values are
5,10,15, and30. (Default5).
- minutes
Failing IntegerThreshold - Send an alert notification after the monitor has been failing for the given amount of time (in minutes). Possible values are
5,10,15, and30. (Default5).
- minutes
Failing numberThreshold - Send an alert notification after the monitor has been failing for the given amount of time (in minutes). Possible values are
5,10,15, and30. (Default5).
- minutes_
failing_ intthreshold - Send an alert notification after the monitor has been failing for the given amount of time (in minutes). Possible values are
5,10,15, and30. (Default5).
- minutes
Failing NumberThreshold - Send an alert notification after the monitor has been failing for the given amount of time (in minutes). Possible values are
5,10,15, and30. (Default5).
DnsMonitorRequest, DnsMonitorRequestArgs
- Query string
- The DNS record to query.
- Record
Type string - The DNS record type. Possible values are
A,AAAA,CNAME,MX,NS,TXTandSOA. - Assertions
List<Dns
Monitor Request Assertion> - Assertions to validate the HTTP response. DNS monitors only support status code assertions.
- Name
Server DnsMonitor Request Name Server - The name server to use.
- Protocol string
- The protocol used to communicate with the name server. Possible values are
UDPandTCP. (DefaultUDP).
- Query string
- The DNS record to query.
- Record
Type string - The DNS record type. Possible values are
A,AAAA,CNAME,MX,NS,TXTandSOA. - Assertions
[]Dns
Monitor Request Assertion - Assertions to validate the HTTP response. DNS monitors only support status code assertions.
- Name
Server DnsMonitor Request Name Server - The name server to use.
- Protocol string
- The protocol used to communicate with the name server. Possible values are
UDPandTCP. (DefaultUDP).
- query String
- The DNS record to query.
- record
Type String - The DNS record type. Possible values are
A,AAAA,CNAME,MX,NS,TXTandSOA. - assertions
List<Dns
Monitor Request Assertion> - Assertions to validate the HTTP response. DNS monitors only support status code assertions.
- name
Server DnsMonitor Request Name Server - The name server to use.
- protocol String
- The protocol used to communicate with the name server. Possible values are
UDPandTCP. (DefaultUDP).
- query string
- The DNS record to query.
- record
Type string - The DNS record type. Possible values are
A,AAAA,CNAME,MX,NS,TXTandSOA. - assertions
Dns
Monitor Request Assertion[] - Assertions to validate the HTTP response. DNS monitors only support status code assertions.
- name
Server DnsMonitor Request Name Server - The name server to use.
- protocol string
- The protocol used to communicate with the name server. Possible values are
UDPandTCP. (DefaultUDP).
- query str
- The DNS record to query.
- record_
type str - The DNS record type. Possible values are
A,AAAA,CNAME,MX,NS,TXTandSOA. - assertions
Sequence[Dns
Monitor Request Assertion] - Assertions to validate the HTTP response. DNS monitors only support status code assertions.
- name_
server DnsMonitor Request Name Server - The name server to use.
- protocol str
- The protocol used to communicate with the name server. Possible values are
UDPandTCP. (DefaultUDP).
- query String
- The DNS record to query.
- record
Type String - The DNS record type. Possible values are
A,AAAA,CNAME,MX,NS,TXTandSOA. - assertions List<Property Map>
- Assertions to validate the HTTP response. DNS monitors only support status code assertions.
- name
Server Property Map - The name server to use.
- protocol String
- The protocol used to communicate with the name server. Possible values are
UDPandTCP. (DefaultUDP).
DnsMonitorRequestAssertion, DnsMonitorRequestAssertionArgs
- Comparison string
- The type of comparison to be executed between expected and actual value of the assertion. Possible values are
EQUALS,NOT_EQUALS,GREATER_THANandLESS_THAN. - Source string
- The source of the asserted value. Possible values are
RESPONSE_CODE,RESPONSE_TIME,TEXT_ANSWERandJSON_ANSWER. - Target string
- The target value. Typically
NOERRORwhen the source isRESPONSE_CODE. - Property string
- Comparison string
- The type of comparison to be executed between expected and actual value of the assertion. Possible values are
EQUALS,NOT_EQUALS,GREATER_THANandLESS_THAN. - Source string
- The source of the asserted value. Possible values are
RESPONSE_CODE,RESPONSE_TIME,TEXT_ANSWERandJSON_ANSWER. - Target string
- The target value. Typically
NOERRORwhen the source isRESPONSE_CODE. - Property string
- comparison String
- The type of comparison to be executed between expected and actual value of the assertion. Possible values are
EQUALS,NOT_EQUALS,GREATER_THANandLESS_THAN. - source String
- The source of the asserted value. Possible values are
RESPONSE_CODE,RESPONSE_TIME,TEXT_ANSWERandJSON_ANSWER. - target String
- The target value. Typically
NOERRORwhen the source isRESPONSE_CODE. - property String
- comparison string
- The type of comparison to be executed between expected and actual value of the assertion. Possible values are
EQUALS,NOT_EQUALS,GREATER_THANandLESS_THAN. - source string
- The source of the asserted value. Possible values are
RESPONSE_CODE,RESPONSE_TIME,TEXT_ANSWERandJSON_ANSWER. - target string
- The target value. Typically
NOERRORwhen the source isRESPONSE_CODE. - property string
- comparison str
- The type of comparison to be executed between expected and actual value of the assertion. Possible values are
EQUALS,NOT_EQUALS,GREATER_THANandLESS_THAN. - source str
- The source of the asserted value. Possible values are
RESPONSE_CODE,RESPONSE_TIME,TEXT_ANSWERandJSON_ANSWER. - target str
- The target value. Typically
NOERRORwhen the source isRESPONSE_CODE. - property str
- comparison String
- The type of comparison to be executed between expected and actual value of the assertion. Possible values are
EQUALS,NOT_EQUALS,GREATER_THANandLESS_THAN. - source String
- The source of the asserted value. Possible values are
RESPONSE_CODE,RESPONSE_TIME,TEXT_ANSWERandJSON_ANSWER. - target String
- The target value. Typically
NOERRORwhen the source isRESPONSE_CODE. - property String
DnsMonitorRequestNameServer, DnsMonitorRequestNameServerArgs
DnsMonitorRetryStrategy, DnsMonitorRetryStrategyArgs
- Type string
- Determines which type of retry strategy to use. Possible values are
FIXED,LINEAR,EXPONENTIAL,SINGLE_RETRY, andNO_RETRIES. - Base
Backoff intSeconds - The number of seconds to wait before the first retry attempt. (Default
60). - Max
Duration intSeconds - The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when
typeisFIXED,LINEAR, orEXPONENTIAL. (Default600). - Max
Retries int - The maximum number of times to retry the check/monitor. Value must be between
1and10. Available whentypeisFIXED,LINEAR, orEXPONENTIAL. (Default2). - Only
On DnsMonitor Retry Strategy Only On - Apply the retry strategy only if the defined conditions match.
- Same
Region bool - Whether retries should be run in the same region as the initial check/monitor run. (Default
true).
- Type string
- Determines which type of retry strategy to use. Possible values are
FIXED,LINEAR,EXPONENTIAL,SINGLE_RETRY, andNO_RETRIES. - Base
Backoff intSeconds - The number of seconds to wait before the first retry attempt. (Default
60). - Max
Duration intSeconds - The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when
typeisFIXED,LINEAR, orEXPONENTIAL. (Default600). - Max
Retries int - The maximum number of times to retry the check/monitor. Value must be between
1and10. Available whentypeisFIXED,LINEAR, orEXPONENTIAL. (Default2). - Only
On DnsMonitor Retry Strategy Only On - Apply the retry strategy only if the defined conditions match.
- Same
Region bool - Whether retries should be run in the same region as the initial check/monitor run. (Default
true).
- type String
- Determines which type of retry strategy to use. Possible values are
FIXED,LINEAR,EXPONENTIAL,SINGLE_RETRY, andNO_RETRIES. - base
Backoff IntegerSeconds - The number of seconds to wait before the first retry attempt. (Default
60). - max
Duration IntegerSeconds - The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when
typeisFIXED,LINEAR, orEXPONENTIAL. (Default600). - max
Retries Integer - The maximum number of times to retry the check/monitor. Value must be between
1and10. Available whentypeisFIXED,LINEAR, orEXPONENTIAL. (Default2). - only
On DnsMonitor Retry Strategy Only On - Apply the retry strategy only if the defined conditions match.
- same
Region Boolean - Whether retries should be run in the same region as the initial check/monitor run. (Default
true).
- type string
- Determines which type of retry strategy to use. Possible values are
FIXED,LINEAR,EXPONENTIAL,SINGLE_RETRY, andNO_RETRIES. - base
Backoff numberSeconds - The number of seconds to wait before the first retry attempt. (Default
60). - max
Duration numberSeconds - The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when
typeisFIXED,LINEAR, orEXPONENTIAL. (Default600). - max
Retries number - The maximum number of times to retry the check/monitor. Value must be between
1and10. Available whentypeisFIXED,LINEAR, orEXPONENTIAL. (Default2). - only
On DnsMonitor Retry Strategy Only On - Apply the retry strategy only if the defined conditions match.
- same
Region boolean - Whether retries should be run in the same region as the initial check/monitor run. (Default
true).
- type str
- Determines which type of retry strategy to use. Possible values are
FIXED,LINEAR,EXPONENTIAL,SINGLE_RETRY, andNO_RETRIES. - base_
backoff_ intseconds - The number of seconds to wait before the first retry attempt. (Default
60). - max_
duration_ intseconds - The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when
typeisFIXED,LINEAR, orEXPONENTIAL. (Default600). - max_
retries int - The maximum number of times to retry the check/monitor. Value must be between
1and10. Available whentypeisFIXED,LINEAR, orEXPONENTIAL. (Default2). - only_
on DnsMonitor Retry Strategy Only On - Apply the retry strategy only if the defined conditions match.
- same_
region bool - Whether retries should be run in the same region as the initial check/monitor run. (Default
true).
- type String
- Determines which type of retry strategy to use. Possible values are
FIXED,LINEAR,EXPONENTIAL,SINGLE_RETRY, andNO_RETRIES. - base
Backoff NumberSeconds - The number of seconds to wait before the first retry attempt. (Default
60). - max
Duration NumberSeconds - The total amount of time to continue retrying the check/monitor (maximum 600 seconds). Available when
typeisFIXED,LINEAR, orEXPONENTIAL. (Default600). - max
Retries Number - The maximum number of times to retry the check/monitor. Value must be between
1and10. Available whentypeisFIXED,LINEAR, orEXPONENTIAL. (Default2). - only
On Property Map - Apply the retry strategy only if the defined conditions match.
- same
Region Boolean - Whether retries should be run in the same region as the initial check/monitor run. (Default
true).
DnsMonitorRetryStrategyOnlyOn, DnsMonitorRetryStrategyOnlyOnArgs
- Network
Error bool - When
true, retry only if the cause of the failure is a network error. (Defaultfalse).
- Network
Error bool - When
true, retry only if the cause of the failure is a network error. (Defaultfalse).
- network
Error Boolean - When
true, retry only if the cause of the failure is a network error. (Defaultfalse).
- network
Error boolean - When
true, retry only if the cause of the failure is a network error. (Defaultfalse).
- network_
error bool - When
true, retry only if the cause of the failure is a network error. (Defaultfalse).
- network
Error Boolean - When
true, retry only if the cause of the failure is a network error. (Defaultfalse).
DnsMonitorTriggerIncident, DnsMonitorTriggerIncidentArgs
- Description string
- A detailed description of the incident.
- Name string
- The name of the incident.
- Notify
Subscribers bool - Whether to notify subscribers when the incident is triggered.
- Service
Id string - The status page service that this incident will be associated with.
- Severity string
- The severity level of the incident. Possible values are
MINOR,MEDIUM,MAJOR, andCRITICAL.
- Description string
- A detailed description of the incident.
- Name string
- The name of the incident.
- Notify
Subscribers bool - Whether to notify subscribers when the incident is triggered.
- Service
Id string - The status page service that this incident will be associated with.
- Severity string
- The severity level of the incident. Possible values are
MINOR,MEDIUM,MAJOR, andCRITICAL.
- description String
- A detailed description of the incident.
- name String
- The name of the incident.
- notify
Subscribers Boolean - Whether to notify subscribers when the incident is triggered.
- service
Id String - The status page service that this incident will be associated with.
- severity String
- The severity level of the incident. Possible values are
MINOR,MEDIUM,MAJOR, andCRITICAL.
- description string
- A detailed description of the incident.
- name string
- The name of the incident.
- notify
Subscribers boolean - Whether to notify subscribers when the incident is triggered.
- service
Id string - The status page service that this incident will be associated with.
- severity string
- The severity level of the incident. Possible values are
MINOR,MEDIUM,MAJOR, andCRITICAL.
- description str
- A detailed description of the incident.
- name str
- The name of the incident.
- notify_
subscribers bool - Whether to notify subscribers when the incident is triggered.
- service_
id str - The status page service that this incident will be associated with.
- severity str
- The severity level of the incident. Possible values are
MINOR,MEDIUM,MAJOR, andCRITICAL.
- description String
- A detailed description of the incident.
- name String
- The name of the incident.
- notify
Subscribers Boolean - Whether to notify subscribers when the incident is triggered.
- service
Id String - The status page service that this incident will be associated with.
- severity String
- The severity level of the incident. Possible values are
MINOR,MEDIUM,MAJOR, andCRITICAL.
Package Details
- Repository
- checkly checkly/pulumi-checkly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
checklyTerraform Provider.
