1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. arms
  5. SyntheticTask
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.arms.SyntheticTask

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    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, &resourcemanager.GetResourceGroupsArgs{}, 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={
            "api_http": {
                "target_url": "string",
                "connect_timeout": 0,
                "method": "string",
                "request_body": {
                    "content": "string",
                    "type": "string",
                },
                "request_headers": {
                    "string": "string",
                },
                "timeout": 0,
            },
            "file_download": {
                "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": {
                "target_url": "string",
                "dns_server_ip_type": 0,
                "ns_server": "string",
                "query_method": 0,
                "timeout": 0,
            },
            "net_icmp": {
                "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": {
                "target_url": "string",
                "connect_times": 0,
                "interval": 0,
                "timeout": 0,
                "tracert_enable": False,
                "tracert_num_max": 0,
                "tracert_timeout": 0,
            },
            "stream": {
                "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": {
                "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=[{
            "city_code": "string",
            "client_type": 0,
            "operator_code": "string",
        }],
        synthetic_task_name="string",
        task_type=0,
        available_assertions=[{
            "expect": "string",
            "operator": "string",
            "type": "string",
            "target": "string",
        }],
        common_setting={
            "custom_host": {
                "hosts": [{
                    "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={
            "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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SyntheticTask resource accepts the following input properties:

    Frequency string
    Frequency.
    MonitorCategory int
    Classification of selected monitors.
    MonitorConf Pulumi.AliCloud.Arms.Inputs.SyntheticTaskMonitorConf
    Monitoring configuration. See monitor_conf below.
    Monitors List<Pulumi.AliCloud.Arms.Inputs.SyntheticTaskMonitor>
    List of selected monitors. See monitors below.
    SyntheticTaskName string
    The name of synthetic task.
    TaskType int
    The type of synthetic task.
    AvailableAssertions List<Pulumi.AliCloud.Arms.Inputs.SyntheticTaskAvailableAssertion>
    Assertion List. See available_assertions below.
    CommonSetting Pulumi.AliCloud.Arms.Inputs.SyntheticTaskCommonSetting
    Common settings. See common_setting below.
    CustomPeriod Pulumi.AliCloud.Arms.Inputs.SyntheticTaskCustomPeriod
    Custom Cycle. See custom_period below.
    ResourceGroupId string
    Describes which resource group the resource belongs.
    Status string
    task status.
    Tags Dictionary<string, string>
    The list of tags.
    Frequency string
    Frequency.
    MonitorCategory int
    Classification of selected monitors.
    MonitorConf SyntheticTaskMonitorConfArgs
    Monitoring configuration. See monitor_conf below.
    Monitors []SyntheticTaskMonitorArgs
    List of selected monitors. See monitors below.
    SyntheticTaskName string
    The name of synthetic task.
    TaskType int
    The type of synthetic task.
    AvailableAssertions []SyntheticTaskAvailableAssertionArgs
    Assertion List. See available_assertions below.
    CommonSetting SyntheticTaskCommonSettingArgs
    Common settings. See common_setting below.
    CustomPeriod SyntheticTaskCustomPeriodArgs
    Custom Cycle. See custom_period below.
    ResourceGroupId string
    Describes which resource group the resource belongs.
    Status string
    task status.
    Tags map[string]string
    The list of tags.
    frequency String
    Frequency.
    monitorCategory Integer
    Classification of selected monitors.
    monitorConf SyntheticTaskMonitorConf
    Monitoring configuration. See monitor_conf below.
    monitors List<SyntheticTaskMonitor>
    List of selected monitors. See monitors below.
    syntheticTaskName String
    The name of synthetic task.
    taskType Integer
    The type of synthetic task.
    availableAssertions List<SyntheticTaskAvailableAssertion>
    Assertion List. See available_assertions below.
    commonSetting SyntheticTaskCommonSetting
    Common settings. See common_setting below.
    customPeriod SyntheticTaskCustomPeriod
    Custom Cycle. See custom_period below.
    resourceGroupId String
    Describes which resource group the resource belongs.
    status String
    task status.
    tags Map<String,String>
    The list of tags.
    frequency string
    Frequency.
    monitorCategory number
    Classification of selected monitors.
    monitorConf SyntheticTaskMonitorConf
    Monitoring configuration. See monitor_conf below.
    monitors SyntheticTaskMonitor[]
    List of selected monitors. See monitors below.
    syntheticTaskName string
    The name of synthetic task.
    taskType number
    The type of synthetic task.
    availableAssertions SyntheticTaskAvailableAssertion[]
    Assertion List. See available_assertions below.
    commonSetting SyntheticTaskCommonSetting
    Common settings. See common_setting below.
    customPeriod SyntheticTaskCustomPeriod
    Custom Cycle. See custom_period below.
    resourceGroupId string
    Describes which resource group the resource belongs.
    status string
    task status.
    tags {[key: string]: string}
    The list of tags.
    frequency str
    Frequency.
    monitor_category int
    Classification of selected monitors.
    monitor_conf SyntheticTaskMonitorConfArgs
    Monitoring configuration. See monitor_conf below.
    monitors Sequence[SyntheticTaskMonitorArgs]
    List of selected monitors. See monitors below.
    synthetic_task_name str
    The name of synthetic task.
    task_type int
    The type of synthetic task.
    available_assertions Sequence[SyntheticTaskAvailableAssertionArgs]
    Assertion List. See available_assertions below.
    common_setting SyntheticTaskCommonSettingArgs
    Common settings. See common_setting below.
    custom_period SyntheticTaskCustomPeriodArgs
    Custom Cycle. See custom_period below.
    resource_group_id str
    Describes which resource group the resource belongs.
    status str
    task status.
    tags Mapping[str, str]
    The list of tags.
    frequency String
    Frequency.
    monitorCategory Number
    Classification of selected monitors.
    monitorConf Property Map
    Monitoring configuration. See monitor_conf below.
    monitors List<Property Map>
    List of selected monitors. See monitors below.
    syntheticTaskName String
    The name of synthetic task.
    taskType Number
    The type of synthetic task.
    availableAssertions List<Property Map>
    Assertion List. See available_assertions below.
    commonSetting Property Map
    Common settings. See common_setting below.
    customPeriod Property Map
    Custom Cycle. See custom_period below.
    resourceGroupId String
    Describes which resource group the resource belongs.
    status String
    task status.
    tags 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) -> SyntheticTask
    func 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.
    The following state arguments are supported:
    AvailableAssertions List<Pulumi.AliCloud.Arms.Inputs.SyntheticTaskAvailableAssertion>
    Assertion List. See available_assertions below.
    CommonSetting Pulumi.AliCloud.Arms.Inputs.SyntheticTaskCommonSetting
    Common settings. See common_setting below.
    CustomPeriod Pulumi.AliCloud.Arms.Inputs.SyntheticTaskCustomPeriod
    Custom Cycle. See custom_period below.
    Frequency string
    Frequency.
    MonitorCategory int
    Classification of selected monitors.
    MonitorConf Pulumi.AliCloud.Arms.Inputs.SyntheticTaskMonitorConf
    Monitoring configuration. See monitor_conf below.
    Monitors List<Pulumi.AliCloud.Arms.Inputs.SyntheticTaskMonitor>
    List of selected monitors. See monitors below.
    ResourceGroupId string
    Describes which resource group the resource belongs.
    Status string
    task status.
    SyntheticTaskName string
    The name of synthetic task.
    Tags Dictionary<string, string>
    The list of tags.
    TaskType int
    The type of synthetic task.
    AvailableAssertions []SyntheticTaskAvailableAssertionArgs
    Assertion List. See available_assertions below.
    CommonSetting SyntheticTaskCommonSettingArgs
    Common settings. See common_setting below.
    CustomPeriod SyntheticTaskCustomPeriodArgs
    Custom Cycle. See custom_period below.
    Frequency string
    Frequency.
    MonitorCategory int
    Classification of selected monitors.
    MonitorConf SyntheticTaskMonitorConfArgs
    Monitoring configuration. See monitor_conf below.
    Monitors []SyntheticTaskMonitorArgs
    List of selected monitors. See monitors below.
    ResourceGroupId string
    Describes which resource group the resource belongs.
    Status string
    task status.
    SyntheticTaskName string
    The name of synthetic task.
    Tags map[string]string
    The list of tags.
    TaskType int
    The type of synthetic task.
    availableAssertions List<SyntheticTaskAvailableAssertion>
    Assertion List. See available_assertions below.
    commonSetting SyntheticTaskCommonSetting
    Common settings. See common_setting below.
    customPeriod SyntheticTaskCustomPeriod
    Custom Cycle. See custom_period below.
    frequency String
    Frequency.
    monitorCategory Integer
    Classification of selected monitors.
    monitorConf SyntheticTaskMonitorConf
    Monitoring configuration. See monitor_conf below.
    monitors List<SyntheticTaskMonitor>
    List of selected monitors. See monitors below.
    resourceGroupId String
    Describes which resource group the resource belongs.
    status String
    task status.
    syntheticTaskName String
    The name of synthetic task.
    tags Map<String,String>
    The list of tags.
    taskType Integer
    The type of synthetic task.
    availableAssertions SyntheticTaskAvailableAssertion[]
    Assertion List. See available_assertions below.
    commonSetting SyntheticTaskCommonSetting
    Common settings. See common_setting below.
    customPeriod SyntheticTaskCustomPeriod
    Custom Cycle. See custom_period below.
    frequency string
    Frequency.
    monitorCategory number
    Classification of selected monitors.
    monitorConf SyntheticTaskMonitorConf
    Monitoring configuration. See monitor_conf below.
    monitors SyntheticTaskMonitor[]
    List of selected monitors. See monitors below.
    resourceGroupId string
    Describes which resource group the resource belongs.
    status string
    task status.
    syntheticTaskName string
    The name of synthetic task.
    tags {[key: string]: string}
    The list of tags.
    taskType number
    The type of synthetic task.
    available_assertions Sequence[SyntheticTaskAvailableAssertionArgs]
    Assertion List. See available_assertions below.
    common_setting SyntheticTaskCommonSettingArgs
    Common settings. See common_setting below.
    custom_period SyntheticTaskCustomPeriodArgs
    Custom Cycle. See custom_period below.
    frequency str
    Frequency.
    monitor_category int
    Classification of selected monitors.
    monitor_conf SyntheticTaskMonitorConfArgs
    Monitoring configuration. See monitor_conf below.
    monitors Sequence[SyntheticTaskMonitorArgs]
    List of selected monitors. See monitors below.
    resource_group_id str
    Describes which resource group the resource belongs.
    status str
    task status.
    synthetic_task_name str
    The name of synthetic task.
    tags Mapping[str, str]
    The list of tags.
    task_type int
    The type of synthetic task.
    availableAssertions List<Property Map>
    Assertion List. See available_assertions below.
    commonSetting Property Map
    Common settings. See common_setting below.
    customPeriod Property Map
    Custom Cycle. See custom_period below.
    frequency String
    Frequency.
    monitorCategory Number
    Classification of selected monitors.
    monitorConf Property Map
    Monitoring configuration. See monitor_conf below.
    monitors List<Property Map>
    List of selected monitors. See monitors below.
    resourceGroupId String
    Describes which resource group the resource belongs.
    status String
    task status.
    syntheticTaskName String
    The name of synthetic task.
    tags 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.AliCloud.Arms.Inputs.SyntheticTaskCommonSettingCustomHost
    Custom host. See custom_host below.
    IpType int
    IpType.
    IsOpenTrace bool
    Whether to enable link tracking.
    MonitorSamples int
    Whether the monitoring samples are evenly distributed:

    • 0: No 1: Yes.
    TraceClientType int
    Link trace client type:

    • 0:ARMS Agent
    • 1:OpenTelemetry
    • 2:Jaeger.
    XtraceRegion string
    The link data is reported to the region.
    CustomHost SyntheticTaskCommonSettingCustomHost
    Custom host. See custom_host below.
    IpType int
    IpType.
    IsOpenTrace bool
    Whether to enable link tracking.
    MonitorSamples int
    Whether the monitoring samples are evenly distributed:

    • 0: No 1: Yes.
    TraceClientType int
    Link trace client type:

    • 0:ARMS Agent
    • 1:OpenTelemetry
    • 2:Jaeger.
    XtraceRegion string
    The link data is reported to the region.
    customHost SyntheticTaskCommonSettingCustomHost
    Custom host. See custom_host below.
    ipType Integer
    IpType.
    isOpenTrace Boolean
    Whether to enable link tracking.
    monitorSamples Integer
    Whether the monitoring samples are evenly distributed:

    • 0: No 1: Yes.
    traceClientType Integer
    Link trace client type:

    • 0:ARMS Agent
    • 1:OpenTelemetry
    • 2:Jaeger.
    xtraceRegion String
    The link data is reported to the region.
    customHost SyntheticTaskCommonSettingCustomHost
    Custom host. See custom_host below.
    ipType number
    IpType.
    isOpenTrace boolean
    Whether to enable link tracking.
    monitorSamples number
    Whether the monitoring samples are evenly distributed:

    • 0: No 1: Yes.
    traceClientType number
    Link trace client type:

    • 0:ARMS Agent
    • 1:OpenTelemetry
    • 2:Jaeger.
    xtraceRegion string
    The link data is reported to the region.
    custom_host SyntheticTaskCommonSettingCustomHost
    Custom host. See custom_host below.
    ip_type int
    IpType.
    is_open_trace bool
    Whether to enable link tracking.
    monitor_samples int
    Whether the monitoring samples are evenly distributed:

    • 0: No 1: Yes.
    trace_client_type int
    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_host below.
    ipType Number
    IpType.
    isOpenTrace Boolean
    Whether to enable link tracking.
    monitorSamples Number
    Whether the monitoring samples are evenly distributed:

    • 0: No 1: Yes.
    traceClientType Number
    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.AliCloud.Arms.Inputs.SyntheticTaskCommonSettingCustomHostHost>
    The host list. See hosts below.
    SelectType int
    Selection method:

    • 0: Random
    • 1: Polling.
    Hosts []SyntheticTaskCommonSettingCustomHostHost
    The host list. See hosts below.
    SelectType int
    Selection method:

    • 0: Random
    • 1: Polling.
    hosts List<SyntheticTaskCommonSettingCustomHostHost>
    The host list. See hosts below.
    selectType Integer
    Selection method:

    • 0: Random
    • 1: Polling.
    hosts SyntheticTaskCommonSettingCustomHostHost[]
    The host list. See hosts below.
    selectType number
    Selection method:

    • 0: Random
    • 1: Polling.
    hosts Sequence[SyntheticTaskCommonSettingCustomHostHost]
    The host list. See hosts below.
    select_type int
    Selection method:

    • 0: Random
    • 1: Polling.
    hosts List<Property Map>
    The host list. See hosts below.
    selectType Number
    Selection method:

    • 0: Random
    • 1: Polling.

    SyntheticTaskCommonSettingCustomHostHost, SyntheticTaskCommonSettingCustomHostHostArgs

    Domain string
    Domain Name.
    IpType int
    IpType.
    Ips List<string>
    The IP list.
    Domain string
    Domain Name.
    IpType int
    IpType.
    Ips []string
    The IP list.
    domain String
    Domain Name.
    ipType Integer
    IpType.
    ips List<String>
    The IP list.
    domain string
    Domain Name.
    ipType number
    IpType.
    ips string[]
    The IP list.
    domain str
    Domain Name.
    ip_type int
    IpType.
    ips Sequence[str]
    The IP list.
    domain String
    Domain Name.
    ipType Number
    IpType.
    ips List<String>
    The IP list.

    SyntheticTaskCustomPeriod, SyntheticTaskCustomPeriodArgs

    EndHour int
    End hours, 0-24.
    StartHour int
    Starting hours, 0-24.
    EndHour int
    End hours, 0-24.
    StartHour int
    Starting hours, 0-24.
    endHour Integer
    End hours, 0-24.
    startHour Integer
    Starting hours, 0-24.
    endHour number
    End hours, 0-24.
    startHour number
    Starting hours, 0-24.
    end_hour int
    End hours, 0-24.
    start_hour int
    Starting hours, 0-24.
    endHour Number
    End hours, 0-24.
    startHour Number
    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.AliCloud.Arms.Inputs.SyntheticTaskMonitorConfApiHttp
    HTTP(S) task configuration information. See api_http below.
    FileDownload Pulumi.AliCloud.Arms.Inputs.SyntheticTaskMonitorConfFileDownload
    File download type task configuration. See file_download below.
    NetDns Pulumi.AliCloud.Arms.Inputs.SyntheticTaskMonitorConfNetDns
    The configuration parameters of the DNS dial test. Required when TaskType is 3. See net_dns below.
    NetIcmp Pulumi.AliCloud.Arms.Inputs.SyntheticTaskMonitorConfNetIcmp
    ICMP dialing configuration parameters. Required when TaskType is 1. See net_icmp below.
    NetTcp Pulumi.AliCloud.Arms.Inputs.SyntheticTaskMonitorConfNetTcp
    The configuration parameters of TCP dial test. Required when TaskType is 2. See net_tcp below.
    Stream Pulumi.AliCloud.Arms.Inputs.SyntheticTaskMonitorConfStream
    Streaming Media Dial Test Configuration. See stream below.
    Website Pulumi.AliCloud.Arms.Inputs.SyntheticTaskMonitorConfWebsite
    Website speed measurement type task configuration. See website below.
    ApiHttp SyntheticTaskMonitorConfApiHttp
    HTTP(S) task configuration information. See api_http below.
    FileDownload SyntheticTaskMonitorConfFileDownload
    File download type task configuration. See file_download below.
    NetDns SyntheticTaskMonitorConfNetDns
    The configuration parameters of the DNS dial test. Required when TaskType is 3. See net_dns below.
    NetIcmp SyntheticTaskMonitorConfNetIcmp
    ICMP dialing configuration parameters. Required when TaskType is 1. See net_icmp below.
    NetTcp SyntheticTaskMonitorConfNetTcp
    The configuration parameters of TCP dial test. Required when TaskType is 2. See net_tcp below.
    Stream SyntheticTaskMonitorConfStream
    Streaming Media Dial Test Configuration. See stream below.
    Website SyntheticTaskMonitorConfWebsite
    Website speed measurement type task configuration. See website below.
    apiHttp SyntheticTaskMonitorConfApiHttp
    HTTP(S) task configuration information. See api_http below.
    fileDownload SyntheticTaskMonitorConfFileDownload
    File download type task configuration. See file_download below.
    netDns SyntheticTaskMonitorConfNetDns
    The configuration parameters of the DNS dial test. Required when TaskType is 3. See net_dns below.
    netIcmp SyntheticTaskMonitorConfNetIcmp
    ICMP dialing configuration parameters. Required when TaskType is 1. See net_icmp below.
    netTcp SyntheticTaskMonitorConfNetTcp
    The configuration parameters of TCP dial test. Required when TaskType is 2. See net_tcp below.
    stream SyntheticTaskMonitorConfStream
    Streaming Media Dial Test Configuration. See stream below.
    website SyntheticTaskMonitorConfWebsite
    Website speed measurement type task configuration. See website below.
    apiHttp SyntheticTaskMonitorConfApiHttp
    HTTP(S) task configuration information. See api_http below.
    fileDownload SyntheticTaskMonitorConfFileDownload
    File download type task configuration. See file_download below.
    netDns SyntheticTaskMonitorConfNetDns
    The configuration parameters of the DNS dial test. Required when TaskType is 3. See net_dns below.
    netIcmp SyntheticTaskMonitorConfNetIcmp
    ICMP dialing configuration parameters. Required when TaskType is 1. See net_icmp below.
    netTcp SyntheticTaskMonitorConfNetTcp
    The configuration parameters of TCP dial test. Required when TaskType is 2. See net_tcp below.
    stream SyntheticTaskMonitorConfStream
    Streaming Media Dial Test Configuration. See stream below.
    website SyntheticTaskMonitorConfWebsite
    Website speed measurement type task configuration. See website below.
    api_http SyntheticTaskMonitorConfApiHttp
    HTTP(S) task configuration information. See api_http below.
    file_download SyntheticTaskMonitorConfFileDownload
    File download type task configuration. See file_download below.
    net_dns SyntheticTaskMonitorConfNetDns
    The configuration parameters of the DNS dial test. Required when TaskType is 3. See net_dns below.
    net_icmp SyntheticTaskMonitorConfNetIcmp
    ICMP dialing configuration parameters. Required when TaskType is 1. See net_icmp below.
    net_tcp SyntheticTaskMonitorConfNetTcp
    The configuration parameters of TCP dial test. Required when TaskType is 2. See net_tcp below.
    stream SyntheticTaskMonitorConfStream
    Streaming Media Dial Test Configuration. See stream below.
    website SyntheticTaskMonitorConfWebsite
    Website speed measurement type task configuration. See website below.
    apiHttp Property Map
    HTTP(S) task configuration information. See api_http below.
    fileDownload Property Map
    File download type task configuration. See file_download below.
    netDns Property Map
    The configuration parameters of the DNS dial test. Required when TaskType is 3. See net_dns below.
    netIcmp Property Map
    ICMP dialing configuration parameters. Required when TaskType is 1. See net_icmp below.
    netTcp Property Map
    The configuration parameters of TCP dial test. Required when TaskType is 2. See net_tcp below.
    stream Property Map
    Streaming Media Dial Test Configuration. See stream below.
    website Property Map
    Website speed measurement type task configuration. See website below.

    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.AliCloud.Arms.Inputs.SyntheticTaskMonitorConfApiHttpRequestBody
    HTTP request body. See request_body below.
    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 SyntheticTaskMonitorConfApiHttpRequestBody
    HTTP request body. See request_body below.
    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 SyntheticTaskMonitorConfApiHttpRequestBody
    HTTP request body. See request_body below.
    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 SyntheticTaskMonitorConfApiHttpRequestBody
    HTTP request body. See request_body below.
    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 SyntheticTaskMonitorConfApiHttpRequestBody
    HTTP request body. See request_body below.
    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_body below.
    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

    Content string
    The request body content, in JSON string format. When the type is text/plain,application/json,application/xml,text/html, the content can be converted to a JSON string.
    Type string
    Content string
    The request body content, in JSON string format. When the type is text/plain,application/json,application/xml,text/html, the content can be converted to a JSON string.
    Type string
    content String
    The request body content, in JSON string format. When the type is text/plain,application/json,application/xml,text/html, the content can be converted to a JSON string.
    type String
    content string
    The request body content, in JSON string format. When the type is text/plain,application/json,application/xml,text/html, the content can be converted to a JSON string.
    type string
    content str
    The request body content, in JSON string format. When the type is text/plain,application/json,application/xml,text/html, the content can be converted to a JSON string.
    type str
    content String
    The request body content, in JSON string format. When the type is text/plain,application/json,application/xml,text/html, the content can be converted to a JSON string.
    type String

    SyntheticTaskMonitorConfFileDownload, SyntheticTaskMonitorConfFileDownloadArgs

    TargetUrl string
    The target URL.
    ConnectionTimeout int
    Connection timeout time, in ms. Default 5000. Optional range: 1000-120000ms.
    CustomHeaderContent Dictionary<string, string>
    Custom header, in JSON Map format.
    DownloadKernel int
    Download the kernel.

    • 1:curl
    • 0:WinInet Default 1.
    IgnoreCertificateAuthError int
    Ignore CA Certificate authorization error 0: Do not ignore, 1: ignore, default 1.
    IgnoreCertificateCanceledError int
    Ignore certificate revocation error 0: Do not ignore, 1: ignore, default 1.
    IgnoreCertificateOutOfDateError int
    Ignore certificate expiration error 0: not ignored, 1: Ignored, default 1.
    IgnoreCertificateStatusError int
    The certificate status error is ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
    IgnoreCertificateUntrustworthyError int
    The certificate cannot be trusted and ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
    IgnoreCertificateUsingError int
    Ignore certificate usage error 0: Do not ignore, 1: ignore, default 1.
    IgnoreInvalidHostError int
    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.
    CustomHeaderContent map[string]string
    Custom header, in JSON Map format.
    DownloadKernel int
    Download the kernel.

    • 1:curl
    • 0:WinInet Default 1.
    IgnoreCertificateAuthError int
    Ignore CA Certificate authorization error 0: Do not ignore, 1: ignore, default 1.
    IgnoreCertificateCanceledError int
    Ignore certificate revocation error 0: Do not ignore, 1: ignore, default 1.
    IgnoreCertificateOutOfDateError int
    Ignore certificate expiration error 0: not ignored, 1: Ignored, default 1.
    IgnoreCertificateStatusError int
    The certificate status error is ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
    IgnoreCertificateUntrustworthyError int
    The certificate cannot be trusted and ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
    IgnoreCertificateUsingError int
    Ignore certificate usage error 0: Do not ignore, 1: ignore, default 1.
    IgnoreInvalidHostError int
    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.
    customHeaderContent Map<String,String>
    Custom header, in JSON Map format.
    downloadKernel Integer
    Download the kernel.

    • 1:curl
    • 0:WinInet Default 1.
    ignoreCertificateAuthError Integer
    Ignore CA Certificate authorization error 0: Do not ignore, 1: ignore, default 1.
    ignoreCertificateCanceledError Integer
    Ignore certificate revocation error 0: Do not ignore, 1: ignore, default 1.
    ignoreCertificateOutOfDateError Integer
    Ignore certificate expiration error 0: not ignored, 1: Ignored, default 1.
    ignoreCertificateStatusError Integer
    The certificate status error is ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
    ignoreCertificateUntrustworthyError Integer
    The certificate cannot be trusted and ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
    ignoreCertificateUsingError Integer
    Ignore certificate usage error 0: Do not ignore, 1: ignore, default 1.
    ignoreInvalidHostError Integer
    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.
    customHeaderContent {[key: string]: string}
    Custom header, in JSON Map format.
    downloadKernel number
    Download the kernel.

    • 1:curl
    • 0:WinInet Default 1.
    ignoreCertificateAuthError number
    Ignore CA Certificate authorization error 0: Do not ignore, 1: ignore, default 1.
    ignoreCertificateCanceledError number
    Ignore certificate revocation error 0: Do not ignore, 1: ignore, default 1.
    ignoreCertificateOutOfDateError number
    Ignore certificate expiration error 0: not ignored, 1: Ignored, default 1.
    ignoreCertificateStatusError number
    The certificate status error is ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
    ignoreCertificateUntrustworthyError number
    The certificate cannot be trusted and ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
    ignoreCertificateUsingError number
    Ignore certificate usage error 0: Do not ignore, 1: ignore, default 1.
    ignoreInvalidHostError number
    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_content Mapping[str, str]
    Custom header, in JSON Map format.
    download_kernel int
    Download the kernel.

    • 1:curl
    • 0:WinInet Default 1.
    ignore_certificate_auth_error int
    Ignore CA Certificate authorization error 0: Do not ignore, 1: ignore, default 1.
    ignore_certificate_canceled_error int
    Ignore certificate revocation error 0: Do not ignore, 1: ignore, default 1.
    ignore_certificate_out_of_date_error int
    Ignore certificate expiration error 0: not ignored, 1: Ignored, default 1.
    ignore_certificate_status_error int
    The certificate status error is ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
    ignore_certificate_untrustworthy_error int
    The certificate cannot be trusted and ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
    ignore_certificate_using_error int
    Ignore certificate usage error 0: Do not ignore, 1: ignore, default 1.
    ignore_invalid_host_error int
    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.
    customHeaderContent Map<String>
    Custom header, in JSON Map format.
    downloadKernel Number
    Download the kernel.

    • 1:curl
    • 0:WinInet Default 1.
    ignoreCertificateAuthError Number
    Ignore CA Certificate authorization error 0: Do not ignore, 1: ignore, default 1.
    ignoreCertificateCanceledError Number
    Ignore certificate revocation error 0: Do not ignore, 1: ignore, default 1.
    ignoreCertificateOutOfDateError Number
    Ignore certificate expiration error 0: not ignored, 1: Ignored, default 1.
    ignoreCertificateStatusError Number
    The certificate status error is ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
    ignoreCertificateUntrustworthyError Number
    The certificate cannot be trusted and ignored. 0: Do not ignore, 1: IGNORE. The default value is 1.
    ignoreCertificateUsingError Number
    Ignore certificate usage error 0: Do not ignore, 1: ignore, default 1.
    ignoreInvalidHostError Number
    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.
    DnsServerIpType int
    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.
    DnsServerIpType int
    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.
    dnsServerIpType Integer
    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.
    dnsServerIpType number
    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_ip_type int
    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.
    dnsServerIpType Number
    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.
    TracertNumMax int
    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.
    TracertNumMax int
    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.
    tracertNumMax Integer
    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.
    tracertNumMax number
    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_max int
    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.
    tracertNumMax Number
    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.
    TracertNumMax int
    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.
    TracertNumMax int
    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.
    tracertNumMax Integer
    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.
    tracertNumMax number
    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_max int
    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.
    tracertNumMax Number
    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

    CustomHeaderContent Dictionary<string, string>
    Custom header, in JSON Map format.
    PlayerType int
    Player, do not pass the default 12.

    • 12:VLC
    • 2:FlashPlayer.
    StreamAddressType int
    Resource address type:

    • 1: Resource address.
    • 0: page address, not 0 by default.
    StreamMonitorTimeout int
    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.
    CustomHeaderContent map[string]string
    Custom header, in JSON Map format.
    PlayerType int
    Player, do not pass the default 12.

    • 12:VLC
    • 2:FlashPlayer.
    StreamAddressType int
    Resource address type:

    • 1: Resource address.
    • 0: page address, not 0 by default.
    StreamMonitorTimeout int
    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.
    customHeaderContent Map<String,String>
    Custom header, in JSON Map format.
    playerType Integer
    Player, do not pass the default 12.

    • 12:VLC
    • 2:FlashPlayer.
    streamAddressType Integer
    Resource address type:

    • 1: Resource address.
    • 0: page address, not 0 by default.
    streamMonitorTimeout Integer
    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.
    customHeaderContent {[key: string]: string}
    Custom header, in JSON Map format.
    playerType number
    Player, do not pass the default 12.

    • 12:VLC
    • 2:FlashPlayer.
    streamAddressType number
    Resource address type:

    • 1: Resource address.
    • 0: page address, not 0 by default.
    streamMonitorTimeout number
    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_content Mapping[str, str]
    Custom header, in JSON Map format.
    player_type int
    Player, do not pass the default 12.

    • 12:VLC
    • 2:FlashPlayer.
    stream_address_type int
    Resource address type:

    • 1: Resource address.
    • 0: page address, not 0 by default.
    stream_monitor_timeout int
    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.
    customHeaderContent Map<String>
    Custom header, in JSON Map format.
    playerType Number
    Player, do not pass the default 12.

    • 12:VLC
    • 2:FlashPlayer.
    streamAddressType Number
    Resource address type:

    • 1: Resource address.
    • 0: page address, not 0 by default.
    streamMonitorTimeout Number
    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.
    CustomHeaderContent Dictionary<string, string>
    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.
    DnsHijackWhitelist string
    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.
    FilterInvalidIp int
    Whether to filter invalid IP parameters. 0: filter, 1: do not filter. The default value is 0.
    FlowHijackJumpTimes int
    Identify elements: Set the total number of elements on the Browse page.
    FlowHijackLogo string
    Hijacking ID: Set the matching key information. Enter the hijacking keyword or key element, with an asterisk (*) allowed.
    IgnoreCertificateError int
    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.
    SlowElementThreshold int
    The slow element threshold, in ms, is 5000 by default and can be selected from 1 to 300000ms.
    VerifyStringBlacklist string
    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 (|).
    VerifyStringWhitelist string
    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 (|).
    WaitCompletionTime int
    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.
    CustomHeaderContent map[string]string
    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.
    DnsHijackWhitelist string
    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.
    FilterInvalidIp int
    Whether to filter invalid IP parameters. 0: filter, 1: do not filter. The default value is 0.
    FlowHijackJumpTimes int
    Identify elements: Set the total number of elements on the Browse page.
    FlowHijackLogo string
    Hijacking ID: Set the matching key information. Enter the hijacking keyword or key element, with an asterisk (*) allowed.
    IgnoreCertificateError int
    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.
    SlowElementThreshold int
    The slow element threshold, in ms, is 5000 by default and can be selected from 1 to 300000ms.
    VerifyStringBlacklist string
    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 (|).
    VerifyStringWhitelist string
    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 (|).
    WaitCompletionTime int
    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.
    customHeaderContent Map<String,String>
    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.
    dnsHijackWhitelist String
    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.
    filterInvalidIp Integer
    Whether to filter invalid IP parameters. 0: filter, 1: do not filter. The default value is 0.
    flowHijackJumpTimes Integer
    Identify elements: Set the total number of elements on the Browse page.
    flowHijackLogo String
    Hijacking ID: Set the matching key information. Enter the hijacking keyword or key element, with an asterisk (*) allowed.
    ignoreCertificateError Integer
    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.
    slowElementThreshold Integer
    The slow element threshold, in ms, is 5000 by default and can be selected from 1 to 300000ms.
    verifyStringBlacklist String
    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 (|).
    verifyStringWhitelist String
    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 (|).
    waitCompletionTime Integer
    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.
    customHeaderContent {[key: string]: string}
    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.
    dnsHijackWhitelist string
    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.
    filterInvalidIp number
    Whether to filter invalid IP parameters. 0: filter, 1: do not filter. The default value is 0.
    flowHijackJumpTimes number
    Identify elements: Set the total number of elements on the Browse page.
    flowHijackLogo string
    Hijacking ID: Set the matching key information. Enter the hijacking keyword or key element, with an asterisk (*) allowed.
    ignoreCertificateError number
    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.
    slowElementThreshold number
    The slow element threshold, in ms, is 5000 by default and can be selected from 1 to 300000ms.
    verifyStringBlacklist string
    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 (|).
    verifyStringWhitelist string
    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 (|).
    waitCompletionTime number
    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_content Mapping[str, str]
    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_whitelist str
    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_ip int
    Whether to filter invalid IP parameters. 0: filter, 1: do not filter. The default value is 0.
    flow_hijack_jump_times int
    Identify elements: Set the total number of elements on the Browse page.
    flow_hijack_logo str
    Hijacking ID: Set the matching key information. Enter the hijacking keyword or key element, with an asterisk (*) allowed.
    ignore_certificate_error int
    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_threshold int
    The slow element threshold, in ms, is 5000 by default and can be selected from 1 to 300000ms.
    verify_string_blacklist str
    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_whitelist str
    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_time int
    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.
    customHeaderContent Map<String>
    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.
    dnsHijackWhitelist String
    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.
    filterInvalidIp Number
    Whether to filter invalid IP parameters. 0: filter, 1: do not filter. The default value is 0.
    flowHijackJumpTimes Number
    Identify elements: Set the total number of elements on the Browse page.
    flowHijackLogo String
    Hijacking ID: Set the matching key information. Enter the hijacking keyword or key element, with an asterisk (*) allowed.
    ignoreCertificateError Number
    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.
    slowElementThreshold Number
    The slow element threshold, in ms, is 5000 by default and can be selected from 1 to 300000ms.
    verifyStringBlacklist String
    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 (|).
    verifyStringWhitelist String
    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 (|).
    waitCompletionTime Number
    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 alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi