grafana.SyntheticMonitoringCheck
Explore with Pulumi AI
Synthetic Monitoring checks are tests that run on selected probes at defined intervals and report metrics and logs back to your Grafana Cloud account. The target for checks can be a domain name, a server, or a website, depending on what information you would like to gather about your endpoint. You can define multiple checks for a single endpoint to check different capabilities.
Example Usage
DNS Basic
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumi/grafana";
import * as grafana from "@pulumiverse/grafana";
const main = grafana.syntheticMonitoring.getProbes({});
const dns = new grafana.syntheticmonitoring.Check("dns", {
job: "DNS Defaults",
target: "grafana.com",
enabled: false,
probes: [main.then(main => main.probes?.atlanta)],
labels: {
foo: "bar",
},
settings: {
dns: {},
},
});
import pulumi
import pulumi_grafana as grafana
import pulumiverse_grafana as grafana
main = grafana.syntheticMonitoring.get_probes()
dns = grafana.synthetic_monitoring.Check("dns",
job="DNS Defaults",
target="grafana.com",
enabled=False,
probes=[main.probes["atlanta"]],
labels={
"foo": "bar",
},
settings={
"dns": {},
})
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/syntheticMonitoring"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
main, err := syntheticMonitoring.GetProbes(ctx, &syntheticmonitoring.GetProbesArgs{}, nil)
if err != nil {
return err
}
_, err = syntheticMonitoring.NewCheck(ctx, "dns", &syntheticMonitoring.CheckArgs{
Job: pulumi.String("DNS Defaults"),
Target: pulumi.String("grafana.com"),
Enabled: pulumi.Bool(false),
Probes: pulumi.IntArray{
pulumi.Int(main.Probes.Atlanta),
},
Labels: pulumi.StringMap{
"foo": pulumi.String("bar"),
},
Settings: &syntheticmonitoring.CheckSettingsArgs{
Dns: &syntheticmonitoring.CheckSettingsDnsArgs{},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumi.Grafana;
using Grafana = Pulumiverse.Grafana;
return await Deployment.RunAsync(() =>
{
var main = Grafana.SyntheticMonitoring.GetProbes.Invoke();
var dns = new Grafana.SyntheticMonitoring.Check("dns", new()
{
Job = "DNS Defaults",
Target = "grafana.com",
Enabled = false,
Probes = new[]
{
main.Apply(getProbesResult => getProbesResult.Probes?.Atlanta),
},
Labels =
{
{ "foo", "bar" },
},
Settings = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsArgs
{
Dns = null,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.syntheticMonitoring.SyntheticMonitoringFunctions;
import com.pulumi.grafana.syntheticMonitoring.inputs.GetProbesArgs;
import com.pulumi.grafana.syntheticMonitoring.Check;
import com.pulumi.grafana.syntheticMonitoring.CheckArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsDnsArgs;
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) {
final var main = SyntheticMonitoringFunctions.getProbes();
var dns = new Check("dns", CheckArgs.builder()
.job("DNS Defaults")
.target("grafana.com")
.enabled(false)
.probes(main.applyValue(getProbesResult -> getProbesResult.probes().atlanta()))
.labels(Map.of("foo", "bar"))
.settings(CheckSettingsArgs.builder()
.dns()
.build())
.build());
}
}
resources:
dns:
type: grafana:syntheticMonitoring:Check
properties:
job: DNS Defaults
target: grafana.com
enabled: false
probes:
- ${main.probes.atlanta}
labels:
foo: bar
settings:
dns: {}
variables:
main:
fn::invoke:
Function: grafana:syntheticMonitoring:getProbes
Arguments: {}
DNS Complex
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumi/grafana";
import * as grafana from "@pulumiverse/grafana";
const main = grafana.syntheticMonitoring.getProbes({});
const dns = new grafana.syntheticmonitoring.Check("dns", {
job: "DNS Updated",
target: "grafana.net",
enabled: false,
probes: [
main.then(main => main.probes?.frankfurt),
main.then(main => main.probes?.london),
],
labels: {
foo: "baz",
},
settings: {
dns: {
ipVersion: "Any",
server: "8.8.4.4",
port: 8600,
recordType: "CNAME",
protocol: "TCP",
validRCodes: [
"NOERROR",
"NOTAUTH",
],
validateAnswerRrs: {
failIfMatchesRegexps: [".+-bad-stuff*"],
failIfNotMatchesRegexps: [".+-good-stuff*"],
},
validateAuthorityRrs: {
failIfMatchesRegexps: [".+-bad-stuff*"],
failIfNotMatchesRegexps: [".+-good-stuff*"],
},
validateAdditionalRrs: [{
failIfMatchesRegexps: [".+-bad-stuff*"],
failIfNotMatchesRegexps: [".+-good-stuff*"],
}],
},
},
});
import pulumi
import pulumi_grafana as grafana
import pulumiverse_grafana as grafana
main = grafana.syntheticMonitoring.get_probes()
dns = grafana.synthetic_monitoring.Check("dns",
job="DNS Updated",
target="grafana.net",
enabled=False,
probes=[
main.probes["frankfurt"],
main.probes["london"],
],
labels={
"foo": "baz",
},
settings={
"dns": {
"ip_version": "Any",
"server": "8.8.4.4",
"port": 8600,
"record_type": "CNAME",
"protocol": "TCP",
"valid_r_codes": [
"NOERROR",
"NOTAUTH",
],
"validate_answer_rrs": {
"fail_if_matches_regexps": [".+-bad-stuff*"],
"fail_if_not_matches_regexps": [".+-good-stuff*"],
},
"validate_authority_rrs": {
"fail_if_matches_regexps": [".+-bad-stuff*"],
"fail_if_not_matches_regexps": [".+-good-stuff*"],
},
"validate_additional_rrs": [{
"fail_if_matches_regexps": [".+-bad-stuff*"],
"fail_if_not_matches_regexps": [".+-good-stuff*"],
}],
},
})
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/syntheticMonitoring"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
main, err := syntheticMonitoring.GetProbes(ctx, &syntheticmonitoring.GetProbesArgs{}, nil)
if err != nil {
return err
}
_, err = syntheticMonitoring.NewCheck(ctx, "dns", &syntheticMonitoring.CheckArgs{
Job: pulumi.String("DNS Updated"),
Target: pulumi.String("grafana.net"),
Enabled: pulumi.Bool(false),
Probes: pulumi.IntArray{
pulumi.Int(main.Probes.Frankfurt),
pulumi.Int(main.Probes.London),
},
Labels: pulumi.StringMap{
"foo": pulumi.String("baz"),
},
Settings: &syntheticmonitoring.CheckSettingsArgs{
Dns: &syntheticmonitoring.CheckSettingsDnsArgs{
IpVersion: pulumi.String("Any"),
Server: pulumi.String("8.8.4.4"),
Port: pulumi.Int(8600),
RecordType: pulumi.String("CNAME"),
Protocol: pulumi.String("TCP"),
ValidRCodes: pulumi.StringArray{
pulumi.String("NOERROR"),
pulumi.String("NOTAUTH"),
},
ValidateAnswerRrs: &syntheticmonitoring.CheckSettingsDnsValidateAnswerRrsArgs{
FailIfMatchesRegexps: pulumi.StringArray{
pulumi.String(".+-bad-stuff*"),
},
FailIfNotMatchesRegexps: pulumi.StringArray{
pulumi.String(".+-good-stuff*"),
},
},
ValidateAuthorityRrs: &syntheticmonitoring.CheckSettingsDnsValidateAuthorityRrsArgs{
FailIfMatchesRegexps: pulumi.StringArray{
pulumi.String(".+-bad-stuff*"),
},
FailIfNotMatchesRegexps: pulumi.StringArray{
pulumi.String(".+-good-stuff*"),
},
},
ValidateAdditionalRrs: syntheticmonitoring.CheckSettingsDnsValidateAdditionalRrArray{
&syntheticmonitoring.CheckSettingsDnsValidateAdditionalRrArgs{
FailIfMatchesRegexps: pulumi.StringArray{
pulumi.String(".+-bad-stuff*"),
},
FailIfNotMatchesRegexps: pulumi.StringArray{
pulumi.String(".+-good-stuff*"),
},
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumi.Grafana;
using Grafana = Pulumiverse.Grafana;
return await Deployment.RunAsync(() =>
{
var main = Grafana.SyntheticMonitoring.GetProbes.Invoke();
var dns = new Grafana.SyntheticMonitoring.Check("dns", new()
{
Job = "DNS Updated",
Target = "grafana.net",
Enabled = false,
Probes = new[]
{
main.Apply(getProbesResult => getProbesResult.Probes?.Frankfurt),
main.Apply(getProbesResult => getProbesResult.Probes?.London),
},
Labels =
{
{ "foo", "baz" },
},
Settings = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsArgs
{
Dns = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsDnsArgs
{
IpVersion = "Any",
Server = "8.8.4.4",
Port = 8600,
RecordType = "CNAME",
Protocol = "TCP",
ValidRCodes = new[]
{
"NOERROR",
"NOTAUTH",
},
ValidateAnswerRrs = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsDnsValidateAnswerRrsArgs
{
FailIfMatchesRegexps = new[]
{
".+-bad-stuff*",
},
FailIfNotMatchesRegexps = new[]
{
".+-good-stuff*",
},
},
ValidateAuthorityRrs = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsDnsValidateAuthorityRrsArgs
{
FailIfMatchesRegexps = new[]
{
".+-bad-stuff*",
},
FailIfNotMatchesRegexps = new[]
{
".+-good-stuff*",
},
},
ValidateAdditionalRrs = new[]
{
new Grafana.SyntheticMonitoring.Inputs.CheckSettingsDnsValidateAdditionalRrArgs
{
FailIfMatchesRegexps = new[]
{
".+-bad-stuff*",
},
FailIfNotMatchesRegexps = new[]
{
".+-good-stuff*",
},
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.syntheticMonitoring.SyntheticMonitoringFunctions;
import com.pulumi.grafana.syntheticMonitoring.inputs.GetProbesArgs;
import com.pulumi.grafana.syntheticMonitoring.Check;
import com.pulumi.grafana.syntheticMonitoring.CheckArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsDnsArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsDnsValidateAnswerRrsArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsDnsValidateAuthorityRrsArgs;
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) {
final var main = SyntheticMonitoringFunctions.getProbes();
var dns = new Check("dns", CheckArgs.builder()
.job("DNS Updated")
.target("grafana.net")
.enabled(false)
.probes(
main.applyValue(getProbesResult -> getProbesResult.probes().frankfurt()),
main.applyValue(getProbesResult -> getProbesResult.probes().london()))
.labels(Map.of("foo", "baz"))
.settings(CheckSettingsArgs.builder()
.dns(CheckSettingsDnsArgs.builder()
.ipVersion("Any")
.server("8.8.4.4")
.port(8600)
.recordType("CNAME")
.protocol("TCP")
.validRCodes(
"NOERROR",
"NOTAUTH")
.validateAnswerRrs(CheckSettingsDnsValidateAnswerRrsArgs.builder()
.failIfMatchesRegexps(".+-bad-stuff*")
.failIfNotMatchesRegexps(".+-good-stuff*")
.build())
.validateAuthorityRrs(CheckSettingsDnsValidateAuthorityRrsArgs.builder()
.failIfMatchesRegexps(".+-bad-stuff*")
.failIfNotMatchesRegexps(".+-good-stuff*")
.build())
.validateAdditionalRrs(CheckSettingsDnsValidateAdditionalRrArgs.builder()
.failIfMatchesRegexps(".+-bad-stuff*")
.failIfNotMatchesRegexps(".+-good-stuff*")
.build())
.build())
.build())
.build());
}
}
resources:
dns:
type: grafana:syntheticMonitoring:Check
properties:
job: DNS Updated
target: grafana.net
enabled: false
probes:
- ${main.probes.frankfurt}
- ${main.probes.london}
labels:
foo: baz
settings:
dns:
ipVersion: Any
server: 8.8.4.4
port: 8600
recordType: CNAME
protocol: TCP
validRCodes:
- NOERROR
- NOTAUTH
validateAnswerRrs:
failIfMatchesRegexps:
- .+-bad-stuff*
failIfNotMatchesRegexps:
- .+-good-stuff*
validateAuthorityRrs:
failIfMatchesRegexps:
- .+-bad-stuff*
failIfNotMatchesRegexps:
- .+-good-stuff*
validateAdditionalRrs:
- failIfMatchesRegexps:
- .+-bad-stuff*
failIfNotMatchesRegexps:
- .+-good-stuff*
variables:
main:
fn::invoke:
Function: grafana:syntheticMonitoring:getProbes
Arguments: {}
HTTP Basic
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumi/grafana";
import * as grafana from "@pulumiverse/grafana";
const main = grafana.syntheticMonitoring.getProbes({});
const http = new grafana.syntheticmonitoring.Check("http", {
job: "HTTP Defaults",
target: "https://grafana.com",
enabled: false,
probes: [main.then(main => main.probes?.atlanta)],
labels: {
foo: "bar",
},
settings: {
http: {},
},
});
import pulumi
import pulumi_grafana as grafana
import pulumiverse_grafana as grafana
main = grafana.syntheticMonitoring.get_probes()
http = grafana.synthetic_monitoring.Check("http",
job="HTTP Defaults",
target="https://grafana.com",
enabled=False,
probes=[main.probes["atlanta"]],
labels={
"foo": "bar",
},
settings={
"http": {},
})
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/syntheticMonitoring"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
main, err := syntheticMonitoring.GetProbes(ctx, &syntheticmonitoring.GetProbesArgs{}, nil)
if err != nil {
return err
}
_, err = syntheticMonitoring.NewCheck(ctx, "http", &syntheticMonitoring.CheckArgs{
Job: pulumi.String("HTTP Defaults"),
Target: pulumi.String("https://grafana.com"),
Enabled: pulumi.Bool(false),
Probes: pulumi.IntArray{
pulumi.Int(main.Probes.Atlanta),
},
Labels: pulumi.StringMap{
"foo": pulumi.String("bar"),
},
Settings: &syntheticmonitoring.CheckSettingsArgs{
Http: &syntheticmonitoring.CheckSettingsHttpArgs{},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumi.Grafana;
using Grafana = Pulumiverse.Grafana;
return await Deployment.RunAsync(() =>
{
var main = Grafana.SyntheticMonitoring.GetProbes.Invoke();
var http = new Grafana.SyntheticMonitoring.Check("http", new()
{
Job = "HTTP Defaults",
Target = "https://grafana.com",
Enabled = false,
Probes = new[]
{
main.Apply(getProbesResult => getProbesResult.Probes?.Atlanta),
},
Labels =
{
{ "foo", "bar" },
},
Settings = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsArgs
{
Http = null,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.syntheticMonitoring.SyntheticMonitoringFunctions;
import com.pulumi.grafana.syntheticMonitoring.inputs.GetProbesArgs;
import com.pulumi.grafana.syntheticMonitoring.Check;
import com.pulumi.grafana.syntheticMonitoring.CheckArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsHttpArgs;
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) {
final var main = SyntheticMonitoringFunctions.getProbes();
var http = new Check("http", CheckArgs.builder()
.job("HTTP Defaults")
.target("https://grafana.com")
.enabled(false)
.probes(main.applyValue(getProbesResult -> getProbesResult.probes().atlanta()))
.labels(Map.of("foo", "bar"))
.settings(CheckSettingsArgs.builder()
.http()
.build())
.build());
}
}
resources:
http:
type: grafana:syntheticMonitoring:Check
properties:
job: HTTP Defaults
target: https://grafana.com
enabled: false
probes:
- ${main.probes.atlanta}
labels:
foo: bar
settings:
http: {}
variables:
main:
fn::invoke:
Function: grafana:syntheticMonitoring:getProbes
Arguments: {}
HTTP Complex
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumi/grafana";
import * as grafana from "@pulumiverse/grafana";
const main = grafana.syntheticMonitoring.getProbes({});
const http = new grafana.syntheticmonitoring.Check("http", {
job: "HTTP Defaults",
target: "https://grafana.org",
enabled: false,
probes: [
main.then(main => main.probes?.bangalore),
main.then(main => main.probes?.mumbai),
],
labels: {
foo: "bar",
},
settings: {
http: {
ipVersion: "V6",
method: "TRACE",
body: "and spirit",
noFollowRedirects: true,
bearerToken: "asdfjkl;",
proxyUrl: "https://almost-there",
failIfSsl: true,
failIfNotSsl: true,
cacheBustingQueryParamName: "pineapple",
tlsConfig: {
serverName: "grafana.org",
clientCert: `-----BEGIN CERTIFICATE-----
MIIEljCCAn4CCQCKJPUQQxeO0zANBgkqhkiG9w0BAQsFADANMQswCQYDVQQGEwJT
RTAeFw0yMTA1MjkxOTIyNTdaFw0yNDAzMTgxOTIyNTdaMA0xCzAJBgNVBAYTAlNF
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnmbazDNUT0rSI4BpGZK+
0AJ+9FDkIYWJUtRLJoxw8CF+AobMFploYA2L2Myt80cTA1w8FrewjC8qlqdnrPWr
h1ely2zsUljgi1/niH0ndjFzliL7UkinXQiAsTtYOrOQmzyd/o5PNdu7dz0m7stD
BN/Sz5TlXZnA1/eJbqV/kqMau6b1MaBx8SbRfUG9+cSmUobFJwuktDrPuwJhcEkl
iDmhEqu1GuZzmKvzPacLTVia1vSlmCTCu89NiHI8iGiiLtqNrapup7f8j5m3a3SL
a+vXhplFj2piNl7Nc0dfuVgtEliTI+qUL2/+4A7gzRWZpHy21/LxMMXmBhdJW9En
FWkev97VZLgb5TR3+qpSWmXcodjPy4dibvwsOMpdd+Q4AYulwvlDw5idRPVgGvk7
qq03+w9ppZ5Fugws9k2CD9F/75JX2mCbRpkuPe8XXZ7bqrMaQgQMLOrs68HuiiCk
FTklglq4DMKxnf/Y/T/MgIa9Q1o28YSevh6A7FnfPGARj2H2T4rToi+bC1Vf7qNB
Z18bDpz99tRUTbyiRUSBMWLCGhU6c4HAqUrfrkpperOKFBQ3i38a79838oFdXHBW
6rx1t5cC3XwtEoUyeBKAygez8G1LDXbN3607MxVhAjhHKtPkYvuBfysSNU6JrR0z
UV1IURJANt2UMuKgSEkG/IMCAwEAATANBgkqhkiG9w0BAQsFAAOCAgEAcipMhp/w
yzfPy61faVAw9SPaMNRlnW9FCDC3N9CGOjo2knjXpObPzyzsJiUURTjrA9eFMpRA
e2Rgn2j+nvm2XdLAlC4Kh8jqv/wCL0X6BTQMdN5aOhXdSiXtpXOMvXYY/dQ4ebRZ
XeRCVWQD79JbV6/uyx0nCV3FVcU7L1P4UjxroefVr0soLPMirgxHmOxLnkoVgdcB
tqufP5kJx9CIeJXPx3QQsk1XfEtxtUvuw4ZaZkQnNUqvGl7V+AZpur5Eqfv3zBi8
QxxL7qGkARNssNWH2Ju+tqpM/UZRnjlFrDR4SXUgT0coTduBalUY6qHkciHmRpiP
tf3SgpDeiCSOV2iVFGdaR1mz3muWoAYWFstcWN3a3HjjVugIi23yLN8Gv8CNeoH4
prulinFCLrFgAh8SLAF8mOAZanT06LH8jOIFYrdUxH+ZeRBR0rLoFjUF+JB7UKD9
5TA+B4EBzQ1tMbGFU1DX79MjAejq0IV0Nzq+GMfBvLHxEf4+Oz8nqhDXQcJ6TdtY
l3Lyw5zBvOL80SBK+Mr0UP7d9U3VXgbGHCYVJU6Ot1TwiGwahtWALRALA3TWeGkq
7kyD1H+nm+9lfKhuyBRQnRGBVyze2lAp7oxwshJuhBwEXosXFxq1Cy6QhPN77r6N
vuhxvtppolNnyOgGxwG4zquqq2V5/+vKjKY=
-----END CERTIFICATE-----
`,
},
headers: ["Content-Type: multipart/form-data; boundary=something"],
basicAuth: {
username: "open",
password: "sesame",
},
validStatusCodes: [
200,
201,
],
validHttpVersions: [
"HTTP/1.0",
"HTTP/1.1",
"HTTP/2.0",
],
failIfBodyMatchesRegexps: [".*bad stuff.*"],
failIfBodyNotMatchesRegexps: [".*good stuff.*"],
failIfHeaderMatchesRegexps: [{
header: "Content-Type",
regexp: "application/soap*",
allowMissing: true,
}],
},
},
});
import pulumi
import pulumi_grafana as grafana
import pulumiverse_grafana as grafana
main = grafana.syntheticMonitoring.get_probes()
http = grafana.synthetic_monitoring.Check("http",
job="HTTP Defaults",
target="https://grafana.org",
enabled=False,
probes=[
main.probes["bangalore"],
main.probes["mumbai"],
],
labels={
"foo": "bar",
},
settings={
"http": {
"ip_version": "V6",
"method": "TRACE",
"body": "and spirit",
"no_follow_redirects": True,
"bearer_token": "asdfjkl;",
"proxy_url": "https://almost-there",
"fail_if_ssl": True,
"fail_if_not_ssl": True,
"cache_busting_query_param_name": "pineapple",
"tls_config": {
"server_name": "grafana.org",
"client_cert": """-----BEGIN CERTIFICATE-----
MIIEljCCAn4CCQCKJPUQQxeO0zANBgkqhkiG9w0BAQsFADANMQswCQYDVQQGEwJT
RTAeFw0yMTA1MjkxOTIyNTdaFw0yNDAzMTgxOTIyNTdaMA0xCzAJBgNVBAYTAlNF
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnmbazDNUT0rSI4BpGZK+
0AJ+9FDkIYWJUtRLJoxw8CF+AobMFploYA2L2Myt80cTA1w8FrewjC8qlqdnrPWr
h1ely2zsUljgi1/niH0ndjFzliL7UkinXQiAsTtYOrOQmzyd/o5PNdu7dz0m7stD
BN/Sz5TlXZnA1/eJbqV/kqMau6b1MaBx8SbRfUG9+cSmUobFJwuktDrPuwJhcEkl
iDmhEqu1GuZzmKvzPacLTVia1vSlmCTCu89NiHI8iGiiLtqNrapup7f8j5m3a3SL
a+vXhplFj2piNl7Nc0dfuVgtEliTI+qUL2/+4A7gzRWZpHy21/LxMMXmBhdJW9En
FWkev97VZLgb5TR3+qpSWmXcodjPy4dibvwsOMpdd+Q4AYulwvlDw5idRPVgGvk7
qq03+w9ppZ5Fugws9k2CD9F/75JX2mCbRpkuPe8XXZ7bqrMaQgQMLOrs68HuiiCk
FTklglq4DMKxnf/Y/T/MgIa9Q1o28YSevh6A7FnfPGARj2H2T4rToi+bC1Vf7qNB
Z18bDpz99tRUTbyiRUSBMWLCGhU6c4HAqUrfrkpperOKFBQ3i38a79838oFdXHBW
6rx1t5cC3XwtEoUyeBKAygez8G1LDXbN3607MxVhAjhHKtPkYvuBfysSNU6JrR0z
UV1IURJANt2UMuKgSEkG/IMCAwEAATANBgkqhkiG9w0BAQsFAAOCAgEAcipMhp/w
yzfPy61faVAw9SPaMNRlnW9FCDC3N9CGOjo2knjXpObPzyzsJiUURTjrA9eFMpRA
e2Rgn2j+nvm2XdLAlC4Kh8jqv/wCL0X6BTQMdN5aOhXdSiXtpXOMvXYY/dQ4ebRZ
XeRCVWQD79JbV6/uyx0nCV3FVcU7L1P4UjxroefVr0soLPMirgxHmOxLnkoVgdcB
tqufP5kJx9CIeJXPx3QQsk1XfEtxtUvuw4ZaZkQnNUqvGl7V+AZpur5Eqfv3zBi8
QxxL7qGkARNssNWH2Ju+tqpM/UZRnjlFrDR4SXUgT0coTduBalUY6qHkciHmRpiP
tf3SgpDeiCSOV2iVFGdaR1mz3muWoAYWFstcWN3a3HjjVugIi23yLN8Gv8CNeoH4
prulinFCLrFgAh8SLAF8mOAZanT06LH8jOIFYrdUxH+ZeRBR0rLoFjUF+JB7UKD9
5TA+B4EBzQ1tMbGFU1DX79MjAejq0IV0Nzq+GMfBvLHxEf4+Oz8nqhDXQcJ6TdtY
l3Lyw5zBvOL80SBK+Mr0UP7d9U3VXgbGHCYVJU6Ot1TwiGwahtWALRALA3TWeGkq
7kyD1H+nm+9lfKhuyBRQnRGBVyze2lAp7oxwshJuhBwEXosXFxq1Cy6QhPN77r6N
vuhxvtppolNnyOgGxwG4zquqq2V5/+vKjKY=
-----END CERTIFICATE-----
""",
},
"headers": ["Content-Type: multipart/form-data; boundary=something"],
"basic_auth": {
"username": "open",
"password": "sesame",
},
"valid_status_codes": [
200,
201,
],
"valid_http_versions": [
"HTTP/1.0",
"HTTP/1.1",
"HTTP/2.0",
],
"fail_if_body_matches_regexps": [".*bad stuff.*"],
"fail_if_body_not_matches_regexps": [".*good stuff.*"],
"fail_if_header_matches_regexps": [{
"header": "Content-Type",
"regexp": "application/soap*",
"allow_missing": True,
}],
},
})
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/syntheticMonitoring"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
main, err := syntheticMonitoring.GetProbes(ctx, &syntheticmonitoring.GetProbesArgs{}, nil)
if err != nil {
return err
}
_, err = syntheticMonitoring.NewCheck(ctx, "http", &syntheticMonitoring.CheckArgs{
Job: pulumi.String("HTTP Defaults"),
Target: pulumi.String("https://grafana.org"),
Enabled: pulumi.Bool(false),
Probes: pulumi.IntArray{
pulumi.Int(main.Probes.Bangalore),
pulumi.Int(main.Probes.Mumbai),
},
Labels: pulumi.StringMap{
"foo": pulumi.String("bar"),
},
Settings: &syntheticmonitoring.CheckSettingsArgs{
Http: &syntheticmonitoring.CheckSettingsHttpArgs{
IpVersion: pulumi.String("V6"),
Method: pulumi.String("TRACE"),
Body: pulumi.String("and spirit"),
NoFollowRedirects: pulumi.Bool(true),
BearerToken: pulumi.String("asdfjkl;"),
ProxyUrl: pulumi.String("https://almost-there"),
FailIfSsl: pulumi.Bool(true),
FailIfNotSsl: pulumi.Bool(true),
CacheBustingQueryParamName: pulumi.String("pineapple"),
TlsConfig: &syntheticmonitoring.CheckSettingsHttpTlsConfigArgs{
ServerName: pulumi.String("grafana.org"),
ClientCert: pulumi.String(`-----BEGIN CERTIFICATE-----
MIIEljCCAn4CCQCKJPUQQxeO0zANBgkqhkiG9w0BAQsFADANMQswCQYDVQQGEwJT
RTAeFw0yMTA1MjkxOTIyNTdaFw0yNDAzMTgxOTIyNTdaMA0xCzAJBgNVBAYTAlNF
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnmbazDNUT0rSI4BpGZK+
0AJ+9FDkIYWJUtRLJoxw8CF+AobMFploYA2L2Myt80cTA1w8FrewjC8qlqdnrPWr
h1ely2zsUljgi1/niH0ndjFzliL7UkinXQiAsTtYOrOQmzyd/o5PNdu7dz0m7stD
BN/Sz5TlXZnA1/eJbqV/kqMau6b1MaBx8SbRfUG9+cSmUobFJwuktDrPuwJhcEkl
iDmhEqu1GuZzm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wahtWALRALA3TWeGkq
7kyD1H+nm+9lfKhuyBRQnRGBVyze2lAp7oxwshJuhBwEXosXFxq1Cy6QhPN77r6N
vuhxvtppolNnyOgGxwG4zquqq2V5/+vKjKY=
-----END CERTIFICATE-----
`),
},
Headers: pulumi.StringArray{
pulumi.String("Content-Type: multipart/form-data; boundary=something"),
},
BasicAuth: &syntheticmonitoring.CheckSettingsHttpBasicAuthArgs{
Username: pulumi.String("open"),
Password: pulumi.String("sesame"),
},
ValidStatusCodes: pulumi.IntArray{
pulumi.Int(200),
pulumi.Int(201),
},
ValidHttpVersions: pulumi.StringArray{
pulumi.String("HTTP/1.0"),
pulumi.String("HTTP/1.1"),
pulumi.String("HTTP/2.0"),
},
FailIfBodyMatchesRegexps: pulumi.StringArray{
pulumi.String(".*bad stuff.*"),
},
FailIfBodyNotMatchesRegexps: pulumi.StringArray{
pulumi.String(".*good stuff.*"),
},
FailIfHeaderMatchesRegexps: syntheticmonitoring.CheckSettingsHttpFailIfHeaderMatchesRegexpArray{
&syntheticmonitoring.CheckSettingsHttpFailIfHeaderMatchesRegexpArgs{
Header: pulumi.String("Content-Type"),
Regexp: pulumi.String("application/soap*"),
AllowMissing: pulumi.Bool(true),
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumi.Grafana;
using Grafana = Pulumiverse.Grafana;
return await Deployment.RunAsync(() =>
{
var main = Grafana.SyntheticMonitoring.GetProbes.Invoke();
var http = new Grafana.SyntheticMonitoring.Check("http", new()
{
Job = "HTTP Defaults",
Target = "https://grafana.org",
Enabled = false,
Probes = new[]
{
main.Apply(getProbesResult => getProbesResult.Probes?.Bangalore),
main.Apply(getProbesResult => getProbesResult.Probes?.Mumbai),
},
Labels =
{
{ "foo", "bar" },
},
Settings = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsArgs
{
Http = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsHttpArgs
{
IpVersion = "V6",
Method = "TRACE",
Body = "and spirit",
NoFollowRedirects = true,
BearerToken = "asdfjkl;",
ProxyUrl = "https://almost-there",
FailIfSsl = true,
FailIfNotSsl = true,
CacheBustingQueryParamName = "pineapple",
TlsConfig = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsHttpTlsConfigArgs
{
ServerName = "grafana.org",
ClientCert = @"-----BEGIN CERTIFICATE-----
MIIEljCCAn4CCQCKJPUQQxeO0zANBgkqhkiG9w0BAQsFADANMQswCQYDVQQGEwJT
RTAeFw0yMTA1MjkxOTIyNTdaFw0yNDAzMTgxOTIyNTdaMA0xCzAJBgNVBAYTAlNF
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnmbazDNUT0rSI4BpGZK+
0AJ+9FDkIYWJUtRLJoxw8CF+AobMFploYA2L2Myt80cTA1w8FrewjC8qlqdnrPWr
h1ely2zsUljgi1/niH0ndjFzliL7UkinXQiAsTtYOrOQmzyd/o5PNdu7dz0m7stD
BN/Sz5TlXZnA1/eJbqV/kqMau6b1MaBx8SbRfUG9+cSmUobFJwuktDrPuwJhcEkl
iDmhEqu1GuZzmKvzPacLTVia1vSlmCTCu89NiHI8iGiiLtqNrapup7f8j5m3a3SL
a+vXhplFj2piNl7Nc0dfuVgtEliTI+qUL2/+4A7gzRWZpHy21/LxMMXmBhdJW9En
FWkev97VZLgb5TR3+qpSWmXcodjPy4dibvwsOMpdd+Q4AYulwvlDw5idRPVgGvk7
qq03+w9ppZ5Fugws9k2CD9F/75JX2mCbRpkuPe8XXZ7bqrMaQgQMLOrs68HuiiCk
FTklglq4DMKxnf/Y/T/MgIa9Q1o28YSevh6A7FnfPGARj2H2T4rToi+bC1Vf7qNB
Z18bDpz99tRUTbyiRUSBMWLCGhU6c4HAqUrfrkpperOKFBQ3i38a79838oFdXHBW
6rx1t5cC3XwtEoUyeBKAygez8G1LDXbN3607MxVhAjhHKtPkYvuBfysSNU6JrR0z
UV1IURJANt2UMuKgSEkG/IMCAwEAATANBgkqhkiG9w0BAQsFAAOCAgEAcipMhp/w
yzfPy61faVAw9SPaMNRlnW9FCDC3N9CGOjo2knjXpObPzyzsJiUURTjrA9eFMpRA
e2Rgn2j+nvm2XdLAlC4Kh8jqv/wCL0X6BTQMdN5aOhXdSiXtpXOMvXYY/dQ4ebRZ
XeRCVWQD79JbV6/uyx0nCV3FVcU7L1P4UjxroefVr0soLPMirgxHmOxLnkoVgdcB
tqufP5kJx9CIeJXPx3QQsk1XfEtxtUvuw4ZaZkQnNUqvGl7V+AZpur5Eqfv3zBi8
QxxL7qGkARNssNWH2Ju+tqpM/UZRnjlFrDR4SXUgT0coTduBalUY6qHkciHmRpiP
tf3SgpDeiCSOV2iVFGdaR1mz3muWoAYWFstcWN3a3HjjVugIi23yLN8Gv8CNeoH4
prulinFCLrFgAh8SLAF8mOAZanT06LH8jOIFYrdUxH+ZeRBR0rLoFjUF+JB7UKD9
5TA+B4EBzQ1tMbGFU1DX79MjAejq0IV0Nzq+GMfBvLHxEf4+Oz8nqhDXQcJ6TdtY
l3Lyw5zBvOL80SBK+Mr0UP7d9U3VXgbGHCYVJU6Ot1TwiGwahtWALRALA3TWeGkq
7kyD1H+nm+9lfKhuyBRQnRGBVyze2lAp7oxwshJuhBwEXosXFxq1Cy6QhPN77r6N
vuhxvtppolNnyOgGxwG4zquqq2V5/+vKjKY=
-----END CERTIFICATE-----
",
},
Headers = new[]
{
"Content-Type: multipart/form-data; boundary=something",
},
BasicAuth = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsHttpBasicAuthArgs
{
Username = "open",
Password = "sesame",
},
ValidStatusCodes = new[]
{
200,
201,
},
ValidHttpVersions = new[]
{
"HTTP/1.0",
"HTTP/1.1",
"HTTP/2.0",
},
FailIfBodyMatchesRegexps = new[]
{
".*bad stuff.*",
},
FailIfBodyNotMatchesRegexps = new[]
{
".*good stuff.*",
},
FailIfHeaderMatchesRegexps = new[]
{
new Grafana.SyntheticMonitoring.Inputs.CheckSettingsHttpFailIfHeaderMatchesRegexpArgs
{
Header = "Content-Type",
Regexp = "application/soap*",
AllowMissing = true,
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.syntheticMonitoring.SyntheticMonitoringFunctions;
import com.pulumi.grafana.syntheticMonitoring.inputs.GetProbesArgs;
import com.pulumi.grafana.syntheticMonitoring.Check;
import com.pulumi.grafana.syntheticMonitoring.CheckArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsHttpArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsHttpTlsConfigArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsHttpBasicAuthArgs;
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) {
final var main = SyntheticMonitoringFunctions.getProbes();
var http = new Check("http", CheckArgs.builder()
.job("HTTP Defaults")
.target("https://grafana.org")
.enabled(false)
.probes(
main.applyValue(getProbesResult -> getProbesResult.probes().bangalore()),
main.applyValue(getProbesResult -> getProbesResult.probes().mumbai()))
.labels(Map.of("foo", "bar"))
.settings(CheckSettingsArgs.builder()
.http(CheckSettingsHttpArgs.builder()
.ipVersion("V6")
.method("TRACE")
.body("and spirit")
.noFollowRedirects(true)
.bearerToken("asdfjkl;")
.proxyUrl("https://almost-there")
.failIfSsl(true)
.failIfNotSsl(true)
.cacheBustingQueryParamName("pineapple")
.tlsConfig(CheckSettingsHttpTlsConfigArgs.builder()
.serverName("grafana.org")
.clientCert("""
-----BEGIN CERTIFICATE-----
MIIEljCCAn4CCQCKJPUQQxeO0zANBgkqhkiG9w0BAQsFADANMQswCQYDVQQGEwJT
RTAeFw0yMTA1MjkxOTIyNTdaFw0yNDAzMTgxOTIyNTdaMA0xCzAJB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lFrDR4SXUgT0coTduBalUY6qHkciHmRpiP
tf3SgpDeiCSOV2iVFGdaR1mz3muWoAYWFstcWN3a3HjjVugIi23yLN8Gv8CNeoH4
prulinFCLrFgAh8SLAF8mOAZanT06LH8jOIFYrdUxH+ZeRBR0rLoFjUF+JB7UKD9
5TA+B4EBzQ1tMbGFU1DX79MjAejq0IV0Nzq+GMfBvLHxEf4+Oz8nqhDXQcJ6TdtY
l3Lyw5zBvOL80SBK+Mr0UP7d9U3VXgbGHCYVJU6Ot1TwiGwahtWALRALA3TWeGkq
7kyD1H+nm+9lfKhuyBRQnRGBVyze2lAp7oxwshJuhBwEXosXFxq1Cy6QhPN77r6N
vuhxvtppolNnyOgGxwG4zquqq2V5/+vKjKY=
-----END CERTIFICATE-----
""")
.build())
.headers("Content-Type: multipart/form-data; boundary=something")
.basicAuth(CheckSettingsHttpBasicAuthArgs.builder()
.username("open")
.password("sesame")
.build())
.validStatusCodes(
200,
201)
.validHttpVersions(
"HTTP/1.0",
"HTTP/1.1",
"HTTP/2.0")
.failIfBodyMatchesRegexps(".*bad stuff.*")
.failIfBodyNotMatchesRegexps(".*good stuff.*")
.failIfHeaderMatchesRegexps(CheckSettingsHttpFailIfHeaderMatchesRegexpArgs.builder()
.header("Content-Type")
.regexp("application/soap*")
.allowMissing(true)
.build())
.build())
.build())
.build());
}
}
resources:
http:
type: grafana:syntheticMonitoring:Check
properties:
job: HTTP Defaults
target: https://grafana.org
enabled: false
probes:
- ${main.probes.bangalore}
- ${main.probes.mumbai}
labels:
foo: bar
settings:
http:
ipVersion: V6
method: TRACE
body: and spirit
noFollowRedirects: true
bearerToken: asdfjkl;
proxyUrl: https://almost-there
failIfSsl: true
failIfNotSsl: true
cacheBustingQueryParamName: pineapple
tlsConfig:
serverName: grafana.org
clientCert: |
-----BEGIN CERTIFICATE-----
MIIEljCCAn4CCQCKJPUQQxeO0zANBgkqhkiG9w0BAQsFADANMQswCQYDVQQGEwJT
RTAeFw0yMTA1MjkxOTIyNT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8
QxxL7qGkARNssNWH2Ju+tqpM/UZRnjlFrDR4SXUgT0coTduBalUY6qHkciHmRpiP
tf3SgpDeiCSOV2iVFGdaR1mz3muWoAYWFstcWN3a3HjjVugIi23yLN8Gv8CNeoH4
prulinFCLrFgAh8SLAF8mOAZanT06LH8jOIFYrdUxH+ZeRBR0rLoFjUF+JB7UKD9
5TA+B4EBzQ1tMbGFU1DX79MjAejq0IV0Nzq+GMfBvLHxEf4+Oz8nqhDXQcJ6TdtY
l3Lyw5zBvOL80SBK+Mr0UP7d9U3VXgbGHCYVJU6Ot1TwiGwahtWALRALA3TWeGkq
7kyD1H+nm+9lfKhuyBRQnRGBVyze2lAp7oxwshJuhBwEXosXFxq1Cy6QhPN77r6N
vuhxvtppolNnyOgGxwG4zquqq2V5/+vKjKY=
-----END CERTIFICATE-----
headers:
- 'Content-Type: multipart/form-data; boundary=something'
basicAuth:
username: open
password: sesame
validStatusCodes:
- 200
- 201
validHttpVersions:
- HTTP/1.0
- HTTP/1.1
- HTTP/2.0
failIfBodyMatchesRegexps:
- .*bad stuff.*
failIfBodyNotMatchesRegexps:
- .*good stuff.*
failIfHeaderMatchesRegexps:
- header: Content-Type
regexp: application/soap*
allowMissing: true
variables:
main:
fn::invoke:
Function: grafana:syntheticMonitoring:getProbes
Arguments: {}
Ping Basic
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumi/grafana";
import * as grafana from "@pulumiverse/grafana";
const main = grafana.syntheticMonitoring.getProbes({});
const ping = new grafana.syntheticmonitoring.Check("ping", {
job: "Ping Defaults",
target: "grafana.com",
enabled: false,
probes: [main.then(main => main.probes?.atlanta)],
labels: {
foo: "bar",
},
settings: {
ping: {},
},
});
import pulumi
import pulumi_grafana as grafana
import pulumiverse_grafana as grafana
main = grafana.syntheticMonitoring.get_probes()
ping = grafana.synthetic_monitoring.Check("ping",
job="Ping Defaults",
target="grafana.com",
enabled=False,
probes=[main.probes["atlanta"]],
labels={
"foo": "bar",
},
settings={
"ping": {},
})
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/syntheticMonitoring"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
main, err := syntheticMonitoring.GetProbes(ctx, &syntheticmonitoring.GetProbesArgs{}, nil)
if err != nil {
return err
}
_, err = syntheticMonitoring.NewCheck(ctx, "ping", &syntheticMonitoring.CheckArgs{
Job: pulumi.String("Ping Defaults"),
Target: pulumi.String("grafana.com"),
Enabled: pulumi.Bool(false),
Probes: pulumi.IntArray{
pulumi.Int(main.Probes.Atlanta),
},
Labels: pulumi.StringMap{
"foo": pulumi.String("bar"),
},
Settings: &syntheticmonitoring.CheckSettingsArgs{
Ping: &syntheticmonitoring.CheckSettingsPingArgs{},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumi.Grafana;
using Grafana = Pulumiverse.Grafana;
return await Deployment.RunAsync(() =>
{
var main = Grafana.SyntheticMonitoring.GetProbes.Invoke();
var ping = new Grafana.SyntheticMonitoring.Check("ping", new()
{
Job = "Ping Defaults",
Target = "grafana.com",
Enabled = false,
Probes = new[]
{
main.Apply(getProbesResult => getProbesResult.Probes?.Atlanta),
},
Labels =
{
{ "foo", "bar" },
},
Settings = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsArgs
{
Ping = null,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.syntheticMonitoring.SyntheticMonitoringFunctions;
import com.pulumi.grafana.syntheticMonitoring.inputs.GetProbesArgs;
import com.pulumi.grafana.syntheticMonitoring.Check;
import com.pulumi.grafana.syntheticMonitoring.CheckArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsPingArgs;
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) {
final var main = SyntheticMonitoringFunctions.getProbes();
var ping = new Check("ping", CheckArgs.builder()
.job("Ping Defaults")
.target("grafana.com")
.enabled(false)
.probes(main.applyValue(getProbesResult -> getProbesResult.probes().atlanta()))
.labels(Map.of("foo", "bar"))
.settings(CheckSettingsArgs.builder()
.ping()
.build())
.build());
}
}
resources:
ping:
type: grafana:syntheticMonitoring:Check
properties:
job: Ping Defaults
target: grafana.com
enabled: false
probes:
- ${main.probes.atlanta}
labels:
foo: bar
settings:
ping: {}
variables:
main:
fn::invoke:
Function: grafana:syntheticMonitoring:getProbes
Arguments: {}
Ping Complex
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumi/grafana";
import * as grafana from "@pulumiverse/grafana";
const main = grafana.syntheticMonitoring.getProbes({});
const ping = new grafana.syntheticmonitoring.Check("ping", {
job: "Ping Updated",
target: "grafana.net",
enabled: false,
probes: [
main.then(main => main.probes?.frankfurt),
main.then(main => main.probes?.london),
],
labels: {
foo: "baz",
},
settings: {
ping: {
ipVersion: "Any",
payloadSize: 20,
dontFragment: true,
},
},
});
import pulumi
import pulumi_grafana as grafana
import pulumiverse_grafana as grafana
main = grafana.syntheticMonitoring.get_probes()
ping = grafana.synthetic_monitoring.Check("ping",
job="Ping Updated",
target="grafana.net",
enabled=False,
probes=[
main.probes["frankfurt"],
main.probes["london"],
],
labels={
"foo": "baz",
},
settings={
"ping": {
"ip_version": "Any",
"payload_size": 20,
"dont_fragment": True,
},
})
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/syntheticMonitoring"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
main, err := syntheticMonitoring.GetProbes(ctx, &syntheticmonitoring.GetProbesArgs{}, nil)
if err != nil {
return err
}
_, err = syntheticMonitoring.NewCheck(ctx, "ping", &syntheticMonitoring.CheckArgs{
Job: pulumi.String("Ping Updated"),
Target: pulumi.String("grafana.net"),
Enabled: pulumi.Bool(false),
Probes: pulumi.IntArray{
pulumi.Int(main.Probes.Frankfurt),
pulumi.Int(main.Probes.London),
},
Labels: pulumi.StringMap{
"foo": pulumi.String("baz"),
},
Settings: &syntheticmonitoring.CheckSettingsArgs{
Ping: &syntheticmonitoring.CheckSettingsPingArgs{
IpVersion: pulumi.String("Any"),
PayloadSize: pulumi.Int(20),
DontFragment: pulumi.Bool(true),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumi.Grafana;
using Grafana = Pulumiverse.Grafana;
return await Deployment.RunAsync(() =>
{
var main = Grafana.SyntheticMonitoring.GetProbes.Invoke();
var ping = new Grafana.SyntheticMonitoring.Check("ping", new()
{
Job = "Ping Updated",
Target = "grafana.net",
Enabled = false,
Probes = new[]
{
main.Apply(getProbesResult => getProbesResult.Probes?.Frankfurt),
main.Apply(getProbesResult => getProbesResult.Probes?.London),
},
Labels =
{
{ "foo", "baz" },
},
Settings = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsArgs
{
Ping = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsPingArgs
{
IpVersion = "Any",
PayloadSize = 20,
DontFragment = true,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.syntheticMonitoring.SyntheticMonitoringFunctions;
import com.pulumi.grafana.syntheticMonitoring.inputs.GetProbesArgs;
import com.pulumi.grafana.syntheticMonitoring.Check;
import com.pulumi.grafana.syntheticMonitoring.CheckArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsPingArgs;
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) {
final var main = SyntheticMonitoringFunctions.getProbes();
var ping = new Check("ping", CheckArgs.builder()
.job("Ping Updated")
.target("grafana.net")
.enabled(false)
.probes(
main.applyValue(getProbesResult -> getProbesResult.probes().frankfurt()),
main.applyValue(getProbesResult -> getProbesResult.probes().london()))
.labels(Map.of("foo", "baz"))
.settings(CheckSettingsArgs.builder()
.ping(CheckSettingsPingArgs.builder()
.ipVersion("Any")
.payloadSize(20)
.dontFragment(true)
.build())
.build())
.build());
}
}
resources:
ping:
type: grafana:syntheticMonitoring:Check
properties:
job: Ping Updated
target: grafana.net
enabled: false
probes:
- ${main.probes.frankfurt}
- ${main.probes.london}
labels:
foo: baz
settings:
ping:
ipVersion: Any
payloadSize: 20
dontFragment: true
variables:
main:
fn::invoke:
Function: grafana:syntheticMonitoring:getProbes
Arguments: {}
TCP Basic
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumi/grafana";
import * as grafana from "@pulumiverse/grafana";
const main = grafana.syntheticMonitoring.getProbes({});
const tcp = new grafana.syntheticmonitoring.Check("tcp", {
job: "TCP Defaults",
target: "grafana.com:80",
enabled: false,
probes: [main.then(main => main.probes?.atlanta)],
labels: {
foo: "bar",
},
settings: {
tcp: {},
},
});
import pulumi
import pulumi_grafana as grafana
import pulumiverse_grafana as grafana
main = grafana.syntheticMonitoring.get_probes()
tcp = grafana.synthetic_monitoring.Check("tcp",
job="TCP Defaults",
target="grafana.com:80",
enabled=False,
probes=[main.probes["atlanta"]],
labels={
"foo": "bar",
},
settings={
"tcp": {},
})
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/syntheticMonitoring"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
main, err := syntheticMonitoring.GetProbes(ctx, &syntheticmonitoring.GetProbesArgs{}, nil)
if err != nil {
return err
}
_, err = syntheticMonitoring.NewCheck(ctx, "tcp", &syntheticMonitoring.CheckArgs{
Job: pulumi.String("TCP Defaults"),
Target: pulumi.String("grafana.com:80"),
Enabled: pulumi.Bool(false),
Probes: pulumi.IntArray{
pulumi.Int(main.Probes.Atlanta),
},
Labels: pulumi.StringMap{
"foo": pulumi.String("bar"),
},
Settings: &syntheticmonitoring.CheckSettingsArgs{
Tcp: &syntheticmonitoring.CheckSettingsTcpArgs{},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumi.Grafana;
using Grafana = Pulumiverse.Grafana;
return await Deployment.RunAsync(() =>
{
var main = Grafana.SyntheticMonitoring.GetProbes.Invoke();
var tcp = new Grafana.SyntheticMonitoring.Check("tcp", new()
{
Job = "TCP Defaults",
Target = "grafana.com:80",
Enabled = false,
Probes = new[]
{
main.Apply(getProbesResult => getProbesResult.Probes?.Atlanta),
},
Labels =
{
{ "foo", "bar" },
},
Settings = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsArgs
{
Tcp = null,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.syntheticMonitoring.SyntheticMonitoringFunctions;
import com.pulumi.grafana.syntheticMonitoring.inputs.GetProbesArgs;
import com.pulumi.grafana.syntheticMonitoring.Check;
import com.pulumi.grafana.syntheticMonitoring.CheckArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsTcpArgs;
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) {
final var main = SyntheticMonitoringFunctions.getProbes();
var tcp = new Check("tcp", CheckArgs.builder()
.job("TCP Defaults")
.target("grafana.com:80")
.enabled(false)
.probes(main.applyValue(getProbesResult -> getProbesResult.probes().atlanta()))
.labels(Map.of("foo", "bar"))
.settings(CheckSettingsArgs.builder()
.tcp()
.build())
.build());
}
}
resources:
tcp:
type: grafana:syntheticMonitoring:Check
properties:
job: TCP Defaults
target: grafana.com:80
enabled: false
probes:
- ${main.probes.atlanta}
labels:
foo: bar
settings:
tcp: {}
variables:
main:
fn::invoke:
Function: grafana:syntheticMonitoring:getProbes
Arguments: {}
TCP Complex
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumi/grafana";
import * as grafana from "@pulumiverse/grafana";
const main = grafana.syntheticMonitoring.getProbes({});
const tcp = new grafana.syntheticmonitoring.Check("tcp", {
job: "TCP Defaults",
target: "grafana.com:443",
enabled: false,
probes: [
main.then(main => main.probes?.frankfurt),
main.then(main => main.probes?.london),
],
labels: {
foo: "baz",
},
settings: {
tcp: {
ipVersion: "V6",
tls: true,
queryResponses: [
{
send: "howdy",
expect: "hi",
},
{
send: "like this",
expect: "like that",
startTls: true,
},
],
tlsConfig: {
serverName: "grafana.com",
caCert: `-----BEGIN CERTIFICATE-----
MIIEljCCAn4CCQCKJPUQQxeO0zANBgkqhkiG9w0BAQsFADANMQswCQYDVQQGEwJT
RTAeFw0yMTA1MjkxOTIyNTdaFw0yNDAzMTgxOTIyNTdaMA0xCzAJBgNVBAYTAlNF
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnmbazDNUT0rSI4BpGZK+
0AJ+9FDkIYWJUtRLJoxw8CF+AobMFploYA2L2Myt80cTA1w8FrewjC8qlqdnrPWr
h1ely2zsUljgi1/niH0ndjFzliL7UkinXQiAsTtYOrOQmzyd/o5PNdu7dz0m7stD
BN/Sz5TlXZnA1/eJbqV/kqMau6b1MaBx8SbRfUG9+cSmUobFJwuktDrPuwJhcEkl
iDmhEqu1GuZzmKvzPacLTVia1vSlmCTCu89NiHI8iGiiLtqNrapup7f8j5m3a3SL
a+vXhplFj2piNl7Nc0dfuVgtEliTI+qUL2/+4A7gzRWZpHy21/LxMMXmBhdJW9En
FWkev97VZLgb5TR3+qpSWmXc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
},
},
});
import pulumi
import pulumi_grafana as grafana
import pulumiverse_grafana as grafana
main = grafana.syntheticMonitoring.get_probes()
tcp = grafana.synthetic_monitoring.Check("tcp",
job="TCP Defaults",
target="grafana.com:443",
enabled=False,
probes=[
main.probes["frankfurt"],
main.probes["london"],
],
labels={
"foo": "baz",
},
settings={
"tcp": {
"ip_version": "V6",
"tls": True,
"query_responses": [
{
"send": "howdy",
"expect": "hi",
},
{
"send": "like this",
"expect": "like that",
"start_tls": True,
},
],
"tls_config": {
"server_name": "grafana.com",
"ca_cert": """-----BEGIN CERTIFICATE-----
MIIEljCCAn4CCQCKJPUQQxeO0zANBgkqhkiG9w0BAQsFADANMQswCQYDVQQGEwJT
RTAeFw0yMTA1MjkxOTIyNTdaFw0yNDAzMTgxOTIyNTdaMA0xCzAJBgNVBAYTAlNF
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnmbazDNUT0rSI4BpGZK+
0AJ+9FDkIYWJUtRLJoxw8CF+AobMFploYA2L2Myt80cTA1w8FrewjC8qlqdnrPWr
h1ely2zsUljgi1/niH0ndjFzliL7UkinXQiAsTtYOrOQmzyd/o5PNdu7dz0m7stD
BN/Sz5TlXZnA1/eJbqV/kqMau6b1MaBx8SbRfUG9+cSmUobFJwuktDrPuwJhcEkl
iDmhEqu1GuZzmKvzPacLTVia1vSlmCTCu89NiHI8iGiiLtqNrapup7f8j5m3a3SL
a+vXhplFj2piNl7Nc0dfuVgtEliTI+qUL2/+4A7gzRWZpHy21/LxMMXmBhdJW9En
FWkev97VZLgb5TR3+qpSWmXcodjPy4dibvwsOMpdd+Q4AYulwvlDw5idRPVgGvk7
qq03+w9ppZ5Fugws9k2CD9F/75JX2mCbRpkuPe8XXZ7bqrMaQgQMLOrs68HuiiCk
FTklglq4DMKxnf/Y/T/MgIa9Q1o28YSevh6A7FnfPGARj2H2T4rToi+bC1Vf7qNB
Z18bDpz99tRUTbyiRUSBMWLCGhU6c4HAqUrfrkpperOKFBQ3i38a79838oFdXHBW
6rx1t5cC3XwtEoUyeBKAygez8G1LDXbN3607MxVhAjhHKtPkYvuBfysSNU6JrR0z
UV1IURJANt2UMuKgSEkG/IMCAwEAATANBgkqhkiG9w0BAQsFAAOCAgEAcipMhp/w
yzfPy61faVAw9SPaMNRlnW9FCDC3N9CGOjo2knjXpObPzyzsJiUURTjrA9eFMpRA
e2Rgn2j+nvm2XdLAlC4Kh8jqv/wCL0X6BTQMdN5aOhXdSiXtpXOMvXYY/dQ4ebRZ
XeRCVWQD79JbV6/uyx0nCV3FVcU7L1P4UjxroefVr0soLPMirgxHmOxLnkoVgdcB
tqufP5kJx9CIeJXPx3QQsk1XfEtxtUvuw4ZaZkQnNUqvGl7V+AZpur5Eqfv3zBi8
QxxL7qGkARNssNWH2Ju+tqpM/UZRnjlFrDR4SXUgT0coTduBalUY6qHkciHmRpiP
tf3SgpDeiCSOV2iVFGdaR1mz3muWoAYWFstcWN3a3HjjVugIi23yLN8Gv8CNeoH4
prulinFCLrFgAh8SLAF8mOAZanT06LH8jOIFYrdUxH+ZeRBR0rLoFjUF+JB7UKD9
5TA+B4EBzQ1tMbGFU1DX79MjAejq0IV0Nzq+GMfBvLHxEf4+Oz8nqhDXQcJ6TdtY
l3Lyw5zBvOL80SBK+Mr0UP7d9U3VXgbGHCYVJU6Ot1TwiGwahtWALRALA3TWeGkq
7kyD1H+nm+9lfKhuyBRQnRGBVyze2lAp7oxwshJuhBwEXosXFxq1Cy6QhPN77r6N
vuhxvtppolNnyOgGxwG4zquqq2V5/+vKjKY=
-----END CERTIFICATE-----
""",
},
},
})
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/syntheticMonitoring"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
main, err := syntheticMonitoring.GetProbes(ctx, &syntheticmonitoring.GetProbesArgs{}, nil)
if err != nil {
return err
}
_, err = syntheticMonitoring.NewCheck(ctx, "tcp", &syntheticMonitoring.CheckArgs{
Job: pulumi.String("TCP Defaults"),
Target: pulumi.String("grafana.com:443"),
Enabled: pulumi.Bool(false),
Probes: pulumi.IntArray{
pulumi.Int(main.Probes.Frankfurt),
pulumi.Int(main.Probes.London),
},
Labels: pulumi.StringMap{
"foo": pulumi.String("baz"),
},
Settings: &syntheticmonitoring.CheckSettingsArgs{
Tcp: &syntheticmonitoring.CheckSettingsTcpArgs{
IpVersion: pulumi.String("V6"),
Tls: pulumi.Bool(true),
QueryResponses: syntheticmonitoring.CheckSettingsTcpQueryResponseArray{
&syntheticmonitoring.CheckSettingsTcpQueryResponseArgs{
Send: pulumi.String("howdy"),
Expect: pulumi.String("hi"),
},
&syntheticmonitoring.CheckSettingsTcpQueryResponseArgs{
Send: pulumi.String("like this"),
Expect: pulumi.String("like that"),
StartTls: pulumi.Bool(true),
},
},
TlsConfig: &syntheticmonitoring.CheckSettingsTcpTlsConfigArgs{
ServerName: pulumi.String("grafana.com"),
CaCert: pulumi.String(`-----BEGIN CERTIFICATE-----
MIIEljCCAn4CCQCKJPUQQxeO0zANBgkqhkiG9w0BAQsFADANMQswCQYDVQQGEwJT
RTAeFw0yMTA1MjkxOTIyNTdaFw0yNDAzMTgxOTIyNTdaMA0xCzAJBgNVBAYTAlNF
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnmbazDNUT0rSI4BpGZK+
0AJ+9FDkIYWJUtRLJoxw8CF+AobMFploYA2L2Myt80cTA1w8FrewjC8qlqdnrPWr
h1ely2zsUljgi1/niH0ndjFzliL7UkinXQiAsTtYOrOQmzyd/o5PNdu7dz0m7stD
BN/Sz5TlXZnA1/eJbqV/kqMau6b1MaBx8SbRfUG9+cSmUobFJwuktDrPuwJhcEkl
iDmhEqu1GuZzmKvzPacLTVia1vSlmCTCu89NiHI8iGiiLtqNrapup7f8j5m3a3SL
a+vXhplFj2piNl7Nc0dfuVgtEliTI+qUL2/+4A7gzRWZpHy21/LxMMXmBhdJW9En
FWkev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-----END CERTIFICATE-----
`),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumi.Grafana;
using Grafana = Pulumiverse.Grafana;
return await Deployment.RunAsync(() =>
{
var main = Grafana.SyntheticMonitoring.GetProbes.Invoke();
var tcp = new Grafana.SyntheticMonitoring.Check("tcp", new()
{
Job = "TCP Defaults",
Target = "grafana.com:443",
Enabled = false,
Probes = new[]
{
main.Apply(getProbesResult => getProbesResult.Probes?.Frankfurt),
main.Apply(getProbesResult => getProbesResult.Probes?.London),
},
Labels =
{
{ "foo", "baz" },
},
Settings = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsArgs
{
Tcp = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsTcpArgs
{
IpVersion = "V6",
Tls = true,
QueryResponses = new[]
{
new Grafana.SyntheticMonitoring.Inputs.CheckSettingsTcpQueryResponseArgs
{
Send = "howdy",
Expect = "hi",
},
new Grafana.SyntheticMonitoring.Inputs.CheckSettingsTcpQueryResponseArgs
{
Send = "like this",
Expect = "like that",
StartTls = true,
},
},
TlsConfig = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsTcpTlsConfigArgs
{
ServerName = "grafana.com",
CaCert = @"-----BEGIN CERTIFICATE-----
MIIEljCCAn4CCQCKJPUQQxeO0zANBgkqhkiG9w0BAQsFADANMQswCQYDVQQGEwJT
RTAeFw0yMTA1MjkxOTIyNTdaFw0yNDAzMTgxOTIyNTdaMA0xCzAJBgNVBAYTAlNF
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnmbazDNUT0rSI4BpGZK+
0AJ+9FDkIYWJUtRLJoxw8CF+AobMFploYA2L2Myt80cTA1w8FrewjC8qlqdnrPWr
h1ely2zsUljgi1/niH0ndjFzliL7UkinXQiAsTtYOrOQmzyd/o5PNdu7dz0m7stD
BN/Sz5TlXZnA1/eJbqV/kqMau6b1MaBx8SbRfUG9+cSmUobFJwuktDrPuw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VXgbGHCYVJU6Ot1TwiGwahtWALRALA3TWeGkq
7kyD1H+nm+9lfKhuyBRQnRGBVyze2lAp7oxwshJuhBwEXosXFxq1Cy6QhPN77r6N
vuhxvtppolNnyOgGxwG4zquqq2V5/+vKjKY=
-----END CERTIFICATE-----
",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.syntheticMonitoring.SyntheticMonitoringFunctions;
import com.pulumi.grafana.syntheticMonitoring.inputs.GetProbesArgs;
import com.pulumi.grafana.syntheticMonitoring.Check;
import com.pulumi.grafana.syntheticMonitoring.CheckArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsTcpArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsTcpTlsConfigArgs;
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) {
final var main = SyntheticMonitoringFunctions.getProbes();
var tcp = new Check("tcp", CheckArgs.builder()
.job("TCP Defaults")
.target("grafana.com:443")
.enabled(false)
.probes(
main.applyValue(getProbesResult -> getProbesResult.probes().frankfurt()),
main.applyValue(getProbesResult -> getProbesResult.probes().london()))
.labels(Map.of("foo", "baz"))
.settings(CheckSettingsArgs.builder()
.tcp(CheckSettingsTcpArgs.builder()
.ipVersion("V6")
.tls(true)
.queryResponses(
CheckSettingsTcpQueryResponseArgs.builder()
.send("howdy")
.expect("hi")
.build(),
CheckSettingsTcpQueryResponseArgs.builder()
.send("like this")
.expect("like that")
.startTls(true)
.build())
.tlsConfig(CheckSettingsTcpTlsConfigArgs.builder()
.serverName("grafana.com")
.caCert("""
-----BEGIN CERTIFICATE-----
MIIEljCCAn4CCQCKJPUQQxeO0zANBgkqhkiG9w0BAQsFADANMQswCQYDVQQ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aZkQnNUqvGl7V+AZpur5Eqfv3zBi8
QxxL7qGkARNssNWH2Ju+tqpM/UZRnjlFrDR4SXUgT0coTduBalUY6qHkciHmRpiP
tf3SgpDeiCSOV2iVFGdaR1mz3muWoAYWFstcWN3a3HjjVugIi23yLN8Gv8CNeoH4
prulinFCLrFgAh8SLAF8mOAZanT06LH8jOIFYrdUxH+ZeRBR0rLoFjUF+JB7UKD9
5TA+B4EBzQ1tMbGFU1DX79MjAejq0IV0Nzq+GMfBvLHxEf4+Oz8nqhDXQcJ6TdtY
l3Lyw5zBvOL80SBK+Mr0UP7d9U3VXgbGHCYVJU6Ot1TwiGwahtWALRALA3TWeGkq
7kyD1H+nm+9lfKhuyBRQnRGBVyze2lAp7oxwshJuhBwEXosXFxq1Cy6QhPN77r6N
vuhxvtppolNnyOgGxwG4zquqq2V5/+vKjKY=
-----END CERTIFICATE-----
""")
.build())
.build())
.build())
.build());
}
}
resources:
tcp:
type: grafana:syntheticMonitoring:Check
properties:
job: TCP Defaults
target: grafana.com:443
enabled: false
probes:
- ${main.probes.frankfurt}
- ${main.probes.london}
labels:
foo: baz
settings:
tcp:
ipVersion: V6
tls: true
queryResponses:
- send: howdy
expect: hi
- send: like this
expect: like that
startTls: true
tlsConfig:
serverName: grafana.com
caCert: |
-----BEGIN CERTIFICATE-----
MIIEljCCAn4CCQCKJPUQQxeO0zANBgkqhkiG9w0BAQsFADANMQswCQYDVQQGEwJT
RTAeFw0yMTA1MjkxOTIyNTdaFw0yNDAzMTgxOTIyNTdaMA0xCzAJBgNVBAYTAlNF
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnmbazDNUT0rSI4BpGZK+
0AJ+9FDkIYWJUtRLJoxw8CF+AobMFploYA2L2Myt80cTA1w8FrewjC8qlqdnrPWr
h1ely2zsUljgi1/niH0ndjFzliL7UkinXQiAsTtYOrOQmzyd/o5PNdu7dz0m7stD
BN/Sz5TlXZnA1/eJbqV/kqMau6b1MaBx8SbRfUG9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80SBK+Mr0UP7d9U3VXgbGHCYVJU6Ot1TwiGwahtWALRALA3TWeGkq
7kyD1H+nm+9lfKhuyBRQnRGBVyze2lAp7oxwshJuhBwEXosXFxq1Cy6QhPN77r6N
vuhxvtppolNnyOgGxwG4zquqq2V5/+vKjKY=
-----END CERTIFICATE-----
variables:
main:
fn::invoke:
Function: grafana:syntheticMonitoring:getProbes
Arguments: {}
Traceroute Basic
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumi/grafana";
import * as grafana from "@pulumiverse/grafana";
const main = grafana.syntheticMonitoring.getProbes({});
const traceroute = new grafana.syntheticmonitoring.Check("traceroute", {
job: "Traceroute defaults",
target: "grafana.com",
enabled: false,
frequency: 120000,
timeout: 30000,
probes: [main.then(main => main.probes?.atlanta)],
labels: {
foo: "bar",
},
settings: {
traceroute: {},
},
});
import pulumi
import pulumi_grafana as grafana
import pulumiverse_grafana as grafana
main = grafana.syntheticMonitoring.get_probes()
traceroute = grafana.synthetic_monitoring.Check("traceroute",
job="Traceroute defaults",
target="grafana.com",
enabled=False,
frequency=120000,
timeout=30000,
probes=[main.probes["atlanta"]],
labels={
"foo": "bar",
},
settings={
"traceroute": {},
})
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/syntheticMonitoring"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
main, err := syntheticMonitoring.GetProbes(ctx, &syntheticmonitoring.GetProbesArgs{}, nil)
if err != nil {
return err
}
_, err = syntheticMonitoring.NewCheck(ctx, "traceroute", &syntheticMonitoring.CheckArgs{
Job: pulumi.String("Traceroute defaults"),
Target: pulumi.String("grafana.com"),
Enabled: pulumi.Bool(false),
Frequency: pulumi.Int(120000),
Timeout: pulumi.Int(30000),
Probes: pulumi.IntArray{
pulumi.Int(main.Probes.Atlanta),
},
Labels: pulumi.StringMap{
"foo": pulumi.String("bar"),
},
Settings: &syntheticmonitoring.CheckSettingsArgs{
Traceroute: &syntheticmonitoring.CheckSettingsTracerouteArgs{},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumi.Grafana;
using Grafana = Pulumiverse.Grafana;
return await Deployment.RunAsync(() =>
{
var main = Grafana.SyntheticMonitoring.GetProbes.Invoke();
var traceroute = new Grafana.SyntheticMonitoring.Check("traceroute", new()
{
Job = "Traceroute defaults",
Target = "grafana.com",
Enabled = false,
Frequency = 120000,
Timeout = 30000,
Probes = new[]
{
main.Apply(getProbesResult => getProbesResult.Probes?.Atlanta),
},
Labels =
{
{ "foo", "bar" },
},
Settings = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsArgs
{
Traceroute = null,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.syntheticMonitoring.SyntheticMonitoringFunctions;
import com.pulumi.grafana.syntheticMonitoring.inputs.GetProbesArgs;
import com.pulumi.grafana.syntheticMonitoring.Check;
import com.pulumi.grafana.syntheticMonitoring.CheckArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsTracerouteArgs;
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) {
final var main = SyntheticMonitoringFunctions.getProbes();
var traceroute = new Check("traceroute", CheckArgs.builder()
.job("Traceroute defaults")
.target("grafana.com")
.enabled(false)
.frequency(120000)
.timeout(30000)
.probes(main.applyValue(getProbesResult -> getProbesResult.probes().atlanta()))
.labels(Map.of("foo", "bar"))
.settings(CheckSettingsArgs.builder()
.traceroute()
.build())
.build());
}
}
resources:
traceroute:
type: grafana:syntheticMonitoring:Check
properties:
job: Traceroute defaults
target: grafana.com
enabled: false
frequency: 120000
timeout: 30000
probes:
- ${main.probes.atlanta}
labels:
foo: bar
settings:
traceroute: {}
variables:
main:
fn::invoke:
Function: grafana:syntheticMonitoring:getProbes
Arguments: {}
Traceroute Complex
import * as pulumi from "@pulumi/pulumi";
import * as grafana from "@pulumi/grafana";
import * as grafana from "@pulumiverse/grafana";
const main = grafana.syntheticMonitoring.getProbes({});
const traceroute = new grafana.syntheticmonitoring.Check("traceroute", {
job: "Traceroute complex",
target: "grafana.net",
enabled: false,
frequency: 120000,
timeout: 30000,
probes: [
main.then(main => main.probes?.frankfurt),
main.then(main => main.probes?.london),
],
labels: {
foo: "baz",
},
settings: {
traceroute: {
maxHops: 25,
maxUnknownHops: 10,
ptrLookup: false,
},
},
});
import pulumi
import pulumi_grafana as grafana
import pulumiverse_grafana as grafana
main = grafana.syntheticMonitoring.get_probes()
traceroute = grafana.synthetic_monitoring.Check("traceroute",
job="Traceroute complex",
target="grafana.net",
enabled=False,
frequency=120000,
timeout=30000,
probes=[
main.probes["frankfurt"],
main.probes["london"],
],
labels={
"foo": "baz",
},
settings={
"traceroute": {
"max_hops": 25,
"max_unknown_hops": 10,
"ptr_lookup": False,
},
})
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-grafana/sdk/go/grafana/syntheticMonitoring"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
main, err := syntheticMonitoring.GetProbes(ctx, &syntheticmonitoring.GetProbesArgs{}, nil)
if err != nil {
return err
}
_, err = syntheticMonitoring.NewCheck(ctx, "traceroute", &syntheticMonitoring.CheckArgs{
Job: pulumi.String("Traceroute complex"),
Target: pulumi.String("grafana.net"),
Enabled: pulumi.Bool(false),
Frequency: pulumi.Int(120000),
Timeout: pulumi.Int(30000),
Probes: pulumi.IntArray{
pulumi.Int(main.Probes.Frankfurt),
pulumi.Int(main.Probes.London),
},
Labels: pulumi.StringMap{
"foo": pulumi.String("baz"),
},
Settings: &syntheticmonitoring.CheckSettingsArgs{
Traceroute: &syntheticmonitoring.CheckSettingsTracerouteArgs{
MaxHops: pulumi.Int(25),
MaxUnknownHops: pulumi.Int(10),
PtrLookup: pulumi.Bool(false),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Grafana = Pulumi.Grafana;
using Grafana = Pulumiverse.Grafana;
return await Deployment.RunAsync(() =>
{
var main = Grafana.SyntheticMonitoring.GetProbes.Invoke();
var traceroute = new Grafana.SyntheticMonitoring.Check("traceroute", new()
{
Job = "Traceroute complex",
Target = "grafana.net",
Enabled = false,
Frequency = 120000,
Timeout = 30000,
Probes = new[]
{
main.Apply(getProbesResult => getProbesResult.Probes?.Frankfurt),
main.Apply(getProbesResult => getProbesResult.Probes?.London),
},
Labels =
{
{ "foo", "baz" },
},
Settings = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsArgs
{
Traceroute = new Grafana.SyntheticMonitoring.Inputs.CheckSettingsTracerouteArgs
{
MaxHops = 25,
MaxUnknownHops = 10,
PtrLookup = false,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.grafana.syntheticMonitoring.SyntheticMonitoringFunctions;
import com.pulumi.grafana.syntheticMonitoring.inputs.GetProbesArgs;
import com.pulumi.grafana.syntheticMonitoring.Check;
import com.pulumi.grafana.syntheticMonitoring.CheckArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsArgs;
import com.pulumi.grafana.syntheticMonitoring.inputs.CheckSettingsTracerouteArgs;
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) {
final var main = SyntheticMonitoringFunctions.getProbes();
var traceroute = new Check("traceroute", CheckArgs.builder()
.job("Traceroute complex")
.target("grafana.net")
.enabled(false)
.frequency(120000)
.timeout(30000)
.probes(
main.applyValue(getProbesResult -> getProbesResult.probes().frankfurt()),
main.applyValue(getProbesResult -> getProbesResult.probes().london()))
.labels(Map.of("foo", "baz"))
.settings(CheckSettingsArgs.builder()
.traceroute(CheckSettingsTracerouteArgs.builder()
.maxHops(25)
.maxUnknownHops(10)
.ptrLookup(false)
.build())
.build())
.build());
}
}
resources:
traceroute:
type: grafana:syntheticMonitoring:Check
properties:
job: Traceroute complex
target: grafana.net
enabled: false
frequency: 120000
timeout: 30000
probes:
- ${main.probes.frankfurt}
- ${main.probes.london}
labels:
foo: baz
settings:
traceroute:
maxHops: 25
maxUnknownHops: 10
ptrLookup: false
variables:
main:
fn::invoke:
Function: grafana:syntheticMonitoring:getProbes
Arguments: {}
Create SyntheticMonitoringCheck Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SyntheticMonitoringCheck(name: string, args: SyntheticMonitoringCheckArgs, opts?: CustomResourceOptions);
@overload
def SyntheticMonitoringCheck(resource_name: str,
args: SyntheticMonitoringCheckArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SyntheticMonitoringCheck(resource_name: str,
opts: Optional[ResourceOptions] = None,
alert_sensitivity: Optional[str] = None,
basic_metrics_only: Optional[bool] = None,
enabled: Optional[bool] = None,
frequency: Optional[int] = None,
job: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
probes: Optional[Sequence[int]] = None,
settings: Optional[SyntheticMonitoringCheckSettingsArgs] = None,
target: Optional[str] = None,
timeout: Optional[int] = None)
func NewSyntheticMonitoringCheck(ctx *Context, name string, args SyntheticMonitoringCheckArgs, opts ...ResourceOption) (*SyntheticMonitoringCheck, error)
public SyntheticMonitoringCheck(string name, SyntheticMonitoringCheckArgs args, CustomResourceOptions? opts = null)
public SyntheticMonitoringCheck(String name, SyntheticMonitoringCheckArgs args)
public SyntheticMonitoringCheck(String name, SyntheticMonitoringCheckArgs args, CustomResourceOptions options)
type: grafana:SyntheticMonitoringCheck
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 SyntheticMonitoringCheckArgs
- 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 SyntheticMonitoringCheckArgs
- 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 SyntheticMonitoringCheckArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SyntheticMonitoringCheckArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SyntheticMonitoringCheckArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SyntheticMonitoringCheck 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 SyntheticMonitoringCheck resource accepts the following input properties:
- Job string
- Name used for job label.
- Probes List<int>
- List of probe location IDs where this target will be checked from.
- Settings
Pulumiverse.
Grafana. Inputs. Synthetic Monitoring Check Settings - Check settings. Should contain exactly one nested block.
- Target string
- Hostname to ping.
- Alert
Sensitivity string - Can be set to
none
,low
,medium
, orhigh
to correspond to the check alert levels. Defaults tonone
. - Basic
Metrics boolOnly - Metrics are reduced by default. Set this to
false
if you'd like to publish all metrics. We maintain a full list of metrics collected for each. Defaults totrue
. - Enabled bool
- Whether to enable the check. Defaults to
true
. - Frequency int
- How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to
60000
. - Labels Dictionary<string, string>
- Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.
- Timeout int
- Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to
3000
.
- Job string
- Name used for job label.
- Probes []int
- List of probe location IDs where this target will be checked from.
- Settings
Synthetic
Monitoring Check Settings Args - Check settings. Should contain exactly one nested block.
- Target string
- Hostname to ping.
- Alert
Sensitivity string - Can be set to
none
,low
,medium
, orhigh
to correspond to the check alert levels. Defaults tonone
. - Basic
Metrics boolOnly - Metrics are reduced by default. Set this to
false
if you'd like to publish all metrics. We maintain a full list of metrics collected for each. Defaults totrue
. - Enabled bool
- Whether to enable the check. Defaults to
true
. - Frequency int
- How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to
60000
. - Labels map[string]string
- Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.
- Timeout int
- Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to
3000
.
- job String
- Name used for job label.
- probes List<Integer>
- List of probe location IDs where this target will be checked from.
- settings
Synthetic
Monitoring Check Settings - Check settings. Should contain exactly one nested block.
- target String
- Hostname to ping.
- alert
Sensitivity String - Can be set to
none
,low
,medium
, orhigh
to correspond to the check alert levels. Defaults tonone
. - basic
Metrics BooleanOnly - Metrics are reduced by default. Set this to
false
if you'd like to publish all metrics. We maintain a full list of metrics collected for each. Defaults totrue
. - enabled Boolean
- Whether to enable the check. Defaults to
true
. - frequency Integer
- How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to
60000
. - labels Map<String,String>
- Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.
- timeout Integer
- Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to
3000
.
- job string
- Name used for job label.
- probes number[]
- List of probe location IDs where this target will be checked from.
- settings
Synthetic
Monitoring Check Settings - Check settings. Should contain exactly one nested block.
- target string
- Hostname to ping.
- alert
Sensitivity string - Can be set to
none
,low
,medium
, orhigh
to correspond to the check alert levels. Defaults tonone
. - basic
Metrics booleanOnly - Metrics are reduced by default. Set this to
false
if you'd like to publish all metrics. We maintain a full list of metrics collected for each. Defaults totrue
. - enabled boolean
- Whether to enable the check. Defaults to
true
. - frequency number
- How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to
60000
. - labels {[key: string]: string}
- Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.
- timeout number
- Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to
3000
.
- job str
- Name used for job label.
- probes Sequence[int]
- List of probe location IDs where this target will be checked from.
- settings
Synthetic
Monitoring Check Settings Args - Check settings. Should contain exactly one nested block.
- target str
- Hostname to ping.
- alert_
sensitivity str - Can be set to
none
,low
,medium
, orhigh
to correspond to the check alert levels. Defaults tonone
. - basic_
metrics_ boolonly - Metrics are reduced by default. Set this to
false
if you'd like to publish all metrics. We maintain a full list of metrics collected for each. Defaults totrue
. - enabled bool
- Whether to enable the check. Defaults to
true
. - frequency int
- How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to
60000
. - labels Mapping[str, str]
- Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.
- timeout int
- Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to
3000
.
- job String
- Name used for job label.
- probes List<Number>
- List of probe location IDs where this target will be checked from.
- settings Property Map
- Check settings. Should contain exactly one nested block.
- target String
- Hostname to ping.
- alert
Sensitivity String - Can be set to
none
,low
,medium
, orhigh
to correspond to the check alert levels. Defaults tonone
. - basic
Metrics BooleanOnly - Metrics are reduced by default. Set this to
false
if you'd like to publish all metrics. We maintain a full list of metrics collected for each. Defaults totrue
. - enabled Boolean
- Whether to enable the check. Defaults to
true
. - frequency Number
- How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to
60000
. - labels Map<String>
- Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.
- timeout Number
- Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to
3000
.
Outputs
All input properties are implicitly available as output properties. Additionally, the SyntheticMonitoringCheck resource produces the following output properties:
Look up Existing SyntheticMonitoringCheck Resource
Get an existing SyntheticMonitoringCheck 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?: SyntheticMonitoringCheckState, opts?: CustomResourceOptions): SyntheticMonitoringCheck
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alert_sensitivity: Optional[str] = None,
basic_metrics_only: Optional[bool] = None,
enabled: Optional[bool] = None,
frequency: Optional[int] = None,
job: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
probes: Optional[Sequence[int]] = None,
settings: Optional[SyntheticMonitoringCheckSettingsArgs] = None,
target: Optional[str] = None,
tenant_id: Optional[int] = None,
timeout: Optional[int] = None) -> SyntheticMonitoringCheck
func GetSyntheticMonitoringCheck(ctx *Context, name string, id IDInput, state *SyntheticMonitoringCheckState, opts ...ResourceOption) (*SyntheticMonitoringCheck, error)
public static SyntheticMonitoringCheck Get(string name, Input<string> id, SyntheticMonitoringCheckState? state, CustomResourceOptions? opts = null)
public static SyntheticMonitoringCheck get(String name, Output<String> id, SyntheticMonitoringCheckState 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.
- Alert
Sensitivity string - Can be set to
none
,low
,medium
, orhigh
to correspond to the check alert levels. Defaults tonone
. - Basic
Metrics boolOnly - Metrics are reduced by default. Set this to
false
if you'd like to publish all metrics. We maintain a full list of metrics collected for each. Defaults totrue
. - Enabled bool
- Whether to enable the check. Defaults to
true
. - Frequency int
- How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to
60000
. - Job string
- Name used for job label.
- Labels Dictionary<string, string>
- Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.
- Probes List<int>
- List of probe location IDs where this target will be checked from.
- Settings
Pulumiverse.
Grafana. Inputs. Synthetic Monitoring Check Settings - Check settings. Should contain exactly one nested block.
- Target string
- Hostname to ping.
- Tenant
Id int - The tenant ID of the check.
- Timeout int
- Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to
3000
.
- Alert
Sensitivity string - Can be set to
none
,low
,medium
, orhigh
to correspond to the check alert levels. Defaults tonone
. - Basic
Metrics boolOnly - Metrics are reduced by default. Set this to
false
if you'd like to publish all metrics. We maintain a full list of metrics collected for each. Defaults totrue
. - Enabled bool
- Whether to enable the check. Defaults to
true
. - Frequency int
- How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to
60000
. - Job string
- Name used for job label.
- Labels map[string]string
- Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.
- Probes []int
- List of probe location IDs where this target will be checked from.
- Settings
Synthetic
Monitoring Check Settings Args - Check settings. Should contain exactly one nested block.
- Target string
- Hostname to ping.
- Tenant
Id int - The tenant ID of the check.
- Timeout int
- Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to
3000
.
- alert
Sensitivity String - Can be set to
none
,low
,medium
, orhigh
to correspond to the check alert levels. Defaults tonone
. - basic
Metrics BooleanOnly - Metrics are reduced by default. Set this to
false
if you'd like to publish all metrics. We maintain a full list of metrics collected for each. Defaults totrue
. - enabled Boolean
- Whether to enable the check. Defaults to
true
. - frequency Integer
- How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to
60000
. - job String
- Name used for job label.
- labels Map<String,String>
- Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.
- probes List<Integer>
- List of probe location IDs where this target will be checked from.
- settings
Synthetic
Monitoring Check Settings - Check settings. Should contain exactly one nested block.
- target String
- Hostname to ping.
- tenant
Id Integer - The tenant ID of the check.
- timeout Integer
- Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to
3000
.
- alert
Sensitivity string - Can be set to
none
,low
,medium
, orhigh
to correspond to the check alert levels. Defaults tonone
. - basic
Metrics booleanOnly - Metrics are reduced by default. Set this to
false
if you'd like to publish all metrics. We maintain a full list of metrics collected for each. Defaults totrue
. - enabled boolean
- Whether to enable the check. Defaults to
true
. - frequency number
- How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to
60000
. - job string
- Name used for job label.
- labels {[key: string]: string}
- Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.
- probes number[]
- List of probe location IDs where this target will be checked from.
- settings
Synthetic
Monitoring Check Settings - Check settings. Should contain exactly one nested block.
- target string
- Hostname to ping.
- tenant
Id number - The tenant ID of the check.
- timeout number
- Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to
3000
.
- alert_
sensitivity str - Can be set to
none
,low
,medium
, orhigh
to correspond to the check alert levels. Defaults tonone
. - basic_
metrics_ boolonly - Metrics are reduced by default. Set this to
false
if you'd like to publish all metrics. We maintain a full list of metrics collected for each. Defaults totrue
. - enabled bool
- Whether to enable the check. Defaults to
true
. - frequency int
- How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to
60000
. - job str
- Name used for job label.
- labels Mapping[str, str]
- Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.
- probes Sequence[int]
- List of probe location IDs where this target will be checked from.
- settings
Synthetic
Monitoring Check Settings Args - Check settings. Should contain exactly one nested block.
- target str
- Hostname to ping.
- tenant_
id int - The tenant ID of the check.
- timeout int
- Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to
3000
.
- alert
Sensitivity String - Can be set to
none
,low
,medium
, orhigh
to correspond to the check alert levels. Defaults tonone
. - basic
Metrics BooleanOnly - Metrics are reduced by default. Set this to
false
if you'd like to publish all metrics. We maintain a full list of metrics collected for each. Defaults totrue
. - enabled Boolean
- Whether to enable the check. Defaults to
true
. - frequency Number
- How often the check runs in milliseconds (the value is not truly a "frequency" but a "period"). The minimum acceptable value is 1 second (1000 ms), and the maximum is 1 hour (3600000 ms). Defaults to
60000
. - job String
- Name used for job label.
- labels Map<String>
- Custom labels to be included with collected metrics and logs. The maximum number of labels that can be specified per check is 5. These are applied, along with the probe-specific labels, to the outgoing metrics. The names and values of the labels cannot be empty, and the maximum length is 32 bytes.
- probes List<Number>
- List of probe location IDs where this target will be checked from.
- settings Property Map
- Check settings. Should contain exactly one nested block.
- target String
- Hostname to ping.
- tenant
Id Number - The tenant ID of the check.
- timeout Number
- Specifies the maximum running time for the check in milliseconds. The minimum acceptable value is 1 second (1000 ms), and the maximum 10 seconds (10000 ms). Defaults to
3000
.
Supporting Types
SyntheticMonitoringCheckSettings, SyntheticMonitoringCheckSettingsArgs
- Dns
Pulumiverse.
Grafana. Inputs. Synthetic Monitoring Check Settings Dns - Settings for DNS check. The target must be a valid hostname (or IP address for
PTR
records). - Grpc
Pulumiverse.
Grafana. Inputs. Synthetic Monitoring Check Settings Grpc - Settings for gRPC Health check. The target must be of the form
<host>:<port>
, where the host portion must be a valid hostname or IP address. - Http
Pulumiverse.
Grafana. Inputs. Synthetic Monitoring Check Settings Http - Settings for HTTP check. The target must be a URL (http or https).
- Multihttp
Pulumiverse.
Grafana. Inputs. Synthetic Monitoring Check Settings Multihttp - Settings for MultiHTTP check. The target must be a URL (http or https)
- Ping
Pulumiverse.
Grafana. Inputs. Synthetic Monitoring Check Settings Ping - Settings for ping (ICMP) check. The target must be a valid hostname or IP address.
- Scripted
Pulumiverse.
Grafana. Inputs. Synthetic Monitoring Check Settings Scripted - Settings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.
- Tcp
Pulumiverse.
Grafana. Inputs. Synthetic Monitoring Check Settings Tcp - Settings for TCP check. The target must be of the form
<host>:<port>
, where the host portion must be a valid hostname or IP address. - Traceroute
Pulumiverse.
Grafana. Inputs. Synthetic Monitoring Check Settings Traceroute - Settings for traceroute check. The target must be a valid hostname or IP address
- Dns
Synthetic
Monitoring Check Settings Dns - Settings for DNS check. The target must be a valid hostname (or IP address for
PTR
records). - Grpc
Synthetic
Monitoring Check Settings Grpc - Settings for gRPC Health check. The target must be of the form
<host>:<port>
, where the host portion must be a valid hostname or IP address. - Http
Synthetic
Monitoring Check Settings Http - Settings for HTTP check. The target must be a URL (http or https).
- Multihttp
Synthetic
Monitoring Check Settings Multihttp - Settings for MultiHTTP check. The target must be a URL (http or https)
- Ping
Synthetic
Monitoring Check Settings Ping - Settings for ping (ICMP) check. The target must be a valid hostname or IP address.
- Scripted
Synthetic
Monitoring Check Settings Scripted - Settings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.
- Tcp
Synthetic
Monitoring Check Settings Tcp - Settings for TCP check. The target must be of the form
<host>:<port>
, where the host portion must be a valid hostname or IP address. - Traceroute
Synthetic
Monitoring Check Settings Traceroute - Settings for traceroute check. The target must be a valid hostname or IP address
- dns
Synthetic
Monitoring Check Settings Dns - Settings for DNS check. The target must be a valid hostname (or IP address for
PTR
records). - grpc
Synthetic
Monitoring Check Settings Grpc - Settings for gRPC Health check. The target must be of the form
<host>:<port>
, where the host portion must be a valid hostname or IP address. - http
Synthetic
Monitoring Check Settings Http - Settings for HTTP check. The target must be a URL (http or https).
- multihttp
Synthetic
Monitoring Check Settings Multihttp - Settings for MultiHTTP check. The target must be a URL (http or https)
- ping
Synthetic
Monitoring Check Settings Ping - Settings for ping (ICMP) check. The target must be a valid hostname or IP address.
- scripted
Synthetic
Monitoring Check Settings Scripted - Settings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.
- tcp
Synthetic
Monitoring Check Settings Tcp - Settings for TCP check. The target must be of the form
<host>:<port>
, where the host portion must be a valid hostname or IP address. - traceroute
Synthetic
Monitoring Check Settings Traceroute - Settings for traceroute check. The target must be a valid hostname or IP address
- dns
Synthetic
Monitoring Check Settings Dns - Settings for DNS check. The target must be a valid hostname (or IP address for
PTR
records). - grpc
Synthetic
Monitoring Check Settings Grpc - Settings for gRPC Health check. The target must be of the form
<host>:<port>
, where the host portion must be a valid hostname or IP address. - http
Synthetic
Monitoring Check Settings Http - Settings for HTTP check. The target must be a URL (http or https).
- multihttp
Synthetic
Monitoring Check Settings Multihttp - Settings for MultiHTTP check. The target must be a URL (http or https)
- ping
Synthetic
Monitoring Check Settings Ping - Settings for ping (ICMP) check. The target must be a valid hostname or IP address.
- scripted
Synthetic
Monitoring Check Settings Scripted - Settings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.
- tcp
Synthetic
Monitoring Check Settings Tcp - Settings for TCP check. The target must be of the form
<host>:<port>
, where the host portion must be a valid hostname or IP address. - traceroute
Synthetic
Monitoring Check Settings Traceroute - Settings for traceroute check. The target must be a valid hostname or IP address
- dns
Synthetic
Monitoring Check Settings Dns - Settings for DNS check. The target must be a valid hostname (or IP address for
PTR
records). - grpc
Synthetic
Monitoring Check Settings Grpc - Settings for gRPC Health check. The target must be of the form
<host>:<port>
, where the host portion must be a valid hostname or IP address. - http
Synthetic
Monitoring Check Settings Http - Settings for HTTP check. The target must be a URL (http or https).
- multihttp
Synthetic
Monitoring Check Settings Multihttp - Settings for MultiHTTP check. The target must be a URL (http or https)
- ping
Synthetic
Monitoring Check Settings Ping - Settings for ping (ICMP) check. The target must be a valid hostname or IP address.
- scripted
Synthetic
Monitoring Check Settings Scripted - Settings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.
- tcp
Synthetic
Monitoring Check Settings Tcp - Settings for TCP check. The target must be of the form
<host>:<port>
, where the host portion must be a valid hostname or IP address. - traceroute
Synthetic
Monitoring Check Settings Traceroute - Settings for traceroute check. The target must be a valid hostname or IP address
- dns Property Map
- Settings for DNS check. The target must be a valid hostname (or IP address for
PTR
records). - grpc Property Map
- Settings for gRPC Health check. The target must be of the form
<host>:<port>
, where the host portion must be a valid hostname or IP address. - http Property Map
- Settings for HTTP check. The target must be a URL (http or https).
- multihttp Property Map
- Settings for MultiHTTP check. The target must be a URL (http or https)
- ping Property Map
- Settings for ping (ICMP) check. The target must be a valid hostname or IP address.
- scripted Property Map
- Settings for scripted check. See https://grafana.com/docs/grafana-cloud/testing/synthetic-monitoring/create-checks/checks/k6/.
- tcp Property Map
- Settings for TCP check. The target must be of the form
<host>:<port>
, where the host portion must be a valid hostname or IP address. - traceroute Property Map
- Settings for traceroute check. The target must be a valid hostname or IP address
SyntheticMonitoringCheckSettingsDns, SyntheticMonitoringCheckSettingsDnsArgs
- Ip
Version string - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - Port int
- Port to target. Defaults to
53
. - Protocol string
TCP
orUDP
. Defaults toUDP
.- Record
Type string - One of
ANY
,A
,AAAA
,CNAME
,MX
,NS
,PTR
,SOA
,SRV
,TXT
. Defaults toA
. - Server string
- DNS server address to target. Defaults to
8.8.8.8
. - Source
Ip stringAddress - Source IP address.
- Valid
RCodes List<string> - List of valid response codes. Options include
NOERROR
,BADALG
,BADMODE
,BADKEY
,BADCOOKIE
,BADNAME
,BADSIG
,BADTIME
,BADTRUNC
,BADVERS
,FORMERR
,NOTIMP
,NOTAUTH
,NOTZONE
,NXDOMAIN
,NXRRSET
,REFUSED
,SERVFAIL
,YXDOMAIN
,YXRRSET
. - Validate
Additional List<Pulumiverse.Rrs Grafana. Inputs. Synthetic Monitoring Check Settings Dns Validate Additional Rr> - Validate additional matches.
- Validate
Answer Pulumiverse.Rrs Grafana. Inputs. Synthetic Monitoring Check Settings Dns Validate Answer Rrs - Validate response answer.
- Pulumiverse.
Grafana. Inputs. Synthetic Monitoring Check Settings Dns Validate Authority Rrs - Validate response authority.
- Ip
Version string - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - Port int
- Port to target. Defaults to
53
. - Protocol string
TCP
orUDP
. Defaults toUDP
.- Record
Type string - One of
ANY
,A
,AAAA
,CNAME
,MX
,NS
,PTR
,SOA
,SRV
,TXT
. Defaults toA
. - Server string
- DNS server address to target. Defaults to
8.8.8.8
. - Source
Ip stringAddress - Source IP address.
- Valid
RCodes []string - List of valid response codes. Options include
NOERROR
,BADALG
,BADMODE
,BADKEY
,BADCOOKIE
,BADNAME
,BADSIG
,BADTIME
,BADTRUNC
,BADVERS
,FORMERR
,NOTIMP
,NOTAUTH
,NOTZONE
,NXDOMAIN
,NXRRSET
,REFUSED
,SERVFAIL
,YXDOMAIN
,YXRRSET
. - Validate
Additional []SyntheticRrs Monitoring Check Settings Dns Validate Additional Rr - Validate additional matches.
- Validate
Answer SyntheticRrs Monitoring Check Settings Dns Validate Answer Rrs - Validate response answer.
- Synthetic
Monitoring Check Settings Dns Validate Authority Rrs - Validate response authority.
- ip
Version String - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - port Integer
- Port to target. Defaults to
53
. - protocol String
TCP
orUDP
. Defaults toUDP
.- record
Type String - One of
ANY
,A
,AAAA
,CNAME
,MX
,NS
,PTR
,SOA
,SRV
,TXT
. Defaults toA
. - server String
- DNS server address to target. Defaults to
8.8.8.8
. - source
Ip StringAddress - Source IP address.
- valid
RCodes List<String> - List of valid response codes. Options include
NOERROR
,BADALG
,BADMODE
,BADKEY
,BADCOOKIE
,BADNAME
,BADSIG
,BADTIME
,BADTRUNC
,BADVERS
,FORMERR
,NOTIMP
,NOTAUTH
,NOTZONE
,NXDOMAIN
,NXRRSET
,REFUSED
,SERVFAIL
,YXDOMAIN
,YXRRSET
. - validate
Additional List<SyntheticRrs Monitoring Check Settings Dns Validate Additional Rr> - Validate additional matches.
- validate
Answer SyntheticRrs Monitoring Check Settings Dns Validate Answer Rrs - Validate response answer.
- Synthetic
Monitoring Check Settings Dns Validate Authority Rrs - Validate response authority.
- ip
Version string - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - port number
- Port to target. Defaults to
53
. - protocol string
TCP
orUDP
. Defaults toUDP
.- record
Type string - One of
ANY
,A
,AAAA
,CNAME
,MX
,NS
,PTR
,SOA
,SRV
,TXT
. Defaults toA
. - server string
- DNS server address to target. Defaults to
8.8.8.8
. - source
Ip stringAddress - Source IP address.
- valid
RCodes string[] - List of valid response codes. Options include
NOERROR
,BADALG
,BADMODE
,BADKEY
,BADCOOKIE
,BADNAME
,BADSIG
,BADTIME
,BADTRUNC
,BADVERS
,FORMERR
,NOTIMP
,NOTAUTH
,NOTZONE
,NXDOMAIN
,NXRRSET
,REFUSED
,SERVFAIL
,YXDOMAIN
,YXRRSET
. - validate
Additional SyntheticRrs Monitoring Check Settings Dns Validate Additional Rr[] - Validate additional matches.
- validate
Answer SyntheticRrs Monitoring Check Settings Dns Validate Answer Rrs - Validate response answer.
- Synthetic
Monitoring Check Settings Dns Validate Authority Rrs - Validate response authority.
- ip_
version str - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - port int
- Port to target. Defaults to
53
. - protocol str
TCP
orUDP
. Defaults toUDP
.- record_
type str - One of
ANY
,A
,AAAA
,CNAME
,MX
,NS
,PTR
,SOA
,SRV
,TXT
. Defaults toA
. - server str
- DNS server address to target. Defaults to
8.8.8.8
. - source_
ip_ straddress - Source IP address.
- valid_
r_ Sequence[str]codes - List of valid response codes. Options include
NOERROR
,BADALG
,BADMODE
,BADKEY
,BADCOOKIE
,BADNAME
,BADSIG
,BADTIME
,BADTRUNC
,BADVERS
,FORMERR
,NOTIMP
,NOTAUTH
,NOTZONE
,NXDOMAIN
,NXRRSET
,REFUSED
,SERVFAIL
,YXDOMAIN
,YXRRSET
. - validate_
additional_ Sequence[Syntheticrrs Monitoring Check Settings Dns Validate Additional Rr] - Validate additional matches.
- validate_
answer_ Syntheticrrs Monitoring Check Settings Dns Validate Answer Rrs - Validate response answer.
- Synthetic
Monitoring Check Settings Dns Validate Authority Rrs - Validate response authority.
- ip
Version String - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - port Number
- Port to target. Defaults to
53
. - protocol String
TCP
orUDP
. Defaults toUDP
.- record
Type String - One of
ANY
,A
,AAAA
,CNAME
,MX
,NS
,PTR
,SOA
,SRV
,TXT
. Defaults toA
. - server String
- DNS server address to target. Defaults to
8.8.8.8
. - source
Ip StringAddress - Source IP address.
- valid
RCodes List<String> - List of valid response codes. Options include
NOERROR
,BADALG
,BADMODE
,BADKEY
,BADCOOKIE
,BADNAME
,BADSIG
,BADTIME
,BADTRUNC
,BADVERS
,FORMERR
,NOTIMP
,NOTAUTH
,NOTZONE
,NXDOMAIN
,NXRRSET
,REFUSED
,SERVFAIL
,YXDOMAIN
,YXRRSET
. - validate
Additional List<Property Map>Rrs - Validate additional matches.
- validate
Answer Property MapRrs - Validate response answer.
- Property Map
- Validate response authority.
SyntheticMonitoringCheckSettingsDnsValidateAdditionalRr, SyntheticMonitoringCheckSettingsDnsValidateAdditionalRrArgs
- Fail
If List<string>Matches Regexps - Fail if value matches regex.
- Fail
If List<string>Not Matches Regexps - Fail if value does not match regex.
- Fail
If []stringMatches Regexps - Fail if value matches regex.
- Fail
If []stringNot Matches Regexps - Fail if value does not match regex.
- fail
If List<String>Matches Regexps - Fail if value matches regex.
- fail
If List<String>Not Matches Regexps - Fail if value does not match regex.
- fail
If string[]Matches Regexps - Fail if value matches regex.
- fail
If string[]Not Matches Regexps - Fail if value does not match regex.
- fail_
if_ Sequence[str]matches_ regexps - Fail if value matches regex.
- fail_
if_ Sequence[str]not_ matches_ regexps - Fail if value does not match regex.
- fail
If List<String>Matches Regexps - Fail if value matches regex.
- fail
If List<String>Not Matches Regexps - Fail if value does not match regex.
SyntheticMonitoringCheckSettingsDnsValidateAnswerRrs, SyntheticMonitoringCheckSettingsDnsValidateAnswerRrsArgs
- Fail
If List<string>Matches Regexps - Fail if value matches regex.
- Fail
If List<string>Not Matches Regexps - Fail if value does not match regex.
- Fail
If []stringMatches Regexps - Fail if value matches regex.
- Fail
If []stringNot Matches Regexps - Fail if value does not match regex.
- fail
If List<String>Matches Regexps - Fail if value matches regex.
- fail
If List<String>Not Matches Regexps - Fail if value does not match regex.
- fail
If string[]Matches Regexps - Fail if value matches regex.
- fail
If string[]Not Matches Regexps - Fail if value does not match regex.
- fail_
if_ Sequence[str]matches_ regexps - Fail if value matches regex.
- fail_
if_ Sequence[str]not_ matches_ regexps - Fail if value does not match regex.
- fail
If List<String>Matches Regexps - Fail if value matches regex.
- fail
If List<String>Not Matches Regexps - Fail if value does not match regex.
SyntheticMonitoringCheckSettingsDnsValidateAuthorityRrs, SyntheticMonitoringCheckSettingsDnsValidateAuthorityRrsArgs
- Fail
If List<string>Matches Regexps - Fail if value matches regex.
- Fail
If List<string>Not Matches Regexps - Fail if value does not match regex.
- Fail
If []stringMatches Regexps - Fail if value matches regex.
- Fail
If []stringNot Matches Regexps - Fail if value does not match regex.
- fail
If List<String>Matches Regexps - Fail if value matches regex.
- fail
If List<String>Not Matches Regexps - Fail if value does not match regex.
- fail
If string[]Matches Regexps - Fail if value matches regex.
- fail
If string[]Not Matches Regexps - Fail if value does not match regex.
- fail_
if_ Sequence[str]matches_ regexps - Fail if value matches regex.
- fail_
if_ Sequence[str]not_ matches_ regexps - Fail if value does not match regex.
- fail
If List<String>Matches Regexps - Fail if value matches regex.
- fail
If List<String>Not Matches Regexps - Fail if value does not match regex.
SyntheticMonitoringCheckSettingsGrpc, SyntheticMonitoringCheckSettingsGrpcArgs
- Ip
Version string - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - Service string
- gRPC service.
- Tls bool
- Whether or not TLS is used when the connection is initiated. Defaults to
false
. - Tls
Config Pulumiverse.Grafana. Inputs. Synthetic Monitoring Check Settings Grpc Tls Config - TLS config.
- Ip
Version string - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - Service string
- gRPC service.
- Tls bool
- Whether or not TLS is used when the connection is initiated. Defaults to
false
. - Tls
Config SyntheticMonitoring Check Settings Grpc Tls Config - TLS config.
- ip
Version String - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - service String
- gRPC service.
- tls Boolean
- Whether or not TLS is used when the connection is initiated. Defaults to
false
. - tls
Config SyntheticMonitoring Check Settings Grpc Tls Config - TLS config.
- ip
Version string - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - service string
- gRPC service.
- tls boolean
- Whether or not TLS is used when the connection is initiated. Defaults to
false
. - tls
Config SyntheticMonitoring Check Settings Grpc Tls Config - TLS config.
- ip_
version str - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - service str
- gRPC service.
- tls bool
- Whether or not TLS is used when the connection is initiated. Defaults to
false
. - tls_
config SyntheticMonitoring Check Settings Grpc Tls Config - TLS config.
- ip
Version String - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - service String
- gRPC service.
- tls Boolean
- Whether or not TLS is used when the connection is initiated. Defaults to
false
. - tls
Config Property Map - TLS config.
SyntheticMonitoringCheckSettingsGrpcTlsConfig, SyntheticMonitoringCheckSettingsGrpcTlsConfigArgs
- Ca
Cert string - CA certificate in PEM format.
- Client
Cert string - Client certificate in PEM format.
- Client
Key string - Client key in PEM format.
- Insecure
Skip boolVerify - Disable target certificate validation. Defaults to
false
. - Server
Name string - Used to verify the hostname for the targets.
- Ca
Cert string - CA certificate in PEM format.
- Client
Cert string - Client certificate in PEM format.
- Client
Key string - Client key in PEM format.
- Insecure
Skip boolVerify - Disable target certificate validation. Defaults to
false
. - Server
Name string - Used to verify the hostname for the targets.
- ca
Cert String - CA certificate in PEM format.
- client
Cert String - Client certificate in PEM format.
- client
Key String - Client key in PEM format.
- insecure
Skip BooleanVerify - Disable target certificate validation. Defaults to
false
. - server
Name String - Used to verify the hostname for the targets.
- ca
Cert string - CA certificate in PEM format.
- client
Cert string - Client certificate in PEM format.
- client
Key string - Client key in PEM format.
- insecure
Skip booleanVerify - Disable target certificate validation. Defaults to
false
. - server
Name string - Used to verify the hostname for the targets.
- ca_
cert str - CA certificate in PEM format.
- client_
cert str - Client certificate in PEM format.
- client_
key str - Client key in PEM format.
- insecure_
skip_ boolverify - Disable target certificate validation. Defaults to
false
. - server_
name str - Used to verify the hostname for the targets.
- ca
Cert String - CA certificate in PEM format.
- client
Cert String - Client certificate in PEM format.
- client
Key String - Client key in PEM format.
- insecure
Skip BooleanVerify - Disable target certificate validation. Defaults to
false
. - server
Name String - Used to verify the hostname for the targets.
SyntheticMonitoringCheckSettingsHttp, SyntheticMonitoringCheckSettingsHttpArgs
- Basic
Auth Pulumiverse.Grafana. Inputs. Synthetic Monitoring Check Settings Http Basic Auth - Basic auth settings.
- Bearer
Token string - Token for use with bearer authorization header.
- Body string
- The body of the HTTP request used in probe.
- Cache
Busting stringQuery Param Name - The name of the query parameter used to prevent the server from using a cached response. Each probe will assign a random value to this parameter each time a request is made.
- Fail
If List<string>Body Matches Regexps - List of regexes. If any match the response body, the check will fail.
- Fail
If List<string>Body Not Matches Regexps - List of regexes. If any do not match the response body, the check will fail.
- Fail
If List<Pulumiverse.Header Matches Regexps Grafana. Inputs. Synthetic Monitoring Check Settings Http Fail If Header Matches Regexp> - Check fails if headers match.
- Fail
If List<Pulumiverse.Header Not Matches Regexps Grafana. Inputs. Synthetic Monitoring Check Settings Http Fail If Header Not Matches Regexp> - Check fails if headers do not match.
- Fail
If boolNot Ssl - Fail if SSL is not present. Defaults to
false
. - Fail
If boolSsl - Fail if SSL is present. Defaults to
false
. - Headers List<string>
- The HTTP headers set for the probe.
- Ip
Version string - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - Method string
- Request method. One of
GET
,CONNECT
,DELETE
,HEAD
,OPTIONS
,POST
,PUT
,TRACE
Defaults toGET
. - No
Follow boolRedirects - Do not follow redirects. Defaults to
false
. - Proxy
Connect List<string>Headers - The HTTP headers sent to the proxy URL
- Proxy
Url string - Proxy URL.
- Tls
Config Pulumiverse.Grafana. Inputs. Synthetic Monitoring Check Settings Http Tls Config - TLS config.
- Valid
Http List<string>Versions - List of valid HTTP versions. Options include
HTTP/1.0
,HTTP/1.1
,HTTP/2.0
- Valid
Status List<int>Codes - Accepted status codes. If unset, defaults to 2xx.
- Basic
Auth SyntheticMonitoring Check Settings Http Basic Auth - Basic auth settings.
- Bearer
Token string - Token for use with bearer authorization header.
- Body string
- The body of the HTTP request used in probe.
- Cache
Busting stringQuery Param Name - The name of the query parameter used to prevent the server from using a cached response. Each probe will assign a random value to this parameter each time a request is made.
- Fail
If []stringBody Matches Regexps - List of regexes. If any match the response body, the check will fail.
- Fail
If []stringBody Not Matches Regexps - List of regexes. If any do not match the response body, the check will fail.
- Fail
If []SyntheticHeader Matches Regexps Monitoring Check Settings Http Fail If Header Matches Regexp - Check fails if headers match.
- Fail
If []SyntheticHeader Not Matches Regexps Monitoring Check Settings Http Fail If Header Not Matches Regexp - Check fails if headers do not match.
- Fail
If boolNot Ssl - Fail if SSL is not present. Defaults to
false
. - Fail
If boolSsl - Fail if SSL is present. Defaults to
false
. - Headers []string
- The HTTP headers set for the probe.
- Ip
Version string - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - Method string
- Request method. One of
GET
,CONNECT
,DELETE
,HEAD
,OPTIONS
,POST
,PUT
,TRACE
Defaults toGET
. - No
Follow boolRedirects - Do not follow redirects. Defaults to
false
. - Proxy
Connect []stringHeaders - The HTTP headers sent to the proxy URL
- Proxy
Url string - Proxy URL.
- Tls
Config SyntheticMonitoring Check Settings Http Tls Config - TLS config.
- Valid
Http []stringVersions - List of valid HTTP versions. Options include
HTTP/1.0
,HTTP/1.1
,HTTP/2.0
- Valid
Status []intCodes - Accepted status codes. If unset, defaults to 2xx.
- basic
Auth SyntheticMonitoring Check Settings Http Basic Auth - Basic auth settings.
- bearer
Token String - Token for use with bearer authorization header.
- body String
- The body of the HTTP request used in probe.
- cache
Busting StringQuery Param Name - The name of the query parameter used to prevent the server from using a cached response. Each probe will assign a random value to this parameter each time a request is made.
- fail
If List<String>Body Matches Regexps - List of regexes. If any match the response body, the check will fail.
- fail
If List<String>Body Not Matches Regexps - List of regexes. If any do not match the response body, the check will fail.
- fail
If List<SyntheticHeader Matches Regexps Monitoring Check Settings Http Fail If Header Matches Regexp> - Check fails if headers match.
- fail
If List<SyntheticHeader Not Matches Regexps Monitoring Check Settings Http Fail If Header Not Matches Regexp> - Check fails if headers do not match.
- fail
If BooleanNot Ssl - Fail if SSL is not present. Defaults to
false
. - fail
If BooleanSsl - Fail if SSL is present. Defaults to
false
. - headers List<String>
- The HTTP headers set for the probe.
- ip
Version String - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - method String
- Request method. One of
GET
,CONNECT
,DELETE
,HEAD
,OPTIONS
,POST
,PUT
,TRACE
Defaults toGET
. - no
Follow BooleanRedirects - Do not follow redirects. Defaults to
false
. - proxy
Connect List<String>Headers - The HTTP headers sent to the proxy URL
- proxy
Url String - Proxy URL.
- tls
Config SyntheticMonitoring Check Settings Http Tls Config - TLS config.
- valid
Http List<String>Versions - List of valid HTTP versions. Options include
HTTP/1.0
,HTTP/1.1
,HTTP/2.0
- valid
Status List<Integer>Codes - Accepted status codes. If unset, defaults to 2xx.
- basic
Auth SyntheticMonitoring Check Settings Http Basic Auth - Basic auth settings.
- bearer
Token string - Token for use with bearer authorization header.
- body string
- The body of the HTTP request used in probe.
- cache
Busting stringQuery Param Name - The name of the query parameter used to prevent the server from using a cached response. Each probe will assign a random value to this parameter each time a request is made.
- fail
If string[]Body Matches Regexps - List of regexes. If any match the response body, the check will fail.
- fail
If string[]Body Not Matches Regexps - List of regexes. If any do not match the response body, the check will fail.
- fail
If SyntheticHeader Matches Regexps Monitoring Check Settings Http Fail If Header Matches Regexp[] - Check fails if headers match.
- fail
If SyntheticHeader Not Matches Regexps Monitoring Check Settings Http Fail If Header Not Matches Regexp[] - Check fails if headers do not match.
- fail
If booleanNot Ssl - Fail if SSL is not present. Defaults to
false
. - fail
If booleanSsl - Fail if SSL is present. Defaults to
false
. - headers string[]
- The HTTP headers set for the probe.
- ip
Version string - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - method string
- Request method. One of
GET
,CONNECT
,DELETE
,HEAD
,OPTIONS
,POST
,PUT
,TRACE
Defaults toGET
. - no
Follow booleanRedirects - Do not follow redirects. Defaults to
false
. - proxy
Connect string[]Headers - The HTTP headers sent to the proxy URL
- proxy
Url string - Proxy URL.
- tls
Config SyntheticMonitoring Check Settings Http Tls Config - TLS config.
- valid
Http string[]Versions - List of valid HTTP versions. Options include
HTTP/1.0
,HTTP/1.1
,HTTP/2.0
- valid
Status number[]Codes - Accepted status codes. If unset, defaults to 2xx.
- basic_
auth SyntheticMonitoring Check Settings Http Basic Auth - Basic auth settings.
- bearer_
token str - Token for use with bearer authorization header.
- body str
- The body of the HTTP request used in probe.
- cache_
busting_ strquery_ param_ name - The name of the query parameter used to prevent the server from using a cached response. Each probe will assign a random value to this parameter each time a request is made.
- fail_
if_ Sequence[str]body_ matches_ regexps - List of regexes. If any match the response body, the check will fail.
- fail_
if_ Sequence[str]body_ not_ matches_ regexps - List of regexes. If any do not match the response body, the check will fail.
- fail_
if_ Sequence[Syntheticheader_ matches_ regexps Monitoring Check Settings Http Fail If Header Matches Regexp] - Check fails if headers match.
- fail_
if_ Sequence[Syntheticheader_ not_ matches_ regexps Monitoring Check Settings Http Fail If Header Not Matches Regexp] - Check fails if headers do not match.
- fail_
if_ boolnot_ ssl - Fail if SSL is not present. Defaults to
false
. - fail_
if_ boolssl - Fail if SSL is present. Defaults to
false
. - headers Sequence[str]
- The HTTP headers set for the probe.
- ip_
version str - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - method str
- Request method. One of
GET
,CONNECT
,DELETE
,HEAD
,OPTIONS
,POST
,PUT
,TRACE
Defaults toGET
. - no_
follow_ boolredirects - Do not follow redirects. Defaults to
false
. - proxy_
connect_ Sequence[str]headers - The HTTP headers sent to the proxy URL
- proxy_
url str - Proxy URL.
- tls_
config SyntheticMonitoring Check Settings Http Tls Config - TLS config.
- valid_
http_ Sequence[str]versions - List of valid HTTP versions. Options include
HTTP/1.0
,HTTP/1.1
,HTTP/2.0
- valid_
status_ Sequence[int]codes - Accepted status codes. If unset, defaults to 2xx.
- basic
Auth Property Map - Basic auth settings.
- bearer
Token String - Token for use with bearer authorization header.
- body String
- The body of the HTTP request used in probe.
- cache
Busting StringQuery Param Name - The name of the query parameter used to prevent the server from using a cached response. Each probe will assign a random value to this parameter each time a request is made.
- fail
If List<String>Body Matches Regexps - List of regexes. If any match the response body, the check will fail.
- fail
If List<String>Body Not Matches Regexps - List of regexes. If any do not match the response body, the check will fail.
- fail
If List<Property Map>Header Matches Regexps - Check fails if headers match.
- fail
If List<Property Map>Header Not Matches Regexps - Check fails if headers do not match.
- fail
If BooleanNot Ssl - Fail if SSL is not present. Defaults to
false
. - fail
If BooleanSsl - Fail if SSL is present. Defaults to
false
. - headers List<String>
- The HTTP headers set for the probe.
- ip
Version String - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - method String
- Request method. One of
GET
,CONNECT
,DELETE
,HEAD
,OPTIONS
,POST
,PUT
,TRACE
Defaults toGET
. - no
Follow BooleanRedirects - Do not follow redirects. Defaults to
false
. - proxy
Connect List<String>Headers - The HTTP headers sent to the proxy URL
- proxy
Url String - Proxy URL.
- tls
Config Property Map - TLS config.
- valid
Http List<String>Versions - List of valid HTTP versions. Options include
HTTP/1.0
,HTTP/1.1
,HTTP/2.0
- valid
Status List<Number>Codes - Accepted status codes. If unset, defaults to 2xx.
SyntheticMonitoringCheckSettingsHttpBasicAuth, SyntheticMonitoringCheckSettingsHttpBasicAuthArgs
SyntheticMonitoringCheckSettingsHttpFailIfHeaderMatchesRegexp, SyntheticMonitoringCheckSettingsHttpFailIfHeaderMatchesRegexpArgs
- Header string
- Header name.
- Regexp string
- Regex that header value should match.
- Allow
Missing bool - Allow header to be missing from responses. Defaults to
false
.
- Header string
- Header name.
- Regexp string
- Regex that header value should match.
- Allow
Missing bool - Allow header to be missing from responses. Defaults to
false
.
- header String
- Header name.
- regexp String
- Regex that header value should match.
- allow
Missing Boolean - Allow header to be missing from responses. Defaults to
false
.
- header string
- Header name.
- regexp string
- Regex that header value should match.
- allow
Missing boolean - Allow header to be missing from responses. Defaults to
false
.
- header str
- Header name.
- regexp str
- Regex that header value should match.
- allow_
missing bool - Allow header to be missing from responses. Defaults to
false
.
- header String
- Header name.
- regexp String
- Regex that header value should match.
- allow
Missing Boolean - Allow header to be missing from responses. Defaults to
false
.
SyntheticMonitoringCheckSettingsHttpFailIfHeaderNotMatchesRegexp, SyntheticMonitoringCheckSettingsHttpFailIfHeaderNotMatchesRegexpArgs
- Header string
- Header name.
- Regexp string
- Regex that header value should match.
- Allow
Missing bool - Allow header to be missing from responses. Defaults to
false
.
- Header string
- Header name.
- Regexp string
- Regex that header value should match.
- Allow
Missing bool - Allow header to be missing from responses. Defaults to
false
.
- header String
- Header name.
- regexp String
- Regex that header value should match.
- allow
Missing Boolean - Allow header to be missing from responses. Defaults to
false
.
- header string
- Header name.
- regexp string
- Regex that header value should match.
- allow
Missing boolean - Allow header to be missing from responses. Defaults to
false
.
- header str
- Header name.
- regexp str
- Regex that header value should match.
- allow_
missing bool - Allow header to be missing from responses. Defaults to
false
.
- header String
- Header name.
- regexp String
- Regex that header value should match.
- allow
Missing Boolean - Allow header to be missing from responses. Defaults to
false
.
SyntheticMonitoringCheckSettingsHttpTlsConfig, SyntheticMonitoringCheckSettingsHttpTlsConfigArgs
- Ca
Cert string - CA certificate in PEM format.
- Client
Cert string - Client certificate in PEM format.
- Client
Key string - Client key in PEM format.
- Insecure
Skip boolVerify - Disable target certificate validation. Defaults to
false
. - Server
Name string - Used to verify the hostname for the targets.
- Ca
Cert string - CA certificate in PEM format.
- Client
Cert string - Client certificate in PEM format.
- Client
Key string - Client key in PEM format.
- Insecure
Skip boolVerify - Disable target certificate validation. Defaults to
false
. - Server
Name string - Used to verify the hostname for the targets.
- ca
Cert String - CA certificate in PEM format.
- client
Cert String - Client certificate in PEM format.
- client
Key String - Client key in PEM format.
- insecure
Skip BooleanVerify - Disable target certificate validation. Defaults to
false
. - server
Name String - Used to verify the hostname for the targets.
- ca
Cert string - CA certificate in PEM format.
- client
Cert string - Client certificate in PEM format.
- client
Key string - Client key in PEM format.
- insecure
Skip booleanVerify - Disable target certificate validation. Defaults to
false
. - server
Name string - Used to verify the hostname for the targets.
- ca_
cert str - CA certificate in PEM format.
- client_
cert str - Client certificate in PEM format.
- client_
key str - Client key in PEM format.
- insecure_
skip_ boolverify - Disable target certificate validation. Defaults to
false
. - server_
name str - Used to verify the hostname for the targets.
- ca
Cert String - CA certificate in PEM format.
- client
Cert String - Client certificate in PEM format.
- client
Key String - Client key in PEM format.
- insecure
Skip BooleanVerify - Disable target certificate validation. Defaults to
false
. - server
Name String - Used to verify the hostname for the targets.
SyntheticMonitoringCheckSettingsMultihttp, SyntheticMonitoringCheckSettingsMultihttpArgs
SyntheticMonitoringCheckSettingsMultihttpEntry, SyntheticMonitoringCheckSettingsMultihttpEntryArgs
- Assertions
List<Pulumiverse.
Grafana. Inputs. Synthetic Monitoring Check Settings Multihttp Entry Assertion> - Assertions to make on the request response
- Request
Pulumiverse.
Grafana. Inputs. Synthetic Monitoring Check Settings Multihttp Entry Request - An individual MultiHTTP request
- Variables
List<Pulumiverse.
Grafana. Inputs. Synthetic Monitoring Check Settings Multihttp Entry Variable> - Variables to extract from the request response
- Assertions
[]Synthetic
Monitoring Check Settings Multihttp Entry Assertion - Assertions to make on the request response
- Request
Synthetic
Monitoring Check Settings Multihttp Entry Request - An individual MultiHTTP request
- Variables
[]Synthetic
Monitoring Check Settings Multihttp Entry Variable - Variables to extract from the request response
- assertions
List<Synthetic
Monitoring Check Settings Multihttp Entry Assertion> - Assertions to make on the request response
- request
Synthetic
Monitoring Check Settings Multihttp Entry Request - An individual MultiHTTP request
- variables
List<Synthetic
Monitoring Check Settings Multihttp Entry Variable> - Variables to extract from the request response
- assertions
Synthetic
Monitoring Check Settings Multihttp Entry Assertion[] - Assertions to make on the request response
- request
Synthetic
Monitoring Check Settings Multihttp Entry Request - An individual MultiHTTP request
- variables
Synthetic
Monitoring Check Settings Multihttp Entry Variable[] - Variables to extract from the request response
- assertions
Sequence[Synthetic
Monitoring Check Settings Multihttp Entry Assertion] - Assertions to make on the request response
- request
Synthetic
Monitoring Check Settings Multihttp Entry Request - An individual MultiHTTP request
- variables
Sequence[Synthetic
Monitoring Check Settings Multihttp Entry Variable] - Variables to extract from the request response
- assertions List<Property Map>
- Assertions to make on the request response
- request Property Map
- An individual MultiHTTP request
- variables List<Property Map>
- Variables to extract from the request response
SyntheticMonitoringCheckSettingsMultihttpEntryAssertion, SyntheticMonitoringCheckSettingsMultihttpEntryAssertionArgs
- Type string
- The type of assertion to make: TEXT, JSONPATHVALUE, JSONPATHASSERTION, REGEX_ASSERTION
- Condition string
- The condition of the assertion: NOTCONTAINS, EQUALS, STARTSWITH, ENDSWITH, TYPEOF, CONTAINS
- Expression string
- The expression of the assertion. Should start with $.
- Subject string
- The subject of the assertion: RESPONSEHEADERS, HTTPSTATUSCODE, RESPONSEBODY
- Value string
- The value of the assertion
- Type string
- The type of assertion to make: TEXT, JSONPATHVALUE, JSONPATHASSERTION, REGEX_ASSERTION
- Condition string
- The condition of the assertion: NOTCONTAINS, EQUALS, STARTSWITH, ENDSWITH, TYPEOF, CONTAINS
- Expression string
- The expression of the assertion. Should start with $.
- Subject string
- The subject of the assertion: RESPONSEHEADERS, HTTPSTATUSCODE, RESPONSEBODY
- Value string
- The value of the assertion
- type String
- The type of assertion to make: TEXT, JSONPATHVALUE, JSONPATHASSERTION, REGEX_ASSERTION
- condition String
- The condition of the assertion: NOTCONTAINS, EQUALS, STARTSWITH, ENDSWITH, TYPEOF, CONTAINS
- expression String
- The expression of the assertion. Should start with $.
- subject String
- The subject of the assertion: RESPONSEHEADERS, HTTPSTATUSCODE, RESPONSEBODY
- value String
- The value of the assertion
- type string
- The type of assertion to make: TEXT, JSONPATHVALUE, JSONPATHASSERTION, REGEX_ASSERTION
- condition string
- The condition of the assertion: NOTCONTAINS, EQUALS, STARTSWITH, ENDSWITH, TYPEOF, CONTAINS
- expression string
- The expression of the assertion. Should start with $.
- subject string
- The subject of the assertion: RESPONSEHEADERS, HTTPSTATUSCODE, RESPONSEBODY
- value string
- The value of the assertion
- type str
- The type of assertion to make: TEXT, JSONPATHVALUE, JSONPATHASSERTION, REGEX_ASSERTION
- condition str
- The condition of the assertion: NOTCONTAINS, EQUALS, STARTSWITH, ENDSWITH, TYPEOF, CONTAINS
- expression str
- The expression of the assertion. Should start with $.
- subject str
- The subject of the assertion: RESPONSEHEADERS, HTTPSTATUSCODE, RESPONSEBODY
- value str
- The value of the assertion
- type String
- The type of assertion to make: TEXT, JSONPATHVALUE, JSONPATHASSERTION, REGEX_ASSERTION
- condition String
- The condition of the assertion: NOTCONTAINS, EQUALS, STARTSWITH, ENDSWITH, TYPEOF, CONTAINS
- expression String
- The expression of the assertion. Should start with $.
- subject String
- The subject of the assertion: RESPONSEHEADERS, HTTPSTATUSCODE, RESPONSEBODY
- value String
- The value of the assertion
SyntheticMonitoringCheckSettingsMultihttpEntryRequest, SyntheticMonitoringCheckSettingsMultihttpEntryRequestArgs
- Method string
- The HTTP method to use
- Url string
- The URL for the request
- Bodies
List<Pulumiverse.
Grafana. Inputs. Synthetic Monitoring Check Settings Multihttp Entry Request Body> - The body of the HTTP request used in probe.
- Headers
List<Pulumiverse.
Grafana. Inputs. Synthetic Monitoring Check Settings Multihttp Entry Request Header> - The headers to send with the request
- Query
Fields List<Pulumiverse.Grafana. Inputs. Synthetic Monitoring Check Settings Multihttp Entry Request Query Field> - Query fields to send with the request
- Method string
- The HTTP method to use
- Url string
- The URL for the request
- Bodies
[]Synthetic
Monitoring Check Settings Multihttp Entry Request Body - The body of the HTTP request used in probe.
- Headers
[]Synthetic
Monitoring Check Settings Multihttp Entry Request Header - The headers to send with the request
- Query
Fields []SyntheticMonitoring Check Settings Multihttp Entry Request Query Field - Query fields to send with the request
- method String
- The HTTP method to use
- url String
- The URL for the request
- bodies
List<Synthetic
Monitoring Check Settings Multihttp Entry Request Body> - The body of the HTTP request used in probe.
- headers
List<Synthetic
Monitoring Check Settings Multihttp Entry Request Header> - The headers to send with the request
- query
Fields List<SyntheticMonitoring Check Settings Multihttp Entry Request Query Field> - Query fields to send with the request
- method string
- The HTTP method to use
- url string
- The URL for the request
- bodies
Synthetic
Monitoring Check Settings Multihttp Entry Request Body[] - The body of the HTTP request used in probe.
- headers
Synthetic
Monitoring Check Settings Multihttp Entry Request Header[] - The headers to send with the request
- query
Fields SyntheticMonitoring Check Settings Multihttp Entry Request Query Field[] - Query fields to send with the request
- method str
- The HTTP method to use
- url str
- The URL for the request
- bodies
Sequence[Synthetic
Monitoring Check Settings Multihttp Entry Request Body] - The body of the HTTP request used in probe.
- headers
Sequence[Synthetic
Monitoring Check Settings Multihttp Entry Request Header] - The headers to send with the request
- query_
fields Sequence[SyntheticMonitoring Check Settings Multihttp Entry Request Query Field] - Query fields to send with the request
- method String
- The HTTP method to use
- url String
- The URL for the request
- bodies List<Property Map>
- The body of the HTTP request used in probe.
- headers List<Property Map>
- The headers to send with the request
- query
Fields List<Property Map> - Query fields to send with the request
SyntheticMonitoringCheckSettingsMultihttpEntryRequestBody, SyntheticMonitoringCheckSettingsMultihttpEntryRequestBodyArgs
- Content
Encoding string - The content encoding of the body
- Content
Type string - The content type of the body
- Payload string
- The body payload
- Content
Encoding string - The content encoding of the body
- Content
Type string - The content type of the body
- Payload string
- The body payload
- content
Encoding String - The content encoding of the body
- content
Type String - The content type of the body
- payload String
- The body payload
- content
Encoding string - The content encoding of the body
- content
Type string - The content type of the body
- payload string
- The body payload
- content_
encoding str - The content encoding of the body
- content_
type str - The content type of the body
- payload str
- The body payload
- content
Encoding String - The content encoding of the body
- content
Type String - The content type of the body
- payload String
- The body payload
SyntheticMonitoringCheckSettingsMultihttpEntryRequestHeader, SyntheticMonitoringCheckSettingsMultihttpEntryRequestHeaderArgs
SyntheticMonitoringCheckSettingsMultihttpEntryRequestQueryField, SyntheticMonitoringCheckSettingsMultihttpEntryRequestQueryFieldArgs
SyntheticMonitoringCheckSettingsMultihttpEntryVariable, SyntheticMonitoringCheckSettingsMultihttpEntryVariableArgs
- Type string
- The method of finding the variable value to extract. JSONPATH, REGEX, CSSSELECTOR
- Attribute string
- The attribute to use when finding the variable value. Only used when type is CSS_SELECTOR
- Expression string
- The expression to when finding the variable. Should start with $. Only use when type is JSON_PATH or REGEX
- Name string
- The name of the variable to extract
- Type string
- The method of finding the variable value to extract. JSONPATH, REGEX, CSSSELECTOR
- Attribute string
- The attribute to use when finding the variable value. Only used when type is CSS_SELECTOR
- Expression string
- The expression to when finding the variable. Should start with $. Only use when type is JSON_PATH or REGEX
- Name string
- The name of the variable to extract
- type String
- The method of finding the variable value to extract. JSONPATH, REGEX, CSSSELECTOR
- attribute String
- The attribute to use when finding the variable value. Only used when type is CSS_SELECTOR
- expression String
- The expression to when finding the variable. Should start with $. Only use when type is JSON_PATH or REGEX
- name String
- The name of the variable to extract
- type string
- The method of finding the variable value to extract. JSONPATH, REGEX, CSSSELECTOR
- attribute string
- The attribute to use when finding the variable value. Only used when type is CSS_SELECTOR
- expression string
- The expression to when finding the variable. Should start with $. Only use when type is JSON_PATH or REGEX
- name string
- The name of the variable to extract
- type str
- The method of finding the variable value to extract. JSONPATH, REGEX, CSSSELECTOR
- attribute str
- The attribute to use when finding the variable value. Only used when type is CSS_SELECTOR
- expression str
- The expression to when finding the variable. Should start with $. Only use when type is JSON_PATH or REGEX
- name str
- The name of the variable to extract
- type String
- The method of finding the variable value to extract. JSONPATH, REGEX, CSSSELECTOR
- attribute String
- The attribute to use when finding the variable value. Only used when type is CSS_SELECTOR
- expression String
- The expression to when finding the variable. Should start with $. Only use when type is JSON_PATH or REGEX
- name String
- The name of the variable to extract
SyntheticMonitoringCheckSettingsPing, SyntheticMonitoringCheckSettingsPingArgs
- Dont
Fragment bool - Set the DF-bit in the IP-header. Only works with ipV4. Defaults to
false
. - Ip
Version string - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - Payload
Size int - Payload size. Defaults to
0
. - Source
Ip stringAddress - Source IP address.
- Dont
Fragment bool - Set the DF-bit in the IP-header. Only works with ipV4. Defaults to
false
. - Ip
Version string - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - Payload
Size int - Payload size. Defaults to
0
. - Source
Ip stringAddress - Source IP address.
- dont
Fragment Boolean - Set the DF-bit in the IP-header. Only works with ipV4. Defaults to
false
. - ip
Version String - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - payload
Size Integer - Payload size. Defaults to
0
. - source
Ip StringAddress - Source IP address.
- dont
Fragment boolean - Set the DF-bit in the IP-header. Only works with ipV4. Defaults to
false
. - ip
Version string - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - payload
Size number - Payload size. Defaults to
0
. - source
Ip stringAddress - Source IP address.
- dont_
fragment bool - Set the DF-bit in the IP-header. Only works with ipV4. Defaults to
false
. - ip_
version str - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - payload_
size int - Payload size. Defaults to
0
. - source_
ip_ straddress - Source IP address.
- dont
Fragment Boolean - Set the DF-bit in the IP-header. Only works with ipV4. Defaults to
false
. - ip
Version String - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - payload
Size Number - Payload size. Defaults to
0
. - source
Ip StringAddress - Source IP address.
SyntheticMonitoringCheckSettingsScripted, SyntheticMonitoringCheckSettingsScriptedArgs
- Script string
- Script string
- script String
- script string
- script str
- script String
SyntheticMonitoringCheckSettingsTcp, SyntheticMonitoringCheckSettingsTcpArgs
- Ip
Version string - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - Query
Responses List<Pulumiverse.Grafana. Inputs. Synthetic Monitoring Check Settings Tcp Query Response> - The query sent in the TCP probe and the expected associated response.
- Source
Ip stringAddress - Source IP address.
- Tls bool
- Whether or not TLS is used when the connection is initiated. Defaults to
false
. - Tls
Config Pulumiverse.Grafana. Inputs. Synthetic Monitoring Check Settings Tcp Tls Config - TLS config.
- Ip
Version string - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - Query
Responses []SyntheticMonitoring Check Settings Tcp Query Response - The query sent in the TCP probe and the expected associated response.
- Source
Ip stringAddress - Source IP address.
- Tls bool
- Whether or not TLS is used when the connection is initiated. Defaults to
false
. - Tls
Config SyntheticMonitoring Check Settings Tcp Tls Config - TLS config.
- ip
Version String - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - query
Responses List<SyntheticMonitoring Check Settings Tcp Query Response> - The query sent in the TCP probe and the expected associated response.
- source
Ip StringAddress - Source IP address.
- tls Boolean
- Whether or not TLS is used when the connection is initiated. Defaults to
false
. - tls
Config SyntheticMonitoring Check Settings Tcp Tls Config - TLS config.
- ip
Version string - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - query
Responses SyntheticMonitoring Check Settings Tcp Query Response[] - The query sent in the TCP probe and the expected associated response.
- source
Ip stringAddress - Source IP address.
- tls boolean
- Whether or not TLS is used when the connection is initiated. Defaults to
false
. - tls
Config SyntheticMonitoring Check Settings Tcp Tls Config - TLS config.
- ip_
version str - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - query_
responses Sequence[SyntheticMonitoring Check Settings Tcp Query Response] - The query sent in the TCP probe and the expected associated response.
- source_
ip_ straddress - Source IP address.
- tls bool
- Whether or not TLS is used when the connection is initiated. Defaults to
false
. - tls_
config SyntheticMonitoring Check Settings Tcp Tls Config - TLS config.
- ip
Version String - Options are
V4
,V6
,Any
. Specifies whether the corresponding check will be performed using IPv4 or IPv6. TheAny
value indicates that IPv6 should be used, falling back to IPv4 if that's not available. Defaults toV4
. - query
Responses List<Property Map> - The query sent in the TCP probe and the expected associated response.
- source
Ip StringAddress - Source IP address.
- tls Boolean
- Whether or not TLS is used when the connection is initiated. Defaults to
false
. - tls
Config Property Map - TLS config.
SyntheticMonitoringCheckSettingsTcpQueryResponse, SyntheticMonitoringCheckSettingsTcpQueryResponseArgs
SyntheticMonitoringCheckSettingsTcpTlsConfig, SyntheticMonitoringCheckSettingsTcpTlsConfigArgs
- Ca
Cert string - CA certificate in PEM format.
- Client
Cert string - Client certificate in PEM format.
- Client
Key string - Client key in PEM format.
- Insecure
Skip boolVerify - Disable target certificate validation. Defaults to
false
. - Server
Name string - Used to verify the hostname for the targets.
- Ca
Cert string - CA certificate in PEM format.
- Client
Cert string - Client certificate in PEM format.
- Client
Key string - Client key in PEM format.
- Insecure
Skip boolVerify - Disable target certificate validation. Defaults to
false
. - Server
Name string - Used to verify the hostname for the targets.
- ca
Cert String - CA certificate in PEM format.
- client
Cert String - Client certificate in PEM format.
- client
Key String - Client key in PEM format.
- insecure
Skip BooleanVerify - Disable target certificate validation. Defaults to
false
. - server
Name String - Used to verify the hostname for the targets.
- ca
Cert string - CA certificate in PEM format.
- client
Cert string - Client certificate in PEM format.
- client
Key string - Client key in PEM format.
- insecure
Skip booleanVerify - Disable target certificate validation. Defaults to
false
. - server
Name string - Used to verify the hostname for the targets.
- ca_
cert str - CA certificate in PEM format.
- client_
cert str - Client certificate in PEM format.
- client_
key str - Client key in PEM format.
- insecure_
skip_ boolverify - Disable target certificate validation. Defaults to
false
. - server_
name str - Used to verify the hostname for the targets.
- ca
Cert String - CA certificate in PEM format.
- client
Cert String - Client certificate in PEM format.
- client
Key String - Client key in PEM format.
- insecure
Skip BooleanVerify - Disable target certificate validation. Defaults to
false
. - server
Name String - Used to verify the hostname for the targets.
SyntheticMonitoringCheckSettingsTraceroute, SyntheticMonitoringCheckSettingsTracerouteArgs
- Max
Hops int - Maximum TTL for the trace Defaults to
64
. - Max
Unknown intHops - Maximum number of hosts to travers that give no response Defaults to
15
. - Ptr
Lookup bool - Reverse lookup hostnames from IP addresses Defaults to
true
.
- Max
Hops int - Maximum TTL for the trace Defaults to
64
. - Max
Unknown intHops - Maximum number of hosts to travers that give no response Defaults to
15
. - Ptr
Lookup bool - Reverse lookup hostnames from IP addresses Defaults to
true
.
- max
Hops Integer - Maximum TTL for the trace Defaults to
64
. - max
Unknown IntegerHops - Maximum number of hosts to travers that give no response Defaults to
15
. - ptr
Lookup Boolean - Reverse lookup hostnames from IP addresses Defaults to
true
.
- max
Hops number - Maximum TTL for the trace Defaults to
64
. - max
Unknown numberHops - Maximum number of hosts to travers that give no response Defaults to
15
. - ptr
Lookup boolean - Reverse lookup hostnames from IP addresses Defaults to
true
.
- max_
hops int - Maximum TTL for the trace Defaults to
64
. - max_
unknown_ inthops - Maximum number of hosts to travers that give no response Defaults to
15
. - ptr_
lookup bool - Reverse lookup hostnames from IP addresses Defaults to
true
.
- max
Hops Number - Maximum TTL for the trace Defaults to
64
. - max
Unknown NumberHops - Maximum number of hosts to travers that give no response Defaults to
15
. - ptr
Lookup Boolean - Reverse lookup hostnames from IP addresses Defaults to
true
.
Import
$ pulumi import grafana:index/syntheticMonitoringCheck:SyntheticMonitoringCheck name "{{ id }}"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- grafana pulumiverse/pulumi-grafana
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
grafana
Terraform Provider.