alicloud.arms.SyntheticTask
Explore with Pulumi AI
Provides a ARMS Synthetic Task resource. Cloud Synthetic task resources.
For information about ARMS Synthetic Task and how to use it, see What is Synthetic Task.
NOTE: Available since v1.215.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const default = alicloud.resourcemanager.getResourceGroups({});
const defaultSyntheticTask = new alicloud.arms.SyntheticTask("default", {
    monitors: [{
        cityCode: "1200101",
        operatorCode: "246",
        clientType: 4,
    }],
    syntheticTaskName: name,
    customPeriod: {
        endHour: 12,
        startHour: 11,
    },
    availableAssertions: [
        {
            type: "IcmpPackLoss",
            operator: "neq",
            expect: "200",
            target: "example",
        },
        {
            type: "IcmpPackAvgLatency",
            operator: "lte",
            expect: "1000",
        },
        {
            type: "IcmpPackMaxLatency",
            operator: "lte",
            expect: "10000",
        },
    ],
    tags: {
        Created: "TF",
        For: "example",
    },
    status: "RUNNING",
    monitorConf: {
        netTcp: {
            tracertTimeout: 1050,
            targetUrl: "www.aliyun.com",
            connectTimes: 6,
            interval: 300,
            timeout: 3000,
            tracertNumMax: 2,
        },
        netDns: {
            queryMethod: 1,
            timeout: 5050,
            targetUrl: "www.aliyun.com",
            dnsServerIpType: 1,
            nsServer: "61.128.114.167",
        },
        apiHttp: {
            timeout: 10050,
            targetUrl: "https://www.aliyun.com",
            method: "POST",
            requestHeaders: {
                key1: "value1",
            },
            requestBody: {
                content: "example2",
                type: "text/html",
            },
            connectTimeout: 6000,
        },
        website: {
            slowElementThreshold: 5005,
            verifyStringBlacklist: "Failed",
            elementBlacklist: "a.jpg",
            disableCompression: 1,
            ignoreCertificateError: 0,
            monitorTimeout: 20000,
            redirection: 0,
            dnsHijackWhitelist: "www.aliyun.com:203.0.3.55",
            pageTamper: "www.aliyun.com:|/cc/bb/a.gif",
            flowHijackJumpTimes: 10,
            customHeader: 1,
            disableCache: 1,
            verifyStringWhitelist: "Senyuan",
            targetUrl: "http://www.aliyun.com",
            automaticScrolling: 1,
            waitCompletionTime: 5005,
            flowHijackLogo: "senyuan1",
            customHeaderContent: {
                key1: "value1",
            },
            filterInvalidIp: 0,
        },
        fileDownload: {
            whiteList: "www.aliyun.com:203.0.3.55",
            monitorTimeout: 1050,
            ignoreCertificateUntrustworthyError: 0,
            redirection: 0,
            ignoreCertificateCanceledError: 0,
            ignoreCertificateAuthError: 0,
            ignoreCertificateOutOfDateError: 0,
            ignoreCertificateUsingError: 0,
            connectionTimeout: 6090,
            ignoreInvalidHostError: 0,
            verifyWay: 0,
            customHeaderContent: {
                key1: "value1",
            },
            targetUrl: "https://www.aliyun.com",
            downloadKernel: 0,
            quickProtocol: 2,
            ignoreCertificateStatusError: 1,
            transmissionSize: 128,
            validateKeywords: "senyuan1",
        },
        stream: {
            streamMonitorTimeout: 10,
            streamAddressType: 0,
            playerType: 2,
            customHeaderContent: {
                key1: "value1",
            },
            whiteList: "www.aliyun.com:203.0.3.55",
            targetUrl: "https://acd-assets.alicdn.com:443/2021productweek/week1_s.mp4",
            streamType: 1,
        },
        netIcmp: {
            targetUrl: "www.aliyun.com",
            interval: 200,
            packageNum: 36,
            packageSize: 512,
            timeout: 1000,
            tracertEnable: true,
            tracertNumMax: 1,
            tracertTimeout: 1200,
        },
    },
    taskType: 1,
    frequency: "1h",
    monitorCategory: 1,
    commonSetting: {
        xtraceRegion: "cn-beijing",
        customHost: {
            hosts: [
                {
                    domain: "www.a.aliyun.com",
                    ips: ["153.3.238.102"],
                    ipType: 0,
                },
                {
                    domain: "www.shifen.com",
                    ips: [
                        "153.3.238.110",
                        "114.114.114.114",
                        "127.0.0.1",
                    ],
                    ipType: 1,
                },
                {
                    domain: "www.aliyun.com",
                    ips: [
                        "153.3.238.110",
                        "180.101.50.242",
                        "180.101.50.188",
                    ],
                    ipType: 0,
                },
            ],
            selectType: 1,
        },
        monitorSamples: 1,
        ipType: 1,
        isOpenTrace: true,
        traceClientType: 1,
    },
    resourceGroupId: _default.then(_default => _default.ids?.[0]),
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "terraform-example"
default = alicloud.resourcemanager.get_resource_groups()
default_synthetic_task = alicloud.arms.SyntheticTask("default",
    monitors=[{
        "city_code": "1200101",
        "operator_code": "246",
        "client_type": 4,
    }],
    synthetic_task_name=name,
    custom_period={
        "end_hour": 12,
        "start_hour": 11,
    },
    available_assertions=[
        {
            "type": "IcmpPackLoss",
            "operator": "neq",
            "expect": "200",
            "target": "example",
        },
        {
            "type": "IcmpPackAvgLatency",
            "operator": "lte",
            "expect": "1000",
        },
        {
            "type": "IcmpPackMaxLatency",
            "operator": "lte",
            "expect": "10000",
        },
    ],
    tags={
        "Created": "TF",
        "For": "example",
    },
    status="RUNNING",
    monitor_conf={
        "net_tcp": {
            "tracert_timeout": 1050,
            "target_url": "www.aliyun.com",
            "connect_times": 6,
            "interval": 300,
            "timeout": 3000,
            "tracert_num_max": 2,
        },
        "net_dns": {
            "query_method": 1,
            "timeout": 5050,
            "target_url": "www.aliyun.com",
            "dns_server_ip_type": 1,
            "ns_server": "61.128.114.167",
        },
        "api_http": {
            "timeout": 10050,
            "target_url": "https://www.aliyun.com",
            "method": "POST",
            "request_headers": {
                "key1": "value1",
            },
            "request_body": {
                "content": "example2",
                "type": "text/html",
            },
            "connect_timeout": 6000,
        },
        "website": {
            "slow_element_threshold": 5005,
            "verify_string_blacklist": "Failed",
            "element_blacklist": "a.jpg",
            "disable_compression": 1,
            "ignore_certificate_error": 0,
            "monitor_timeout": 20000,
            "redirection": 0,
            "dns_hijack_whitelist": "www.aliyun.com:203.0.3.55",
            "page_tamper": "www.aliyun.com:|/cc/bb/a.gif",
            "flow_hijack_jump_times": 10,
            "custom_header": 1,
            "disable_cache": 1,
            "verify_string_whitelist": "Senyuan",
            "target_url": "http://www.aliyun.com",
            "automatic_scrolling": 1,
            "wait_completion_time": 5005,
            "flow_hijack_logo": "senyuan1",
            "custom_header_content": {
                "key1": "value1",
            },
            "filter_invalid_ip": 0,
        },
        "file_download": {
            "white_list": "www.aliyun.com:203.0.3.55",
            "monitor_timeout": 1050,
            "ignore_certificate_untrustworthy_error": 0,
            "redirection": 0,
            "ignore_certificate_canceled_error": 0,
            "ignore_certificate_auth_error": 0,
            "ignore_certificate_out_of_date_error": 0,
            "ignore_certificate_using_error": 0,
            "connection_timeout": 6090,
            "ignore_invalid_host_error": 0,
            "verify_way": 0,
            "custom_header_content": {
                "key1": "value1",
            },
            "target_url": "https://www.aliyun.com",
            "download_kernel": 0,
            "quick_protocol": 2,
            "ignore_certificate_status_error": 1,
            "transmission_size": 128,
            "validate_keywords": "senyuan1",
        },
        "stream": {
            "stream_monitor_timeout": 10,
            "stream_address_type": 0,
            "player_type": 2,
            "custom_header_content": {
                "key1": "value1",
            },
            "white_list": "www.aliyun.com:203.0.3.55",
            "target_url": "https://acd-assets.alicdn.com:443/2021productweek/week1_s.mp4",
            "stream_type": 1,
        },
        "net_icmp": {
            "target_url": "www.aliyun.com",
            "interval": 200,
            "package_num": 36,
            "package_size": 512,
            "timeout": 1000,
            "tracert_enable": True,
            "tracert_num_max": 1,
            "tracert_timeout": 1200,
        },
    },
    task_type=1,
    frequency="1h",
    monitor_category=1,
    common_setting={
        "xtrace_region": "cn-beijing",
        "custom_host": {
            "hosts": [
                {
                    "domain": "www.a.aliyun.com",
                    "ips": ["153.3.238.102"],
                    "ip_type": 0,
                },
                {
                    "domain": "www.shifen.com",
                    "ips": [
                        "153.3.238.110",
                        "114.114.114.114",
                        "127.0.0.1",
                    ],
                    "ip_type": 1,
                },
                {
                    "domain": "www.aliyun.com",
                    "ips": [
                        "153.3.238.110",
                        "180.101.50.242",
                        "180.101.50.188",
                    ],
                    "ip_type": 0,
                },
            ],
            "select_type": 1,
        },
        "monitor_samples": 1,
        "ip_type": 1,
        "is_open_trace": True,
        "trace_client_type": 1,
    },
    resource_group_id=default.ids[0])
package main
import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/arms"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_default, err := resourcemanager.GetResourceGroups(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = arms.NewSyntheticTask(ctx, "default", &arms.SyntheticTaskArgs{
			Monitors: arms.SyntheticTaskMonitorArray{
				&arms.SyntheticTaskMonitorArgs{
					CityCode:     pulumi.String("1200101"),
					OperatorCode: pulumi.String("246"),
					ClientType:   pulumi.Int(4),
				},
			},
			SyntheticTaskName: pulumi.String(name),
			CustomPeriod: &arms.SyntheticTaskCustomPeriodArgs{
				EndHour:   pulumi.Int(12),
				StartHour: pulumi.Int(11),
			},
			AvailableAssertions: arms.SyntheticTaskAvailableAssertionArray{
				&arms.SyntheticTaskAvailableAssertionArgs{
					Type:     pulumi.String("IcmpPackLoss"),
					Operator: pulumi.String("neq"),
					Expect:   pulumi.String("200"),
					Target:   pulumi.String("example"),
				},
				&arms.SyntheticTaskAvailableAssertionArgs{
					Type:     pulumi.String("IcmpPackAvgLatency"),
					Operator: pulumi.String("lte"),
					Expect:   pulumi.String("1000"),
				},
				&arms.SyntheticTaskAvailableAssertionArgs{
					Type:     pulumi.String("IcmpPackMaxLatency"),
					Operator: pulumi.String("lte"),
					Expect:   pulumi.String("10000"),
				},
			},
			Tags: pulumi.StringMap{
				"Created": pulumi.String("TF"),
				"For":     pulumi.String("example"),
			},
			Status: pulumi.String("RUNNING"),
			MonitorConf: &arms.SyntheticTaskMonitorConfArgs{
				NetTcp: &arms.SyntheticTaskMonitorConfNetTcpArgs{
					TracertTimeout: pulumi.Int(1050),
					TargetUrl:      pulumi.String("www.aliyun.com"),
					ConnectTimes:   pulumi.Int(6),
					Interval:       pulumi.Int(300),
					Timeout:        pulumi.Int(3000),
					TracertNumMax:  pulumi.Int(2),
				},
				NetDns: &arms.SyntheticTaskMonitorConfNetDnsArgs{
					QueryMethod:     pulumi.Int(1),
					Timeout:         pulumi.Int(5050),
					TargetUrl:       pulumi.String("www.aliyun.com"),
					DnsServerIpType: pulumi.Int(1),
					NsServer:        pulumi.String("61.128.114.167"),
				},
				ApiHttp: &arms.SyntheticTaskMonitorConfApiHttpArgs{
					Timeout:   pulumi.Int(10050),
					TargetUrl: pulumi.String("https://www.aliyun.com"),
					Method:    pulumi.String("POST"),
					RequestHeaders: pulumi.StringMap{
						"key1": pulumi.String("value1"),
					},
					RequestBody: &arms.SyntheticTaskMonitorConfApiHttpRequestBodyArgs{
						Content: pulumi.String("example2"),
						Type:    pulumi.String("text/html"),
					},
					ConnectTimeout: pulumi.Int(6000),
				},
				Website: &arms.SyntheticTaskMonitorConfWebsiteArgs{
					SlowElementThreshold:   pulumi.Int(5005),
					VerifyStringBlacklist:  pulumi.String("Failed"),
					ElementBlacklist:       pulumi.String("a.jpg"),
					DisableCompression:     pulumi.Int(1),
					IgnoreCertificateError: pulumi.Int(0),
					MonitorTimeout:         pulumi.Int(20000),
					Redirection:            pulumi.Int(0),
					DnsHijackWhitelist:     pulumi.String("www.aliyun.com:203.0.3.55"),
					PageTamper:             pulumi.String("www.aliyun.com:|/cc/bb/a.gif"),
					FlowHijackJumpTimes:    pulumi.Int(10),
					CustomHeader:           pulumi.Int(1),
					DisableCache:           pulumi.Int(1),
					VerifyStringWhitelist:  pulumi.String("Senyuan"),
					TargetUrl:              pulumi.String("http://www.aliyun.com"),
					AutomaticScrolling:     pulumi.Int(1),
					WaitCompletionTime:     pulumi.Int(5005),
					FlowHijackLogo:         pulumi.String("senyuan1"),
					CustomHeaderContent: pulumi.StringMap{
						"key1": pulumi.String("value1"),
					},
					FilterInvalidIp: pulumi.Int(0),
				},
				FileDownload: &arms.SyntheticTaskMonitorConfFileDownloadArgs{
					WhiteList:                           pulumi.String("www.aliyun.com:203.0.3.55"),
					MonitorTimeout:                      pulumi.Int(1050),
					IgnoreCertificateUntrustworthyError: pulumi.Int(0),
					Redirection:                         pulumi.Int(0),
					IgnoreCertificateCanceledError:      pulumi.Int(0),
					IgnoreCertificateAuthError:          pulumi.Int(0),
					IgnoreCertificateOutOfDateError:     pulumi.Int(0),
					IgnoreCertificateUsingError:         pulumi.Int(0),
					ConnectionTimeout:                   pulumi.Int(6090),
					IgnoreInvalidHostError:              pulumi.Int(0),
					VerifyWay:                           pulumi.Int(0),
					CustomHeaderContent: pulumi.StringMap{
						"key1": pulumi.String("value1"),
					},
					TargetUrl:                    pulumi.String("https://www.aliyun.com"),
					DownloadKernel:               pulumi.Int(0),
					QuickProtocol:                pulumi.Int(2),
					IgnoreCertificateStatusError: pulumi.Int(1),
					TransmissionSize:             pulumi.Int(128),
					ValidateKeywords:             pulumi.String("senyuan1"),
				},
				Stream: &arms.SyntheticTaskMonitorConfStreamArgs{
					StreamMonitorTimeout: pulumi.Int(10),
					StreamAddressType:    pulumi.Int(0),
					PlayerType:           pulumi.Int(2),
					CustomHeaderContent: pulumi.StringMap{
						"key1": pulumi.String("value1"),
					},
					WhiteList:  pulumi.String("www.aliyun.com:203.0.3.55"),
					TargetUrl:  pulumi.String("https://acd-assets.alicdn.com:443/2021productweek/week1_s.mp4"),
					StreamType: pulumi.Int(1),
				},
				NetIcmp: &arms.SyntheticTaskMonitorConfNetIcmpArgs{
					TargetUrl:      pulumi.String("www.aliyun.com"),
					Interval:       pulumi.Int(200),
					PackageNum:     pulumi.Int(36),
					PackageSize:    pulumi.Int(512),
					Timeout:        pulumi.Int(1000),
					TracertEnable:  pulumi.Bool(true),
					TracertNumMax:  pulumi.Int(1),
					TracertTimeout: pulumi.Int(1200),
				},
			},
			TaskType:        pulumi.Int(1),
			Frequency:       pulumi.String("1h"),
			MonitorCategory: pulumi.Int(1),
			CommonSetting: &arms.SyntheticTaskCommonSettingArgs{
				XtraceRegion: pulumi.String("cn-beijing"),
				CustomHost: &arms.SyntheticTaskCommonSettingCustomHostArgs{
					Hosts: arms.SyntheticTaskCommonSettingCustomHostHostArray{
						&arms.SyntheticTaskCommonSettingCustomHostHostArgs{
							Domain: pulumi.String("www.a.aliyun.com"),
							Ips: pulumi.StringArray{
								pulumi.String("153.3.238.102"),
							},
							IpType: pulumi.Int(0),
						},
						&arms.SyntheticTaskCommonSettingCustomHostHostArgs{
							Domain: pulumi.String("www.shifen.com"),
							Ips: pulumi.StringArray{
								pulumi.String("153.3.238.110"),
								pulumi.String("114.114.114.114"),
								pulumi.String("127.0.0.1"),
							},
							IpType: pulumi.Int(1),
						},
						&arms.SyntheticTaskCommonSettingCustomHostHostArgs{
							Domain: pulumi.String("www.aliyun.com"),
							Ips: pulumi.StringArray{
								pulumi.String("153.3.238.110"),
								pulumi.String("180.101.50.242"),
								pulumi.String("180.101.50.188"),
							},
							IpType: pulumi.Int(0),
						},
					},
					SelectType: pulumi.Int(1),
				},
				MonitorSamples:  pulumi.Int(1),
				IpType:          pulumi.Int(1),
				IsOpenTrace:     pulumi.Bool(true),
				TraceClientType: pulumi.Int(1),
			},
			ResourceGroupId: pulumi.String(_default.Ids[0]),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var name = config.Get("name") ?? "terraform-example";
    var @default = AliCloud.ResourceManager.GetResourceGroups.Invoke();
    var defaultSyntheticTask = new AliCloud.Arms.SyntheticTask("default", new()
    {
        Monitors = new[]
        {
            new AliCloud.Arms.Inputs.SyntheticTaskMonitorArgs
            {
                CityCode = "1200101",
                OperatorCode = "246",
                ClientType = 4,
            },
        },
        SyntheticTaskName = name,
        CustomPeriod = new AliCloud.Arms.Inputs.SyntheticTaskCustomPeriodArgs
        {
            EndHour = 12,
            StartHour = 11,
        },
        AvailableAssertions = new[]
        {
            new AliCloud.Arms.Inputs.SyntheticTaskAvailableAssertionArgs
            {
                Type = "IcmpPackLoss",
                Operator = "neq",
                Expect = "200",
                Target = "example",
            },
            new AliCloud.Arms.Inputs.SyntheticTaskAvailableAssertionArgs
            {
                Type = "IcmpPackAvgLatency",
                Operator = "lte",
                Expect = "1000",
            },
            new AliCloud.Arms.Inputs.SyntheticTaskAvailableAssertionArgs
            {
                Type = "IcmpPackMaxLatency",
                Operator = "lte",
                Expect = "10000",
            },
        },
        Tags = 
        {
            { "Created", "TF" },
            { "For", "example" },
        },
        Status = "RUNNING",
        MonitorConf = new AliCloud.Arms.Inputs.SyntheticTaskMonitorConfArgs
        {
            NetTcp = new AliCloud.Arms.Inputs.SyntheticTaskMonitorConfNetTcpArgs
            {
                TracertTimeout = 1050,
                TargetUrl = "www.aliyun.com",
                ConnectTimes = 6,
                Interval = 300,
                Timeout = 3000,
                TracertNumMax = 2,
            },
            NetDns = new AliCloud.Arms.Inputs.SyntheticTaskMonitorConfNetDnsArgs
            {
                QueryMethod = 1,
                Timeout = 5050,
                TargetUrl = "www.aliyun.com",
                DnsServerIpType = 1,
                NsServer = "61.128.114.167",
            },
            ApiHttp = new AliCloud.Arms.Inputs.SyntheticTaskMonitorConfApiHttpArgs
            {
                Timeout = 10050,
                TargetUrl = "https://www.aliyun.com",
                Method = "POST",
                RequestHeaders = 
                {
                    { "key1", "value1" },
                },
                RequestBody = new AliCloud.Arms.Inputs.SyntheticTaskMonitorConfApiHttpRequestBodyArgs
                {
                    Content = "example2",
                    Type = "text/html",
                },
                ConnectTimeout = 6000,
            },
            Website = new AliCloud.Arms.Inputs.SyntheticTaskMonitorConfWebsiteArgs
            {
                SlowElementThreshold = 5005,
                VerifyStringBlacklist = "Failed",
                ElementBlacklist = "a.jpg",
                DisableCompression = 1,
                IgnoreCertificateError = 0,
                MonitorTimeout = 20000,
                Redirection = 0,
                DnsHijackWhitelist = "www.aliyun.com:203.0.3.55",
                PageTamper = "www.aliyun.com:|/cc/bb/a.gif",
                FlowHijackJumpTimes = 10,
                CustomHeader = 1,
                DisableCache = 1,
                VerifyStringWhitelist = "Senyuan",
                TargetUrl = "http://www.aliyun.com",
                AutomaticScrolling = 1,
                WaitCompletionTime = 5005,
                FlowHijackLogo = "senyuan1",
                CustomHeaderContent = 
                {
                    { "key1", "value1" },
                },
                FilterInvalidIp = 0,
            },
            FileDownload = new AliCloud.Arms.Inputs.SyntheticTaskMonitorConfFileDownloadArgs
            {
                WhiteList = "www.aliyun.com:203.0.3.55",
                MonitorTimeout = 1050,
                IgnoreCertificateUntrustworthyError = 0,
                Redirection = 0,
                IgnoreCertificateCanceledError = 0,
                IgnoreCertificateAuthError = 0,
                IgnoreCertificateOutOfDateError = 0,
                IgnoreCertificateUsingError = 0,
                ConnectionTimeout = 6090,
                IgnoreInvalidHostError = 0,
                VerifyWay = 0,
                CustomHeaderContent = 
                {
                    { "key1", "value1" },
                },
                TargetUrl = "https://www.aliyun.com",
                DownloadKernel = 0,
                QuickProtocol = 2,
                IgnoreCertificateStatusError = 1,
                TransmissionSize = 128,
                ValidateKeywords = "senyuan1",
            },
            Stream = new AliCloud.Arms.Inputs.SyntheticTaskMonitorConfStreamArgs
            {
                StreamMonitorTimeout = 10,
                StreamAddressType = 0,
                PlayerType = 2,
                CustomHeaderContent = 
                {
                    { "key1", "value1" },
                },
                WhiteList = "www.aliyun.com:203.0.3.55",
                TargetUrl = "https://acd-assets.alicdn.com:443/2021productweek/week1_s.mp4",
                StreamType = 1,
            },
            NetIcmp = new AliCloud.Arms.Inputs.SyntheticTaskMonitorConfNetIcmpArgs
            {
                TargetUrl = "www.aliyun.com",
                Interval = 200,
                PackageNum = 36,
                PackageSize = 512,
                Timeout = 1000,
                TracertEnable = true,
                TracertNumMax = 1,
                TracertTimeout = 1200,
            },
        },
        TaskType = 1,
        Frequency = "1h",
        MonitorCategory = 1,
        CommonSetting = new AliCloud.Arms.Inputs.SyntheticTaskCommonSettingArgs
        {
            XtraceRegion = "cn-beijing",
            CustomHost = new AliCloud.Arms.Inputs.SyntheticTaskCommonSettingCustomHostArgs
            {
                Hosts = new[]
                {
                    new AliCloud.Arms.Inputs.SyntheticTaskCommonSettingCustomHostHostArgs
                    {
                        Domain = "www.a.aliyun.com",
                        Ips = new[]
                        {
                            "153.3.238.102",
                        },
                        IpType = 0,
                    },
                    new AliCloud.Arms.Inputs.SyntheticTaskCommonSettingCustomHostHostArgs
                    {
                        Domain = "www.shifen.com",
                        Ips = new[]
                        {
                            "153.3.238.110",
                            "114.114.114.114",
                            "127.0.0.1",
                        },
                        IpType = 1,
                    },
                    new AliCloud.Arms.Inputs.SyntheticTaskCommonSettingCustomHostHostArgs
                    {
                        Domain = "www.aliyun.com",
                        Ips = new[]
                        {
                            "153.3.238.110",
                            "180.101.50.242",
                            "180.101.50.188",
                        },
                        IpType = 0,
                    },
                },
                SelectType = 1,
            },
            MonitorSamples = 1,
            IpType = 1,
            IsOpenTrace = true,
            TraceClientType = 1,
        },
        ResourceGroupId = @default.Apply(@default => @default.Apply(getResourceGroupsResult => getResourceGroupsResult.Ids[0])),
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
import com.pulumi.alicloud.arms.SyntheticTask;
import com.pulumi.alicloud.arms.SyntheticTaskArgs;
import com.pulumi.alicloud.arms.inputs.SyntheticTaskMonitorArgs;
import com.pulumi.alicloud.arms.inputs.SyntheticTaskCustomPeriodArgs;
import com.pulumi.alicloud.arms.inputs.SyntheticTaskAvailableAssertionArgs;
import com.pulumi.alicloud.arms.inputs.SyntheticTaskMonitorConfArgs;
import com.pulumi.alicloud.arms.inputs.SyntheticTaskMonitorConfNetTcpArgs;
import com.pulumi.alicloud.arms.inputs.SyntheticTaskMonitorConfNetDnsArgs;
import com.pulumi.alicloud.arms.inputs.SyntheticTaskMonitorConfApiHttpArgs;
import com.pulumi.alicloud.arms.inputs.SyntheticTaskMonitorConfApiHttpRequestBodyArgs;
import com.pulumi.alicloud.arms.inputs.SyntheticTaskMonitorConfWebsiteArgs;
import com.pulumi.alicloud.arms.inputs.SyntheticTaskMonitorConfFileDownloadArgs;
import com.pulumi.alicloud.arms.inputs.SyntheticTaskMonitorConfStreamArgs;
import com.pulumi.alicloud.arms.inputs.SyntheticTaskMonitorConfNetIcmpArgs;
import com.pulumi.alicloud.arms.inputs.SyntheticTaskCommonSettingArgs;
import com.pulumi.alicloud.arms.inputs.SyntheticTaskCommonSettingCustomHostArgs;
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 config = ctx.config();
        final var name = config.get("name").orElse("terraform-example");
        final var default = ResourcemanagerFunctions.getResourceGroups();
        var defaultSyntheticTask = new SyntheticTask("defaultSyntheticTask", SyntheticTaskArgs.builder()
            .monitors(SyntheticTaskMonitorArgs.builder()
                .cityCode("1200101")
                .operatorCode("246")
                .clientType("4")
                .build())
            .syntheticTaskName(name)
            .customPeriod(SyntheticTaskCustomPeriodArgs.builder()
                .endHour("12")
                .startHour("11")
                .build())
            .availableAssertions(            
                SyntheticTaskAvailableAssertionArgs.builder()
                    .type("IcmpPackLoss")
                    .operator("neq")
                    .expect("200")
                    .target("example")
                    .build(),
                SyntheticTaskAvailableAssertionArgs.builder()
                    .type("IcmpPackAvgLatency")
                    .operator("lte")
                    .expect("1000")
                    .build(),
                SyntheticTaskAvailableAssertionArgs.builder()
                    .type("IcmpPackMaxLatency")
                    .operator("lte")
                    .expect("10000")
                    .build())
            .tags(Map.ofEntries(
                Map.entry("Created", "TF"),
                Map.entry("For", "example")
            ))
            .status("RUNNING")
            .monitorConf(SyntheticTaskMonitorConfArgs.builder()
                .netTcp(SyntheticTaskMonitorConfNetTcpArgs.builder()
                    .tracertTimeout("1050")
                    .targetUrl("www.aliyun.com")
                    .connectTimes("6")
                    .interval("300")
                    .timeout("3000")
                    .tracertNumMax("2")
                    .build())
                .netDns(SyntheticTaskMonitorConfNetDnsArgs.builder()
                    .queryMethod("1")
                    .timeout("5050")
                    .targetUrl("www.aliyun.com")
                    .dnsServerIpType("1")
                    .nsServer("61.128.114.167")
                    .build())
                .apiHttp(SyntheticTaskMonitorConfApiHttpArgs.builder()
                    .timeout("10050")
                    .targetUrl("https://www.aliyun.com")
                    .method("POST")
                    .requestHeaders(Map.of("key1", "value1"))
                    .requestBody(SyntheticTaskMonitorConfApiHttpRequestBodyArgs.builder()
                        .content("example2")
                        .type("text/html")
                        .build())
                    .connectTimeout("6000")
                    .build())
                .website(SyntheticTaskMonitorConfWebsiteArgs.builder()
                    .slowElementThreshold("5005")
                    .verifyStringBlacklist("Failed")
                    .elementBlacklist("a.jpg")
                    .disableCompression("1")
                    .ignoreCertificateError("0")
                    .monitorTimeout("20000")
                    .redirection("0")
                    .dnsHijackWhitelist("www.aliyun.com:203.0.3.55")
                    .pageTamper("www.aliyun.com:|/cc/bb/a.gif")
                    .flowHijackJumpTimes("10")
                    .customHeader("1")
                    .disableCache("1")
                    .verifyStringWhitelist("Senyuan")
                    .targetUrl("http://www.aliyun.com")
                    .automaticScrolling("1")
                    .waitCompletionTime("5005")
                    .flowHijackLogo("senyuan1")
                    .customHeaderContent(Map.of("key1", "value1"))
                    .filterInvalidIp("0")
                    .build())
                .fileDownload(SyntheticTaskMonitorConfFileDownloadArgs.builder()
                    .whiteList("www.aliyun.com:203.0.3.55")
                    .monitorTimeout("1050")
                    .ignoreCertificateUntrustworthyError("0")
                    .redirection("0")
                    .ignoreCertificateCanceledError("0")
                    .ignoreCertificateAuthError("0")
                    .ignoreCertificateOutOfDateError("0")
                    .ignoreCertificateUsingError("0")
                    .connectionTimeout("6090")
                    .ignoreInvalidHostError("0")
                    .verifyWay("0")
                    .customHeaderContent(Map.of("key1", "value1"))
                    .targetUrl("https://www.aliyun.com")
                    .downloadKernel("0")
                    .quickProtocol("2")
                    .ignoreCertificateStatusError("1")
                    .transmissionSize("128")
                    .validateKeywords("senyuan1")
                    .build())
                .stream(SyntheticTaskMonitorConfStreamArgs.builder()
                    .streamMonitorTimeout("10")
                    .streamAddressType("0")
                    .playerType("2")
                    .customHeaderContent(Map.of("key1", "value1"))
                    .whiteList("www.aliyun.com:203.0.3.55")
                    .targetUrl("https://acd-assets.alicdn.com:443/2021productweek/week1_s.mp4")
                    .streamType("1")
                    .build())
                .netIcmp(SyntheticTaskMonitorConfNetIcmpArgs.builder()
                    .targetUrl("www.aliyun.com")
                    .interval("200")
                    .packageNum("36")
                    .packageSize("512")
                    .timeout("1000")
                    .tracertEnable("true")
                    .tracertNumMax("1")
                    .tracertTimeout("1200")
                    .build())
                .build())
            .taskType("1")
            .frequency("1h")
            .monitorCategory("1")
            .commonSetting(SyntheticTaskCommonSettingArgs.builder()
                .xtraceRegion("cn-beijing")
                .customHost(SyntheticTaskCommonSettingCustomHostArgs.builder()
                    .hosts(                    
                        SyntheticTaskCommonSettingCustomHostHostArgs.builder()
                            .domain("www.a.aliyun.com")
                            .ips("153.3.238.102")
                            .ipType("0")
                            .build(),
                        SyntheticTaskCommonSettingCustomHostHostArgs.builder()
                            .domain("www.shifen.com")
                            .ips(                            
                                "153.3.238.110",
                                "114.114.114.114",
                                "127.0.0.1")
                            .ipType("1")
                            .build(),
                        SyntheticTaskCommonSettingCustomHostHostArgs.builder()
                            .domain("www.aliyun.com")
                            .ips(                            
                                "153.3.238.110",
                                "180.101.50.242",
                                "180.101.50.188")
                            .ipType("0")
                            .build())
                    .selectType("1")
                    .build())
                .monitorSamples("1")
                .ipType("1")
                .isOpenTrace("true")
                .traceClientType("1")
                .build())
            .resourceGroupId(default_.ids()[0])
            .build());
    }
}
configuration:
  name:
    type: string
    default: terraform-example
resources:
  defaultSyntheticTask:
    type: alicloud:arms:SyntheticTask
    name: default
    properties:
      monitors:
        - cityCode: '1200101'
          operatorCode: '246'
          clientType: '4'
      syntheticTaskName: ${name}
      customPeriod:
        endHour: '12'
        startHour: '11'
      availableAssertions:
        - type: IcmpPackLoss
          operator: neq
          expect: '200'
          target: example
        - type: IcmpPackAvgLatency
          operator: lte
          expect: '1000'
        - type: IcmpPackMaxLatency
          operator: lte
          expect: '10000'
      tags:
        Created: TF
        For: example
      status: RUNNING
      monitorConf:
        netTcp:
          tracertTimeout: '1050'
          targetUrl: www.aliyun.com
          connectTimes: '6'
          interval: '300'
          timeout: '3000'
          tracertNumMax: '2'
        netDns:
          queryMethod: '1'
          timeout: '5050'
          targetUrl: www.aliyun.com
          dnsServerIpType: '1'
          nsServer: 61.128.114.167
        apiHttp:
          timeout: '10050'
          targetUrl: https://www.aliyun.com
          method: POST
          requestHeaders:
            key1: value1
          requestBody:
            content: example2
            type: text/html
          connectTimeout: '6000'
        website:
          slowElementThreshold: '5005'
          verifyStringBlacklist: Failed
          elementBlacklist: a.jpg
          disableCompression: '1'
          ignoreCertificateError: '0'
          monitorTimeout: '20000'
          redirection: '0'
          dnsHijackWhitelist: www.aliyun.com:203.0.3.55
          pageTamper: www.aliyun.com:|/cc/bb/a.gif
          flowHijackJumpTimes: '10'
          customHeader: '1'
          disableCache: '1'
          verifyStringWhitelist: Senyuan
          targetUrl: http://www.aliyun.com
          automaticScrolling: '1'
          waitCompletionTime: '5005'
          flowHijackLogo: senyuan1
          customHeaderContent:
            key1: value1
          filterInvalidIp: '0'
        fileDownload:
          whiteList: www.aliyun.com:203.0.3.55
          monitorTimeout: '1050'
          ignoreCertificateUntrustworthyError: '0'
          redirection: '0'
          ignoreCertificateCanceledError: '0'
          ignoreCertificateAuthError: '0'
          ignoreCertificateOutOfDateError: '0'
          ignoreCertificateUsingError: '0'
          connectionTimeout: '6090'
          ignoreInvalidHostError: '0'
          verifyWay: '0'
          customHeaderContent:
            key1: value1
          targetUrl: https://www.aliyun.com
          downloadKernel: '0'
          quickProtocol: '2'
          ignoreCertificateStatusError: '1'
          transmissionSize: '128'
          validateKeywords: senyuan1
        stream:
          streamMonitorTimeout: '10'
          streamAddressType: '0'
          playerType: '2'
          customHeaderContent:
            key1: value1
          whiteList: www.aliyun.com:203.0.3.55
          targetUrl: https://acd-assets.alicdn.com:443/2021productweek/week1_s.mp4
          streamType: '1'
        netIcmp:
          targetUrl: www.aliyun.com
          interval: '200'
          packageNum: '36'
          packageSize: '512'
          timeout: '1000'
          tracertEnable: 'true'
          tracertNumMax: '1'
          tracertTimeout: '1200'
      taskType: '1'
      frequency: 1h
      monitorCategory: '1'
      commonSetting:
        xtraceRegion: cn-beijing
        customHost:
          hosts:
            - domain: www.a.aliyun.com
              ips:
                - 153.3.238.102
              ipType: '0'
            - domain: www.shifen.com
              ips:
                - 153.3.238.110
                - 114.114.114.114
                - 127.0.0.1
              ipType: '1'
            - domain: www.aliyun.com
              ips:
                - 153.3.238.110
                - 180.101.50.242
                - 180.101.50.188
              ipType: '0'
          selectType: '1'
        monitorSamples: '1'
        ipType: '1'
        isOpenTrace: 'true'
        traceClientType: '1'
      resourceGroupId: ${default.ids[0]}
variables:
  default:
    fn::invoke:
      Function: alicloud:resourcemanager:getResourceGroups
      Arguments: {}
Create SyntheticTask Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SyntheticTask(name: string, args: SyntheticTaskArgs, opts?: CustomResourceOptions);@overload
def SyntheticTask(resource_name: str,
                  args: SyntheticTaskArgs,
                  opts: Optional[ResourceOptions] = None)
@overload
def SyntheticTask(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  frequency: Optional[str] = None,
                  monitor_category: Optional[int] = None,
                  monitor_conf: Optional[SyntheticTaskMonitorConfArgs] = None,
                  monitors: Optional[Sequence[SyntheticTaskMonitorArgs]] = None,
                  synthetic_task_name: Optional[str] = None,
                  task_type: Optional[int] = None,
                  available_assertions: Optional[Sequence[SyntheticTaskAvailableAssertionArgs]] = None,
                  common_setting: Optional[SyntheticTaskCommonSettingArgs] = None,
                  custom_period: Optional[SyntheticTaskCustomPeriodArgs] = None,
                  resource_group_id: Optional[str] = None,
                  status: Optional[str] = None,
                  tags: Optional[Mapping[str, str]] = None)func NewSyntheticTask(ctx *Context, name string, args SyntheticTaskArgs, opts ...ResourceOption) (*SyntheticTask, error)public SyntheticTask(string name, SyntheticTaskArgs args, CustomResourceOptions? opts = null)
public SyntheticTask(String name, SyntheticTaskArgs args)
public SyntheticTask(String name, SyntheticTaskArgs args, CustomResourceOptions options)
type: alicloud:arms:SyntheticTask
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 SyntheticTaskArgs
- 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 SyntheticTaskArgs
- 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 SyntheticTaskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SyntheticTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SyntheticTaskArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var syntheticTaskResource = new AliCloud.Arms.SyntheticTask("syntheticTaskResource", new()
{
    Frequency = "string",
    MonitorCategory = 0,
    MonitorConf = new AliCloud.Arms.Inputs.SyntheticTaskMonitorConfArgs
    {
        ApiHttp = new AliCloud.Arms.Inputs.SyntheticTaskMonitorConfApiHttpArgs
        {
            TargetUrl = "string",
            ConnectTimeout = 0,
            Method = "string",
            RequestBody = new AliCloud.Arms.Inputs.SyntheticTaskMonitorConfApiHttpRequestBodyArgs
            {
                Content = "string",
                Type = "string",
            },
            RequestHeaders = 
            {
                { "string", "string" },
            },
            Timeout = 0,
        },
        FileDownload = new AliCloud.Arms.Inputs.SyntheticTaskMonitorConfFileDownloadArgs
        {
            TargetUrl = "string",
            IgnoreCertificateUsingError = 0,
            IgnoreCertificateOutOfDateError = 0,
            IgnoreInvalidHostError = 0,
            IgnoreCertificateCanceledError = 0,
            MonitorTimeout = 0,
            IgnoreCertificateStatusError = 0,
            IgnoreCertificateUntrustworthyError = 0,
            QuickProtocol = 0,
            IgnoreCertificateAuthError = 0,
            DownloadKernel = 0,
            ConnectionTimeout = 0,
            Redirection = 0,
            CustomHeaderContent = 
            {
                { "string", "string" },
            },
            TransmissionSize = 0,
            ValidateKeywords = "string",
            VerifyWay = 0,
            WhiteList = "string",
        },
        NetDns = new AliCloud.Arms.Inputs.SyntheticTaskMonitorConfNetDnsArgs
        {
            TargetUrl = "string",
            DnsServerIpType = 0,
            NsServer = "string",
            QueryMethod = 0,
            Timeout = 0,
        },
        NetIcmp = new AliCloud.Arms.Inputs.SyntheticTaskMonitorConfNetIcmpArgs
        {
            TargetUrl = "string",
            Interval = 0,
            PackageNum = 0,
            PackageSize = 0,
            SplitPackage = false,
            Timeout = 0,
            TracertEnable = false,
            TracertNumMax = 0,
            TracertTimeout = 0,
        },
        NetTcp = new AliCloud.Arms.Inputs.SyntheticTaskMonitorConfNetTcpArgs
        {
            TargetUrl = "string",
            ConnectTimes = 0,
            Interval = 0,
            Timeout = 0,
            TracertEnable = false,
            TracertNumMax = 0,
            TracertTimeout = 0,
        },
        Stream = new AliCloud.Arms.Inputs.SyntheticTaskMonitorConfStreamArgs
        {
            CustomHeaderContent = 
            {
                { "string", "string" },
            },
            PlayerType = 0,
            StreamAddressType = 0,
            StreamMonitorTimeout = 0,
            StreamType = 0,
            TargetUrl = "string",
            WhiteList = "string",
        },
        Website = new AliCloud.Arms.Inputs.SyntheticTaskMonitorConfWebsiteArgs
        {
            TargetUrl = "string",
            FlowHijackJumpTimes = 0,
            DisableCache = 0,
            IgnoreCertificateError = 0,
            MonitorTimeout = 0,
            DnsHijackWhitelist = "string",
            ElementBlacklist = "string",
            FilterInvalidIp = 0,
            AutomaticScrolling = 0,
            WaitCompletionTime = 0,
            CustomHeaderContent = 
            {
                { "string", "string" },
            },
            DisableCompression = 0,
            PageTamper = "string",
            Redirection = 0,
            SlowElementThreshold = 0,
            CustomHeader = 0,
            VerifyStringBlacklist = "string",
            VerifyStringWhitelist = "string",
            FlowHijackLogo = "string",
        },
    },
    Monitors = new[]
    {
        new AliCloud.Arms.Inputs.SyntheticTaskMonitorArgs
        {
            CityCode = "string",
            ClientType = 0,
            OperatorCode = "string",
        },
    },
    SyntheticTaskName = "string",
    TaskType = 0,
    AvailableAssertions = new[]
    {
        new AliCloud.Arms.Inputs.SyntheticTaskAvailableAssertionArgs
        {
            Expect = "string",
            Operator = "string",
            Type = "string",
            Target = "string",
        },
    },
    CommonSetting = new AliCloud.Arms.Inputs.SyntheticTaskCommonSettingArgs
    {
        CustomHost = new AliCloud.Arms.Inputs.SyntheticTaskCommonSettingCustomHostArgs
        {
            Hosts = new[]
            {
                new AliCloud.Arms.Inputs.SyntheticTaskCommonSettingCustomHostHostArgs
                {
                    Domain = "string",
                    IpType = 0,
                    Ips = new[]
                    {
                        "string",
                    },
                },
            },
            SelectType = 0,
        },
        IpType = 0,
        IsOpenTrace = false,
        MonitorSamples = 0,
        TraceClientType = 0,
        XtraceRegion = "string",
    },
    CustomPeriod = new AliCloud.Arms.Inputs.SyntheticTaskCustomPeriodArgs
    {
        EndHour = 0,
        StartHour = 0,
    },
    ResourceGroupId = "string",
    Status = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := arms.NewSyntheticTask(ctx, "syntheticTaskResource", &arms.SyntheticTaskArgs{
	Frequency:       pulumi.String("string"),
	MonitorCategory: pulumi.Int(0),
	MonitorConf: &arms.SyntheticTaskMonitorConfArgs{
		ApiHttp: &arms.SyntheticTaskMonitorConfApiHttpArgs{
			TargetUrl:      pulumi.String("string"),
			ConnectTimeout: pulumi.Int(0),
			Method:         pulumi.String("string"),
			RequestBody: &arms.SyntheticTaskMonitorConfApiHttpRequestBodyArgs{
				Content: pulumi.String("string"),
				Type:    pulumi.String("string"),
			},
			RequestHeaders: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			Timeout: pulumi.Int(0),
		},
		FileDownload: &arms.SyntheticTaskMonitorConfFileDownloadArgs{
			TargetUrl:                           pulumi.String("string"),
			IgnoreCertificateUsingError:         pulumi.Int(0),
			IgnoreCertificateOutOfDateError:     pulumi.Int(0),
			IgnoreInvalidHostError:              pulumi.Int(0),
			IgnoreCertificateCanceledError:      pulumi.Int(0),
			MonitorTimeout:                      pulumi.Int(0),
			IgnoreCertificateStatusError:        pulumi.Int(0),
			IgnoreCertificateUntrustworthyError: pulumi.Int(0),
			QuickProtocol:                       pulumi.Int(0),
			IgnoreCertificateAuthError:          pulumi.Int(0),
			DownloadKernel:                      pulumi.Int(0),
			ConnectionTimeout:                   pulumi.Int(0),
			Redirection:                         pulumi.Int(0),
			CustomHeaderContent: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			TransmissionSize: pulumi.Int(0),
			ValidateKeywords: pulumi.String("string"),
			VerifyWay:        pulumi.Int(0),
			WhiteList:        pulumi.String("string"),
		},
		NetDns: &arms.SyntheticTaskMonitorConfNetDnsArgs{
			TargetUrl:       pulumi.String("string"),
			DnsServerIpType: pulumi.Int(0),
			NsServer:        pulumi.String("string"),
			QueryMethod:     pulumi.Int(0),
			Timeout:         pulumi.Int(0),
		},
		NetIcmp: &arms.SyntheticTaskMonitorConfNetIcmpArgs{
			TargetUrl:      pulumi.String("string"),
			Interval:       pulumi.Int(0),
			PackageNum:     pulumi.Int(0),
			PackageSize:    pulumi.Int(0),
			SplitPackage:   pulumi.Bool(false),
			Timeout:        pulumi.Int(0),
			TracertEnable:  pulumi.Bool(false),
			TracertNumMax:  pulumi.Int(0),
			TracertTimeout: pulumi.Int(0),
		},
		NetTcp: &arms.SyntheticTaskMonitorConfNetTcpArgs{
			TargetUrl:      pulumi.String("string"),
			ConnectTimes:   pulumi.Int(0),
			Interval:       pulumi.Int(0),
			Timeout:        pulumi.Int(0),
			TracertEnable:  pulumi.Bool(false),
			TracertNumMax:  pulumi.Int(0),
			TracertTimeout: pulumi.Int(0),
		},
		Stream: &arms.SyntheticTaskMonitorConfStreamArgs{
			CustomHeaderContent: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			PlayerType:           pulumi.Int(0),
			StreamAddressType:    pulumi.Int(0),
			StreamMonitorTimeout: pulumi.Int(0),
			StreamType:           pulumi.Int(0),
			TargetUrl:            pulumi.String("string"),
			WhiteList:            pulumi.String("string"),
		},
		Website: &arms.SyntheticTaskMonitorConfWebsiteArgs{
			TargetUrl:              pulumi.String("string"),
			FlowHijackJumpTimes:    pulumi.Int(0),
			DisableCache:           pulumi.Int(0),
			IgnoreCertificateError: pulumi.Int(0),
			MonitorTimeout:         pulumi.Int(0),
			DnsHijackWhitelist:     pulumi.String("string"),
			ElementBlacklist:       pulumi.String("string"),
			FilterInvalidIp:        pulumi.Int(0),
			AutomaticScrolling:     pulumi.Int(0),
			WaitCompletionTime:     pulumi.Int(0),
			CustomHeaderContent: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			DisableCompression:    pulumi.Int(0),
			PageTamper:            pulumi.String("string"),
			Redirection:           pulumi.Int(0),
			SlowElementThreshold:  pulumi.Int(0),
			CustomHeader:          pulumi.Int(0),
			VerifyStringBlacklist: pulumi.String("string"),
			VerifyStringWhitelist: pulumi.String("string"),
			FlowHijackLogo:        pulumi.String("string"),
		},
	},
	Monitors: arms.SyntheticTaskMonitorArray{
		&arms.SyntheticTaskMonitorArgs{
			CityCode:     pulumi.String("string"),
			ClientType:   pulumi.Int(0),
			OperatorCode: pulumi.String("string"),
		},
	},
	SyntheticTaskName: pulumi.String("string"),
	TaskType:          pulumi.Int(0),
	AvailableAssertions: arms.SyntheticTaskAvailableAssertionArray{
		&arms.SyntheticTaskAvailableAssertionArgs{
			Expect:   pulumi.String("string"),
			Operator: pulumi.String("string"),
			Type:     pulumi.String("string"),
			Target:   pulumi.String("string"),
		},
	},
	CommonSetting: &arms.SyntheticTaskCommonSettingArgs{
		CustomHost: &arms.SyntheticTaskCommonSettingCustomHostArgs{
			Hosts: arms.SyntheticTaskCommonSettingCustomHostHostArray{
				&arms.SyntheticTaskCommonSettingCustomHostHostArgs{
					Domain: pulumi.String("string"),
					IpType: pulumi.Int(0),
					Ips: pulumi.StringArray{
						pulumi.String("string"),
					},
				},
			},
			SelectType: pulumi.Int(0),
		},
		IpType:          pulumi.Int(0),
		IsOpenTrace:     pulumi.Bool(false),
		MonitorSamples:  pulumi.Int(0),
		TraceClientType: pulumi.Int(0),
		XtraceRegion:    pulumi.String("string"),
	},
	CustomPeriod: &arms.SyntheticTaskCustomPeriodArgs{
		EndHour:   pulumi.Int(0),
		StartHour: pulumi.Int(0),
	},
	ResourceGroupId: pulumi.String("string"),
	Status:          pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var syntheticTaskResource = new SyntheticTask("syntheticTaskResource", SyntheticTaskArgs.builder()
    .frequency("string")
    .monitorCategory(0)
    .monitorConf(SyntheticTaskMonitorConfArgs.builder()
        .apiHttp(SyntheticTaskMonitorConfApiHttpArgs.builder()
            .targetUrl("string")
            .connectTimeout(0)
            .method("string")
            .requestBody(SyntheticTaskMonitorConfApiHttpRequestBodyArgs.builder()
                .content("string")
                .type("string")
                .build())
            .requestHeaders(Map.of("string", "string"))
            .timeout(0)
            .build())
        .fileDownload(SyntheticTaskMonitorConfFileDownloadArgs.builder()
            .targetUrl("string")
            .ignoreCertificateUsingError(0)
            .ignoreCertificateOutOfDateError(0)
            .ignoreInvalidHostError(0)
            .ignoreCertificateCanceledError(0)
            .monitorTimeout(0)
            .ignoreCertificateStatusError(0)
            .ignoreCertificateUntrustworthyError(0)
            .quickProtocol(0)
            .ignoreCertificateAuthError(0)
            .downloadKernel(0)
            .connectionTimeout(0)
            .redirection(0)
            .customHeaderContent(Map.of("string", "string"))
            .transmissionSize(0)
            .validateKeywords("string")
            .verifyWay(0)
            .whiteList("string")
            .build())
        .netDns(SyntheticTaskMonitorConfNetDnsArgs.builder()
            .targetUrl("string")
            .dnsServerIpType(0)
            .nsServer("string")
            .queryMethod(0)
            .timeout(0)
            .build())
        .netIcmp(SyntheticTaskMonitorConfNetIcmpArgs.builder()
            .targetUrl("string")
            .interval(0)
            .packageNum(0)
            .packageSize(0)
            .splitPackage(false)
            .timeout(0)
            .tracertEnable(false)
            .tracertNumMax(0)
            .tracertTimeout(0)
            .build())
        .netTcp(SyntheticTaskMonitorConfNetTcpArgs.builder()
            .targetUrl("string")
            .connectTimes(0)
            .interval(0)
            .timeout(0)
            .tracertEnable(false)
            .tracertNumMax(0)
            .tracertTimeout(0)
            .build())
        .stream(SyntheticTaskMonitorConfStreamArgs.builder()
            .customHeaderContent(Map.of("string", "string"))
            .playerType(0)
            .streamAddressType(0)
            .streamMonitorTimeout(0)
            .streamType(0)
            .targetUrl("string")
            .whiteList("string")
            .build())
        .website(SyntheticTaskMonitorConfWebsiteArgs.builder()
            .targetUrl("string")
            .flowHijackJumpTimes(0)
            .disableCache(0)
            .ignoreCertificateError(0)
            .monitorTimeout(0)
            .dnsHijackWhitelist("string")
            .elementBlacklist("string")
            .filterInvalidIp(0)
            .automaticScrolling(0)
            .waitCompletionTime(0)
            .customHeaderContent(Map.of("string", "string"))
            .disableCompression(0)
            .pageTamper("string")
            .redirection(0)
            .slowElementThreshold(0)
            .customHeader(0)
            .verifyStringBlacklist("string")
            .verifyStringWhitelist("string")
            .flowHijackLogo("string")
            .build())
        .build())
    .monitors(SyntheticTaskMonitorArgs.builder()
        .cityCode("string")
        .clientType(0)
        .operatorCode("string")
        .build())
    .syntheticTaskName("string")
    .taskType(0)
    .availableAssertions(SyntheticTaskAvailableAssertionArgs.builder()
        .expect("string")
        .operator("string")
        .type("string")
        .target("string")
        .build())
    .commonSetting(SyntheticTaskCommonSettingArgs.builder()
        .customHost(SyntheticTaskCommonSettingCustomHostArgs.builder()
            .hosts(SyntheticTaskCommonSettingCustomHostHostArgs.builder()
                .domain("string")
                .ipType(0)
                .ips("string")
                .build())
            .selectType(0)
            .build())
        .ipType(0)
        .isOpenTrace(false)
        .monitorSamples(0)
        .traceClientType(0)
        .xtraceRegion("string")
        .build())
    .customPeriod(SyntheticTaskCustomPeriodArgs.builder()
        .endHour(0)
        .startHour(0)
        .build())
    .resourceGroupId("string")
    .status("string")
    .tags(Map.of("string", "string"))
    .build());
synthetic_task_resource = alicloud.arms.SyntheticTask("syntheticTaskResource",
    frequency="string",
    monitor_category=0,
    monitor_conf=alicloud.arms.SyntheticTaskMonitorConfArgs(
        api_http=alicloud.arms.SyntheticTaskMonitorConfApiHttpArgs(
            target_url="string",
            connect_timeout=0,
            method="string",
            request_body=alicloud.arms.SyntheticTaskMonitorConfApiHttpRequestBodyArgs(
                content="string",
                type="string",
            ),
            request_headers={
                "string": "string",
            },
            timeout=0,
        ),
        file_download=alicloud.arms.SyntheticTaskMonitorConfFileDownloadArgs(
            target_url="string",
            ignore_certificate_using_error=0,
            ignore_certificate_out_of_date_error=0,
            ignore_invalid_host_error=0,
            ignore_certificate_canceled_error=0,
            monitor_timeout=0,
            ignore_certificate_status_error=0,
            ignore_certificate_untrustworthy_error=0,
            quick_protocol=0,
            ignore_certificate_auth_error=0,
            download_kernel=0,
            connection_timeout=0,
            redirection=0,
            custom_header_content={
                "string": "string",
            },
            transmission_size=0,
            validate_keywords="string",
            verify_way=0,
            white_list="string",
        ),
        net_dns=alicloud.arms.SyntheticTaskMonitorConfNetDnsArgs(
            target_url="string",
            dns_server_ip_type=0,
            ns_server="string",
            query_method=0,
            timeout=0,
        ),
        net_icmp=alicloud.arms.SyntheticTaskMonitorConfNetIcmpArgs(
            target_url="string",
            interval=0,
            package_num=0,
            package_size=0,
            split_package=False,
            timeout=0,
            tracert_enable=False,
            tracert_num_max=0,
            tracert_timeout=0,
        ),
        net_tcp=alicloud.arms.SyntheticTaskMonitorConfNetTcpArgs(
            target_url="string",
            connect_times=0,
            interval=0,
            timeout=0,
            tracert_enable=False,
            tracert_num_max=0,
            tracert_timeout=0,
        ),
        stream=alicloud.arms.SyntheticTaskMonitorConfStreamArgs(
            custom_header_content={
                "string": "string",
            },
            player_type=0,
            stream_address_type=0,
            stream_monitor_timeout=0,
            stream_type=0,
            target_url="string",
            white_list="string",
        ),
        website=alicloud.arms.SyntheticTaskMonitorConfWebsiteArgs(
            target_url="string",
            flow_hijack_jump_times=0,
            disable_cache=0,
            ignore_certificate_error=0,
            monitor_timeout=0,
            dns_hijack_whitelist="string",
            element_blacklist="string",
            filter_invalid_ip=0,
            automatic_scrolling=0,
            wait_completion_time=0,
            custom_header_content={
                "string": "string",
            },
            disable_compression=0,
            page_tamper="string",
            redirection=0,
            slow_element_threshold=0,
            custom_header=0,
            verify_string_blacklist="string",
            verify_string_whitelist="string",
            flow_hijack_logo="string",
        ),
    ),
    monitors=[alicloud.arms.SyntheticTaskMonitorArgs(
        city_code="string",
        client_type=0,
        operator_code="string",
    )],
    synthetic_task_name="string",
    task_type=0,
    available_assertions=[alicloud.arms.SyntheticTaskAvailableAssertionArgs(
        expect="string",
        operator="string",
        type="string",
        target="string",
    )],
    common_setting=alicloud.arms.SyntheticTaskCommonSettingArgs(
        custom_host=alicloud.arms.SyntheticTaskCommonSettingCustomHostArgs(
            hosts=[alicloud.arms.SyntheticTaskCommonSettingCustomHostHostArgs(
                domain="string",
                ip_type=0,
                ips=["string"],
            )],
            select_type=0,
        ),
        ip_type=0,
        is_open_trace=False,
        monitor_samples=0,
        trace_client_type=0,
        xtrace_region="string",
    ),
    custom_period=alicloud.arms.SyntheticTaskCustomPeriodArgs(
        end_hour=0,
        start_hour=0,
    ),
    resource_group_id="string",
    status="string",
    tags={
        "string": "string",
    })
const syntheticTaskResource = new alicloud.arms.SyntheticTask("syntheticTaskResource", {
    frequency: "string",
    monitorCategory: 0,
    monitorConf: {
        apiHttp: {
            targetUrl: "string",
            connectTimeout: 0,
            method: "string",
            requestBody: {
                content: "string",
                type: "string",
            },
            requestHeaders: {
                string: "string",
            },
            timeout: 0,
        },
        fileDownload: {
            targetUrl: "string",
            ignoreCertificateUsingError: 0,
            ignoreCertificateOutOfDateError: 0,
            ignoreInvalidHostError: 0,
            ignoreCertificateCanceledError: 0,
            monitorTimeout: 0,
            ignoreCertificateStatusError: 0,
            ignoreCertificateUntrustworthyError: 0,
            quickProtocol: 0,
            ignoreCertificateAuthError: 0,
            downloadKernel: 0,
            connectionTimeout: 0,
            redirection: 0,
            customHeaderContent: {
                string: "string",
            },
            transmissionSize: 0,
            validateKeywords: "string",
            verifyWay: 0,
            whiteList: "string",
        },
        netDns: {
            targetUrl: "string",
            dnsServerIpType: 0,
            nsServer: "string",
            queryMethod: 0,
            timeout: 0,
        },
        netIcmp: {
            targetUrl: "string",
            interval: 0,
            packageNum: 0,
            packageSize: 0,
            splitPackage: false,
            timeout: 0,
            tracertEnable: false,
            tracertNumMax: 0,
            tracertTimeout: 0,
        },
        netTcp: {
            targetUrl: "string",
            connectTimes: 0,
            interval: 0,
            timeout: 0,
            tracertEnable: false,
            tracertNumMax: 0,
            tracertTimeout: 0,
        },
        stream: {
            customHeaderContent: {
                string: "string",
            },
            playerType: 0,
            streamAddressType: 0,
            streamMonitorTimeout: 0,
            streamType: 0,
            targetUrl: "string",
            whiteList: "string",
        },
        website: {
            targetUrl: "string",
            flowHijackJumpTimes: 0,
            disableCache: 0,
            ignoreCertificateError: 0,
            monitorTimeout: 0,
            dnsHijackWhitelist: "string",
            elementBlacklist: "string",
            filterInvalidIp: 0,
            automaticScrolling: 0,
            waitCompletionTime: 0,
            customHeaderContent: {
                string: "string",
            },
            disableCompression: 0,
            pageTamper: "string",
            redirection: 0,
            slowElementThreshold: 0,
            customHeader: 0,
            verifyStringBlacklist: "string",
            verifyStringWhitelist: "string",
            flowHijackLogo: "string",
        },
    },
    monitors: [{
        cityCode: "string",
        clientType: 0,
        operatorCode: "string",
    }],
    syntheticTaskName: "string",
    taskType: 0,
    availableAssertions: [{
        expect: "string",
        operator: "string",
        type: "string",
        target: "string",
    }],
    commonSetting: {
        customHost: {
            hosts: [{
                domain: "string",
                ipType: 0,
                ips: ["string"],
            }],
            selectType: 0,
        },
        ipType: 0,
        isOpenTrace: false,
        monitorSamples: 0,
        traceClientType: 0,
        xtraceRegion: "string",
    },
    customPeriod: {
        endHour: 0,
        startHour: 0,
    },
    resourceGroupId: "string",
    status: "string",
    tags: {
        string: "string",
    },
});
type: alicloud:arms:SyntheticTask
properties:
    availableAssertions:
        - expect: string
          operator: string
          target: string
          type: string
    commonSetting:
        customHost:
            hosts:
                - domain: string
                  ipType: 0
                  ips:
                    - string
            selectType: 0
        ipType: 0
        isOpenTrace: false
        monitorSamples: 0
        traceClientType: 0
        xtraceRegion: string
    customPeriod:
        endHour: 0
        startHour: 0
    frequency: string
    monitorCategory: 0
    monitorConf:
        apiHttp:
            connectTimeout: 0
            method: string
            requestBody:
                content: string
                type: string
            requestHeaders:
                string: string
            targetUrl: string
            timeout: 0
        fileDownload:
            connectionTimeout: 0
            customHeaderContent:
                string: string
            downloadKernel: 0
            ignoreCertificateAuthError: 0
            ignoreCertificateCanceledError: 0
            ignoreCertificateOutOfDateError: 0
            ignoreCertificateStatusError: 0
            ignoreCertificateUntrustworthyError: 0
            ignoreCertificateUsingError: 0
            ignoreInvalidHostError: 0
            monitorTimeout: 0
            quickProtocol: 0
            redirection: 0
            targetUrl: string
            transmissionSize: 0
            validateKeywords: string
            verifyWay: 0
            whiteList: string
        netDns:
            dnsServerIpType: 0
            nsServer: string
            queryMethod: 0
            targetUrl: string
            timeout: 0
        netIcmp:
            interval: 0
            packageNum: 0
            packageSize: 0
            splitPackage: false
            targetUrl: string
            timeout: 0
            tracertEnable: false
            tracertNumMax: 0
            tracertTimeout: 0
        netTcp:
            connectTimes: 0
            interval: 0
            targetUrl: string
            timeout: 0
            tracertEnable: false
            tracertNumMax: 0
            tracertTimeout: 0
        stream:
            customHeaderContent:
                string: string
            playerType: 0
            streamAddressType: 0
            streamMonitorTimeout: 0
            streamType: 0
            targetUrl: string
            whiteList: string
        website:
            automaticScrolling: 0
            customHeader: 0
            customHeaderContent:
                string: string
            disableCache: 0
            disableCompression: 0
            dnsHijackWhitelist: string
            elementBlacklist: string
            filterInvalidIp: 0
            flowHijackJumpTimes: 0
            flowHijackLogo: string
            ignoreCertificateError: 0
            monitorTimeout: 0
            pageTamper: string
            redirection: 0
            slowElementThreshold: 0
            targetUrl: string
            verifyStringBlacklist: string
            verifyStringWhitelist: string
            waitCompletionTime: 0
    monitors:
        - cityCode: string
          clientType: 0
          operatorCode: string
    resourceGroupId: string
    status: string
    syntheticTaskName: string
    tags:
        string: string
    taskType: 0
SyntheticTask Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The SyntheticTask resource accepts the following input properties:
- Frequency string
- Frequency.
- MonitorCategory int
- Classification of selected monitors.
- MonitorConf Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Monitor Conf 
- Monitoring configuration. See monitor_confbelow.
- Monitors
List<Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Monitor> 
- List of selected monitors. See monitorsbelow.
- SyntheticTask stringName 
- The name of synthetic task.
- TaskType int
- The type of synthetic task.
- AvailableAssertions List<Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Available Assertion> 
- Assertion List. See available_assertionsbelow.
- CommonSetting Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Common Setting 
- Common settings. See common_settingbelow.
- CustomPeriod Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Custom Period 
- Custom Cycle. See custom_periodbelow.
- ResourceGroup stringId 
- Describes which resource group the resource belongs.
- Status string
- task status.
- Dictionary<string, string>
- The list of tags.
- Frequency string
- Frequency.
- MonitorCategory int
- Classification of selected monitors.
- MonitorConf SyntheticTask Monitor Conf Args 
- Monitoring configuration. See monitor_confbelow.
- Monitors
[]SyntheticTask Monitor Args 
- List of selected monitors. See monitorsbelow.
- SyntheticTask stringName 
- The name of synthetic task.
- TaskType int
- The type of synthetic task.
- AvailableAssertions []SyntheticTask Available Assertion Args 
- Assertion List. See available_assertionsbelow.
- CommonSetting SyntheticTask Common Setting Args 
- Common settings. See common_settingbelow.
- CustomPeriod SyntheticTask Custom Period Args 
- Custom Cycle. See custom_periodbelow.
- ResourceGroup stringId 
- Describes which resource group the resource belongs.
- Status string
- task status.
- map[string]string
- The list of tags.
- frequency String
- Frequency.
- monitorCategory Integer
- Classification of selected monitors.
- monitorConf SyntheticTask Monitor Conf 
- Monitoring configuration. See monitor_confbelow.
- monitors
List<SyntheticTask Monitor> 
- List of selected monitors. See monitorsbelow.
- syntheticTask StringName 
- The name of synthetic task.
- taskType Integer
- The type of synthetic task.
- availableAssertions List<SyntheticTask Available Assertion> 
- Assertion List. See available_assertionsbelow.
- commonSetting SyntheticTask Common Setting 
- Common settings. See common_settingbelow.
- customPeriod SyntheticTask Custom Period 
- Custom Cycle. See custom_periodbelow.
- resourceGroup StringId 
- Describes which resource group the resource belongs.
- status String
- task status.
- Map<String,String>
- The list of tags.
- frequency string
- Frequency.
- monitorCategory number
- Classification of selected monitors.
- monitorConf SyntheticTask Monitor Conf 
- Monitoring configuration. See monitor_confbelow.
- monitors
SyntheticTask Monitor[] 
- List of selected monitors. See monitorsbelow.
- syntheticTask stringName 
- The name of synthetic task.
- taskType number
- The type of synthetic task.
- availableAssertions SyntheticTask Available Assertion[] 
- Assertion List. See available_assertionsbelow.
- commonSetting SyntheticTask Common Setting 
- Common settings. See common_settingbelow.
- customPeriod SyntheticTask Custom Period 
- Custom Cycle. See custom_periodbelow.
- resourceGroup stringId 
- Describes which resource group the resource belongs.
- status string
- task status.
- {[key: string]: string}
- The list of tags.
- frequency str
- Frequency.
- monitor_category int
- Classification of selected monitors.
- monitor_conf SyntheticTask Monitor Conf Args 
- Monitoring configuration. See monitor_confbelow.
- monitors
Sequence[SyntheticTask Monitor Args] 
- List of selected monitors. See monitorsbelow.
- synthetic_task_ strname 
- The name of synthetic task.
- task_type int
- The type of synthetic task.
- available_assertions Sequence[SyntheticTask Available Assertion Args] 
- Assertion List. See available_assertionsbelow.
- common_setting SyntheticTask Common Setting Args 
- Common settings. See common_settingbelow.
- custom_period SyntheticTask Custom Period Args 
- Custom Cycle. See custom_periodbelow.
- resource_group_ strid 
- Describes which resource group the resource belongs.
- status str
- task status.
- Mapping[str, str]
- The list of tags.
- frequency String
- Frequency.
- monitorCategory Number
- Classification of selected monitors.
- monitorConf Property Map
- Monitoring configuration. See monitor_confbelow.
- monitors List<Property Map>
- List of selected monitors. See monitorsbelow.
- syntheticTask StringName 
- The name of synthetic task.
- taskType Number
- The type of synthetic task.
- availableAssertions List<Property Map>
- Assertion List. See available_assertionsbelow.
- commonSetting Property Map
- Common settings. See common_settingbelow.
- customPeriod Property Map
- Custom Cycle. See custom_periodbelow.
- resourceGroup StringId 
- Describes which resource group the resource belongs.
- status String
- task status.
- Map<String>
- The list of tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the SyntheticTask resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing SyntheticTask Resource
Get an existing SyntheticTask 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?: SyntheticTaskState, opts?: CustomResourceOptions): SyntheticTask@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        available_assertions: Optional[Sequence[SyntheticTaskAvailableAssertionArgs]] = None,
        common_setting: Optional[SyntheticTaskCommonSettingArgs] = None,
        custom_period: Optional[SyntheticTaskCustomPeriodArgs] = None,
        frequency: Optional[str] = None,
        monitor_category: Optional[int] = None,
        monitor_conf: Optional[SyntheticTaskMonitorConfArgs] = None,
        monitors: Optional[Sequence[SyntheticTaskMonitorArgs]] = None,
        resource_group_id: Optional[str] = None,
        status: Optional[str] = None,
        synthetic_task_name: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        task_type: Optional[int] = None) -> SyntheticTaskfunc GetSyntheticTask(ctx *Context, name string, id IDInput, state *SyntheticTaskState, opts ...ResourceOption) (*SyntheticTask, error)public static SyntheticTask Get(string name, Input<string> id, SyntheticTaskState? state, CustomResourceOptions? opts = null)public static SyntheticTask get(String name, Output<String> id, SyntheticTaskState 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.
- AvailableAssertions List<Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Available Assertion> 
- Assertion List. See available_assertionsbelow.
- CommonSetting Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Common Setting 
- Common settings. See common_settingbelow.
- CustomPeriod Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Custom Period 
- Custom Cycle. See custom_periodbelow.
- Frequency string
- Frequency.
- MonitorCategory int
- Classification of selected monitors.
- MonitorConf Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Monitor Conf 
- Monitoring configuration. See monitor_confbelow.
- Monitors
List<Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Monitor> 
- List of selected monitors. See monitorsbelow.
- ResourceGroup stringId 
- Describes which resource group the resource belongs.
- Status string
- task status.
- SyntheticTask stringName 
- The name of synthetic task.
- Dictionary<string, string>
- The list of tags.
- TaskType int
- The type of synthetic task.
- AvailableAssertions []SyntheticTask Available Assertion Args 
- Assertion List. See available_assertionsbelow.
- CommonSetting SyntheticTask Common Setting Args 
- Common settings. See common_settingbelow.
- CustomPeriod SyntheticTask Custom Period Args 
- Custom Cycle. See custom_periodbelow.
- Frequency string
- Frequency.
- MonitorCategory int
- Classification of selected monitors.
- MonitorConf SyntheticTask Monitor Conf Args 
- Monitoring configuration. See monitor_confbelow.
- Monitors
[]SyntheticTask Monitor Args 
- List of selected monitors. See monitorsbelow.
- ResourceGroup stringId 
- Describes which resource group the resource belongs.
- Status string
- task status.
- SyntheticTask stringName 
- The name of synthetic task.
- map[string]string
- The list of tags.
- TaskType int
- The type of synthetic task.
- availableAssertions List<SyntheticTask Available Assertion> 
- Assertion List. See available_assertionsbelow.
- commonSetting SyntheticTask Common Setting 
- Common settings. See common_settingbelow.
- customPeriod SyntheticTask Custom Period 
- Custom Cycle. See custom_periodbelow.
- frequency String
- Frequency.
- monitorCategory Integer
- Classification of selected monitors.
- monitorConf SyntheticTask Monitor Conf 
- Monitoring configuration. See monitor_confbelow.
- monitors
List<SyntheticTask Monitor> 
- List of selected monitors. See monitorsbelow.
- resourceGroup StringId 
- Describes which resource group the resource belongs.
- status String
- task status.
- syntheticTask StringName 
- The name of synthetic task.
- Map<String,String>
- The list of tags.
- taskType Integer
- The type of synthetic task.
- availableAssertions SyntheticTask Available Assertion[] 
- Assertion List. See available_assertionsbelow.
- commonSetting SyntheticTask Common Setting 
- Common settings. See common_settingbelow.
- customPeriod SyntheticTask Custom Period 
- Custom Cycle. See custom_periodbelow.
- frequency string
- Frequency.
- monitorCategory number
- Classification of selected monitors.
- monitorConf SyntheticTask Monitor Conf 
- Monitoring configuration. See monitor_confbelow.
- monitors
SyntheticTask Monitor[] 
- List of selected monitors. See monitorsbelow.
- resourceGroup stringId 
- Describes which resource group the resource belongs.
- status string
- task status.
- syntheticTask stringName 
- The name of synthetic task.
- {[key: string]: string}
- The list of tags.
- taskType number
- The type of synthetic task.
- available_assertions Sequence[SyntheticTask Available Assertion Args] 
- Assertion List. See available_assertionsbelow.
- common_setting SyntheticTask Common Setting Args 
- Common settings. See common_settingbelow.
- custom_period SyntheticTask Custom Period Args 
- Custom Cycle. See custom_periodbelow.
- frequency str
- Frequency.
- monitor_category int
- Classification of selected monitors.
- monitor_conf SyntheticTask Monitor Conf Args 
- Monitoring configuration. See monitor_confbelow.
- monitors
Sequence[SyntheticTask Monitor Args] 
- List of selected monitors. See monitorsbelow.
- resource_group_ strid 
- Describes which resource group the resource belongs.
- status str
- task status.
- synthetic_task_ strname 
- The name of synthetic task.
- Mapping[str, str]
- The list of tags.
- task_type int
- The type of synthetic task.
- availableAssertions List<Property Map>
- Assertion List. See available_assertionsbelow.
- commonSetting Property Map
- Common settings. See common_settingbelow.
- customPeriod Property Map
- Custom Cycle. See custom_periodbelow.
- frequency String
- Frequency.
- monitorCategory Number
- Classification of selected monitors.
- monitorConf Property Map
- Monitoring configuration. See monitor_confbelow.
- monitors List<Property Map>
- List of selected monitors. See monitorsbelow.
- resourceGroup StringId 
- Describes which resource group the resource belongs.
- status String
- task status.
- syntheticTask StringName 
- The name of synthetic task.
- Map<String>
- The list of tags.
- taskType Number
- The type of synthetic task.
Supporting Types
SyntheticTaskAvailableAssertion, SyntheticTaskAvailableAssertionArgs        
- Expect string
- Expected value.
- Operator string
- Condition: gt: greater than; gte: greater than or equal to; lt: less than; te: less than or equal to; eq: equal to; neq: not equal to; ctn: contains; nctn: does not contain; exist: exists; n_exist: does not exist; belong: belongs to; reg_match: regular matching.
- Type string
- Assertion type, including: httpresead, httpresead, HttpResBody, HttpResBodyJson, httpressetime, IcmpPackLoss (packet loss rate), IcmpPackMaxLatency (maximum packet delay ms), icmppackwebscreen, fmppackavglatency (average delay rendering), TraceRouteHops (number of hops), dnsarecname, websiteOnload (full load time), see the supplement below for specific use.
- Target string
- Check the target. If the target is HttpResCode, HttpResBody, or httpressetime, you do not need to specify the target. If the target is HttpResHead, you need to specify the key in the header. If the target is HttpResHead, you need to use jsonPath.
- Expect string
- Expected value.
- Operator string
- Condition: gt: greater than; gte: greater than or equal to; lt: less than; te: less than or equal to; eq: equal to; neq: not equal to; ctn: contains; nctn: does not contain; exist: exists; n_exist: does not exist; belong: belongs to; reg_match: regular matching.
- Type string
- Assertion type, including: httpresead, httpresead, HttpResBody, HttpResBodyJson, httpressetime, IcmpPackLoss (packet loss rate), IcmpPackMaxLatency (maximum packet delay ms), icmppackwebscreen, fmppackavglatency (average delay rendering), TraceRouteHops (number of hops), dnsarecname, websiteOnload (full load time), see the supplement below for specific use.
- Target string
- Check the target. If the target is HttpResCode, HttpResBody, or httpressetime, you do not need to specify the target. If the target is HttpResHead, you need to specify the key in the header. If the target is HttpResHead, you need to use jsonPath.
- expect String
- Expected value.
- operator String
- Condition: gt: greater than; gte: greater than or equal to; lt: less than; te: less than or equal to; eq: equal to; neq: not equal to; ctn: contains; nctn: does not contain; exist: exists; n_exist: does not exist; belong: belongs to; reg_match: regular matching.
- type String
- Assertion type, including: httpresead, httpresead, HttpResBody, HttpResBodyJson, httpressetime, IcmpPackLoss (packet loss rate), IcmpPackMaxLatency (maximum packet delay ms), icmppackwebscreen, fmppackavglatency (average delay rendering), TraceRouteHops (number of hops), dnsarecname, websiteOnload (full load time), see the supplement below for specific use.
- target String
- Check the target. If the target is HttpResCode, HttpResBody, or httpressetime, you do not need to specify the target. If the target is HttpResHead, you need to specify the key in the header. If the target is HttpResHead, you need to use jsonPath.
- expect string
- Expected value.
- operator string
- Condition: gt: greater than; gte: greater than or equal to; lt: less than; te: less than or equal to; eq: equal to; neq: not equal to; ctn: contains; nctn: does not contain; exist: exists; n_exist: does not exist; belong: belongs to; reg_match: regular matching.
- type string
- Assertion type, including: httpresead, httpresead, HttpResBody, HttpResBodyJson, httpressetime, IcmpPackLoss (packet loss rate), IcmpPackMaxLatency (maximum packet delay ms), icmppackwebscreen, fmppackavglatency (average delay rendering), TraceRouteHops (number of hops), dnsarecname, websiteOnload (full load time), see the supplement below for specific use.
- target string
- Check the target. If the target is HttpResCode, HttpResBody, or httpressetime, you do not need to specify the target. If the target is HttpResHead, you need to specify the key in the header. If the target is HttpResHead, you need to use jsonPath.
- expect str
- Expected value.
- operator str
- Condition: gt: greater than; gte: greater than or equal to; lt: less than; te: less than or equal to; eq: equal to; neq: not equal to; ctn: contains; nctn: does not contain; exist: exists; n_exist: does not exist; belong: belongs to; reg_match: regular matching.
- type str
- Assertion type, including: httpresead, httpresead, HttpResBody, HttpResBodyJson, httpressetime, IcmpPackLoss (packet loss rate), IcmpPackMaxLatency (maximum packet delay ms), icmppackwebscreen, fmppackavglatency (average delay rendering), TraceRouteHops (number of hops), dnsarecname, websiteOnload (full load time), see the supplement below for specific use.
- target str
- Check the target. If the target is HttpResCode, HttpResBody, or httpressetime, you do not need to specify the target. If the target is HttpResHead, you need to specify the key in the header. If the target is HttpResHead, you need to use jsonPath.
- expect String
- Expected value.
- operator String
- Condition: gt: greater than; gte: greater than or equal to; lt: less than; te: less than or equal to; eq: equal to; neq: not equal to; ctn: contains; nctn: does not contain; exist: exists; n_exist: does not exist; belong: belongs to; reg_match: regular matching.
- type String
- Assertion type, including: httpresead, httpresead, HttpResBody, HttpResBodyJson, httpressetime, IcmpPackLoss (packet loss rate), IcmpPackMaxLatency (maximum packet delay ms), icmppackwebscreen, fmppackavglatency (average delay rendering), TraceRouteHops (number of hops), dnsarecname, websiteOnload (full load time), see the supplement below for specific use.
- target String
- Check the target. If the target is HttpResCode, HttpResBody, or httpressetime, you do not need to specify the target. If the target is HttpResHead, you need to specify the key in the header. If the target is HttpResHead, you need to use jsonPath.
SyntheticTaskCommonSetting, SyntheticTaskCommonSettingArgs        
- CustomHost Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Common Setting Custom Host 
- Custom host. See custom_hostbelow.
- IpType int
- IpType.
- IsOpen boolTrace 
- Whether to enable link tracking.
- MonitorSamples int
- Whether the monitoring samples are evenly distributed:- 0: No 1: Yes.
 
- TraceClient intType 
- Link trace client type:- 0:ARMS Agent
- 1:OpenTelemetry
- 2:Jaeger.
 
- XtraceRegion string
- The link data is reported to the region.
- CustomHost SyntheticTask Common Setting Custom Host 
- Custom host. See custom_hostbelow.
- IpType int
- IpType.
- IsOpen boolTrace 
- Whether to enable link tracking.
- MonitorSamples int
- Whether the monitoring samples are evenly distributed:- 0: No 1: Yes.
 
- TraceClient intType 
- Link trace client type:- 0:ARMS Agent
- 1:OpenTelemetry
- 2:Jaeger.
 
- XtraceRegion string
- The link data is reported to the region.
- customHost SyntheticTask Common Setting Custom Host 
- Custom host. See custom_hostbelow.
- ipType Integer
- IpType.
- isOpen BooleanTrace 
- Whether to enable link tracking.
- monitorSamples Integer
- Whether the monitoring samples are evenly distributed:- 0: No 1: Yes.
 
- traceClient IntegerType 
- Link trace client type:- 0:ARMS Agent
- 1:OpenTelemetry
- 2:Jaeger.
 
- xtraceRegion String
- The link data is reported to the region.
- customHost SyntheticTask Common Setting Custom Host 
- Custom host. See custom_hostbelow.
- ipType number
- IpType.
- isOpen booleanTrace 
- Whether to enable link tracking.
- monitorSamples number
- Whether the monitoring samples are evenly distributed:- 0: No 1: Yes.
 
- traceClient numberType 
- Link trace client type:- 0:ARMS Agent
- 1:OpenTelemetry
- 2:Jaeger.
 
- xtraceRegion string
- The link data is reported to the region.
- custom_host SyntheticTask Common Setting Custom Host 
- Custom host. See custom_hostbelow.
- ip_type int
- IpType.
- is_open_ booltrace 
- Whether to enable link tracking.
- monitor_samples int
- Whether the monitoring samples are evenly distributed:- 0: No 1: Yes.
 
- trace_client_ inttype 
- Link trace client type:- 0:ARMS Agent
- 1:OpenTelemetry
- 2:Jaeger.
 
- xtrace_region str
- The link data is reported to the region.
- customHost Property Map
- Custom host. See custom_hostbelow.
- ipType Number
- IpType.
- isOpen BooleanTrace 
- Whether to enable link tracking.
- monitorSamples Number
- Whether the monitoring samples are evenly distributed:- 0: No 1: Yes.
 
- traceClient NumberType 
- Link trace client type:- 0:ARMS Agent
- 1:OpenTelemetry
- 2:Jaeger.
 
- xtraceRegion String
- The link data is reported to the region.
SyntheticTaskCommonSettingCustomHost, SyntheticTaskCommonSettingCustomHostArgs            
- Hosts
List<Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Common Setting Custom Host Host> 
- The host list. See hostsbelow.
- SelectType int
- Selection method:- 0: Random
- 1: Polling.
 
- Hosts
[]SyntheticTask Common Setting Custom Host Host 
- The host list. See hostsbelow.
- SelectType int
- Selection method:- 0: Random
- 1: Polling.
 
- hosts
List<SyntheticTask Common Setting Custom Host Host> 
- The host list. See hostsbelow.
- selectType Integer
- Selection method:- 0: Random
- 1: Polling.
 
- hosts
SyntheticTask Common Setting Custom Host Host[] 
- The host list. See hostsbelow.
- selectType number
- Selection method:- 0: Random
- 1: Polling.
 
- hosts
Sequence[SyntheticTask Common Setting Custom Host Host] 
- The host list. See hostsbelow.
- select_type int
- Selection method:- 0: Random
- 1: Polling.
 
- hosts List<Property Map>
- The host list. See hostsbelow.
- selectType Number
- Selection method:- 0: Random
- 1: Polling.
 
SyntheticTaskCommonSettingCustomHostHost, SyntheticTaskCommonSettingCustomHostHostArgs              
SyntheticTaskCustomPeriod, SyntheticTaskCustomPeriodArgs        
- end_hour int
- End hours, 0-24.
- start_hour int
- Starting hours, 0-24.
SyntheticTaskMonitor, SyntheticTaskMonitorArgs      
- CityCode string
- The city code of monitor.
- ClientType int
- The type of monitor.
- OperatorCode string
- The operator code of monitor.
- CityCode string
- The city code of monitor.
- ClientType int
- The type of monitor.
- OperatorCode string
- The operator code of monitor.
- cityCode String
- The city code of monitor.
- clientType Integer
- The type of monitor.
- operatorCode String
- The operator code of monitor.
- cityCode string
- The city code of monitor.
- clientType number
- The type of monitor.
- operatorCode string
- The operator code of monitor.
- city_code str
- The city code of monitor.
- client_type int
- The type of monitor.
- operator_code str
- The operator code of monitor.
- cityCode String
- The city code of monitor.
- clientType Number
- The type of monitor.
- operatorCode String
- The operator code of monitor.
SyntheticTaskMonitorConf, SyntheticTaskMonitorConfArgs        
- ApiHttp Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Monitor Conf Api Http 
- HTTP(S) task configuration information. See api_httpbelow.
- FileDownload Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Monitor Conf File Download 
- File download type task configuration. See file_downloadbelow.
- NetDns Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Monitor Conf Net Dns 
- The configuration parameters of the DNS dial test. Required when TaskType is 3. See net_dnsbelow.
- NetIcmp Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Monitor Conf Net Icmp 
- ICMP dialing configuration parameters. Required when TaskType is 1. See net_icmpbelow.
- NetTcp Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Monitor Conf Net Tcp 
- The configuration parameters of TCP dial test. Required when TaskType is 2. See net_tcpbelow.
- Stream
Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Monitor Conf Stream 
- Streaming Media Dial Test Configuration. See streambelow.
- Website
Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Monitor Conf Website 
- Website speed measurement type task configuration. See websitebelow.
- ApiHttp SyntheticTask Monitor Conf Api Http 
- HTTP(S) task configuration information. See api_httpbelow.
- FileDownload SyntheticTask Monitor Conf File Download 
- File download type task configuration. See file_downloadbelow.
- NetDns SyntheticTask Monitor Conf Net Dns 
- The configuration parameters of the DNS dial test. Required when TaskType is 3. See net_dnsbelow.
- NetIcmp SyntheticTask Monitor Conf Net Icmp 
- ICMP dialing configuration parameters. Required when TaskType is 1. See net_icmpbelow.
- NetTcp SyntheticTask Monitor Conf Net Tcp 
- The configuration parameters of TCP dial test. Required when TaskType is 2. See net_tcpbelow.
- Stream
SyntheticTask Monitor Conf Stream 
- Streaming Media Dial Test Configuration. See streambelow.
- Website
SyntheticTask Monitor Conf Website 
- Website speed measurement type task configuration. See websitebelow.
- apiHttp SyntheticTask Monitor Conf Api Http 
- HTTP(S) task configuration information. See api_httpbelow.
- fileDownload SyntheticTask Monitor Conf File Download 
- File download type task configuration. See file_downloadbelow.
- netDns SyntheticTask Monitor Conf Net Dns 
- The configuration parameters of the DNS dial test. Required when TaskType is 3. See net_dnsbelow.
- netIcmp SyntheticTask Monitor Conf Net Icmp 
- ICMP dialing configuration parameters. Required when TaskType is 1. See net_icmpbelow.
- netTcp SyntheticTask Monitor Conf Net Tcp 
- The configuration parameters of TCP dial test. Required when TaskType is 2. See net_tcpbelow.
- stream
SyntheticTask Monitor Conf Stream 
- Streaming Media Dial Test Configuration. See streambelow.
- website
SyntheticTask Monitor Conf Website 
- Website speed measurement type task configuration. See websitebelow.
- apiHttp SyntheticTask Monitor Conf Api Http 
- HTTP(S) task configuration information. See api_httpbelow.
- fileDownload SyntheticTask Monitor Conf File Download 
- File download type task configuration. See file_downloadbelow.
- netDns SyntheticTask Monitor Conf Net Dns 
- The configuration parameters of the DNS dial test. Required when TaskType is 3. See net_dnsbelow.
- netIcmp SyntheticTask Monitor Conf Net Icmp 
- ICMP dialing configuration parameters. Required when TaskType is 1. See net_icmpbelow.
- netTcp SyntheticTask Monitor Conf Net Tcp 
- The configuration parameters of TCP dial test. Required when TaskType is 2. See net_tcpbelow.
- stream
SyntheticTask Monitor Conf Stream 
- Streaming Media Dial Test Configuration. See streambelow.
- website
SyntheticTask Monitor Conf Website 
- Website speed measurement type task configuration. See websitebelow.
- api_http SyntheticTask Monitor Conf Api Http 
- HTTP(S) task configuration information. See api_httpbelow.
- file_download SyntheticTask Monitor Conf File Download 
- File download type task configuration. See file_downloadbelow.
- net_dns SyntheticTask Monitor Conf Net Dns 
- The configuration parameters of the DNS dial test. Required when TaskType is 3. See net_dnsbelow.
- net_icmp SyntheticTask Monitor Conf Net Icmp 
- ICMP dialing configuration parameters. Required when TaskType is 1. See net_icmpbelow.
- net_tcp SyntheticTask Monitor Conf Net Tcp 
- The configuration parameters of TCP dial test. Required when TaskType is 2. See net_tcpbelow.
- stream
SyntheticTask Monitor Conf Stream 
- Streaming Media Dial Test Configuration. See streambelow.
- website
SyntheticTask Monitor Conf Website 
- Website speed measurement type task configuration. See websitebelow.
- apiHttp Property Map
- HTTP(S) task configuration information. See api_httpbelow.
- fileDownload Property Map
- File download type task configuration. See file_downloadbelow.
- netDns Property Map
- The configuration parameters of the DNS dial test. Required when TaskType is 3. See net_dnsbelow.
- netIcmp Property Map
- ICMP dialing configuration parameters. Required when TaskType is 1. See net_icmpbelow.
- netTcp Property Map
- The configuration parameters of TCP dial test. Required when TaskType is 2. See net_tcpbelow.
- stream Property Map
- Streaming Media Dial Test Configuration. See streambelow.
- website Property Map
- Website speed measurement type task configuration. See websitebelow.
SyntheticTaskMonitorConfApiHttp, SyntheticTaskMonitorConfApiHttpArgs            
- TargetUrl string
- The target URL.
- ConnectTimeout int
- Connection timeout, in ms. Default 5000. Optional range: 1000-300000ms.
- Method string
- HTTP method, GET or POST.
- RequestBody Pulumi.Ali Cloud. Arms. Inputs. Synthetic Task Monitor Conf Api Http Request Body 
- HTTP request body. See request_bodybelow.
- RequestHeaders Dictionary<string, string>
- HTTP request header.
- Timeout int
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- TargetUrl string
- The target URL.
- ConnectTimeout int
- Connection timeout, in ms. Default 5000. Optional range: 1000-300000ms.
- Method string
- HTTP method, GET or POST.
- RequestBody SyntheticTask Monitor Conf Api Http Request Body 
- HTTP request body. See request_bodybelow.
- RequestHeaders map[string]string
- HTTP request header.
- Timeout int
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- targetUrl String
- The target URL.
- connectTimeout Integer
- Connection timeout, in ms. Default 5000. Optional range: 1000-300000ms.
- method String
- HTTP method, GET or POST.
- requestBody SyntheticTask Monitor Conf Api Http Request Body 
- HTTP request body. See request_bodybelow.
- requestHeaders Map<String,String>
- HTTP request header.
- timeout Integer
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- targetUrl string
- The target URL.
- connectTimeout number
- Connection timeout, in ms. Default 5000. Optional range: 1000-300000ms.
- method string
- HTTP method, GET or POST.
- requestBody SyntheticTask Monitor Conf Api Http Request Body 
- HTTP request body. See request_bodybelow.
- requestHeaders {[key: string]: string}
- HTTP request header.
- timeout number
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- target_url str
- The target URL.
- connect_timeout int
- Connection timeout, in ms. Default 5000. Optional range: 1000-300000ms.
- method str
- HTTP method, GET or POST.
- request_body SyntheticTask Monitor Conf Api Http Request Body 
- HTTP request body. See request_bodybelow.
- request_headers Mapping[str, str]
- HTTP request header.
- timeout int
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- targetUrl String
- The target URL.
- connectTimeout Number
- Connection timeout, in ms. Default 5000. Optional range: 1000-300000ms.
- method String
- HTTP method, GET or POST.
- requestBody Property Map
- HTTP request body. See request_bodybelow.
- requestHeaders Map<String>
- HTTP request header.
- timeout Number
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
SyntheticTaskMonitorConfApiHttpRequestBody, SyntheticTaskMonitorConfApiHttpRequestBodyArgs                
SyntheticTaskMonitorConfFileDownload, SyntheticTaskMonitorConfFileDownloadArgs            
- TargetUrl string
- The target URL.
- ConnectionTimeout int
- Connection timeout time, in ms. Default 5000. Optional range: 1000-120000ms.
- CustomHeader Dictionary<string, string>Content 
- Custom header, in JSON Map format.
- DownloadKernel int
- Download the kernel.- 1:curl
- 0:WinInet Default 1.
 
- IgnoreCertificate intAuth Error 
- Ignore CA Certificate authorization error 0: Do not ignore, 1: ignore, default 1.
- IgnoreCertificate intCanceled Error 
- Ignore certificate revocation error 0: Do not ignore, 1: ignore, default 1.
- IgnoreCertificate intOut Of Date Error 
- Ignore certificate expiration error 0: not ignored, 1: Ignored, default 1.
- IgnoreCertificate intStatus Error 
- The certificate status error is ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
- IgnoreCertificate intUntrustworthy Error 
- The certificate cannot be trusted and ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
- IgnoreCertificate intUsing Error 
- Ignore certificate usage error 0: Do not ignore, 1: ignore, default 1.
- IgnoreInvalid intHost Error 
- Invalid host error ignored, 0: not ignored, 1: Ignored, default 1.
- MonitorTimeout int
- Monitoring timeout, in ms. Not required, 20000 by default.
- QuickProtocol int
- Quick agreement- 1:http1
- 2:http2
- 3:http3 Default 1.
 
- Redirection int
- When redirection occurs, whether to continue browsing, 0-No, 1-Yes, the default is 1.
- TransmissionSize int
- The transmission size, in KB. The default value is 2048KB. The transmission size of the downloaded file must be between 1 and 20480KB.
- ValidateKeywords string
- Verify keywords.
- VerifyWay int
- The verification method.- 0: Do not validate
- 1: Validation string
- 2:MD5 validation.
 
- WhiteList string
- DNS hijack whitelist. Match rules support IP, IP wildcard, subnet mask, and CNAME. Multiple match rules can be filled in. Multiple match rules are separated by vertical bars (|). For example, www.aliyun.com:203.0.3.55 | 203.3.44.67 indicates that all other IP addresses under the www.aliyun.com domain except 203.0.3.55 and 203.3.44.67 are hijacked.
- TargetUrl string
- The target URL.
- ConnectionTimeout int
- Connection timeout time, in ms. Default 5000. Optional range: 1000-120000ms.
- CustomHeader map[string]stringContent 
- Custom header, in JSON Map format.
- DownloadKernel int
- Download the kernel.- 1:curl
- 0:WinInet Default 1.
 
- IgnoreCertificate intAuth Error 
- Ignore CA Certificate authorization error 0: Do not ignore, 1: ignore, default 1.
- IgnoreCertificate intCanceled Error 
- Ignore certificate revocation error 0: Do not ignore, 1: ignore, default 1.
- IgnoreCertificate intOut Of Date Error 
- Ignore certificate expiration error 0: not ignored, 1: Ignored, default 1.
- IgnoreCertificate intStatus Error 
- The certificate status error is ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
- IgnoreCertificate intUntrustworthy Error 
- The certificate cannot be trusted and ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
- IgnoreCertificate intUsing Error 
- Ignore certificate usage error 0: Do not ignore, 1: ignore, default 1.
- IgnoreInvalid intHost Error 
- Invalid host error ignored, 0: not ignored, 1: Ignored, default 1.
- MonitorTimeout int
- Monitoring timeout, in ms. Not required, 20000 by default.
- QuickProtocol int
- Quick agreement- 1:http1
- 2:http2
- 3:http3 Default 1.
 
- Redirection int
- When redirection occurs, whether to continue browsing, 0-No, 1-Yes, the default is 1.
- TransmissionSize int
- The transmission size, in KB. The default value is 2048KB. The transmission size of the downloaded file must be between 1 and 20480KB.
- ValidateKeywords string
- Verify keywords.
- VerifyWay int
- The verification method.- 0: Do not validate
- 1: Validation string
- 2:MD5 validation.
 
- WhiteList string
- DNS hijack whitelist. Match rules support IP, IP wildcard, subnet mask, and CNAME. Multiple match rules can be filled in. Multiple match rules are separated by vertical bars (|). For example, www.aliyun.com:203.0.3.55 | 203.3.44.67 indicates that all other IP addresses under the www.aliyun.com domain except 203.0.3.55 and 203.3.44.67 are hijacked.
- targetUrl String
- The target URL.
- connectionTimeout Integer
- Connection timeout time, in ms. Default 5000. Optional range: 1000-120000ms.
- customHeader Map<String,String>Content 
- Custom header, in JSON Map format.
- downloadKernel Integer
- Download the kernel.- 1:curl
- 0:WinInet Default 1.
 
- ignoreCertificate IntegerAuth Error 
- Ignore CA Certificate authorization error 0: Do not ignore, 1: ignore, default 1.
- ignoreCertificate IntegerCanceled Error 
- Ignore certificate revocation error 0: Do not ignore, 1: ignore, default 1.
- ignoreCertificate IntegerOut Of Date Error 
- Ignore certificate expiration error 0: not ignored, 1: Ignored, default 1.
- ignoreCertificate IntegerStatus Error 
- The certificate status error is ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
- ignoreCertificate IntegerUntrustworthy Error 
- The certificate cannot be trusted and ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
- ignoreCertificate IntegerUsing Error 
- Ignore certificate usage error 0: Do not ignore, 1: ignore, default 1.
- ignoreInvalid IntegerHost Error 
- Invalid host error ignored, 0: not ignored, 1: Ignored, default 1.
- monitorTimeout Integer
- Monitoring timeout, in ms. Not required, 20000 by default.
- quickProtocol Integer
- Quick agreement- 1:http1
- 2:http2
- 3:http3 Default 1.
 
- redirection Integer
- When redirection occurs, whether to continue browsing, 0-No, 1-Yes, the default is 1.
- transmissionSize Integer
- The transmission size, in KB. The default value is 2048KB. The transmission size of the downloaded file must be between 1 and 20480KB.
- validateKeywords String
- Verify keywords.
- verifyWay Integer
- The verification method.- 0: Do not validate
- 1: Validation string
- 2:MD5 validation.
 
- whiteList String
- DNS hijack whitelist. Match rules support IP, IP wildcard, subnet mask, and CNAME. Multiple match rules can be filled in. Multiple match rules are separated by vertical bars (|). For example, www.aliyun.com:203.0.3.55 | 203.3.44.67 indicates that all other IP addresses under the www.aliyun.com domain except 203.0.3.55 and 203.3.44.67 are hijacked.
- targetUrl string
- The target URL.
- connectionTimeout number
- Connection timeout time, in ms. Default 5000. Optional range: 1000-120000ms.
- customHeader {[key: string]: string}Content 
- Custom header, in JSON Map format.
- downloadKernel number
- Download the kernel.- 1:curl
- 0:WinInet Default 1.
 
- ignoreCertificate numberAuth Error 
- Ignore CA Certificate authorization error 0: Do not ignore, 1: ignore, default 1.
- ignoreCertificate numberCanceled Error 
- Ignore certificate revocation error 0: Do not ignore, 1: ignore, default 1.
- ignoreCertificate numberOut Of Date Error 
- Ignore certificate expiration error 0: not ignored, 1: Ignored, default 1.
- ignoreCertificate numberStatus Error 
- The certificate status error is ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
- ignoreCertificate numberUntrustworthy Error 
- The certificate cannot be trusted and ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
- ignoreCertificate numberUsing Error 
- Ignore certificate usage error 0: Do not ignore, 1: ignore, default 1.
- ignoreInvalid numberHost Error 
- Invalid host error ignored, 0: not ignored, 1: Ignored, default 1.
- monitorTimeout number
- Monitoring timeout, in ms. Not required, 20000 by default.
- quickProtocol number
- Quick agreement- 1:http1
- 2:http2
- 3:http3 Default 1.
 
- redirection number
- When redirection occurs, whether to continue browsing, 0-No, 1-Yes, the default is 1.
- transmissionSize number
- The transmission size, in KB. The default value is 2048KB. The transmission size of the downloaded file must be between 1 and 20480KB.
- validateKeywords string
- Verify keywords.
- verifyWay number
- The verification method.- 0: Do not validate
- 1: Validation string
- 2:MD5 validation.
 
- whiteList string
- DNS hijack whitelist. Match rules support IP, IP wildcard, subnet mask, and CNAME. Multiple match rules can be filled in. Multiple match rules are separated by vertical bars (|). For example, www.aliyun.com:203.0.3.55 | 203.3.44.67 indicates that all other IP addresses under the www.aliyun.com domain except 203.0.3.55 and 203.3.44.67 are hijacked.
- target_url str
- The target URL.
- connection_timeout int
- Connection timeout time, in ms. Default 5000. Optional range: 1000-120000ms.
- custom_header_ Mapping[str, str]content 
- Custom header, in JSON Map format.
- download_kernel int
- Download the kernel.- 1:curl
- 0:WinInet Default 1.
 
- ignore_certificate_ intauth_ error 
- Ignore CA Certificate authorization error 0: Do not ignore, 1: ignore, default 1.
- ignore_certificate_ intcanceled_ error 
- Ignore certificate revocation error 0: Do not ignore, 1: ignore, default 1.
- ignore_certificate_ intout_ of_ date_ error 
- Ignore certificate expiration error 0: not ignored, 1: Ignored, default 1.
- ignore_certificate_ intstatus_ error 
- The certificate status error is ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
- ignore_certificate_ intuntrustworthy_ error 
- The certificate cannot be trusted and ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
- ignore_certificate_ intusing_ error 
- Ignore certificate usage error 0: Do not ignore, 1: ignore, default 1.
- ignore_invalid_ inthost_ error 
- Invalid host error ignored, 0: not ignored, 1: Ignored, default 1.
- monitor_timeout int
- Monitoring timeout, in ms. Not required, 20000 by default.
- quick_protocol int
- Quick agreement- 1:http1
- 2:http2
- 3:http3 Default 1.
 
- redirection int
- When redirection occurs, whether to continue browsing, 0-No, 1-Yes, the default is 1.
- transmission_size int
- The transmission size, in KB. The default value is 2048KB. The transmission size of the downloaded file must be between 1 and 20480KB.
- validate_keywords str
- Verify keywords.
- verify_way int
- The verification method.- 0: Do not validate
- 1: Validation string
- 2:MD5 validation.
 
- white_list str
- DNS hijack whitelist. Match rules support IP, IP wildcard, subnet mask, and CNAME. Multiple match rules can be filled in. Multiple match rules are separated by vertical bars (|). For example, www.aliyun.com:203.0.3.55 | 203.3.44.67 indicates that all other IP addresses under the www.aliyun.com domain except 203.0.3.55 and 203.3.44.67 are hijacked.
- targetUrl String
- The target URL.
- connectionTimeout Number
- Connection timeout time, in ms. Default 5000. Optional range: 1000-120000ms.
- customHeader Map<String>Content 
- Custom header, in JSON Map format.
- downloadKernel Number
- Download the kernel.- 1:curl
- 0:WinInet Default 1.
 
- ignoreCertificate NumberAuth Error 
- Ignore CA Certificate authorization error 0: Do not ignore, 1: ignore, default 1.
- ignoreCertificate NumberCanceled Error 
- Ignore certificate revocation error 0: Do not ignore, 1: ignore, default 1.
- ignoreCertificate NumberOut Of Date Error 
- Ignore certificate expiration error 0: not ignored, 1: Ignored, default 1.
- ignoreCertificate NumberStatus Error 
- The certificate status error is ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
- ignoreCertificate NumberUntrustworthy Error 
- The certificate cannot be trusted and ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
- ignoreCertificate NumberUsing Error 
- Ignore certificate usage error 0: Do not ignore, 1: ignore, default 1.
- ignoreInvalid NumberHost Error 
- Invalid host error ignored, 0: not ignored, 1: Ignored, default 1.
- monitorTimeout Number
- Monitoring timeout, in ms. Not required, 20000 by default.
- quickProtocol Number
- Quick agreement- 1:http1
- 2:http2
- 3:http3 Default 1.
 
- redirection Number
- When redirection occurs, whether to continue browsing, 0-No, 1-Yes, the default is 1.
- transmissionSize Number
- The transmission size, in KB. The default value is 2048KB. The transmission size of the downloaded file must be between 1 and 20480KB.
- validateKeywords String
- Verify keywords.
- verifyWay Number
- The verification method.- 0: Do not validate
- 1: Validation string
- 2:MD5 validation.
 
- whiteList String
- DNS hijack whitelist. Match rules support IP, IP wildcard, subnet mask, and CNAME. Multiple match rules can be filled in. Multiple match rules are separated by vertical bars (|). For example, www.aliyun.com:203.0.3.55 | 203.3.44.67 indicates that all other IP addresses under the www.aliyun.com domain except 203.0.3.55 and 203.3.44.67 are hijacked.
SyntheticTaskMonitorConfNetDns, SyntheticTaskMonitorConfNetDnsArgs            
- TargetUrl string
- The target URL.
- DnsServer intIp Type 
- The IP address type of the DNS server.- 0 (default):ipv4
- 1:ipv6 2: Automatic.
 
- NsServer string
- The IP address of the NS server. The default value is 114.114.114.114.
- QueryMethod int
- DNS query method.- 0 (default): Recursive
- 1: Iteration.
 
- Timeout int
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- TargetUrl string
- The target URL.
- DnsServer intIp Type 
- The IP address type of the DNS server.- 0 (default):ipv4
- 1:ipv6 2: Automatic.
 
- NsServer string
- The IP address of the NS server. The default value is 114.114.114.114.
- QueryMethod int
- DNS query method.- 0 (default): Recursive
- 1: Iteration.
 
- Timeout int
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- targetUrl String
- The target URL.
- dnsServer IntegerIp Type 
- The IP address type of the DNS server.- 0 (default):ipv4
- 1:ipv6 2: Automatic.
 
- nsServer String
- The IP address of the NS server. The default value is 114.114.114.114.
- queryMethod Integer
- DNS query method.- 0 (default): Recursive
- 1: Iteration.
 
- timeout Integer
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- targetUrl string
- The target URL.
- dnsServer numberIp Type 
- The IP address type of the DNS server.- 0 (default):ipv4
- 1:ipv6 2: Automatic.
 
- nsServer string
- The IP address of the NS server. The default value is 114.114.114.114.
- queryMethod number
- DNS query method.- 0 (default): Recursive
- 1: Iteration.
 
- timeout number
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- target_url str
- The target URL.
- dns_server_ intip_ type 
- The IP address type of the DNS server.- 0 (default):ipv4
- 1:ipv6 2: Automatic.
 
- ns_server str
- The IP address of the NS server. The default value is 114.114.114.114.
- query_method int
- DNS query method.- 0 (default): Recursive
- 1: Iteration.
 
- timeout int
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- targetUrl String
- The target URL.
- dnsServer NumberIp Type 
- The IP address type of the DNS server.- 0 (default):ipv4
- 1:ipv6 2: Automatic.
 
- nsServer String
- The IP address of the NS server. The default value is 114.114.114.114.
- queryMethod Number
- DNS query method.- 0 (default): Recursive
- 1: Iteration.
 
- timeout Number
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
SyntheticTaskMonitorConfNetIcmp, SyntheticTaskMonitorConfNetIcmpArgs            
- TargetUrl string
- The target URL.
- Interval int
- The interval between TCP connections. The unit is milliseconds (ms), the minimum value is 200, the maximum value is 10000, and the default value is 200.
- PackageNum int
- Number of ICMP(Ping) packets sent. The minimum value is 1, the maximum value is 50, and the default is 4.
- PackageSize int
- The size of the sent ICMP(Ping) packet. The unit is byte. The ICMP(PING) packet size is limited to 32, 64, 128, 256, 512, 1024, 1080, and 1450.
- SplitPackage bool
- Whether to split ICMP(Ping) packets. The default is true.
- Timeout int
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- TracertEnable bool
- Whether to enable tracert. The default is true.
- TracertNum intMax 
- The maximum number of hops for tracert. The minimum value is 1, the maximum value is 128, and the default value is 20.
- TracertTimeout int
- The time-out of tracert. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 60000.
- TargetUrl string
- The target URL.
- Interval int
- The interval between TCP connections. The unit is milliseconds (ms), the minimum value is 200, the maximum value is 10000, and the default value is 200.
- PackageNum int
- Number of ICMP(Ping) packets sent. The minimum value is 1, the maximum value is 50, and the default is 4.
- PackageSize int
- The size of the sent ICMP(Ping) packet. The unit is byte. The ICMP(PING) packet size is limited to 32, 64, 128, 256, 512, 1024, 1080, and 1450.
- SplitPackage bool
- Whether to split ICMP(Ping) packets. The default is true.
- Timeout int
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- TracertEnable bool
- Whether to enable tracert. The default is true.
- TracertNum intMax 
- The maximum number of hops for tracert. The minimum value is 1, the maximum value is 128, and the default value is 20.
- TracertTimeout int
- The time-out of tracert. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 60000.
- targetUrl String
- The target URL.
- interval Integer
- The interval between TCP connections. The unit is milliseconds (ms), the minimum value is 200, the maximum value is 10000, and the default value is 200.
- packageNum Integer
- Number of ICMP(Ping) packets sent. The minimum value is 1, the maximum value is 50, and the default is 4.
- packageSize Integer
- The size of the sent ICMP(Ping) packet. The unit is byte. The ICMP(PING) packet size is limited to 32, 64, 128, 256, 512, 1024, 1080, and 1450.
- splitPackage Boolean
- Whether to split ICMP(Ping) packets. The default is true.
- timeout Integer
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- tracertEnable Boolean
- Whether to enable tracert. The default is true.
- tracertNum IntegerMax 
- The maximum number of hops for tracert. The minimum value is 1, the maximum value is 128, and the default value is 20.
- tracertTimeout Integer
- The time-out of tracert. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 60000.
- targetUrl string
- The target URL.
- interval number
- The interval between TCP connections. The unit is milliseconds (ms), the minimum value is 200, the maximum value is 10000, and the default value is 200.
- packageNum number
- Number of ICMP(Ping) packets sent. The minimum value is 1, the maximum value is 50, and the default is 4.
- packageSize number
- The size of the sent ICMP(Ping) packet. The unit is byte. The ICMP(PING) packet size is limited to 32, 64, 128, 256, 512, 1024, 1080, and 1450.
- splitPackage boolean
- Whether to split ICMP(Ping) packets. The default is true.
- timeout number
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- tracertEnable boolean
- Whether to enable tracert. The default is true.
- tracertNum numberMax 
- The maximum number of hops for tracert. The minimum value is 1, the maximum value is 128, and the default value is 20.
- tracertTimeout number
- The time-out of tracert. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 60000.
- target_url str
- The target URL.
- interval int
- The interval between TCP connections. The unit is milliseconds (ms), the minimum value is 200, the maximum value is 10000, and the default value is 200.
- package_num int
- Number of ICMP(Ping) packets sent. The minimum value is 1, the maximum value is 50, and the default is 4.
- package_size int
- The size of the sent ICMP(Ping) packet. The unit is byte. The ICMP(PING) packet size is limited to 32, 64, 128, 256, 512, 1024, 1080, and 1450.
- split_package bool
- Whether to split ICMP(Ping) packets. The default is true.
- timeout int
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- tracert_enable bool
- Whether to enable tracert. The default is true.
- tracert_num_ intmax 
- The maximum number of hops for tracert. The minimum value is 1, the maximum value is 128, and the default value is 20.
- tracert_timeout int
- The time-out of tracert. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 60000.
- targetUrl String
- The target URL.
- interval Number
- The interval between TCP connections. The unit is milliseconds (ms), the minimum value is 200, the maximum value is 10000, and the default value is 200.
- packageNum Number
- Number of ICMP(Ping) packets sent. The minimum value is 1, the maximum value is 50, and the default is 4.
- packageSize Number
- The size of the sent ICMP(Ping) packet. The unit is byte. The ICMP(PING) packet size is limited to 32, 64, 128, 256, 512, 1024, 1080, and 1450.
- splitPackage Boolean
- Whether to split ICMP(Ping) packets. The default is true.
- timeout Number
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- tracertEnable Boolean
- Whether to enable tracert. The default is true.
- tracertNum NumberMax 
- The maximum number of hops for tracert. The minimum value is 1, the maximum value is 128, and the default value is 20.
- tracertTimeout Number
- The time-out of tracert. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 60000.
SyntheticTaskMonitorConfNetTcp, SyntheticTaskMonitorConfNetTcpArgs            
- TargetUrl string
- The target URL.
- ConnectTimes int
- The number of TCP connections established. The minimum value is 1, the maximum value is 16, and the default is 4.
- Interval int
- The interval between TCP connections. The unit is milliseconds (ms), the minimum value is 200, the maximum value is 10000, and the default value is 200.
- Timeout int
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- TracertEnable bool
- Whether to enable tracert. The default is true.
- TracertNum intMax 
- The maximum number of hops for tracert. The minimum value is 1, the maximum value is 128, and the default value is 20.
- TracertTimeout int
- The time-out of tracert. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 60000.
- TargetUrl string
- The target URL.
- ConnectTimes int
- The number of TCP connections established. The minimum value is 1, the maximum value is 16, and the default is 4.
- Interval int
- The interval between TCP connections. The unit is milliseconds (ms), the minimum value is 200, the maximum value is 10000, and the default value is 200.
- Timeout int
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- TracertEnable bool
- Whether to enable tracert. The default is true.
- TracertNum intMax 
- The maximum number of hops for tracert. The minimum value is 1, the maximum value is 128, and the default value is 20.
- TracertTimeout int
- The time-out of tracert. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 60000.
- targetUrl String
- The target URL.
- connectTimes Integer
- The number of TCP connections established. The minimum value is 1, the maximum value is 16, and the default is 4.
- interval Integer
- The interval between TCP connections. The unit is milliseconds (ms), the minimum value is 200, the maximum value is 10000, and the default value is 200.
- timeout Integer
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- tracertEnable Boolean
- Whether to enable tracert. The default is true.
- tracertNum IntegerMax 
- The maximum number of hops for tracert. The minimum value is 1, the maximum value is 128, and the default value is 20.
- tracertTimeout Integer
- The time-out of tracert. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 60000.
- targetUrl string
- The target URL.
- connectTimes number
- The number of TCP connections established. The minimum value is 1, the maximum value is 16, and the default is 4.
- interval number
- The interval between TCP connections. The unit is milliseconds (ms), the minimum value is 200, the maximum value is 10000, and the default value is 200.
- timeout number
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- tracertEnable boolean
- Whether to enable tracert. The default is true.
- tracertNum numberMax 
- The maximum number of hops for tracert. The minimum value is 1, the maximum value is 128, and the default value is 20.
- tracertTimeout number
- The time-out of tracert. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 60000.
- target_url str
- The target URL.
- connect_times int
- The number of TCP connections established. The minimum value is 1, the maximum value is 16, and the default is 4.
- interval int
- The interval between TCP connections. The unit is milliseconds (ms), the minimum value is 200, the maximum value is 10000, and the default value is 200.
- timeout int
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- tracert_enable bool
- Whether to enable tracert. The default is true.
- tracert_num_ intmax 
- The maximum number of hops for tracert. The minimum value is 1, the maximum value is 128, and the default value is 20.
- tracert_timeout int
- The time-out of tracert. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 60000.
- targetUrl String
- The target URL.
- connectTimes Number
- The number of TCP connections established. The minimum value is 1, the maximum value is 16, and the default is 4.
- interval Number
- The interval between TCP connections. The unit is milliseconds (ms), the minimum value is 200, the maximum value is 10000, and the default value is 200.
- timeout Number
- TCP dial test timeout. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 20000.
- tracertEnable Boolean
- Whether to enable tracert. The default is true.
- tracertNum NumberMax 
- The maximum number of hops for tracert. The minimum value is 1, the maximum value is 128, and the default value is 20.
- tracertTimeout Number
- The time-out of tracert. The unit is milliseconds (ms), the minimum value is 1000, the maximum value is 300000, and the default value is 60000.
SyntheticTaskMonitorConfStream, SyntheticTaskMonitorConfStreamArgs          
- CustomHeader Dictionary<string, string>Content 
- Custom header, in JSON Map format.
- PlayerType int
- Player, do not pass the default 12.- 12:VLC
- 2:FlashPlayer.
 
- StreamAddress intType 
- Resource address type:- 1: Resource address.
- 0: page address, not 0 by default.
 
- StreamMonitor intTimeout 
- Monitoring duration, in seconds, up to 60s, not 60 by default.
- StreamType int
- Audio and video flags: 0-video, 1-audio.
- TargetUrl string
- The target URL.
- WhiteList string
- DNS hijack whitelist. Match rules support IP, IP wildcard, subnet mask, and CNAME. Multiple match rules can be filled in. Multiple match rules are separated by vertical bars (|). For example, www.aliyun.com:203.0.3.55 | 203.3.44.67 indicates that all other IP addresses under the www.aliyun.com domain except 203.0.3.55 and 203.3.44.67 are hijacked.
- CustomHeader map[string]stringContent 
- Custom header, in JSON Map format.
- PlayerType int
- Player, do not pass the default 12.- 12:VLC
- 2:FlashPlayer.
 
- StreamAddress intType 
- Resource address type:- 1: Resource address.
- 0: page address, not 0 by default.
 
- StreamMonitor intTimeout 
- Monitoring duration, in seconds, up to 60s, not 60 by default.
- StreamType int
- Audio and video flags: 0-video, 1-audio.
- TargetUrl string
- The target URL.
- WhiteList string
- DNS hijack whitelist. Match rules support IP, IP wildcard, subnet mask, and CNAME. Multiple match rules can be filled in. Multiple match rules are separated by vertical bars (|). For example, www.aliyun.com:203.0.3.55 | 203.3.44.67 indicates that all other IP addresses under the www.aliyun.com domain except 203.0.3.55 and 203.3.44.67 are hijacked.
- customHeader Map<String,String>Content 
- Custom header, in JSON Map format.
- playerType Integer
- Player, do not pass the default 12.- 12:VLC
- 2:FlashPlayer.
 
- streamAddress IntegerType 
- Resource address type:- 1: Resource address.
- 0: page address, not 0 by default.
 
- streamMonitor IntegerTimeout 
- Monitoring duration, in seconds, up to 60s, not 60 by default.
- streamType Integer
- Audio and video flags: 0-video, 1-audio.
- targetUrl String
- The target URL.
- whiteList String
- DNS hijack whitelist. Match rules support IP, IP wildcard, subnet mask, and CNAME. Multiple match rules can be filled in. Multiple match rules are separated by vertical bars (|). For example, www.aliyun.com:203.0.3.55 | 203.3.44.67 indicates that all other IP addresses under the www.aliyun.com domain except 203.0.3.55 and 203.3.44.67 are hijacked.
- customHeader {[key: string]: string}Content 
- Custom header, in JSON Map format.
- playerType number
- Player, do not pass the default 12.- 12:VLC
- 2:FlashPlayer.
 
- streamAddress numberType 
- Resource address type:- 1: Resource address.
- 0: page address, not 0 by default.
 
- streamMonitor numberTimeout 
- Monitoring duration, in seconds, up to 60s, not 60 by default.
- streamType number
- Audio and video flags: 0-video, 1-audio.
- targetUrl string
- The target URL.
- whiteList string
- DNS hijack whitelist. Match rules support IP, IP wildcard, subnet mask, and CNAME. Multiple match rules can be filled in. Multiple match rules are separated by vertical bars (|). For example, www.aliyun.com:203.0.3.55 | 203.3.44.67 indicates that all other IP addresses under the www.aliyun.com domain except 203.0.3.55 and 203.3.44.67 are hijacked.
- custom_header_ Mapping[str, str]content 
- Custom header, in JSON Map format.
- player_type int
- Player, do not pass the default 12.- 12:VLC
- 2:FlashPlayer.
 
- stream_address_ inttype 
- Resource address type:- 1: Resource address.
- 0: page address, not 0 by default.
 
- stream_monitor_ inttimeout 
- Monitoring duration, in seconds, up to 60s, not 60 by default.
- stream_type int
- Audio and video flags: 0-video, 1-audio.
- target_url str
- The target URL.
- white_list str
- DNS hijack whitelist. Match rules support IP, IP wildcard, subnet mask, and CNAME. Multiple match rules can be filled in. Multiple match rules are separated by vertical bars (|). For example, www.aliyun.com:203.0.3.55 | 203.3.44.67 indicates that all other IP addresses under the www.aliyun.com domain except 203.0.3.55 and 203.3.44.67 are hijacked.
- customHeader Map<String>Content 
- Custom header, in JSON Map format.
- playerType Number
- Player, do not pass the default 12.- 12:VLC
- 2:FlashPlayer.
 
- streamAddress NumberType 
- Resource address type:- 1: Resource address.
- 0: page address, not 0 by default.
 
- streamMonitor NumberTimeout 
- Monitoring duration, in seconds, up to 60s, not 60 by default.
- streamType Number
- Audio and video flags: 0-video, 1-audio.
- targetUrl String
- The target URL.
- whiteList String
- DNS hijack whitelist. Match rules support IP, IP wildcard, subnet mask, and CNAME. Multiple match rules can be filled in. Multiple match rules are separated by vertical bars (|). For example, www.aliyun.com:203.0.3.55 | 203.3.44.67 indicates that all other IP addresses under the www.aliyun.com domain except 203.0.3.55 and 203.3.44.67 are hijacked.
SyntheticTaskMonitorConfWebsite, SyntheticTaskMonitorConfWebsiteArgs          
- TargetUrl string
- The target URL.
- AutomaticScrolling int
- Whether to support automatic scrolling screen, loading page.- 0 (default): No 1: Yes.
 
- CustomHeader int
- Custom header.- 0 (default): Off
- 1: Modify the first package
- 2: Modify all packages.
 
- CustomHeader Dictionary<string, string>Content 
- Custom header, in JSON Map format.
- DisableCache int
- Whether to disable caching.- 0: not disabled
- 1 (default): Disabled.
 
- DisableCompression int
- The Accept-Encoding field is used to determine whether to Accept compressed files. 0-do not disable, 1-disable, the default is 0.
- DnsHijack stringWhitelist 
- When a domain name (such as www.aliyun.com) is resolved, if the resolved IP address or CNAME is not in the DNS hijacking white list, the user will fail to access or return a target IP address that is not Aliyun. If the IP or CNAME in the resolution result is in the DNS white list, it will be determined that DNS hijacking has not occurred. Fill in the format: Domain name: matching rules. Match rules support IP, IP wildcard, subnet mask, and CNAME. Multiple match rules can be filled in. Multiple match rules are separated by vertical bars (|). For example, www.aliyun.com:203.0.3.55 | 203.3.44.67 indicates that all other IP addresses under the www.aliyun.com domain except 203.0.3.55 and 203.3.44.67 are hijacked.
- ElementBlacklist string
- If an element configured in the element blacklist appears during page loading, the element is not requested to be loaded.
- FilterInvalid intIp 
- Whether to filter invalid IP parameters. 0: filter, 1: do not filter. The default value is 0.
- FlowHijack intJump Times 
- Identify elements: Set the total number of elements on the Browse page.
- FlowHijack stringLogo 
- Hijacking ID: Set the matching key information. Enter the hijacking keyword or key element, with an asterisk (*) allowed.
- IgnoreCertificate intError 
- Whether to ignore certificate errors during certificate verification in SSL Handshake and continue browsing. 0-do not ignore, 1-ignore. The default value is 1.
- MonitorTimeout int
- Monitoring timeout, in ms. Not required, 20000 by default.
- PageTamper string
- Monitoring the page appears to be tampered with elements other than the domain settings that belong to the page. Common manifestations are pop-up advertisements, floating advertisements, jumps, etc. Fill in the format: Domain name: Element. You can fill multiple elements separated by a vertical bar (|). For example, www.aliyun.com:|/cc/bb/a.gif |/vv/bb/cc.jpg indicates that all the other elements of the www.aliyun.com domain name except the basic document,/cc/bb/a.gif, and/vv/bb/cc.jpg are tampered.
- Redirection int
- When redirection occurs, whether to continue browsing, 0-No, 1-Yes, the default is 1.
- SlowElement intThreshold 
- The slow element threshold, in ms, is 5000 by default and can be selected from 1 to 300000ms.
- VerifyString stringBlacklist 
- The verification string is an arbitrary string in the source code of the monitoring page. If the source code returned by the client contains any of the blacklisted strings, 650 error is returned. Multiple strings are separated by a vertical bar (|).
- VerifyString stringWhitelist 
- The verification string is an arbitrary string in the source code of the monitoring page. The source code returned by the client must contain all the strings in the whitelist. Otherwise, 650 error is returned. Multiple strings are separated by a vertical bar (|).
- WaitCompletion intTime 
- The maximum waiting time, in ms, is 5000 by default and can be selected from 5000 ms to 300000ms.
- TargetUrl string
- The target URL.
- AutomaticScrolling int
- Whether to support automatic scrolling screen, loading page.- 0 (default): No 1: Yes.
 
- CustomHeader int
- Custom header.- 0 (default): Off
- 1: Modify the first package
- 2: Modify all packages.
 
- CustomHeader map[string]stringContent 
- Custom header, in JSON Map format.
- DisableCache int
- Whether to disable caching.- 0: not disabled
- 1 (default): Disabled.
 
- DisableCompression int
- The Accept-Encoding field is used to determine whether to Accept compressed files. 0-do not disable, 1-disable, the default is 0.
- DnsHijack stringWhitelist 
- When a domain name (such as www.aliyun.com) is resolved, if the resolved IP address or CNAME is not in the DNS hijacking white list, the user will fail to access or return a target IP address that is not Aliyun. If the IP or CNAME in the resolution result is in the DNS white list, it will be determined that DNS hijacking has not occurred. Fill in the format: Domain name: matching rules. Match rules support IP, IP wildcard, subnet mask, and CNAME. Multiple match rules can be filled in. Multiple match rules are separated by vertical bars (|). For example, www.aliyun.com:203.0.3.55 | 203.3.44.67 indicates that all other IP addresses under the www.aliyun.com domain except 203.0.3.55 and 203.3.44.67 are hijacked.
- ElementBlacklist string
- If an element configured in the element blacklist appears during page loading, the element is not requested to be loaded.
- FilterInvalid intIp 
- Whether to filter invalid IP parameters. 0: filter, 1: do not filter. The default value is 0.
- FlowHijack intJump Times 
- Identify elements: Set the total number of elements on the Browse page.
- FlowHijack stringLogo 
- Hijacking ID: Set the matching key information. Enter the hijacking keyword or key element, with an asterisk (*) allowed.
- IgnoreCertificate intError 
- Whether to ignore certificate errors during certificate verification in SSL Handshake and continue browsing. 0-do not ignore, 1-ignore. The default value is 1.
- MonitorTimeout int
- Monitoring timeout, in ms. Not required, 20000 by default.
- PageTamper string
- Monitoring the page appears to be tampered with elements other than the domain settings that belong to the page. Common manifestations are pop-up advertisements, floating advertisements, jumps, etc. Fill in the format: Domain name: Element. You can fill multiple elements separated by a vertical bar (|). For example, www.aliyun.com:|/cc/bb/a.gif |/vv/bb/cc.jpg indicates that all the other elements of the www.aliyun.com domain name except the basic document,/cc/bb/a.gif, and/vv/bb/cc.jpg are tampered.
- Redirection int
- When redirection occurs, whether to continue browsing, 0-No, 1-Yes, the default is 1.
- SlowElement intThreshold 
- The slow element threshold, in ms, is 5000 by default and can be selected from 1 to 300000ms.
- VerifyString stringBlacklist 
- The verification string is an arbitrary string in the source code of the monitoring page. If the source code returned by the client contains any of the blacklisted strings, 650 error is returned. Multiple strings are separated by a vertical bar (|).
- VerifyString stringWhitelist 
- The verification string is an arbitrary string in the source code of the monitoring page. The source code returned by the client must contain all the strings in the whitelist. Otherwise, 650 error is returned. Multiple strings are separated by a vertical bar (|).
- WaitCompletion intTime 
- The maximum waiting time, in ms, is 5000 by default and can be selected from 5000 ms to 300000ms.
- targetUrl String
- The target URL.
- automaticScrolling Integer
- Whether to support automatic scrolling screen, loading page.- 0 (default): No 1: Yes.
 
- customHeader Integer
- Custom header.- 0 (default): Off
- 1: Modify the first package
- 2: Modify all packages.
 
- customHeader Map<String,String>Content 
- Custom header, in JSON Map format.
- disableCache Integer
- Whether to disable caching.- 0: not disabled
- 1 (default): Disabled.
 
- disableCompression Integer
- The Accept-Encoding field is used to determine whether to Accept compressed files. 0-do not disable, 1-disable, the default is 0.
- dnsHijack StringWhitelist 
- When a domain name (such as www.aliyun.com) is resolved, if the resolved IP address or CNAME is not in the DNS hijacking white list, the user will fail to access or return a target IP address that is not Aliyun. If the IP or CNAME in the resolution result is in the DNS white list, it will be determined that DNS hijacking has not occurred. Fill in the format: Domain name: matching rules. Match rules support IP, IP wildcard, subnet mask, and CNAME. Multiple match rules can be filled in. Multiple match rules are separated by vertical bars (|). For example, www.aliyun.com:203.0.3.55 | 203.3.44.67 indicates that all other IP addresses under the www.aliyun.com domain except 203.0.3.55 and 203.3.44.67 are hijacked.
- elementBlacklist String
- If an element configured in the element blacklist appears during page loading, the element is not requested to be loaded.
- filterInvalid IntegerIp 
- Whether to filter invalid IP parameters. 0: filter, 1: do not filter. The default value is 0.
- flowHijack IntegerJump Times 
- Identify elements: Set the total number of elements on the Browse page.
- flowHijack StringLogo 
- Hijacking ID: Set the matching key information. Enter the hijacking keyword or key element, with an asterisk (*) allowed.
- ignoreCertificate IntegerError 
- Whether to ignore certificate errors during certificate verification in SSL Handshake and continue browsing. 0-do not ignore, 1-ignore. The default value is 1.
- monitorTimeout Integer
- Monitoring timeout, in ms. Not required, 20000 by default.
- pageTamper String
- Monitoring the page appears to be tampered with elements other than the domain settings that belong to the page. Common manifestations are pop-up advertisements, floating advertisements, jumps, etc. Fill in the format: Domain name: Element. You can fill multiple elements separated by a vertical bar (|). For example, www.aliyun.com:|/cc/bb/a.gif |/vv/bb/cc.jpg indicates that all the other elements of the www.aliyun.com domain name except the basic document,/cc/bb/a.gif, and/vv/bb/cc.jpg are tampered.
- redirection Integer
- When redirection occurs, whether to continue browsing, 0-No, 1-Yes, the default is 1.
- slowElement IntegerThreshold 
- The slow element threshold, in ms, is 5000 by default and can be selected from 1 to 300000ms.
- verifyString StringBlacklist 
- The verification string is an arbitrary string in the source code of the monitoring page. If the source code returned by the client contains any of the blacklisted strings, 650 error is returned. Multiple strings are separated by a vertical bar (|).
- verifyString StringWhitelist 
- The verification string is an arbitrary string in the source code of the monitoring page. The source code returned by the client must contain all the strings in the whitelist. Otherwise, 650 error is returned. Multiple strings are separated by a vertical bar (|).
- waitCompletion IntegerTime 
- The maximum waiting time, in ms, is 5000 by default and can be selected from 5000 ms to 300000ms.
- targetUrl string
- The target URL.
- automaticScrolling number
- Whether to support automatic scrolling screen, loading page.- 0 (default): No 1: Yes.
 
- customHeader number
- Custom header.- 0 (default): Off
- 1: Modify the first package
- 2: Modify all packages.
 
- customHeader {[key: string]: string}Content 
- Custom header, in JSON Map format.
- disableCache number
- Whether to disable caching.- 0: not disabled
- 1 (default): Disabled.
 
- disableCompression number
- The Accept-Encoding field is used to determine whether to Accept compressed files. 0-do not disable, 1-disable, the default is 0.
- dnsHijack stringWhitelist 
- When a domain name (such as www.aliyun.com) is resolved, if the resolved IP address or CNAME is not in the DNS hijacking white list, the user will fail to access or return a target IP address that is not Aliyun. If the IP or CNAME in the resolution result is in the DNS white list, it will be determined that DNS hijacking has not occurred. Fill in the format: Domain name: matching rules. Match rules support IP, IP wildcard, subnet mask, and CNAME. Multiple match rules can be filled in. Multiple match rules are separated by vertical bars (|). For example, www.aliyun.com:203.0.3.55 | 203.3.44.67 indicates that all other IP addresses under the www.aliyun.com domain except 203.0.3.55 and 203.3.44.67 are hijacked.
- elementBlacklist string
- If an element configured in the element blacklist appears during page loading, the element is not requested to be loaded.
- filterInvalid numberIp 
- Whether to filter invalid IP parameters. 0: filter, 1: do not filter. The default value is 0.
- flowHijack numberJump Times 
- Identify elements: Set the total number of elements on the Browse page.
- flowHijack stringLogo 
- Hijacking ID: Set the matching key information. Enter the hijacking keyword or key element, with an asterisk (*) allowed.
- ignoreCertificate numberError 
- Whether to ignore certificate errors during certificate verification in SSL Handshake and continue browsing. 0-do not ignore, 1-ignore. The default value is 1.
- monitorTimeout number
- Monitoring timeout, in ms. Not required, 20000 by default.
- pageTamper string
- Monitoring the page appears to be tampered with elements other than the domain settings that belong to the page. Common manifestations are pop-up advertisements, floating advertisements, jumps, etc. Fill in the format: Domain name: Element. You can fill multiple elements separated by a vertical bar (|). For example, www.aliyun.com:|/cc/bb/a.gif |/vv/bb/cc.jpg indicates that all the other elements of the www.aliyun.com domain name except the basic document,/cc/bb/a.gif, and/vv/bb/cc.jpg are tampered.
- redirection number
- When redirection occurs, whether to continue browsing, 0-No, 1-Yes, the default is 1.
- slowElement numberThreshold 
- The slow element threshold, in ms, is 5000 by default and can be selected from 1 to 300000ms.
- verifyString stringBlacklist 
- The verification string is an arbitrary string in the source code of the monitoring page. If the source code returned by the client contains any of the blacklisted strings, 650 error is returned. Multiple strings are separated by a vertical bar (|).
- verifyString stringWhitelist 
- The verification string is an arbitrary string in the source code of the monitoring page. The source code returned by the client must contain all the strings in the whitelist. Otherwise, 650 error is returned. Multiple strings are separated by a vertical bar (|).
- waitCompletion numberTime 
- The maximum waiting time, in ms, is 5000 by default and can be selected from 5000 ms to 300000ms.
- target_url str
- The target URL.
- automatic_scrolling int
- Whether to support automatic scrolling screen, loading page.- 0 (default): No 1: Yes.
 
- custom_header int
- Custom header.- 0 (default): Off
- 1: Modify the first package
- 2: Modify all packages.
 
- custom_header_ Mapping[str, str]content 
- Custom header, in JSON Map format.
- disable_cache int
- Whether to disable caching.- 0: not disabled
- 1 (default): Disabled.
 
- disable_compression int
- The Accept-Encoding field is used to determine whether to Accept compressed files. 0-do not disable, 1-disable, the default is 0.
- dns_hijack_ strwhitelist 
- When a domain name (such as www.aliyun.com) is resolved, if the resolved IP address or CNAME is not in the DNS hijacking white list, the user will fail to access or return a target IP address that is not Aliyun. If the IP or CNAME in the resolution result is in the DNS white list, it will be determined that DNS hijacking has not occurred. Fill in the format: Domain name: matching rules. Match rules support IP, IP wildcard, subnet mask, and CNAME. Multiple match rules can be filled in. Multiple match rules are separated by vertical bars (|). For example, www.aliyun.com:203.0.3.55 | 203.3.44.67 indicates that all other IP addresses under the www.aliyun.com domain except 203.0.3.55 and 203.3.44.67 are hijacked.
- element_blacklist str
- If an element configured in the element blacklist appears during page loading, the element is not requested to be loaded.
- filter_invalid_ intip 
- Whether to filter invalid IP parameters. 0: filter, 1: do not filter. The default value is 0.
- flow_hijack_ intjump_ times 
- Identify elements: Set the total number of elements on the Browse page.
- flow_hijack_ strlogo 
- Hijacking ID: Set the matching key information. Enter the hijacking keyword or key element, with an asterisk (*) allowed.
- ignore_certificate_ interror 
- Whether to ignore certificate errors during certificate verification in SSL Handshake and continue browsing. 0-do not ignore, 1-ignore. The default value is 1.
- monitor_timeout int
- Monitoring timeout, in ms. Not required, 20000 by default.
- page_tamper str
- Monitoring the page appears to be tampered with elements other than the domain settings that belong to the page. Common manifestations are pop-up advertisements, floating advertisements, jumps, etc. Fill in the format: Domain name: Element. You can fill multiple elements separated by a vertical bar (|). For example, www.aliyun.com:|/cc/bb/a.gif |/vv/bb/cc.jpg indicates that all the other elements of the www.aliyun.com domain name except the basic document,/cc/bb/a.gif, and/vv/bb/cc.jpg are tampered.
- redirection int
- When redirection occurs, whether to continue browsing, 0-No, 1-Yes, the default is 1.
- slow_element_ intthreshold 
- The slow element threshold, in ms, is 5000 by default and can be selected from 1 to 300000ms.
- verify_string_ strblacklist 
- The verification string is an arbitrary string in the source code of the monitoring page. If the source code returned by the client contains any of the blacklisted strings, 650 error is returned. Multiple strings are separated by a vertical bar (|).
- verify_string_ strwhitelist 
- The verification string is an arbitrary string in the source code of the monitoring page. The source code returned by the client must contain all the strings in the whitelist. Otherwise, 650 error is returned. Multiple strings are separated by a vertical bar (|).
- wait_completion_ inttime 
- The maximum waiting time, in ms, is 5000 by default and can be selected from 5000 ms to 300000ms.
- targetUrl String
- The target URL.
- automaticScrolling Number
- Whether to support automatic scrolling screen, loading page.- 0 (default): No 1: Yes.
 
- customHeader Number
- Custom header.- 0 (default): Off
- 1: Modify the first package
- 2: Modify all packages.
 
- customHeader Map<String>Content 
- Custom header, in JSON Map format.
- disableCache Number
- Whether to disable caching.- 0: not disabled
- 1 (default): Disabled.
 
- disableCompression Number
- The Accept-Encoding field is used to determine whether to Accept compressed files. 0-do not disable, 1-disable, the default is 0.
- dnsHijack StringWhitelist 
- When a domain name (such as www.aliyun.com) is resolved, if the resolved IP address or CNAME is not in the DNS hijacking white list, the user will fail to access or return a target IP address that is not Aliyun. If the IP or CNAME in the resolution result is in the DNS white list, it will be determined that DNS hijacking has not occurred. Fill in the format: Domain name: matching rules. Match rules support IP, IP wildcard, subnet mask, and CNAME. Multiple match rules can be filled in. Multiple match rules are separated by vertical bars (|). For example, www.aliyun.com:203.0.3.55 | 203.3.44.67 indicates that all other IP addresses under the www.aliyun.com domain except 203.0.3.55 and 203.3.44.67 are hijacked.
- elementBlacklist String
- If an element configured in the element blacklist appears during page loading, the element is not requested to be loaded.
- filterInvalid NumberIp 
- Whether to filter invalid IP parameters. 0: filter, 1: do not filter. The default value is 0.
- flowHijack NumberJump Times 
- Identify elements: Set the total number of elements on the Browse page.
- flowHijack StringLogo 
- Hijacking ID: Set the matching key information. Enter the hijacking keyword or key element, with an asterisk (*) allowed.
- ignoreCertificate NumberError 
- Whether to ignore certificate errors during certificate verification in SSL Handshake and continue browsing. 0-do not ignore, 1-ignore. The default value is 1.
- monitorTimeout Number
- Monitoring timeout, in ms. Not required, 20000 by default.
- pageTamper String
- Monitoring the page appears to be tampered with elements other than the domain settings that belong to the page. Common manifestations are pop-up advertisements, floating advertisements, jumps, etc. Fill in the format: Domain name: Element. You can fill multiple elements separated by a vertical bar (|). For example, www.aliyun.com:|/cc/bb/a.gif |/vv/bb/cc.jpg indicates that all the other elements of the www.aliyun.com domain name except the basic document,/cc/bb/a.gif, and/vv/bb/cc.jpg are tampered.
- redirection Number
- When redirection occurs, whether to continue browsing, 0-No, 1-Yes, the default is 1.
- slowElement NumberThreshold 
- The slow element threshold, in ms, is 5000 by default and can be selected from 1 to 300000ms.
- verifyString StringBlacklist 
- The verification string is an arbitrary string in the source code of the monitoring page. If the source code returned by the client contains any of the blacklisted strings, 650 error is returned. Multiple strings are separated by a vertical bar (|).
- verifyString StringWhitelist 
- The verification string is an arbitrary string in the source code of the monitoring page. The source code returned by the client must contain all the strings in the whitelist. Otherwise, 650 error is returned. Multiple strings are separated by a vertical bar (|).
- waitCompletion NumberTime 
- The maximum waiting time, in ms, is 5000 by default and can be selected from 5000 ms to 300000ms.
Import
ARMS Synthetic Task can be imported using the id, e.g.
$ pulumi import alicloud:arms/syntheticTask:SyntheticTask example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the alicloudTerraform Provider.