pulumi-alicloud 3.88.0a1761888283__py3-none-any.whl → 3.89.0a1761974293__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.89.0a1761974293.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.88.0a1761888283.dist-info → pulumi_alicloud-3.89.0a1761974293.dist-info}/RECORD +66 -54
- {pulumi_alicloud-3.88.0a1761888283.dist-info → pulumi_alicloud-3.89.0a1761974293.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.88.0a1761888283.dist-info → pulumi_alicloud-3.89.0a1761974293.dist-info}/top_level.txt +0 -0
pulumi_alicloud/wafv3/_inputs.py
CHANGED
|
@@ -21,10 +21,20 @@ __all__ = [
|
|
|
21
21
|
'DefenseRuleConfigAccountIdentifierArgsDict',
|
|
22
22
|
'DefenseRuleConfigConditionArgs',
|
|
23
23
|
'DefenseRuleConfigConditionArgsDict',
|
|
24
|
+
'DefenseRuleConfigGrayConfigArgs',
|
|
25
|
+
'DefenseRuleConfigGrayConfigArgsDict',
|
|
24
26
|
'DefenseRuleConfigRateLimitArgs',
|
|
25
27
|
'DefenseRuleConfigRateLimitArgsDict',
|
|
26
28
|
'DefenseRuleConfigRateLimitStatusArgs',
|
|
27
29
|
'DefenseRuleConfigRateLimitStatusArgsDict',
|
|
30
|
+
'DefenseRuleConfigTimeConfigArgs',
|
|
31
|
+
'DefenseRuleConfigTimeConfigArgsDict',
|
|
32
|
+
'DefenseRuleConfigTimeConfigTimePeriodArgs',
|
|
33
|
+
'DefenseRuleConfigTimeConfigTimePeriodArgsDict',
|
|
34
|
+
'DefenseRuleConfigTimeConfigWeekTimePeriodArgs',
|
|
35
|
+
'DefenseRuleConfigTimeConfigWeekTimePeriodArgsDict',
|
|
36
|
+
'DefenseRuleConfigTimeConfigWeekTimePeriodDayPeriodArgs',
|
|
37
|
+
'DefenseRuleConfigTimeConfigWeekTimePeriodDayPeriodArgsDict',
|
|
28
38
|
'DomainListenArgs',
|
|
29
39
|
'DomainListenArgsDict',
|
|
30
40
|
'DomainRedirectArgs',
|
|
@@ -114,6 +124,16 @@ if not MYPY:
|
|
|
114
124
|
"""
|
|
115
125
|
The traffic characteristics of ACL, which are described in JSON format. You can enter up to five matching conditions. For specific configuration information, see detailed configuration of conditions. See `conditions` below.
|
|
116
126
|
"""
|
|
127
|
+
gray_config: NotRequired[pulumi.Input['DefenseRuleConfigGrayConfigArgsDict']]
|
|
128
|
+
"""
|
|
129
|
+
The canary release configuration for the rule. The value is a JSON. This parameter is required only when you set `GrayStatus` to 1. See `gray_config` below.
|
|
130
|
+
"""
|
|
131
|
+
gray_status: NotRequired[pulumi.Input[_builtins.int]]
|
|
132
|
+
"""
|
|
133
|
+
Specifies whether to enable canary release for the rule. Valid values:
|
|
134
|
+
- 0 (default): disables canary release.
|
|
135
|
+
- 1: enables canary release.
|
|
136
|
+
"""
|
|
117
137
|
mode: NotRequired[pulumi.Input[_builtins.int]]
|
|
118
138
|
"""
|
|
119
139
|
The HTTP flood protection mode. Valid values:
|
|
@@ -156,6 +176,10 @@ if not MYPY:
|
|
|
156
176
|
- qps: indicates throttling based on queries per second (QPS).
|
|
157
177
|
- ratio (default): indicates throttling based on percentage.
|
|
158
178
|
"""
|
|
179
|
+
time_config: NotRequired[pulumi.Input['DefenseRuleConfigTimeConfigArgsDict']]
|
|
180
|
+
"""
|
|
181
|
+
The scheduled rule configuration. The value is a JSON. See `time_config` below.
|
|
182
|
+
"""
|
|
159
183
|
ua: NotRequired[pulumi.Input[_builtins.str]]
|
|
160
184
|
"""
|
|
161
185
|
The User-Agent string that is allowed for access to the address.
|
|
@@ -179,6 +203,8 @@ class DefenseRuleConfigArgs:
|
|
|
179
203
|
cc_status: Optional[pulumi.Input[_builtins.int]] = None,
|
|
180
204
|
cn_regions: Optional[pulumi.Input[_builtins.str]] = None,
|
|
181
205
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['DefenseRuleConfigConditionArgs']]]] = None,
|
|
206
|
+
gray_config: Optional[pulumi.Input['DefenseRuleConfigGrayConfigArgs']] = None,
|
|
207
|
+
gray_status: Optional[pulumi.Input[_builtins.int]] = None,
|
|
182
208
|
mode: Optional[pulumi.Input[_builtins.int]] = None,
|
|
183
209
|
protocol: Optional[pulumi.Input[_builtins.str]] = None,
|
|
184
210
|
rate_limit: Optional[pulumi.Input['DefenseRuleConfigRateLimitArgs']] = None,
|
|
@@ -186,6 +212,7 @@ class DefenseRuleConfigArgs:
|
|
|
186
212
|
rule_action: Optional[pulumi.Input[_builtins.str]] = None,
|
|
187
213
|
throttle_threhold: Optional[pulumi.Input[_builtins.int]] = None,
|
|
188
214
|
throttle_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
215
|
+
time_config: Optional[pulumi.Input['DefenseRuleConfigTimeConfigArgs']] = None,
|
|
189
216
|
ua: Optional[pulumi.Input[_builtins.str]] = None,
|
|
190
217
|
url: Optional[pulumi.Input[_builtins.str]] = None):
|
|
191
218
|
"""
|
|
@@ -239,6 +266,10 @@ class DefenseRuleConfigArgs:
|
|
|
239
266
|
- 1: Indicates that the speed limit is on.
|
|
240
267
|
:param pulumi.Input[_builtins.str] cn_regions: The regions in China from which you want to block requests. If you specify "CN", requests from the Chinese mainland (excluding Hong Kong, Macao, and Taiwan) are blocked. Separate multiple regions with commas (,). For more information about region codes, see Description of region codes in China.
|
|
241
268
|
:param pulumi.Input[Sequence[pulumi.Input['DefenseRuleConfigConditionArgs']]] conditions: The traffic characteristics of ACL, which are described in JSON format. You can enter up to five matching conditions. For specific configuration information, see detailed configuration of conditions. See `conditions` below.
|
|
269
|
+
:param pulumi.Input['DefenseRuleConfigGrayConfigArgs'] gray_config: The canary release configuration for the rule. The value is a JSON. This parameter is required only when you set `GrayStatus` to 1. See `gray_config` below.
|
|
270
|
+
:param pulumi.Input[_builtins.int] gray_status: Specifies whether to enable canary release for the rule. Valid values:
|
|
271
|
+
- 0 (default): disables canary release.
|
|
272
|
+
- 1: enables canary release.
|
|
242
273
|
:param pulumi.Input[_builtins.int] mode: The HTTP flood protection mode. Valid values:
|
|
243
274
|
- 0 (default): indicates normal protection.
|
|
244
275
|
- 1: indicates emergency protection.
|
|
@@ -260,6 +291,7 @@ class DefenseRuleConfigArgs:
|
|
|
260
291
|
:param pulumi.Input[_builtins.str] throttle_type: The throttling method. Valid values:
|
|
261
292
|
- qps: indicates throttling based on queries per second (QPS).
|
|
262
293
|
- ratio (default): indicates throttling based on percentage.
|
|
294
|
+
:param pulumi.Input['DefenseRuleConfigTimeConfigArgs'] time_config: The scheduled rule configuration. The value is a JSON. See `time_config` below.
|
|
263
295
|
:param pulumi.Input[_builtins.str] ua: The User-Agent string that is allowed for access to the address.
|
|
264
296
|
:param pulumi.Input[_builtins.str] url: The address of the cached page.
|
|
265
297
|
"""
|
|
@@ -281,6 +313,10 @@ class DefenseRuleConfigArgs:
|
|
|
281
313
|
pulumi.set(__self__, "cn_regions", cn_regions)
|
|
282
314
|
if conditions is not None:
|
|
283
315
|
pulumi.set(__self__, "conditions", conditions)
|
|
316
|
+
if gray_config is not None:
|
|
317
|
+
pulumi.set(__self__, "gray_config", gray_config)
|
|
318
|
+
if gray_status is not None:
|
|
319
|
+
pulumi.set(__self__, "gray_status", gray_status)
|
|
284
320
|
if mode is not None:
|
|
285
321
|
pulumi.set(__self__, "mode", mode)
|
|
286
322
|
if protocol is not None:
|
|
@@ -295,6 +331,8 @@ class DefenseRuleConfigArgs:
|
|
|
295
331
|
pulumi.set(__self__, "throttle_threhold", throttle_threhold)
|
|
296
332
|
if throttle_type is not None:
|
|
297
333
|
pulumi.set(__self__, "throttle_type", throttle_type)
|
|
334
|
+
if time_config is not None:
|
|
335
|
+
pulumi.set(__self__, "time_config", time_config)
|
|
298
336
|
if ua is not None:
|
|
299
337
|
pulumi.set(__self__, "ua", ua)
|
|
300
338
|
if url is not None:
|
|
@@ -449,6 +487,32 @@ class DefenseRuleConfigArgs:
|
|
|
449
487
|
def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DefenseRuleConfigConditionArgs']]]]):
|
|
450
488
|
pulumi.set(self, "conditions", value)
|
|
451
489
|
|
|
490
|
+
@_builtins.property
|
|
491
|
+
@pulumi.getter(name="grayConfig")
|
|
492
|
+
def gray_config(self) -> Optional[pulumi.Input['DefenseRuleConfigGrayConfigArgs']]:
|
|
493
|
+
"""
|
|
494
|
+
The canary release configuration for the rule. The value is a JSON. This parameter is required only when you set `GrayStatus` to 1. See `gray_config` below.
|
|
495
|
+
"""
|
|
496
|
+
return pulumi.get(self, "gray_config")
|
|
497
|
+
|
|
498
|
+
@gray_config.setter
|
|
499
|
+
def gray_config(self, value: Optional[pulumi.Input['DefenseRuleConfigGrayConfigArgs']]):
|
|
500
|
+
pulumi.set(self, "gray_config", value)
|
|
501
|
+
|
|
502
|
+
@_builtins.property
|
|
503
|
+
@pulumi.getter(name="grayStatus")
|
|
504
|
+
def gray_status(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
505
|
+
"""
|
|
506
|
+
Specifies whether to enable canary release for the rule. Valid values:
|
|
507
|
+
- 0 (default): disables canary release.
|
|
508
|
+
- 1: enables canary release.
|
|
509
|
+
"""
|
|
510
|
+
return pulumi.get(self, "gray_status")
|
|
511
|
+
|
|
512
|
+
@gray_status.setter
|
|
513
|
+
def gray_status(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
514
|
+
pulumi.set(self, "gray_status", value)
|
|
515
|
+
|
|
452
516
|
@_builtins.property
|
|
453
517
|
@pulumi.getter
|
|
454
518
|
def mode(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
@@ -547,6 +611,18 @@ class DefenseRuleConfigArgs:
|
|
|
547
611
|
def throttle_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
548
612
|
pulumi.set(self, "throttle_type", value)
|
|
549
613
|
|
|
614
|
+
@_builtins.property
|
|
615
|
+
@pulumi.getter(name="timeConfig")
|
|
616
|
+
def time_config(self) -> Optional[pulumi.Input['DefenseRuleConfigTimeConfigArgs']]:
|
|
617
|
+
"""
|
|
618
|
+
The scheduled rule configuration. The value is a JSON. See `time_config` below.
|
|
619
|
+
"""
|
|
620
|
+
return pulumi.get(self, "time_config")
|
|
621
|
+
|
|
622
|
+
@time_config.setter
|
|
623
|
+
def time_config(self, value: Optional[pulumi.Input['DefenseRuleConfigTimeConfigArgs']]):
|
|
624
|
+
pulumi.set(self, "time_config", value)
|
|
625
|
+
|
|
550
626
|
@_builtins.property
|
|
551
627
|
@pulumi.getter
|
|
552
628
|
def ua(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -881,6 +957,78 @@ class DefenseRuleConfigConditionArgs:
|
|
|
881
957
|
pulumi.set(self, "values", value)
|
|
882
958
|
|
|
883
959
|
|
|
960
|
+
if not MYPY:
|
|
961
|
+
class DefenseRuleConfigGrayConfigArgsDict(TypedDict):
|
|
962
|
+
gray_rate: NotRequired[pulumi.Input[_builtins.int]]
|
|
963
|
+
"""
|
|
964
|
+
The percentage of traffic for which the canary release takes effect. The value must be in the range of 1 to 100.
|
|
965
|
+
"""
|
|
966
|
+
gray_sub_key: NotRequired[pulumi.Input[_builtins.str]]
|
|
967
|
+
"""
|
|
968
|
+
The sub-feature of the statistical object. This parameter is required when you set the `GrayTarget` parameter to `cookie`, `header`, or `queryarg`.
|
|
969
|
+
"""
|
|
970
|
+
gray_target: NotRequired[pulumi.Input[_builtins.str]]
|
|
971
|
+
"""
|
|
972
|
+
The type of the canary release object. Valid values:
|
|
973
|
+
"""
|
|
974
|
+
elif False:
|
|
975
|
+
DefenseRuleConfigGrayConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
976
|
+
|
|
977
|
+
@pulumi.input_type
|
|
978
|
+
class DefenseRuleConfigGrayConfigArgs:
|
|
979
|
+
def __init__(__self__, *,
|
|
980
|
+
gray_rate: Optional[pulumi.Input[_builtins.int]] = None,
|
|
981
|
+
gray_sub_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
982
|
+
gray_target: Optional[pulumi.Input[_builtins.str]] = None):
|
|
983
|
+
"""
|
|
984
|
+
:param pulumi.Input[_builtins.int] gray_rate: The percentage of traffic for which the canary release takes effect. The value must be in the range of 1 to 100.
|
|
985
|
+
:param pulumi.Input[_builtins.str] gray_sub_key: The sub-feature of the statistical object. This parameter is required when you set the `GrayTarget` parameter to `cookie`, `header`, or `queryarg`.
|
|
986
|
+
:param pulumi.Input[_builtins.str] gray_target: The type of the canary release object. Valid values:
|
|
987
|
+
"""
|
|
988
|
+
if gray_rate is not None:
|
|
989
|
+
pulumi.set(__self__, "gray_rate", gray_rate)
|
|
990
|
+
if gray_sub_key is not None:
|
|
991
|
+
pulumi.set(__self__, "gray_sub_key", gray_sub_key)
|
|
992
|
+
if gray_target is not None:
|
|
993
|
+
pulumi.set(__self__, "gray_target", gray_target)
|
|
994
|
+
|
|
995
|
+
@_builtins.property
|
|
996
|
+
@pulumi.getter(name="grayRate")
|
|
997
|
+
def gray_rate(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
998
|
+
"""
|
|
999
|
+
The percentage of traffic for which the canary release takes effect. The value must be in the range of 1 to 100.
|
|
1000
|
+
"""
|
|
1001
|
+
return pulumi.get(self, "gray_rate")
|
|
1002
|
+
|
|
1003
|
+
@gray_rate.setter
|
|
1004
|
+
def gray_rate(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1005
|
+
pulumi.set(self, "gray_rate", value)
|
|
1006
|
+
|
|
1007
|
+
@_builtins.property
|
|
1008
|
+
@pulumi.getter(name="graySubKey")
|
|
1009
|
+
def gray_sub_key(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1010
|
+
"""
|
|
1011
|
+
The sub-feature of the statistical object. This parameter is required when you set the `GrayTarget` parameter to `cookie`, `header`, or `queryarg`.
|
|
1012
|
+
"""
|
|
1013
|
+
return pulumi.get(self, "gray_sub_key")
|
|
1014
|
+
|
|
1015
|
+
@gray_sub_key.setter
|
|
1016
|
+
def gray_sub_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1017
|
+
pulumi.set(self, "gray_sub_key", value)
|
|
1018
|
+
|
|
1019
|
+
@_builtins.property
|
|
1020
|
+
@pulumi.getter(name="grayTarget")
|
|
1021
|
+
def gray_target(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1022
|
+
"""
|
|
1023
|
+
The type of the canary release object. Valid values:
|
|
1024
|
+
"""
|
|
1025
|
+
return pulumi.get(self, "gray_target")
|
|
1026
|
+
|
|
1027
|
+
@gray_target.setter
|
|
1028
|
+
def gray_target(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1029
|
+
pulumi.set(self, "gray_target", value)
|
|
1030
|
+
|
|
1031
|
+
|
|
884
1032
|
if not MYPY:
|
|
885
1033
|
class DefenseRuleConfigRateLimitArgsDict(TypedDict):
|
|
886
1034
|
interval: NotRequired[pulumi.Input[_builtins.int]]
|
|
@@ -1106,6 +1254,254 @@ class DefenseRuleConfigRateLimitStatusArgs:
|
|
|
1106
1254
|
pulumi.set(self, "ratio", value)
|
|
1107
1255
|
|
|
1108
1256
|
|
|
1257
|
+
if not MYPY:
|
|
1258
|
+
class DefenseRuleConfigTimeConfigArgsDict(TypedDict):
|
|
1259
|
+
time_periods: NotRequired[pulumi.Input[Sequence[pulumi.Input['DefenseRuleConfigTimeConfigTimePeriodArgsDict']]]]
|
|
1260
|
+
"""
|
|
1261
|
+
The time period during which the rule is effective. This parameter is required when you set the `TimeScope` parameter to `period`. A maximum of five time periods can be set. See `time_periods` below.
|
|
1262
|
+
"""
|
|
1263
|
+
time_scope: NotRequired[pulumi.Input[_builtins.str]]
|
|
1264
|
+
"""
|
|
1265
|
+
The effective period of the rule. Valid values:
|
|
1266
|
+
"""
|
|
1267
|
+
time_zone: NotRequired[pulumi.Input[_builtins.int]]
|
|
1268
|
+
"""
|
|
1269
|
+
The time zone in which the rule is effective. The default value is `8`. The value must be in the range of - 12 to 12. `0` indicates UTC. `8` indicates UTC+8. **-8** indicates UTC-8.
|
|
1270
|
+
"""
|
|
1271
|
+
week_time_periods: NotRequired[pulumi.Input[Sequence[pulumi.Input['DefenseRuleConfigTimeConfigWeekTimePeriodArgsDict']]]]
|
|
1272
|
+
"""
|
|
1273
|
+
The periodic time period during which the rule is effective. This parameter is required when you set the `TimeScope` parameter to `cycle`. A maximum of five time periods can be set. See `week_time_periods` below.
|
|
1274
|
+
"""
|
|
1275
|
+
elif False:
|
|
1276
|
+
DefenseRuleConfigTimeConfigArgsDict: TypeAlias = Mapping[str, Any]
|
|
1277
|
+
|
|
1278
|
+
@pulumi.input_type
|
|
1279
|
+
class DefenseRuleConfigTimeConfigArgs:
|
|
1280
|
+
def __init__(__self__, *,
|
|
1281
|
+
time_periods: Optional[pulumi.Input[Sequence[pulumi.Input['DefenseRuleConfigTimeConfigTimePeriodArgs']]]] = None,
|
|
1282
|
+
time_scope: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1283
|
+
time_zone: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1284
|
+
week_time_periods: Optional[pulumi.Input[Sequence[pulumi.Input['DefenseRuleConfigTimeConfigWeekTimePeriodArgs']]]] = None):
|
|
1285
|
+
"""
|
|
1286
|
+
:param pulumi.Input[Sequence[pulumi.Input['DefenseRuleConfigTimeConfigTimePeriodArgs']]] time_periods: The time period during which the rule is effective. This parameter is required when you set the `TimeScope` parameter to `period`. A maximum of five time periods can be set. See `time_periods` below.
|
|
1287
|
+
:param pulumi.Input[_builtins.str] time_scope: The effective period of the rule. Valid values:
|
|
1288
|
+
:param pulumi.Input[_builtins.int] time_zone: The time zone in which the rule is effective. The default value is `8`. The value must be in the range of - 12 to 12. `0` indicates UTC. `8` indicates UTC+8. **-8** indicates UTC-8.
|
|
1289
|
+
:param pulumi.Input[Sequence[pulumi.Input['DefenseRuleConfigTimeConfigWeekTimePeriodArgs']]] week_time_periods: The periodic time period during which the rule is effective. This parameter is required when you set the `TimeScope` parameter to `cycle`. A maximum of five time periods can be set. See `week_time_periods` below.
|
|
1290
|
+
"""
|
|
1291
|
+
if time_periods is not None:
|
|
1292
|
+
pulumi.set(__self__, "time_periods", time_periods)
|
|
1293
|
+
if time_scope is not None:
|
|
1294
|
+
pulumi.set(__self__, "time_scope", time_scope)
|
|
1295
|
+
if time_zone is not None:
|
|
1296
|
+
pulumi.set(__self__, "time_zone", time_zone)
|
|
1297
|
+
if week_time_periods is not None:
|
|
1298
|
+
pulumi.set(__self__, "week_time_periods", week_time_periods)
|
|
1299
|
+
|
|
1300
|
+
@_builtins.property
|
|
1301
|
+
@pulumi.getter(name="timePeriods")
|
|
1302
|
+
def time_periods(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DefenseRuleConfigTimeConfigTimePeriodArgs']]]]:
|
|
1303
|
+
"""
|
|
1304
|
+
The time period during which the rule is effective. This parameter is required when you set the `TimeScope` parameter to `period`. A maximum of five time periods can be set. See `time_periods` below.
|
|
1305
|
+
"""
|
|
1306
|
+
return pulumi.get(self, "time_periods")
|
|
1307
|
+
|
|
1308
|
+
@time_periods.setter
|
|
1309
|
+
def time_periods(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DefenseRuleConfigTimeConfigTimePeriodArgs']]]]):
|
|
1310
|
+
pulumi.set(self, "time_periods", value)
|
|
1311
|
+
|
|
1312
|
+
@_builtins.property
|
|
1313
|
+
@pulumi.getter(name="timeScope")
|
|
1314
|
+
def time_scope(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1315
|
+
"""
|
|
1316
|
+
The effective period of the rule. Valid values:
|
|
1317
|
+
"""
|
|
1318
|
+
return pulumi.get(self, "time_scope")
|
|
1319
|
+
|
|
1320
|
+
@time_scope.setter
|
|
1321
|
+
def time_scope(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1322
|
+
pulumi.set(self, "time_scope", value)
|
|
1323
|
+
|
|
1324
|
+
@_builtins.property
|
|
1325
|
+
@pulumi.getter(name="timeZone")
|
|
1326
|
+
def time_zone(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1327
|
+
"""
|
|
1328
|
+
The time zone in which the rule is effective. The default value is `8`. The value must be in the range of - 12 to 12. `0` indicates UTC. `8` indicates UTC+8. **-8** indicates UTC-8.
|
|
1329
|
+
"""
|
|
1330
|
+
return pulumi.get(self, "time_zone")
|
|
1331
|
+
|
|
1332
|
+
@time_zone.setter
|
|
1333
|
+
def time_zone(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1334
|
+
pulumi.set(self, "time_zone", value)
|
|
1335
|
+
|
|
1336
|
+
@_builtins.property
|
|
1337
|
+
@pulumi.getter(name="weekTimePeriods")
|
|
1338
|
+
def week_time_periods(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DefenseRuleConfigTimeConfigWeekTimePeriodArgs']]]]:
|
|
1339
|
+
"""
|
|
1340
|
+
The periodic time period during which the rule is effective. This parameter is required when you set the `TimeScope` parameter to `cycle`. A maximum of five time periods can be set. See `week_time_periods` below.
|
|
1341
|
+
"""
|
|
1342
|
+
return pulumi.get(self, "week_time_periods")
|
|
1343
|
+
|
|
1344
|
+
@week_time_periods.setter
|
|
1345
|
+
def week_time_periods(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DefenseRuleConfigTimeConfigWeekTimePeriodArgs']]]]):
|
|
1346
|
+
pulumi.set(self, "week_time_periods", value)
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
if not MYPY:
|
|
1350
|
+
class DefenseRuleConfigTimeConfigTimePeriodArgsDict(TypedDict):
|
|
1351
|
+
end: NotRequired[pulumi.Input[_builtins.int]]
|
|
1352
|
+
"""
|
|
1353
|
+
The end time of each day when the rule is effective. This is a millisecond-level timestamp relative to 00:00 of the day. The value must be in the range of 0-86400000).
|
|
1354
|
+
"""
|
|
1355
|
+
start: NotRequired[pulumi.Input[_builtins.int]]
|
|
1356
|
+
"""
|
|
1357
|
+
The start time of each day when the rule is effective. This is a millisecond-level timestamp relative to 00:00 of the day. The value must be in the range of [0-86400000).
|
|
1358
|
+
"""
|
|
1359
|
+
elif False:
|
|
1360
|
+
DefenseRuleConfigTimeConfigTimePeriodArgsDict: TypeAlias = Mapping[str, Any]
|
|
1361
|
+
|
|
1362
|
+
@pulumi.input_type
|
|
1363
|
+
class DefenseRuleConfigTimeConfigTimePeriodArgs:
|
|
1364
|
+
def __init__(__self__, *,
|
|
1365
|
+
end: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1366
|
+
start: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1367
|
+
"""
|
|
1368
|
+
:param pulumi.Input[_builtins.int] end: The end time of each day when the rule is effective. This is a millisecond-level timestamp relative to 00:00 of the day. The value must be in the range of 0-86400000).
|
|
1369
|
+
:param pulumi.Input[_builtins.int] start: The start time of each day when the rule is effective. This is a millisecond-level timestamp relative to 00:00 of the day. The value must be in the range of [0-86400000).
|
|
1370
|
+
"""
|
|
1371
|
+
if end is not None:
|
|
1372
|
+
pulumi.set(__self__, "end", end)
|
|
1373
|
+
if start is not None:
|
|
1374
|
+
pulumi.set(__self__, "start", start)
|
|
1375
|
+
|
|
1376
|
+
@_builtins.property
|
|
1377
|
+
@pulumi.getter
|
|
1378
|
+
def end(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1379
|
+
"""
|
|
1380
|
+
The end time of each day when the rule is effective. This is a millisecond-level timestamp relative to 00:00 of the day. The value must be in the range of 0-86400000).
|
|
1381
|
+
"""
|
|
1382
|
+
return pulumi.get(self, "end")
|
|
1383
|
+
|
|
1384
|
+
@end.setter
|
|
1385
|
+
def end(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1386
|
+
pulumi.set(self, "end", value)
|
|
1387
|
+
|
|
1388
|
+
@_builtins.property
|
|
1389
|
+
@pulumi.getter
|
|
1390
|
+
def start(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1391
|
+
"""
|
|
1392
|
+
The start time of each day when the rule is effective. This is a millisecond-level timestamp relative to 00:00 of the day. The value must be in the range of [0-86400000).
|
|
1393
|
+
"""
|
|
1394
|
+
return pulumi.get(self, "start")
|
|
1395
|
+
|
|
1396
|
+
@start.setter
|
|
1397
|
+
def start(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1398
|
+
pulumi.set(self, "start", value)
|
|
1399
|
+
|
|
1400
|
+
|
|
1401
|
+
if not MYPY:
|
|
1402
|
+
class DefenseRuleConfigTimeConfigWeekTimePeriodArgsDict(TypedDict):
|
|
1403
|
+
day: NotRequired[pulumi.Input[_builtins.str]]
|
|
1404
|
+
"""
|
|
1405
|
+
The time period of each day when the rule is effective. It includes the start time start and end time end. You can specify multiple time periods.
|
|
1406
|
+
"""
|
|
1407
|
+
day_periods: NotRequired[pulumi.Input[Sequence[pulumi.Input['DefenseRuleConfigTimeConfigWeekTimePeriodDayPeriodArgsDict']]]]
|
|
1408
|
+
"""
|
|
1409
|
+
The time period of each day when the rule is effective. See `day_periods` below.
|
|
1410
|
+
"""
|
|
1411
|
+
elif False:
|
|
1412
|
+
DefenseRuleConfigTimeConfigWeekTimePeriodArgsDict: TypeAlias = Mapping[str, Any]
|
|
1413
|
+
|
|
1414
|
+
@pulumi.input_type
|
|
1415
|
+
class DefenseRuleConfigTimeConfigWeekTimePeriodArgs:
|
|
1416
|
+
def __init__(__self__, *,
|
|
1417
|
+
day: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1418
|
+
day_periods: Optional[pulumi.Input[Sequence[pulumi.Input['DefenseRuleConfigTimeConfigWeekTimePeriodDayPeriodArgs']]]] = None):
|
|
1419
|
+
"""
|
|
1420
|
+
:param pulumi.Input[_builtins.str] day: The time period of each day when the rule is effective. It includes the start time start and end time end. You can specify multiple time periods.
|
|
1421
|
+
:param pulumi.Input[Sequence[pulumi.Input['DefenseRuleConfigTimeConfigWeekTimePeriodDayPeriodArgs']]] day_periods: The time period of each day when the rule is effective. See `day_periods` below.
|
|
1422
|
+
"""
|
|
1423
|
+
if day is not None:
|
|
1424
|
+
pulumi.set(__self__, "day", day)
|
|
1425
|
+
if day_periods is not None:
|
|
1426
|
+
pulumi.set(__self__, "day_periods", day_periods)
|
|
1427
|
+
|
|
1428
|
+
@_builtins.property
|
|
1429
|
+
@pulumi.getter
|
|
1430
|
+
def day(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1431
|
+
"""
|
|
1432
|
+
The time period of each day when the rule is effective. It includes the start time start and end time end. You can specify multiple time periods.
|
|
1433
|
+
"""
|
|
1434
|
+
return pulumi.get(self, "day")
|
|
1435
|
+
|
|
1436
|
+
@day.setter
|
|
1437
|
+
def day(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1438
|
+
pulumi.set(self, "day", value)
|
|
1439
|
+
|
|
1440
|
+
@_builtins.property
|
|
1441
|
+
@pulumi.getter(name="dayPeriods")
|
|
1442
|
+
def day_periods(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DefenseRuleConfigTimeConfigWeekTimePeriodDayPeriodArgs']]]]:
|
|
1443
|
+
"""
|
|
1444
|
+
The time period of each day when the rule is effective. See `day_periods` below.
|
|
1445
|
+
"""
|
|
1446
|
+
return pulumi.get(self, "day_periods")
|
|
1447
|
+
|
|
1448
|
+
@day_periods.setter
|
|
1449
|
+
def day_periods(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DefenseRuleConfigTimeConfigWeekTimePeriodDayPeriodArgs']]]]):
|
|
1450
|
+
pulumi.set(self, "day_periods", value)
|
|
1451
|
+
|
|
1452
|
+
|
|
1453
|
+
if not MYPY:
|
|
1454
|
+
class DefenseRuleConfigTimeConfigWeekTimePeriodDayPeriodArgsDict(TypedDict):
|
|
1455
|
+
end: NotRequired[pulumi.Input[_builtins.int]]
|
|
1456
|
+
"""
|
|
1457
|
+
The end time of each day when the rule is effective. This is a millisecond-level timestamp relative to 00:00 of the day. The value must be in the range of 0-86400000).
|
|
1458
|
+
"""
|
|
1459
|
+
start: NotRequired[pulumi.Input[_builtins.int]]
|
|
1460
|
+
"""
|
|
1461
|
+
The start time of each day when the rule is effective. This is a millisecond-level timestamp relative to 00:00 of the day. The value must be in the range of [0-86400000).
|
|
1462
|
+
"""
|
|
1463
|
+
elif False:
|
|
1464
|
+
DefenseRuleConfigTimeConfigWeekTimePeriodDayPeriodArgsDict: TypeAlias = Mapping[str, Any]
|
|
1465
|
+
|
|
1466
|
+
@pulumi.input_type
|
|
1467
|
+
class DefenseRuleConfigTimeConfigWeekTimePeriodDayPeriodArgs:
|
|
1468
|
+
def __init__(__self__, *,
|
|
1469
|
+
end: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1470
|
+
start: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1471
|
+
"""
|
|
1472
|
+
:param pulumi.Input[_builtins.int] end: The end time of each day when the rule is effective. This is a millisecond-level timestamp relative to 00:00 of the day. The value must be in the range of 0-86400000).
|
|
1473
|
+
:param pulumi.Input[_builtins.int] start: The start time of each day when the rule is effective. This is a millisecond-level timestamp relative to 00:00 of the day. The value must be in the range of [0-86400000).
|
|
1474
|
+
"""
|
|
1475
|
+
if end is not None:
|
|
1476
|
+
pulumi.set(__self__, "end", end)
|
|
1477
|
+
if start is not None:
|
|
1478
|
+
pulumi.set(__self__, "start", start)
|
|
1479
|
+
|
|
1480
|
+
@_builtins.property
|
|
1481
|
+
@pulumi.getter
|
|
1482
|
+
def end(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1483
|
+
"""
|
|
1484
|
+
The end time of each day when the rule is effective. This is a millisecond-level timestamp relative to 00:00 of the day. The value must be in the range of 0-86400000).
|
|
1485
|
+
"""
|
|
1486
|
+
return pulumi.get(self, "end")
|
|
1487
|
+
|
|
1488
|
+
@end.setter
|
|
1489
|
+
def end(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1490
|
+
pulumi.set(self, "end", value)
|
|
1491
|
+
|
|
1492
|
+
@_builtins.property
|
|
1493
|
+
@pulumi.getter
|
|
1494
|
+
def start(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1495
|
+
"""
|
|
1496
|
+
The start time of each day when the rule is effective. This is a millisecond-level timestamp relative to 00:00 of the day. The value must be in the range of [0-86400000).
|
|
1497
|
+
"""
|
|
1498
|
+
return pulumi.get(self, "start")
|
|
1499
|
+
|
|
1500
|
+
@start.setter
|
|
1501
|
+
def start(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1502
|
+
pulumi.set(self, "start", value)
|
|
1503
|
+
|
|
1504
|
+
|
|
1109
1505
|
if not MYPY:
|
|
1110
1506
|
class DomainListenArgsDict(TypedDict):
|
|
1111
1507
|
cert_id: NotRequired[pulumi.Input[_builtins.str]]
|