pulumi-alicloud 3.88.0a1761888283__py3-none-any.whl → 3.88.0a1761969289__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-alicloud might be problematic. Click here for more details.
- pulumi_alicloud/__init__.py +59 -0
- pulumi_alicloud/cfg/_inputs.py +27 -24
- pulumi_alicloud/cfg/aggregator.py +142 -53
- pulumi_alicloud/cfg/outputs.py +18 -15
- pulumi_alicloud/cloudfirewall/__init__.py +1 -0
- pulumi_alicloud/cloudfirewall/get_tls_inspect_ca_certificates.py +214 -0
- pulumi_alicloud/cloudfirewall/outputs.py +30 -0
- pulumi_alicloud/cms/_inputs.py +870 -10
- pulumi_alicloud/cms/get_site_monitors.py +2 -2
- pulumi_alicloud/cms/outputs.py +606 -6
- pulumi_alicloud/cms/site_monitor.py +360 -89
- pulumi_alicloud/cr/registry_enterprise_instance.py +63 -0
- pulumi_alicloud/dts/instance.py +14 -14
- pulumi_alicloud/eci/container_group.py +47 -0
- pulumi_alicloud/ecs/security_group_rule.py +7 -7
- pulumi_alicloud/ens/load_balancer.py +8 -4
- pulumi_alicloud/esa/__init__.py +1 -0
- pulumi_alicloud/esa/_inputs.py +611 -0
- pulumi_alicloud/esa/cache_rule.py +47 -0
- pulumi_alicloud/esa/certificate.py +21 -54
- pulumi_alicloud/esa/compression_rule.py +47 -0
- pulumi_alicloud/esa/load_balancer.py +999 -0
- pulumi_alicloud/esa/outputs.py +469 -0
- pulumi_alicloud/eventbridge/event_source.py +57 -57
- pulumi_alicloud/ga/_inputs.py +56 -16
- pulumi_alicloud/ga/outputs.py +39 -11
- pulumi_alicloud/lindorm/instance_v2.py +358 -70
- pulumi_alicloud/oss/_inputs.py +53 -0
- pulumi_alicloud/oss/bucket_logging.py +80 -29
- pulumi_alicloud/oss/bucket_replication.py +55 -8
- pulumi_alicloud/oss/outputs.py +31 -0
- pulumi_alicloud/polardb/__init__.py +2 -0
- pulumi_alicloud/polardb/cluster.py +14 -14
- pulumi_alicloud/polardb/zonal_account.py +449 -0
- pulumi_alicloud/polardb/zonal_db_cluster.py +2 -2
- pulumi_alicloud/polardb/zonal_endpoint.py +865 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/policy.py +2 -2
- pulumi_alicloud/resourcemanager/__init__.py +2 -0
- pulumi_alicloud/resourcemanager/_inputs.py +745 -0
- pulumi_alicloud/resourcemanager/delivery_channel.py +449 -0
- pulumi_alicloud/resourcemanager/multi_account_delivery_channel.py +470 -0
- pulumi_alicloud/resourcemanager/outputs.py +643 -0
- pulumi_alicloud/sae/_inputs.py +60 -0
- pulumi_alicloud/sae/application.py +1 -1
- pulumi_alicloud/sae/outputs.py +42 -0
- pulumi_alicloud/sls/__init__.py +1 -0
- pulumi_alicloud/sls/get_indexs.py +304 -0
- pulumi_alicloud/sls/outputs.py +148 -0
- pulumi_alicloud/star_rocks_instance.py +8 -2
- pulumi_alicloud/starrocks/__init__.py +12 -0
- pulumi_alicloud/starrocks/_inputs.py +656 -0
- pulumi_alicloud/starrocks/instance.py +1427 -0
- pulumi_alicloud/starrocks/node_group.py +1298 -0
- pulumi_alicloud/starrocks/outputs.py +508 -0
- pulumi_alicloud/vpc/_inputs.py +84 -0
- pulumi_alicloud/vpc/gateway_endpoint.py +8 -8
- pulumi_alicloud/vpc/network_acl_entries.py +16 -20
- pulumi_alicloud/vpc/outputs.py +48 -0
- pulumi_alicloud/wafv3/_inputs.py +396 -0
- pulumi_alicloud/wafv3/defense_rule.py +40 -110
- pulumi_alicloud/wafv3/outputs.py +303 -0
- {pulumi_alicloud-3.88.0a1761888283.dist-info → pulumi_alicloud-3.88.0a1761969289.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.88.0a1761888283.dist-info → pulumi_alicloud-3.88.0a1761969289.dist-info}/RECORD +66 -54
- {pulumi_alicloud-3.88.0a1761888283.dist-info → pulumi_alicloud-3.88.0a1761969289.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.88.0a1761888283.dist-info → pulumi_alicloud-3.88.0a1761969289.dist-info}/top_level.txt +0 -0
|
@@ -135,7 +135,7 @@ def get_site_monitors(ids: Optional[Sequence[_builtins.str]] = None,
|
|
|
135
135
|
address="http://www.alibabacloud.com",
|
|
136
136
|
task_name=f"terraform-example-{default_integer['result']}",
|
|
137
137
|
task_type="HTTP",
|
|
138
|
-
interval=5,
|
|
138
|
+
interval="5",
|
|
139
139
|
isp_cities=[{
|
|
140
140
|
"city": "546",
|
|
141
141
|
"isp": "465",
|
|
@@ -210,7 +210,7 @@ def get_site_monitors_output(ids: Optional[pulumi.Input[Optional[Sequence[_built
|
|
|
210
210
|
address="http://www.alibabacloud.com",
|
|
211
211
|
task_name=f"terraform-example-{default_integer['result']}",
|
|
212
212
|
task_type="HTTP",
|
|
213
|
-
interval=5,
|
|
213
|
+
interval="5",
|
|
214
214
|
isp_cities=[{
|
|
215
215
|
"city": "546",
|
|
216
216
|
"isp": "465",
|
pulumi_alicloud/cms/outputs.py
CHANGED
|
@@ -50,7 +50,10 @@ __all__ = [
|
|
|
50
50
|
'MetricRuleTemplateAlertTemplateEscalationsInfo',
|
|
51
51
|
'MetricRuleTemplateAlertTemplateEscalationsWarn',
|
|
52
52
|
'MonitorGroupInstancesInstance',
|
|
53
|
+
'SiteMonitorCustomSchedule',
|
|
53
54
|
'SiteMonitorIspCity',
|
|
55
|
+
'SiteMonitorOptionJson',
|
|
56
|
+
'SiteMonitorOptionJsonAssertion',
|
|
54
57
|
'SlsGroupSlsGroupConfig',
|
|
55
58
|
'GetAlarmContactGroupsGroupResult',
|
|
56
59
|
'GetAlarmContactsContactResult',
|
|
@@ -2459,21 +2462,103 @@ class MonitorGroupInstancesInstance(dict):
|
|
|
2459
2462
|
return pulumi.get(self, "region_id")
|
|
2460
2463
|
|
|
2461
2464
|
|
|
2465
|
+
@pulumi.output_type
|
|
2466
|
+
class SiteMonitorCustomSchedule(dict):
|
|
2467
|
+
@staticmethod
|
|
2468
|
+
def __key_warning(key: str):
|
|
2469
|
+
suggest = None
|
|
2470
|
+
if key == "endHour":
|
|
2471
|
+
suggest = "end_hour"
|
|
2472
|
+
elif key == "startHour":
|
|
2473
|
+
suggest = "start_hour"
|
|
2474
|
+
elif key == "timeZone":
|
|
2475
|
+
suggest = "time_zone"
|
|
2476
|
+
|
|
2477
|
+
if suggest:
|
|
2478
|
+
pulumi.log.warn(f"Key '{key}' not found in SiteMonitorCustomSchedule. Access the value via the '{suggest}' property getter instead.")
|
|
2479
|
+
|
|
2480
|
+
def __getitem__(self, key: str) -> Any:
|
|
2481
|
+
SiteMonitorCustomSchedule.__key_warning(key)
|
|
2482
|
+
return super().__getitem__(key)
|
|
2483
|
+
|
|
2484
|
+
def get(self, key: str, default = None) -> Any:
|
|
2485
|
+
SiteMonitorCustomSchedule.__key_warning(key)
|
|
2486
|
+
return super().get(key, default)
|
|
2487
|
+
|
|
2488
|
+
def __init__(__self__, *,
|
|
2489
|
+
days: Optional[Sequence[_builtins.int]] = None,
|
|
2490
|
+
end_hour: Optional[_builtins.int] = None,
|
|
2491
|
+
start_hour: Optional[_builtins.int] = None,
|
|
2492
|
+
time_zone: Optional[_builtins.str] = None):
|
|
2493
|
+
"""
|
|
2494
|
+
:param Sequence[_builtins.int] days: The days in a week.
|
|
2495
|
+
:param _builtins.int end_hour: The end time of the detection. Unit: hours.
|
|
2496
|
+
:param _builtins.int start_hour: The start time of the detection. Unit: hours.
|
|
2497
|
+
:param _builtins.str time_zone: The time zone of the detection.
|
|
2498
|
+
"""
|
|
2499
|
+
if days is not None:
|
|
2500
|
+
pulumi.set(__self__, "days", days)
|
|
2501
|
+
if end_hour is not None:
|
|
2502
|
+
pulumi.set(__self__, "end_hour", end_hour)
|
|
2503
|
+
if start_hour is not None:
|
|
2504
|
+
pulumi.set(__self__, "start_hour", start_hour)
|
|
2505
|
+
if time_zone is not None:
|
|
2506
|
+
pulumi.set(__self__, "time_zone", time_zone)
|
|
2507
|
+
|
|
2508
|
+
@_builtins.property
|
|
2509
|
+
@pulumi.getter
|
|
2510
|
+
def days(self) -> Optional[Sequence[_builtins.int]]:
|
|
2511
|
+
"""
|
|
2512
|
+
The days in a week.
|
|
2513
|
+
"""
|
|
2514
|
+
return pulumi.get(self, "days")
|
|
2515
|
+
|
|
2516
|
+
@_builtins.property
|
|
2517
|
+
@pulumi.getter(name="endHour")
|
|
2518
|
+
def end_hour(self) -> Optional[_builtins.int]:
|
|
2519
|
+
"""
|
|
2520
|
+
The end time of the detection. Unit: hours.
|
|
2521
|
+
"""
|
|
2522
|
+
return pulumi.get(self, "end_hour")
|
|
2523
|
+
|
|
2524
|
+
@_builtins.property
|
|
2525
|
+
@pulumi.getter(name="startHour")
|
|
2526
|
+
def start_hour(self) -> Optional[_builtins.int]:
|
|
2527
|
+
"""
|
|
2528
|
+
The start time of the detection. Unit: hours.
|
|
2529
|
+
"""
|
|
2530
|
+
return pulumi.get(self, "start_hour")
|
|
2531
|
+
|
|
2532
|
+
@_builtins.property
|
|
2533
|
+
@pulumi.getter(name="timeZone")
|
|
2534
|
+
def time_zone(self) -> Optional[_builtins.str]:
|
|
2535
|
+
"""
|
|
2536
|
+
The time zone of the detection.
|
|
2537
|
+
"""
|
|
2538
|
+
return pulumi.get(self, "time_zone")
|
|
2539
|
+
|
|
2540
|
+
|
|
2462
2541
|
@pulumi.output_type
|
|
2463
2542
|
class SiteMonitorIspCity(dict):
|
|
2464
2543
|
def __init__(__self__, *,
|
|
2465
|
-
city: _builtins.str,
|
|
2466
|
-
isp: _builtins.str
|
|
2544
|
+
city: Optional[_builtins.str] = None,
|
|
2545
|
+
isp: Optional[_builtins.str] = None,
|
|
2546
|
+
type: Optional[_builtins.str] = None):
|
|
2467
2547
|
"""
|
|
2468
2548
|
:param _builtins.str city: The ID of the city.
|
|
2469
2549
|
:param _builtins.str isp: The ID of the carrier.
|
|
2550
|
+
:param _builtins.str type: The network type of the detection point. Valid values: `IDC`, `LASTMILE`, and `MOBILE`.
|
|
2470
2551
|
"""
|
|
2471
|
-
|
|
2472
|
-
|
|
2552
|
+
if city is not None:
|
|
2553
|
+
pulumi.set(__self__, "city", city)
|
|
2554
|
+
if isp is not None:
|
|
2555
|
+
pulumi.set(__self__, "isp", isp)
|
|
2556
|
+
if type is not None:
|
|
2557
|
+
pulumi.set(__self__, "type", type)
|
|
2473
2558
|
|
|
2474
2559
|
@_builtins.property
|
|
2475
2560
|
@pulumi.getter
|
|
2476
|
-
def city(self) -> _builtins.str:
|
|
2561
|
+
def city(self) -> Optional[_builtins.str]:
|
|
2477
2562
|
"""
|
|
2478
2563
|
The ID of the city.
|
|
2479
2564
|
"""
|
|
@@ -2481,12 +2566,527 @@ class SiteMonitorIspCity(dict):
|
|
|
2481
2566
|
|
|
2482
2567
|
@_builtins.property
|
|
2483
2568
|
@pulumi.getter
|
|
2484
|
-
def isp(self) -> _builtins.str:
|
|
2569
|
+
def isp(self) -> Optional[_builtins.str]:
|
|
2485
2570
|
"""
|
|
2486
2571
|
The ID of the carrier.
|
|
2487
2572
|
"""
|
|
2488
2573
|
return pulumi.get(self, "isp")
|
|
2489
2574
|
|
|
2575
|
+
@_builtins.property
|
|
2576
|
+
@pulumi.getter
|
|
2577
|
+
def type(self) -> Optional[_builtins.str]:
|
|
2578
|
+
"""
|
|
2579
|
+
The network type of the detection point. Valid values: `IDC`, `LASTMILE`, and `MOBILE`.
|
|
2580
|
+
"""
|
|
2581
|
+
return pulumi.get(self, "type")
|
|
2582
|
+
|
|
2583
|
+
|
|
2584
|
+
@pulumi.output_type
|
|
2585
|
+
class SiteMonitorOptionJson(dict):
|
|
2586
|
+
@staticmethod
|
|
2587
|
+
def __key_warning(key: str):
|
|
2588
|
+
suggest = None
|
|
2589
|
+
if key == "diagnosisMtr":
|
|
2590
|
+
suggest = "diagnosis_mtr"
|
|
2591
|
+
elif key == "diagnosisPing":
|
|
2592
|
+
suggest = "diagnosis_ping"
|
|
2593
|
+
elif key == "dnsHijackWhitelist":
|
|
2594
|
+
suggest = "dns_hijack_whitelist"
|
|
2595
|
+
elif key == "dnsMatchRule":
|
|
2596
|
+
suggest = "dns_match_rule"
|
|
2597
|
+
elif key == "dnsServer":
|
|
2598
|
+
suggest = "dns_server"
|
|
2599
|
+
elif key == "dnsType":
|
|
2600
|
+
suggest = "dns_type"
|
|
2601
|
+
elif key == "expectValue":
|
|
2602
|
+
suggest = "expect_value"
|
|
2603
|
+
elif key == "failureRate":
|
|
2604
|
+
suggest = "failure_rate"
|
|
2605
|
+
elif key == "httpMethod":
|
|
2606
|
+
suggest = "http_method"
|
|
2607
|
+
elif key == "isBaseEncode":
|
|
2608
|
+
suggest = "is_base_encode"
|
|
2609
|
+
elif key == "matchRule":
|
|
2610
|
+
suggest = "match_rule"
|
|
2611
|
+
elif key == "minTlsVersion":
|
|
2612
|
+
suggest = "min_tls_version"
|
|
2613
|
+
elif key == "pingNum":
|
|
2614
|
+
suggest = "ping_num"
|
|
2615
|
+
elif key == "pingPort":
|
|
2616
|
+
suggest = "ping_port"
|
|
2617
|
+
elif key == "pingType":
|
|
2618
|
+
suggest = "ping_type"
|
|
2619
|
+
elif key == "requestContent":
|
|
2620
|
+
suggest = "request_content"
|
|
2621
|
+
elif key == "requestFormat":
|
|
2622
|
+
suggest = "request_format"
|
|
2623
|
+
elif key == "responseContent":
|
|
2624
|
+
suggest = "response_content"
|
|
2625
|
+
elif key == "responseFormat":
|
|
2626
|
+
suggest = "response_format"
|
|
2627
|
+
elif key == "userName":
|
|
2628
|
+
suggest = "user_name"
|
|
2629
|
+
|
|
2630
|
+
if suggest:
|
|
2631
|
+
pulumi.log.warn(f"Key '{key}' not found in SiteMonitorOptionJson. Access the value via the '{suggest}' property getter instead.")
|
|
2632
|
+
|
|
2633
|
+
def __getitem__(self, key: str) -> Any:
|
|
2634
|
+
SiteMonitorOptionJson.__key_warning(key)
|
|
2635
|
+
return super().__getitem__(key)
|
|
2636
|
+
|
|
2637
|
+
def get(self, key: str, default = None) -> Any:
|
|
2638
|
+
SiteMonitorOptionJson.__key_warning(key)
|
|
2639
|
+
return super().get(key, default)
|
|
2640
|
+
|
|
2641
|
+
def __init__(__self__, *,
|
|
2642
|
+
assertions: Optional[Sequence['outputs.SiteMonitorOptionJsonAssertion']] = None,
|
|
2643
|
+
attempts: Optional[_builtins.int] = None,
|
|
2644
|
+
cookie: Optional[_builtins.str] = None,
|
|
2645
|
+
diagnosis_mtr: Optional[_builtins.bool] = None,
|
|
2646
|
+
diagnosis_ping: Optional[_builtins.bool] = None,
|
|
2647
|
+
dns_hijack_whitelist: Optional[_builtins.str] = None,
|
|
2648
|
+
dns_match_rule: Optional[_builtins.str] = None,
|
|
2649
|
+
dns_server: Optional[_builtins.str] = None,
|
|
2650
|
+
dns_type: Optional[_builtins.str] = None,
|
|
2651
|
+
expect_value: Optional[_builtins.str] = None,
|
|
2652
|
+
failure_rate: Optional[_builtins.str] = None,
|
|
2653
|
+
header: Optional[_builtins.str] = None,
|
|
2654
|
+
http_method: Optional[_builtins.str] = None,
|
|
2655
|
+
is_base_encode: Optional[_builtins.bool] = None,
|
|
2656
|
+
match_rule: Optional[_builtins.int] = None,
|
|
2657
|
+
min_tls_version: Optional[_builtins.str] = None,
|
|
2658
|
+
password: Optional[_builtins.str] = None,
|
|
2659
|
+
ping_num: Optional[_builtins.int] = None,
|
|
2660
|
+
ping_port: Optional[_builtins.int] = None,
|
|
2661
|
+
ping_type: Optional[_builtins.str] = None,
|
|
2662
|
+
port: Optional[_builtins.int] = None,
|
|
2663
|
+
request_content: Optional[_builtins.str] = None,
|
|
2664
|
+
request_format: Optional[_builtins.str] = None,
|
|
2665
|
+
response_content: Optional[_builtins.str] = None,
|
|
2666
|
+
response_format: Optional[_builtins.str] = None,
|
|
2667
|
+
timeout: Optional[_builtins.int] = None,
|
|
2668
|
+
user_name: Optional[_builtins.str] = None):
|
|
2669
|
+
"""
|
|
2670
|
+
:param Sequence['SiteMonitorOptionJsonAssertionArgs'] assertions: Assertion configuration group. See `assertions` below.
|
|
2671
|
+
:param _builtins.int attempts: Number of retries after DNS failed.
|
|
2672
|
+
:param _builtins.str cookie: The Cookie that sends the HTTP request.
|
|
2673
|
+
:param _builtins.bool diagnosis_mtr: Whether to enable automatic MTR network diagnosis after a task failure. Value:
|
|
2674
|
+
- false: does not enable automatic MTR network diagnosis.
|
|
2675
|
+
- true to turn on automatic MTR network diagnostics.
|
|
2676
|
+
:param _builtins.bool diagnosis_ping: Whether to enable the automatic PING network delay detection after the task fails. Value:
|
|
2677
|
+
- false: does not enable automatic PING network delay detection.
|
|
2678
|
+
- true: Enable automatic PING network delay detection.
|
|
2679
|
+
:param _builtins.str dns_hijack_whitelist: List of DNS hijacking configurations.
|
|
2680
|
+
:param _builtins.str dns_match_rule: Matching Rules for DNS. Value:
|
|
2681
|
+
- IN_DNS: The alias or IP address that is expected to be resolved is in the DNS response.
|
|
2682
|
+
- DNS_IN: All DNS responses appear in the alias or IP address that is expected to be resolved.
|
|
2683
|
+
- EQUAL: the DNS response is exactly the same as the alias or IP address that is expected to be resolved.
|
|
2684
|
+
- ANY:DNS response and the alias or IP address expected to be resolved have an intersection.
|
|
2685
|
+
:param _builtins.str dns_server: The IP address of the DNS server.
|
|
2686
|
+
|
|
2687
|
+
> **NOTE:** only applicable to DNS probe types.
|
|
2688
|
+
:param _builtins.str dns_type: DNS resolution type. Only applicable to DNS probe types. Value:
|
|
2689
|
+
- A (default): specifies the IP address corresponding to the host name or domain name.
|
|
2690
|
+
- CNAME: maps multiple domain names to another domain name.
|
|
2691
|
+
- NS: specifies that the domain name is resolved by a DNS server.
|
|
2692
|
+
- MX: point domain name to a mail server address.
|
|
2693
|
+
- TXT: Description of host name or domain name. The text length is limited to 512 bytes, which is usually used as SPF(Sender Policy Framework) record, that is, anti-spam.
|
|
2694
|
+
:param _builtins.str expect_value: The alias or address to be resolved.
|
|
2695
|
+
|
|
2696
|
+
> **NOTE:** This parameter applies only to DNS probe types.
|
|
2697
|
+
:param _builtins.str failure_rate: Packet loss rate.
|
|
2698
|
+
|
|
2699
|
+
> **NOTE:** This parameter only applies to PING probe types.
|
|
2700
|
+
:param _builtins.str header: HTTP request header.
|
|
2701
|
+
:param _builtins.str http_method: HTTP request method. Value:
|
|
2702
|
+
- get
|
|
2703
|
+
- post
|
|
2704
|
+
- head
|
|
2705
|
+
:param _builtins.bool is_base_encode: Whether the parameter' Password' is Base64 encoded.
|
|
2706
|
+
- true: Yes.
|
|
2707
|
+
- false: No.
|
|
2708
|
+
:param _builtins.int match_rule: Whether alarm rules are included. Value:
|
|
2709
|
+
- 0: Yes.
|
|
2710
|
+
- 1: No.
|
|
2711
|
+
:param _builtins.str min_tls_version: Minimum TLS version. By default, TLS1.2 and later versions are supported. TLS1.0 and 1.1 have been disabled. If they still need to be supported, the configuration can be changed.
|
|
2712
|
+
:param _builtins.str password: The password of the SMTP, POP3, or FTP probe type.
|
|
2713
|
+
:param _builtins.int ping_num: The heartbeat of the PING probe type.
|
|
2714
|
+
:param _builtins.int ping_port: PING the port. Applies to TCP PING.
|
|
2715
|
+
:param _builtins.str ping_type: The PING protocol type. Value:
|
|
2716
|
+
- icmp
|
|
2717
|
+
- tcp
|
|
2718
|
+
- udp
|
|
2719
|
+
:param _builtins.int port: Ports of TCP, UDP, SMTP, and POP3 probe types.
|
|
2720
|
+
:param _builtins.str request_content: The request content of the HTTP probe type.
|
|
2721
|
+
:param _builtins.str request_format: HTTP request content format. Value:
|
|
2722
|
+
- hex: hexadecimal format.
|
|
2723
|
+
- text: text format.
|
|
2724
|
+
:param _builtins.str response_content: Match the response content.
|
|
2725
|
+
:param _builtins.str response_format: HTTP response content format. Value:
|
|
2726
|
+
- hex: hexadecimal format.
|
|
2727
|
+
- text: text format.
|
|
2728
|
+
:param _builtins.int timeout: Timeout time. Unit: milliseconds.
|
|
2729
|
+
:param _builtins.str user_name: The username of FTP, SMTP, or pop3.
|
|
2730
|
+
"""
|
|
2731
|
+
if assertions is not None:
|
|
2732
|
+
pulumi.set(__self__, "assertions", assertions)
|
|
2733
|
+
if attempts is not None:
|
|
2734
|
+
pulumi.set(__self__, "attempts", attempts)
|
|
2735
|
+
if cookie is not None:
|
|
2736
|
+
pulumi.set(__self__, "cookie", cookie)
|
|
2737
|
+
if diagnosis_mtr is not None:
|
|
2738
|
+
pulumi.set(__self__, "diagnosis_mtr", diagnosis_mtr)
|
|
2739
|
+
if diagnosis_ping is not None:
|
|
2740
|
+
pulumi.set(__self__, "diagnosis_ping", diagnosis_ping)
|
|
2741
|
+
if dns_hijack_whitelist is not None:
|
|
2742
|
+
pulumi.set(__self__, "dns_hijack_whitelist", dns_hijack_whitelist)
|
|
2743
|
+
if dns_match_rule is not None:
|
|
2744
|
+
pulumi.set(__self__, "dns_match_rule", dns_match_rule)
|
|
2745
|
+
if dns_server is not None:
|
|
2746
|
+
pulumi.set(__self__, "dns_server", dns_server)
|
|
2747
|
+
if dns_type is not None:
|
|
2748
|
+
pulumi.set(__self__, "dns_type", dns_type)
|
|
2749
|
+
if expect_value is not None:
|
|
2750
|
+
pulumi.set(__self__, "expect_value", expect_value)
|
|
2751
|
+
if failure_rate is not None:
|
|
2752
|
+
pulumi.set(__self__, "failure_rate", failure_rate)
|
|
2753
|
+
if header is not None:
|
|
2754
|
+
pulumi.set(__self__, "header", header)
|
|
2755
|
+
if http_method is not None:
|
|
2756
|
+
pulumi.set(__self__, "http_method", http_method)
|
|
2757
|
+
if is_base_encode is not None:
|
|
2758
|
+
pulumi.set(__self__, "is_base_encode", is_base_encode)
|
|
2759
|
+
if match_rule is not None:
|
|
2760
|
+
pulumi.set(__self__, "match_rule", match_rule)
|
|
2761
|
+
if min_tls_version is not None:
|
|
2762
|
+
pulumi.set(__self__, "min_tls_version", min_tls_version)
|
|
2763
|
+
if password is not None:
|
|
2764
|
+
pulumi.set(__self__, "password", password)
|
|
2765
|
+
if ping_num is not None:
|
|
2766
|
+
pulumi.set(__self__, "ping_num", ping_num)
|
|
2767
|
+
if ping_port is not None:
|
|
2768
|
+
pulumi.set(__self__, "ping_port", ping_port)
|
|
2769
|
+
if ping_type is not None:
|
|
2770
|
+
pulumi.set(__self__, "ping_type", ping_type)
|
|
2771
|
+
if port is not None:
|
|
2772
|
+
pulumi.set(__self__, "port", port)
|
|
2773
|
+
if request_content is not None:
|
|
2774
|
+
pulumi.set(__self__, "request_content", request_content)
|
|
2775
|
+
if request_format is not None:
|
|
2776
|
+
pulumi.set(__self__, "request_format", request_format)
|
|
2777
|
+
if response_content is not None:
|
|
2778
|
+
pulumi.set(__self__, "response_content", response_content)
|
|
2779
|
+
if response_format is not None:
|
|
2780
|
+
pulumi.set(__self__, "response_format", response_format)
|
|
2781
|
+
if timeout is not None:
|
|
2782
|
+
pulumi.set(__self__, "timeout", timeout)
|
|
2783
|
+
if user_name is not None:
|
|
2784
|
+
pulumi.set(__self__, "user_name", user_name)
|
|
2785
|
+
|
|
2786
|
+
@_builtins.property
|
|
2787
|
+
@pulumi.getter
|
|
2788
|
+
def assertions(self) -> Optional[Sequence['outputs.SiteMonitorOptionJsonAssertion']]:
|
|
2789
|
+
"""
|
|
2790
|
+
Assertion configuration group. See `assertions` below.
|
|
2791
|
+
"""
|
|
2792
|
+
return pulumi.get(self, "assertions")
|
|
2793
|
+
|
|
2794
|
+
@_builtins.property
|
|
2795
|
+
@pulumi.getter
|
|
2796
|
+
def attempts(self) -> Optional[_builtins.int]:
|
|
2797
|
+
"""
|
|
2798
|
+
Number of retries after DNS failed.
|
|
2799
|
+
"""
|
|
2800
|
+
return pulumi.get(self, "attempts")
|
|
2801
|
+
|
|
2802
|
+
@_builtins.property
|
|
2803
|
+
@pulumi.getter
|
|
2804
|
+
def cookie(self) -> Optional[_builtins.str]:
|
|
2805
|
+
"""
|
|
2806
|
+
The Cookie that sends the HTTP request.
|
|
2807
|
+
"""
|
|
2808
|
+
return pulumi.get(self, "cookie")
|
|
2809
|
+
|
|
2810
|
+
@_builtins.property
|
|
2811
|
+
@pulumi.getter(name="diagnosisMtr")
|
|
2812
|
+
def diagnosis_mtr(self) -> Optional[_builtins.bool]:
|
|
2813
|
+
"""
|
|
2814
|
+
Whether to enable automatic MTR network diagnosis after a task failure. Value:
|
|
2815
|
+
- false: does not enable automatic MTR network diagnosis.
|
|
2816
|
+
- true to turn on automatic MTR network diagnostics.
|
|
2817
|
+
"""
|
|
2818
|
+
return pulumi.get(self, "diagnosis_mtr")
|
|
2819
|
+
|
|
2820
|
+
@_builtins.property
|
|
2821
|
+
@pulumi.getter(name="diagnosisPing")
|
|
2822
|
+
def diagnosis_ping(self) -> Optional[_builtins.bool]:
|
|
2823
|
+
"""
|
|
2824
|
+
Whether to enable the automatic PING network delay detection after the task fails. Value:
|
|
2825
|
+
- false: does not enable automatic PING network delay detection.
|
|
2826
|
+
- true: Enable automatic PING network delay detection.
|
|
2827
|
+
"""
|
|
2828
|
+
return pulumi.get(self, "diagnosis_ping")
|
|
2829
|
+
|
|
2830
|
+
@_builtins.property
|
|
2831
|
+
@pulumi.getter(name="dnsHijackWhitelist")
|
|
2832
|
+
def dns_hijack_whitelist(self) -> Optional[_builtins.str]:
|
|
2833
|
+
"""
|
|
2834
|
+
List of DNS hijacking configurations.
|
|
2835
|
+
"""
|
|
2836
|
+
return pulumi.get(self, "dns_hijack_whitelist")
|
|
2837
|
+
|
|
2838
|
+
@_builtins.property
|
|
2839
|
+
@pulumi.getter(name="dnsMatchRule")
|
|
2840
|
+
def dns_match_rule(self) -> Optional[_builtins.str]:
|
|
2841
|
+
"""
|
|
2842
|
+
Matching Rules for DNS. Value:
|
|
2843
|
+
- IN_DNS: The alias or IP address that is expected to be resolved is in the DNS response.
|
|
2844
|
+
- DNS_IN: All DNS responses appear in the alias or IP address that is expected to be resolved.
|
|
2845
|
+
- EQUAL: the DNS response is exactly the same as the alias or IP address that is expected to be resolved.
|
|
2846
|
+
- ANY:DNS response and the alias or IP address expected to be resolved have an intersection.
|
|
2847
|
+
"""
|
|
2848
|
+
return pulumi.get(self, "dns_match_rule")
|
|
2849
|
+
|
|
2850
|
+
@_builtins.property
|
|
2851
|
+
@pulumi.getter(name="dnsServer")
|
|
2852
|
+
def dns_server(self) -> Optional[_builtins.str]:
|
|
2853
|
+
"""
|
|
2854
|
+
The IP address of the DNS server.
|
|
2855
|
+
|
|
2856
|
+
> **NOTE:** only applicable to DNS probe types.
|
|
2857
|
+
"""
|
|
2858
|
+
return pulumi.get(self, "dns_server")
|
|
2859
|
+
|
|
2860
|
+
@_builtins.property
|
|
2861
|
+
@pulumi.getter(name="dnsType")
|
|
2862
|
+
def dns_type(self) -> Optional[_builtins.str]:
|
|
2863
|
+
"""
|
|
2864
|
+
DNS resolution type. Only applicable to DNS probe types. Value:
|
|
2865
|
+
- A (default): specifies the IP address corresponding to the host name or domain name.
|
|
2866
|
+
- CNAME: maps multiple domain names to another domain name.
|
|
2867
|
+
- NS: specifies that the domain name is resolved by a DNS server.
|
|
2868
|
+
- MX: point domain name to a mail server address.
|
|
2869
|
+
- TXT: Description of host name or domain name. The text length is limited to 512 bytes, which is usually used as SPF(Sender Policy Framework) record, that is, anti-spam.
|
|
2870
|
+
"""
|
|
2871
|
+
return pulumi.get(self, "dns_type")
|
|
2872
|
+
|
|
2873
|
+
@_builtins.property
|
|
2874
|
+
@pulumi.getter(name="expectValue")
|
|
2875
|
+
def expect_value(self) -> Optional[_builtins.str]:
|
|
2876
|
+
"""
|
|
2877
|
+
The alias or address to be resolved.
|
|
2878
|
+
|
|
2879
|
+
> **NOTE:** This parameter applies only to DNS probe types.
|
|
2880
|
+
"""
|
|
2881
|
+
return pulumi.get(self, "expect_value")
|
|
2882
|
+
|
|
2883
|
+
@_builtins.property
|
|
2884
|
+
@pulumi.getter(name="failureRate")
|
|
2885
|
+
def failure_rate(self) -> Optional[_builtins.str]:
|
|
2886
|
+
"""
|
|
2887
|
+
Packet loss rate.
|
|
2888
|
+
|
|
2889
|
+
> **NOTE:** This parameter only applies to PING probe types.
|
|
2890
|
+
"""
|
|
2891
|
+
return pulumi.get(self, "failure_rate")
|
|
2892
|
+
|
|
2893
|
+
@_builtins.property
|
|
2894
|
+
@pulumi.getter
|
|
2895
|
+
def header(self) -> Optional[_builtins.str]:
|
|
2896
|
+
"""
|
|
2897
|
+
HTTP request header.
|
|
2898
|
+
"""
|
|
2899
|
+
return pulumi.get(self, "header")
|
|
2900
|
+
|
|
2901
|
+
@_builtins.property
|
|
2902
|
+
@pulumi.getter(name="httpMethod")
|
|
2903
|
+
def http_method(self) -> Optional[_builtins.str]:
|
|
2904
|
+
"""
|
|
2905
|
+
HTTP request method. Value:
|
|
2906
|
+
- get
|
|
2907
|
+
- post
|
|
2908
|
+
- head
|
|
2909
|
+
"""
|
|
2910
|
+
return pulumi.get(self, "http_method")
|
|
2911
|
+
|
|
2912
|
+
@_builtins.property
|
|
2913
|
+
@pulumi.getter(name="isBaseEncode")
|
|
2914
|
+
def is_base_encode(self) -> Optional[_builtins.bool]:
|
|
2915
|
+
"""
|
|
2916
|
+
Whether the parameter' Password' is Base64 encoded.
|
|
2917
|
+
- true: Yes.
|
|
2918
|
+
- false: No.
|
|
2919
|
+
"""
|
|
2920
|
+
return pulumi.get(self, "is_base_encode")
|
|
2921
|
+
|
|
2922
|
+
@_builtins.property
|
|
2923
|
+
@pulumi.getter(name="matchRule")
|
|
2924
|
+
def match_rule(self) -> Optional[_builtins.int]:
|
|
2925
|
+
"""
|
|
2926
|
+
Whether alarm rules are included. Value:
|
|
2927
|
+
- 0: Yes.
|
|
2928
|
+
- 1: No.
|
|
2929
|
+
"""
|
|
2930
|
+
return pulumi.get(self, "match_rule")
|
|
2931
|
+
|
|
2932
|
+
@_builtins.property
|
|
2933
|
+
@pulumi.getter(name="minTlsVersion")
|
|
2934
|
+
def min_tls_version(self) -> Optional[_builtins.str]:
|
|
2935
|
+
"""
|
|
2936
|
+
Minimum TLS version. By default, TLS1.2 and later versions are supported. TLS1.0 and 1.1 have been disabled. If they still need to be supported, the configuration can be changed.
|
|
2937
|
+
"""
|
|
2938
|
+
return pulumi.get(self, "min_tls_version")
|
|
2939
|
+
|
|
2940
|
+
@_builtins.property
|
|
2941
|
+
@pulumi.getter
|
|
2942
|
+
def password(self) -> Optional[_builtins.str]:
|
|
2943
|
+
"""
|
|
2944
|
+
The password of the SMTP, POP3, or FTP probe type.
|
|
2945
|
+
"""
|
|
2946
|
+
return pulumi.get(self, "password")
|
|
2947
|
+
|
|
2948
|
+
@_builtins.property
|
|
2949
|
+
@pulumi.getter(name="pingNum")
|
|
2950
|
+
def ping_num(self) -> Optional[_builtins.int]:
|
|
2951
|
+
"""
|
|
2952
|
+
The heartbeat of the PING probe type.
|
|
2953
|
+
"""
|
|
2954
|
+
return pulumi.get(self, "ping_num")
|
|
2955
|
+
|
|
2956
|
+
@_builtins.property
|
|
2957
|
+
@pulumi.getter(name="pingPort")
|
|
2958
|
+
def ping_port(self) -> Optional[_builtins.int]:
|
|
2959
|
+
"""
|
|
2960
|
+
PING the port. Applies to TCP PING.
|
|
2961
|
+
"""
|
|
2962
|
+
return pulumi.get(self, "ping_port")
|
|
2963
|
+
|
|
2964
|
+
@_builtins.property
|
|
2965
|
+
@pulumi.getter(name="pingType")
|
|
2966
|
+
def ping_type(self) -> Optional[_builtins.str]:
|
|
2967
|
+
"""
|
|
2968
|
+
The PING protocol type. Value:
|
|
2969
|
+
- icmp
|
|
2970
|
+
- tcp
|
|
2971
|
+
- udp
|
|
2972
|
+
"""
|
|
2973
|
+
return pulumi.get(self, "ping_type")
|
|
2974
|
+
|
|
2975
|
+
@_builtins.property
|
|
2976
|
+
@pulumi.getter
|
|
2977
|
+
def port(self) -> Optional[_builtins.int]:
|
|
2978
|
+
"""
|
|
2979
|
+
Ports of TCP, UDP, SMTP, and POP3 probe types.
|
|
2980
|
+
"""
|
|
2981
|
+
return pulumi.get(self, "port")
|
|
2982
|
+
|
|
2983
|
+
@_builtins.property
|
|
2984
|
+
@pulumi.getter(name="requestContent")
|
|
2985
|
+
def request_content(self) -> Optional[_builtins.str]:
|
|
2986
|
+
"""
|
|
2987
|
+
The request content of the HTTP probe type.
|
|
2988
|
+
"""
|
|
2989
|
+
return pulumi.get(self, "request_content")
|
|
2990
|
+
|
|
2991
|
+
@_builtins.property
|
|
2992
|
+
@pulumi.getter(name="requestFormat")
|
|
2993
|
+
def request_format(self) -> Optional[_builtins.str]:
|
|
2994
|
+
"""
|
|
2995
|
+
HTTP request content format. Value:
|
|
2996
|
+
- hex: hexadecimal format.
|
|
2997
|
+
- text: text format.
|
|
2998
|
+
"""
|
|
2999
|
+
return pulumi.get(self, "request_format")
|
|
3000
|
+
|
|
3001
|
+
@_builtins.property
|
|
3002
|
+
@pulumi.getter(name="responseContent")
|
|
3003
|
+
def response_content(self) -> Optional[_builtins.str]:
|
|
3004
|
+
"""
|
|
3005
|
+
Match the response content.
|
|
3006
|
+
"""
|
|
3007
|
+
return pulumi.get(self, "response_content")
|
|
3008
|
+
|
|
3009
|
+
@_builtins.property
|
|
3010
|
+
@pulumi.getter(name="responseFormat")
|
|
3011
|
+
def response_format(self) -> Optional[_builtins.str]:
|
|
3012
|
+
"""
|
|
3013
|
+
HTTP response content format. Value:
|
|
3014
|
+
- hex: hexadecimal format.
|
|
3015
|
+
- text: text format.
|
|
3016
|
+
"""
|
|
3017
|
+
return pulumi.get(self, "response_format")
|
|
3018
|
+
|
|
3019
|
+
@_builtins.property
|
|
3020
|
+
@pulumi.getter
|
|
3021
|
+
def timeout(self) -> Optional[_builtins.int]:
|
|
3022
|
+
"""
|
|
3023
|
+
Timeout time. Unit: milliseconds.
|
|
3024
|
+
"""
|
|
3025
|
+
return pulumi.get(self, "timeout")
|
|
3026
|
+
|
|
3027
|
+
@_builtins.property
|
|
3028
|
+
@pulumi.getter(name="userName")
|
|
3029
|
+
def user_name(self) -> Optional[_builtins.str]:
|
|
3030
|
+
"""
|
|
3031
|
+
The username of FTP, SMTP, or pop3.
|
|
3032
|
+
"""
|
|
3033
|
+
return pulumi.get(self, "user_name")
|
|
3034
|
+
|
|
3035
|
+
|
|
3036
|
+
@pulumi.output_type
|
|
3037
|
+
class SiteMonitorOptionJsonAssertion(dict):
|
|
3038
|
+
def __init__(__self__, *,
|
|
3039
|
+
operator: Optional[_builtins.str] = None,
|
|
3040
|
+
target: Optional[_builtins.str] = None,
|
|
3041
|
+
type: Optional[_builtins.str] = None):
|
|
3042
|
+
"""
|
|
3043
|
+
:param _builtins.str operator: Assertion comparison operator. Value:
|
|
3044
|
+
- contains: contains.
|
|
3045
|
+
- doesNotContain: does not contain.
|
|
3046
|
+
- matches: regular matching.
|
|
3047
|
+
- doesNotMatch: regular mismatch.
|
|
3048
|
+
- is: Numeric equals or character matches equals.
|
|
3049
|
+
- isNot: not equal.
|
|
3050
|
+
- Lesthan: less.
|
|
3051
|
+
- moreThan: Greater.
|
|
3052
|
+
:param _builtins.str target: Assertion matches the target numeric value or character of the comparison.
|
|
3053
|
+
"""
|
|
3054
|
+
if operator is not None:
|
|
3055
|
+
pulumi.set(__self__, "operator", operator)
|
|
3056
|
+
if target is not None:
|
|
3057
|
+
pulumi.set(__self__, "target", target)
|
|
3058
|
+
if type is not None:
|
|
3059
|
+
pulumi.set(__self__, "type", type)
|
|
3060
|
+
|
|
3061
|
+
@_builtins.property
|
|
3062
|
+
@pulumi.getter
|
|
3063
|
+
def operator(self) -> Optional[_builtins.str]:
|
|
3064
|
+
"""
|
|
3065
|
+
Assertion comparison operator. Value:
|
|
3066
|
+
- contains: contains.
|
|
3067
|
+
- doesNotContain: does not contain.
|
|
3068
|
+
- matches: regular matching.
|
|
3069
|
+
- doesNotMatch: regular mismatch.
|
|
3070
|
+
- is: Numeric equals or character matches equals.
|
|
3071
|
+
- isNot: not equal.
|
|
3072
|
+
- Lesthan: less.
|
|
3073
|
+
- moreThan: Greater.
|
|
3074
|
+
"""
|
|
3075
|
+
return pulumi.get(self, "operator")
|
|
3076
|
+
|
|
3077
|
+
@_builtins.property
|
|
3078
|
+
@pulumi.getter
|
|
3079
|
+
def target(self) -> Optional[_builtins.str]:
|
|
3080
|
+
"""
|
|
3081
|
+
Assertion matches the target numeric value or character of the comparison.
|
|
3082
|
+
"""
|
|
3083
|
+
return pulumi.get(self, "target")
|
|
3084
|
+
|
|
3085
|
+
@_builtins.property
|
|
3086
|
+
@pulumi.getter
|
|
3087
|
+
def type(self) -> Optional[_builtins.str]:
|
|
3088
|
+
return pulumi.get(self, "type")
|
|
3089
|
+
|
|
2490
3090
|
|
|
2491
3091
|
@pulumi.output_type
|
|
2492
3092
|
class SlsGroupSlsGroupConfig(dict):
|