pulumi-alicloud 3.58.0a1719897537__py3-none-any.whl → 3.58.0a1720026262__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 +24 -0
- pulumi_alicloud/alb/__init__.py +1 -0
- pulumi_alicloud/alb/load_balancer_security_group_attachment.py +327 -0
- pulumi_alicloud/cen/__init__.py +1 -0
- pulumi_alicloud/cen/transit_router_ecr_attachment.py +584 -0
- pulumi_alicloud/cloudstoragegateway/gateway.py +69 -69
- pulumi_alicloud/ddos/__init__.py +1 -0
- pulumi_alicloud/ddos/_inputs.py +712 -0
- pulumi_alicloud/ddos/bgp_policy.py +343 -0
- pulumi_alicloud/ddos/outputs.py +666 -0
- pulumi_alicloud/ecs/ecs_launch_template.py +142 -1
- pulumi_alicloud/ecs/launch_template.py +103 -1
- pulumi_alicloud/ga/accelerator.py +47 -0
- pulumi_alicloud/ga/acl.py +47 -0
- pulumi_alicloud/ga/bandwidth_package.py +57 -12
- pulumi_alicloud/ga/basic_accelerator.py +55 -8
- pulumi_alicloud/kvstore/instance.py +101 -0
- pulumi_alicloud/pulumi-plugin.json +1 -1
- {pulumi_alicloud-3.58.0a1719897537.dist-info → pulumi_alicloud-3.58.0a1720026262.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.58.0a1719897537.dist-info → pulumi_alicloud-3.58.0a1720026262.dist-info}/RECORD +22 -19
- {pulumi_alicloud-3.58.0a1719897537.dist-info → pulumi_alicloud-3.58.0a1720026262.dist-info}/WHEEL +0 -0
- {pulumi_alicloud-3.58.0a1719897537.dist-info → pulumi_alicloud-3.58.0a1720026262.dist-info}/top_level.txt +0 -0
pulumi_alicloud/ddos/outputs.py
CHANGED
|
@@ -11,6 +11,13 @@ from .. import _utilities
|
|
|
11
11
|
from . import outputs
|
|
12
12
|
|
|
13
13
|
__all__ = [
|
|
14
|
+
'BgpPolicyContent',
|
|
15
|
+
'BgpPolicyContentFingerPrintRuleList',
|
|
16
|
+
'BgpPolicyContentLayer4RuleList',
|
|
17
|
+
'BgpPolicyContentLayer4RuleListConditionList',
|
|
18
|
+
'BgpPolicyContentPortRuleList',
|
|
19
|
+
'BgpPolicyContentSourceBlockList',
|
|
20
|
+
'BgpPolicyContentSourceLimit',
|
|
14
21
|
'DomainResourceProxyType',
|
|
15
22
|
'SchedulerRuleRule',
|
|
16
23
|
'GetDdosBgpInstancesInstanceResult',
|
|
@@ -21,6 +28,665 @@ __all__ = [
|
|
|
21
28
|
'GetDdosCooPortsPortResult',
|
|
22
29
|
]
|
|
23
30
|
|
|
31
|
+
@pulumi.output_type
|
|
32
|
+
class BgpPolicyContent(dict):
|
|
33
|
+
@staticmethod
|
|
34
|
+
def __key_warning(key: str):
|
|
35
|
+
suggest = None
|
|
36
|
+
if key == "blackIpListExpireAt":
|
|
37
|
+
suggest = "black_ip_list_expire_at"
|
|
38
|
+
elif key == "enableDefense":
|
|
39
|
+
suggest = "enable_defense"
|
|
40
|
+
elif key == "enableDropIcmp":
|
|
41
|
+
suggest = "enable_drop_icmp"
|
|
42
|
+
elif key == "enableIntelligence":
|
|
43
|
+
suggest = "enable_intelligence"
|
|
44
|
+
elif key == "fingerPrintRuleLists":
|
|
45
|
+
suggest = "finger_print_rule_lists"
|
|
46
|
+
elif key == "intelligenceLevel":
|
|
47
|
+
suggest = "intelligence_level"
|
|
48
|
+
elif key == "layer4RuleLists":
|
|
49
|
+
suggest = "layer4_rule_lists"
|
|
50
|
+
elif key == "portRuleLists":
|
|
51
|
+
suggest = "port_rule_lists"
|
|
52
|
+
elif key == "reflectBlockUdpPortLists":
|
|
53
|
+
suggest = "reflect_block_udp_port_lists"
|
|
54
|
+
elif key == "regionBlockCountryLists":
|
|
55
|
+
suggest = "region_block_country_lists"
|
|
56
|
+
elif key == "regionBlockProvinceLists":
|
|
57
|
+
suggest = "region_block_province_lists"
|
|
58
|
+
elif key == "sourceBlockLists":
|
|
59
|
+
suggest = "source_block_lists"
|
|
60
|
+
elif key == "sourceLimit":
|
|
61
|
+
suggest = "source_limit"
|
|
62
|
+
elif key == "whitenGfbrNets":
|
|
63
|
+
suggest = "whiten_gfbr_nets"
|
|
64
|
+
|
|
65
|
+
if suggest:
|
|
66
|
+
pulumi.log.warn(f"Key '{key}' not found in BgpPolicyContent. Access the value via the '{suggest}' property getter instead.")
|
|
67
|
+
|
|
68
|
+
def __getitem__(self, key: str) -> Any:
|
|
69
|
+
BgpPolicyContent.__key_warning(key)
|
|
70
|
+
return super().__getitem__(key)
|
|
71
|
+
|
|
72
|
+
def get(self, key: str, default = None) -> Any:
|
|
73
|
+
BgpPolicyContent.__key_warning(key)
|
|
74
|
+
return super().get(key, default)
|
|
75
|
+
|
|
76
|
+
def __init__(__self__, *,
|
|
77
|
+
black_ip_list_expire_at: Optional[int] = None,
|
|
78
|
+
enable_defense: Optional[bool] = None,
|
|
79
|
+
enable_drop_icmp: Optional[bool] = None,
|
|
80
|
+
enable_intelligence: Optional[bool] = None,
|
|
81
|
+
finger_print_rule_lists: Optional[Sequence['outputs.BgpPolicyContentFingerPrintRuleList']] = None,
|
|
82
|
+
intelligence_level: Optional[str] = None,
|
|
83
|
+
layer4_rule_lists: Optional[Sequence['outputs.BgpPolicyContentLayer4RuleList']] = None,
|
|
84
|
+
port_rule_lists: Optional[Sequence['outputs.BgpPolicyContentPortRuleList']] = None,
|
|
85
|
+
reflect_block_udp_port_lists: Optional[Sequence[int]] = None,
|
|
86
|
+
region_block_country_lists: Optional[Sequence[int]] = None,
|
|
87
|
+
region_block_province_lists: Optional[Sequence[int]] = None,
|
|
88
|
+
source_block_lists: Optional[Sequence['outputs.BgpPolicyContentSourceBlockList']] = None,
|
|
89
|
+
source_limit: Optional['outputs.BgpPolicyContentSourceLimit'] = None,
|
|
90
|
+
whiten_gfbr_nets: Optional[bool] = None):
|
|
91
|
+
"""
|
|
92
|
+
:param int black_ip_list_expire_at: Blacklist and whitelist timeout.
|
|
93
|
+
:param bool enable_defense: Whether to enable L4 protection.
|
|
94
|
+
:param bool enable_drop_icmp: Switch to discard ICMP.
|
|
95
|
+
:param bool enable_intelligence: Whether the intelligent switch is on.
|
|
96
|
+
:param Sequence['BgpPolicyContentFingerPrintRuleListArgs'] finger_print_rule_lists: Fingerprint Rules. See `finger_print_rule_list` below.
|
|
97
|
+
:param str intelligence_level: Smart mode. Valid values: weak, hard, and default.
|
|
98
|
+
:param Sequence['BgpPolicyContentLayer4RuleListArgs'] layer4_rule_lists: L4 protection rules. See `layer4_rule_list` below.
|
|
99
|
+
:param Sequence['BgpPolicyContentPortRuleListArgs'] port_rule_lists: Port Rule List. See `port_rule_list` below.
|
|
100
|
+
:param Sequence[int] reflect_block_udp_port_lists: Reflective port filtering.
|
|
101
|
+
:param Sequence[int] region_block_country_lists: List of Regional Banned Countries.
|
|
102
|
+
:param Sequence[int] region_block_province_lists: List of Prohibited Provinces by Region.
|
|
103
|
+
:param Sequence['BgpPolicyContentSourceBlockListArgs'] source_block_lists: Source pull Black. See `source_block_list` below.
|
|
104
|
+
:param 'BgpPolicyContentSourceLimitArgs' source_limit: Do not fill in when the source speed limit is deleted. See `source_limit` below.
|
|
105
|
+
:param bool whiten_gfbr_nets: Add white high protection back to source network segment switch.
|
|
106
|
+
"""
|
|
107
|
+
if black_ip_list_expire_at is not None:
|
|
108
|
+
pulumi.set(__self__, "black_ip_list_expire_at", black_ip_list_expire_at)
|
|
109
|
+
if enable_defense is not None:
|
|
110
|
+
pulumi.set(__self__, "enable_defense", enable_defense)
|
|
111
|
+
if enable_drop_icmp is not None:
|
|
112
|
+
pulumi.set(__self__, "enable_drop_icmp", enable_drop_icmp)
|
|
113
|
+
if enable_intelligence is not None:
|
|
114
|
+
pulumi.set(__self__, "enable_intelligence", enable_intelligence)
|
|
115
|
+
if finger_print_rule_lists is not None:
|
|
116
|
+
pulumi.set(__self__, "finger_print_rule_lists", finger_print_rule_lists)
|
|
117
|
+
if intelligence_level is not None:
|
|
118
|
+
pulumi.set(__self__, "intelligence_level", intelligence_level)
|
|
119
|
+
if layer4_rule_lists is not None:
|
|
120
|
+
pulumi.set(__self__, "layer4_rule_lists", layer4_rule_lists)
|
|
121
|
+
if port_rule_lists is not None:
|
|
122
|
+
pulumi.set(__self__, "port_rule_lists", port_rule_lists)
|
|
123
|
+
if reflect_block_udp_port_lists is not None:
|
|
124
|
+
pulumi.set(__self__, "reflect_block_udp_port_lists", reflect_block_udp_port_lists)
|
|
125
|
+
if region_block_country_lists is not None:
|
|
126
|
+
pulumi.set(__self__, "region_block_country_lists", region_block_country_lists)
|
|
127
|
+
if region_block_province_lists is not None:
|
|
128
|
+
pulumi.set(__self__, "region_block_province_lists", region_block_province_lists)
|
|
129
|
+
if source_block_lists is not None:
|
|
130
|
+
pulumi.set(__self__, "source_block_lists", source_block_lists)
|
|
131
|
+
if source_limit is not None:
|
|
132
|
+
pulumi.set(__self__, "source_limit", source_limit)
|
|
133
|
+
if whiten_gfbr_nets is not None:
|
|
134
|
+
pulumi.set(__self__, "whiten_gfbr_nets", whiten_gfbr_nets)
|
|
135
|
+
|
|
136
|
+
@property
|
|
137
|
+
@pulumi.getter(name="blackIpListExpireAt")
|
|
138
|
+
def black_ip_list_expire_at(self) -> Optional[int]:
|
|
139
|
+
"""
|
|
140
|
+
Blacklist and whitelist timeout.
|
|
141
|
+
"""
|
|
142
|
+
return pulumi.get(self, "black_ip_list_expire_at")
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
@pulumi.getter(name="enableDefense")
|
|
146
|
+
def enable_defense(self) -> Optional[bool]:
|
|
147
|
+
"""
|
|
148
|
+
Whether to enable L4 protection.
|
|
149
|
+
"""
|
|
150
|
+
return pulumi.get(self, "enable_defense")
|
|
151
|
+
|
|
152
|
+
@property
|
|
153
|
+
@pulumi.getter(name="enableDropIcmp")
|
|
154
|
+
def enable_drop_icmp(self) -> Optional[bool]:
|
|
155
|
+
"""
|
|
156
|
+
Switch to discard ICMP.
|
|
157
|
+
"""
|
|
158
|
+
return pulumi.get(self, "enable_drop_icmp")
|
|
159
|
+
|
|
160
|
+
@property
|
|
161
|
+
@pulumi.getter(name="enableIntelligence")
|
|
162
|
+
def enable_intelligence(self) -> Optional[bool]:
|
|
163
|
+
"""
|
|
164
|
+
Whether the intelligent switch is on.
|
|
165
|
+
"""
|
|
166
|
+
return pulumi.get(self, "enable_intelligence")
|
|
167
|
+
|
|
168
|
+
@property
|
|
169
|
+
@pulumi.getter(name="fingerPrintRuleLists")
|
|
170
|
+
def finger_print_rule_lists(self) -> Optional[Sequence['outputs.BgpPolicyContentFingerPrintRuleList']]:
|
|
171
|
+
"""
|
|
172
|
+
Fingerprint Rules. See `finger_print_rule_list` below.
|
|
173
|
+
"""
|
|
174
|
+
return pulumi.get(self, "finger_print_rule_lists")
|
|
175
|
+
|
|
176
|
+
@property
|
|
177
|
+
@pulumi.getter(name="intelligenceLevel")
|
|
178
|
+
def intelligence_level(self) -> Optional[str]:
|
|
179
|
+
"""
|
|
180
|
+
Smart mode. Valid values: weak, hard, and default.
|
|
181
|
+
"""
|
|
182
|
+
return pulumi.get(self, "intelligence_level")
|
|
183
|
+
|
|
184
|
+
@property
|
|
185
|
+
@pulumi.getter(name="layer4RuleLists")
|
|
186
|
+
def layer4_rule_lists(self) -> Optional[Sequence['outputs.BgpPolicyContentLayer4RuleList']]:
|
|
187
|
+
"""
|
|
188
|
+
L4 protection rules. See `layer4_rule_list` below.
|
|
189
|
+
"""
|
|
190
|
+
return pulumi.get(self, "layer4_rule_lists")
|
|
191
|
+
|
|
192
|
+
@property
|
|
193
|
+
@pulumi.getter(name="portRuleLists")
|
|
194
|
+
def port_rule_lists(self) -> Optional[Sequence['outputs.BgpPolicyContentPortRuleList']]:
|
|
195
|
+
"""
|
|
196
|
+
Port Rule List. See `port_rule_list` below.
|
|
197
|
+
"""
|
|
198
|
+
return pulumi.get(self, "port_rule_lists")
|
|
199
|
+
|
|
200
|
+
@property
|
|
201
|
+
@pulumi.getter(name="reflectBlockUdpPortLists")
|
|
202
|
+
def reflect_block_udp_port_lists(self) -> Optional[Sequence[int]]:
|
|
203
|
+
"""
|
|
204
|
+
Reflective port filtering.
|
|
205
|
+
"""
|
|
206
|
+
return pulumi.get(self, "reflect_block_udp_port_lists")
|
|
207
|
+
|
|
208
|
+
@property
|
|
209
|
+
@pulumi.getter(name="regionBlockCountryLists")
|
|
210
|
+
def region_block_country_lists(self) -> Optional[Sequence[int]]:
|
|
211
|
+
"""
|
|
212
|
+
List of Regional Banned Countries.
|
|
213
|
+
"""
|
|
214
|
+
return pulumi.get(self, "region_block_country_lists")
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
@pulumi.getter(name="regionBlockProvinceLists")
|
|
218
|
+
def region_block_province_lists(self) -> Optional[Sequence[int]]:
|
|
219
|
+
"""
|
|
220
|
+
List of Prohibited Provinces by Region.
|
|
221
|
+
"""
|
|
222
|
+
return pulumi.get(self, "region_block_province_lists")
|
|
223
|
+
|
|
224
|
+
@property
|
|
225
|
+
@pulumi.getter(name="sourceBlockLists")
|
|
226
|
+
def source_block_lists(self) -> Optional[Sequence['outputs.BgpPolicyContentSourceBlockList']]:
|
|
227
|
+
"""
|
|
228
|
+
Source pull Black. See `source_block_list` below.
|
|
229
|
+
"""
|
|
230
|
+
return pulumi.get(self, "source_block_lists")
|
|
231
|
+
|
|
232
|
+
@property
|
|
233
|
+
@pulumi.getter(name="sourceLimit")
|
|
234
|
+
def source_limit(self) -> Optional['outputs.BgpPolicyContentSourceLimit']:
|
|
235
|
+
"""
|
|
236
|
+
Do not fill in when the source speed limit is deleted. See `source_limit` below.
|
|
237
|
+
"""
|
|
238
|
+
return pulumi.get(self, "source_limit")
|
|
239
|
+
|
|
240
|
+
@property
|
|
241
|
+
@pulumi.getter(name="whitenGfbrNets")
|
|
242
|
+
def whiten_gfbr_nets(self) -> Optional[bool]:
|
|
243
|
+
"""
|
|
244
|
+
Add white high protection back to source network segment switch.
|
|
245
|
+
"""
|
|
246
|
+
return pulumi.get(self, "whiten_gfbr_nets")
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
@pulumi.output_type
|
|
250
|
+
class BgpPolicyContentFingerPrintRuleList(dict):
|
|
251
|
+
@staticmethod
|
|
252
|
+
def __key_warning(key: str):
|
|
253
|
+
suggest = None
|
|
254
|
+
if key == "dstPortEnd":
|
|
255
|
+
suggest = "dst_port_end"
|
|
256
|
+
elif key == "dstPortStart":
|
|
257
|
+
suggest = "dst_port_start"
|
|
258
|
+
elif key == "matchAction":
|
|
259
|
+
suggest = "match_action"
|
|
260
|
+
elif key == "maxPktLen":
|
|
261
|
+
suggest = "max_pkt_len"
|
|
262
|
+
elif key == "minPktLen":
|
|
263
|
+
suggest = "min_pkt_len"
|
|
264
|
+
elif key == "seqNo":
|
|
265
|
+
suggest = "seq_no"
|
|
266
|
+
elif key == "srcPortEnd":
|
|
267
|
+
suggest = "src_port_end"
|
|
268
|
+
elif key == "srcPortStart":
|
|
269
|
+
suggest = "src_port_start"
|
|
270
|
+
elif key == "fingerPrintRuleId":
|
|
271
|
+
suggest = "finger_print_rule_id"
|
|
272
|
+
elif key == "payloadBytes":
|
|
273
|
+
suggest = "payload_bytes"
|
|
274
|
+
elif key == "rateValue":
|
|
275
|
+
suggest = "rate_value"
|
|
276
|
+
|
|
277
|
+
if suggest:
|
|
278
|
+
pulumi.log.warn(f"Key '{key}' not found in BgpPolicyContentFingerPrintRuleList. Access the value via the '{suggest}' property getter instead.")
|
|
279
|
+
|
|
280
|
+
def __getitem__(self, key: str) -> Any:
|
|
281
|
+
BgpPolicyContentFingerPrintRuleList.__key_warning(key)
|
|
282
|
+
return super().__getitem__(key)
|
|
283
|
+
|
|
284
|
+
def get(self, key: str, default = None) -> Any:
|
|
285
|
+
BgpPolicyContentFingerPrintRuleList.__key_warning(key)
|
|
286
|
+
return super().get(key, default)
|
|
287
|
+
|
|
288
|
+
def __init__(__self__, *,
|
|
289
|
+
dst_port_end: int,
|
|
290
|
+
dst_port_start: int,
|
|
291
|
+
match_action: str,
|
|
292
|
+
max_pkt_len: int,
|
|
293
|
+
min_pkt_len: int,
|
|
294
|
+
protocol: str,
|
|
295
|
+
seq_no: int,
|
|
296
|
+
src_port_end: int,
|
|
297
|
+
src_port_start: int,
|
|
298
|
+
finger_print_rule_id: Optional[str] = None,
|
|
299
|
+
offset: Optional[int] = None,
|
|
300
|
+
payload_bytes: Optional[str] = None,
|
|
301
|
+
rate_value: Optional[int] = None):
|
|
302
|
+
pulumi.set(__self__, "dst_port_end", dst_port_end)
|
|
303
|
+
pulumi.set(__self__, "dst_port_start", dst_port_start)
|
|
304
|
+
pulumi.set(__self__, "match_action", match_action)
|
|
305
|
+
pulumi.set(__self__, "max_pkt_len", max_pkt_len)
|
|
306
|
+
pulumi.set(__self__, "min_pkt_len", min_pkt_len)
|
|
307
|
+
pulumi.set(__self__, "protocol", protocol)
|
|
308
|
+
pulumi.set(__self__, "seq_no", seq_no)
|
|
309
|
+
pulumi.set(__self__, "src_port_end", src_port_end)
|
|
310
|
+
pulumi.set(__self__, "src_port_start", src_port_start)
|
|
311
|
+
if finger_print_rule_id is not None:
|
|
312
|
+
pulumi.set(__self__, "finger_print_rule_id", finger_print_rule_id)
|
|
313
|
+
if offset is not None:
|
|
314
|
+
pulumi.set(__self__, "offset", offset)
|
|
315
|
+
if payload_bytes is not None:
|
|
316
|
+
pulumi.set(__self__, "payload_bytes", payload_bytes)
|
|
317
|
+
if rate_value is not None:
|
|
318
|
+
pulumi.set(__self__, "rate_value", rate_value)
|
|
319
|
+
|
|
320
|
+
@property
|
|
321
|
+
@pulumi.getter(name="dstPortEnd")
|
|
322
|
+
def dst_port_end(self) -> int:
|
|
323
|
+
return pulumi.get(self, "dst_port_end")
|
|
324
|
+
|
|
325
|
+
@property
|
|
326
|
+
@pulumi.getter(name="dstPortStart")
|
|
327
|
+
def dst_port_start(self) -> int:
|
|
328
|
+
return pulumi.get(self, "dst_port_start")
|
|
329
|
+
|
|
330
|
+
@property
|
|
331
|
+
@pulumi.getter(name="matchAction")
|
|
332
|
+
def match_action(self) -> str:
|
|
333
|
+
return pulumi.get(self, "match_action")
|
|
334
|
+
|
|
335
|
+
@property
|
|
336
|
+
@pulumi.getter(name="maxPktLen")
|
|
337
|
+
def max_pkt_len(self) -> int:
|
|
338
|
+
return pulumi.get(self, "max_pkt_len")
|
|
339
|
+
|
|
340
|
+
@property
|
|
341
|
+
@pulumi.getter(name="minPktLen")
|
|
342
|
+
def min_pkt_len(self) -> int:
|
|
343
|
+
return pulumi.get(self, "min_pkt_len")
|
|
344
|
+
|
|
345
|
+
@property
|
|
346
|
+
@pulumi.getter
|
|
347
|
+
def protocol(self) -> str:
|
|
348
|
+
return pulumi.get(self, "protocol")
|
|
349
|
+
|
|
350
|
+
@property
|
|
351
|
+
@pulumi.getter(name="seqNo")
|
|
352
|
+
def seq_no(self) -> int:
|
|
353
|
+
return pulumi.get(self, "seq_no")
|
|
354
|
+
|
|
355
|
+
@property
|
|
356
|
+
@pulumi.getter(name="srcPortEnd")
|
|
357
|
+
def src_port_end(self) -> int:
|
|
358
|
+
return pulumi.get(self, "src_port_end")
|
|
359
|
+
|
|
360
|
+
@property
|
|
361
|
+
@pulumi.getter(name="srcPortStart")
|
|
362
|
+
def src_port_start(self) -> int:
|
|
363
|
+
return pulumi.get(self, "src_port_start")
|
|
364
|
+
|
|
365
|
+
@property
|
|
366
|
+
@pulumi.getter(name="fingerPrintRuleId")
|
|
367
|
+
def finger_print_rule_id(self) -> Optional[str]:
|
|
368
|
+
return pulumi.get(self, "finger_print_rule_id")
|
|
369
|
+
|
|
370
|
+
@property
|
|
371
|
+
@pulumi.getter
|
|
372
|
+
def offset(self) -> Optional[int]:
|
|
373
|
+
return pulumi.get(self, "offset")
|
|
374
|
+
|
|
375
|
+
@property
|
|
376
|
+
@pulumi.getter(name="payloadBytes")
|
|
377
|
+
def payload_bytes(self) -> Optional[str]:
|
|
378
|
+
return pulumi.get(self, "payload_bytes")
|
|
379
|
+
|
|
380
|
+
@property
|
|
381
|
+
@pulumi.getter(name="rateValue")
|
|
382
|
+
def rate_value(self) -> Optional[int]:
|
|
383
|
+
return pulumi.get(self, "rate_value")
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
@pulumi.output_type
|
|
387
|
+
class BgpPolicyContentLayer4RuleList(dict):
|
|
388
|
+
@staticmethod
|
|
389
|
+
def __key_warning(key: str):
|
|
390
|
+
suggest = None
|
|
391
|
+
if key == "conditionLists":
|
|
392
|
+
suggest = "condition_lists"
|
|
393
|
+
|
|
394
|
+
if suggest:
|
|
395
|
+
pulumi.log.warn(f"Key '{key}' not found in BgpPolicyContentLayer4RuleList. Access the value via the '{suggest}' property getter instead.")
|
|
396
|
+
|
|
397
|
+
def __getitem__(self, key: str) -> Any:
|
|
398
|
+
BgpPolicyContentLayer4RuleList.__key_warning(key)
|
|
399
|
+
return super().__getitem__(key)
|
|
400
|
+
|
|
401
|
+
def get(self, key: str, default = None) -> Any:
|
|
402
|
+
BgpPolicyContentLayer4RuleList.__key_warning(key)
|
|
403
|
+
return super().get(key, default)
|
|
404
|
+
|
|
405
|
+
def __init__(__self__, *,
|
|
406
|
+
action: str,
|
|
407
|
+
condition_lists: Sequence['outputs.BgpPolicyContentLayer4RuleListConditionList'],
|
|
408
|
+
limited: int,
|
|
409
|
+
match: str,
|
|
410
|
+
method: str,
|
|
411
|
+
name: str,
|
|
412
|
+
priority: int):
|
|
413
|
+
pulumi.set(__self__, "action", action)
|
|
414
|
+
pulumi.set(__self__, "condition_lists", condition_lists)
|
|
415
|
+
pulumi.set(__self__, "limited", limited)
|
|
416
|
+
pulumi.set(__self__, "match", match)
|
|
417
|
+
pulumi.set(__self__, "method", method)
|
|
418
|
+
pulumi.set(__self__, "name", name)
|
|
419
|
+
pulumi.set(__self__, "priority", priority)
|
|
420
|
+
|
|
421
|
+
@property
|
|
422
|
+
@pulumi.getter
|
|
423
|
+
def action(self) -> str:
|
|
424
|
+
return pulumi.get(self, "action")
|
|
425
|
+
|
|
426
|
+
@property
|
|
427
|
+
@pulumi.getter(name="conditionLists")
|
|
428
|
+
def condition_lists(self) -> Sequence['outputs.BgpPolicyContentLayer4RuleListConditionList']:
|
|
429
|
+
return pulumi.get(self, "condition_lists")
|
|
430
|
+
|
|
431
|
+
@property
|
|
432
|
+
@pulumi.getter
|
|
433
|
+
def limited(self) -> int:
|
|
434
|
+
return pulumi.get(self, "limited")
|
|
435
|
+
|
|
436
|
+
@property
|
|
437
|
+
@pulumi.getter
|
|
438
|
+
def match(self) -> str:
|
|
439
|
+
return pulumi.get(self, "match")
|
|
440
|
+
|
|
441
|
+
@property
|
|
442
|
+
@pulumi.getter
|
|
443
|
+
def method(self) -> str:
|
|
444
|
+
return pulumi.get(self, "method")
|
|
445
|
+
|
|
446
|
+
@property
|
|
447
|
+
@pulumi.getter
|
|
448
|
+
def name(self) -> str:
|
|
449
|
+
return pulumi.get(self, "name")
|
|
450
|
+
|
|
451
|
+
@property
|
|
452
|
+
@pulumi.getter
|
|
453
|
+
def priority(self) -> int:
|
|
454
|
+
return pulumi.get(self, "priority")
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
@pulumi.output_type
|
|
458
|
+
class BgpPolicyContentLayer4RuleListConditionList(dict):
|
|
459
|
+
def __init__(__self__, *,
|
|
460
|
+
arg: str,
|
|
461
|
+
depth: int,
|
|
462
|
+
position: int):
|
|
463
|
+
pulumi.set(__self__, "arg", arg)
|
|
464
|
+
pulumi.set(__self__, "depth", depth)
|
|
465
|
+
pulumi.set(__self__, "position", position)
|
|
466
|
+
|
|
467
|
+
@property
|
|
468
|
+
@pulumi.getter
|
|
469
|
+
def arg(self) -> str:
|
|
470
|
+
return pulumi.get(self, "arg")
|
|
471
|
+
|
|
472
|
+
@property
|
|
473
|
+
@pulumi.getter
|
|
474
|
+
def depth(self) -> int:
|
|
475
|
+
return pulumi.get(self, "depth")
|
|
476
|
+
|
|
477
|
+
@property
|
|
478
|
+
@pulumi.getter
|
|
479
|
+
def position(self) -> int:
|
|
480
|
+
return pulumi.get(self, "position")
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
@pulumi.output_type
|
|
484
|
+
class BgpPolicyContentPortRuleList(dict):
|
|
485
|
+
@staticmethod
|
|
486
|
+
def __key_warning(key: str):
|
|
487
|
+
suggest = None
|
|
488
|
+
if key == "dstPortEnd":
|
|
489
|
+
suggest = "dst_port_end"
|
|
490
|
+
elif key == "dstPortStart":
|
|
491
|
+
suggest = "dst_port_start"
|
|
492
|
+
elif key == "matchAction":
|
|
493
|
+
suggest = "match_action"
|
|
494
|
+
elif key == "seqNo":
|
|
495
|
+
suggest = "seq_no"
|
|
496
|
+
elif key == "srcPortEnd":
|
|
497
|
+
suggest = "src_port_end"
|
|
498
|
+
elif key == "srcPortStart":
|
|
499
|
+
suggest = "src_port_start"
|
|
500
|
+
elif key == "portRuleId":
|
|
501
|
+
suggest = "port_rule_id"
|
|
502
|
+
|
|
503
|
+
if suggest:
|
|
504
|
+
pulumi.log.warn(f"Key '{key}' not found in BgpPolicyContentPortRuleList. Access the value via the '{suggest}' property getter instead.")
|
|
505
|
+
|
|
506
|
+
def __getitem__(self, key: str) -> Any:
|
|
507
|
+
BgpPolicyContentPortRuleList.__key_warning(key)
|
|
508
|
+
return super().__getitem__(key)
|
|
509
|
+
|
|
510
|
+
def get(self, key: str, default = None) -> Any:
|
|
511
|
+
BgpPolicyContentPortRuleList.__key_warning(key)
|
|
512
|
+
return super().get(key, default)
|
|
513
|
+
|
|
514
|
+
def __init__(__self__, *,
|
|
515
|
+
dst_port_end: int,
|
|
516
|
+
dst_port_start: int,
|
|
517
|
+
match_action: str,
|
|
518
|
+
protocol: str,
|
|
519
|
+
seq_no: int,
|
|
520
|
+
src_port_end: int,
|
|
521
|
+
src_port_start: int,
|
|
522
|
+
port_rule_id: Optional[str] = None):
|
|
523
|
+
pulumi.set(__self__, "dst_port_end", dst_port_end)
|
|
524
|
+
pulumi.set(__self__, "dst_port_start", dst_port_start)
|
|
525
|
+
pulumi.set(__self__, "match_action", match_action)
|
|
526
|
+
pulumi.set(__self__, "protocol", protocol)
|
|
527
|
+
pulumi.set(__self__, "seq_no", seq_no)
|
|
528
|
+
pulumi.set(__self__, "src_port_end", src_port_end)
|
|
529
|
+
pulumi.set(__self__, "src_port_start", src_port_start)
|
|
530
|
+
if port_rule_id is not None:
|
|
531
|
+
pulumi.set(__self__, "port_rule_id", port_rule_id)
|
|
532
|
+
|
|
533
|
+
@property
|
|
534
|
+
@pulumi.getter(name="dstPortEnd")
|
|
535
|
+
def dst_port_end(self) -> int:
|
|
536
|
+
return pulumi.get(self, "dst_port_end")
|
|
537
|
+
|
|
538
|
+
@property
|
|
539
|
+
@pulumi.getter(name="dstPortStart")
|
|
540
|
+
def dst_port_start(self) -> int:
|
|
541
|
+
return pulumi.get(self, "dst_port_start")
|
|
542
|
+
|
|
543
|
+
@property
|
|
544
|
+
@pulumi.getter(name="matchAction")
|
|
545
|
+
def match_action(self) -> str:
|
|
546
|
+
return pulumi.get(self, "match_action")
|
|
547
|
+
|
|
548
|
+
@property
|
|
549
|
+
@pulumi.getter
|
|
550
|
+
def protocol(self) -> str:
|
|
551
|
+
return pulumi.get(self, "protocol")
|
|
552
|
+
|
|
553
|
+
@property
|
|
554
|
+
@pulumi.getter(name="seqNo")
|
|
555
|
+
def seq_no(self) -> int:
|
|
556
|
+
return pulumi.get(self, "seq_no")
|
|
557
|
+
|
|
558
|
+
@property
|
|
559
|
+
@pulumi.getter(name="srcPortEnd")
|
|
560
|
+
def src_port_end(self) -> int:
|
|
561
|
+
return pulumi.get(self, "src_port_end")
|
|
562
|
+
|
|
563
|
+
@property
|
|
564
|
+
@pulumi.getter(name="srcPortStart")
|
|
565
|
+
def src_port_start(self) -> int:
|
|
566
|
+
return pulumi.get(self, "src_port_start")
|
|
567
|
+
|
|
568
|
+
@property
|
|
569
|
+
@pulumi.getter(name="portRuleId")
|
|
570
|
+
def port_rule_id(self) -> Optional[str]:
|
|
571
|
+
return pulumi.get(self, "port_rule_id")
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
@pulumi.output_type
|
|
575
|
+
class BgpPolicyContentSourceBlockList(dict):
|
|
576
|
+
@staticmethod
|
|
577
|
+
def __key_warning(key: str):
|
|
578
|
+
suggest = None
|
|
579
|
+
if key == "blockExpireSeconds":
|
|
580
|
+
suggest = "block_expire_seconds"
|
|
581
|
+
elif key == "everySeconds":
|
|
582
|
+
suggest = "every_seconds"
|
|
583
|
+
elif key == "exceedLimitTimes":
|
|
584
|
+
suggest = "exceed_limit_times"
|
|
585
|
+
|
|
586
|
+
if suggest:
|
|
587
|
+
pulumi.log.warn(f"Key '{key}' not found in BgpPolicyContentSourceBlockList. Access the value via the '{suggest}' property getter instead.")
|
|
588
|
+
|
|
589
|
+
def __getitem__(self, key: str) -> Any:
|
|
590
|
+
BgpPolicyContentSourceBlockList.__key_warning(key)
|
|
591
|
+
return super().__getitem__(key)
|
|
592
|
+
|
|
593
|
+
def get(self, key: str, default = None) -> Any:
|
|
594
|
+
BgpPolicyContentSourceBlockList.__key_warning(key)
|
|
595
|
+
return super().get(key, default)
|
|
596
|
+
|
|
597
|
+
def __init__(__self__, *,
|
|
598
|
+
block_expire_seconds: int,
|
|
599
|
+
every_seconds: int,
|
|
600
|
+
exceed_limit_times: int,
|
|
601
|
+
type: int):
|
|
602
|
+
"""
|
|
603
|
+
:param int type: Type
|
|
604
|
+
"""
|
|
605
|
+
pulumi.set(__self__, "block_expire_seconds", block_expire_seconds)
|
|
606
|
+
pulumi.set(__self__, "every_seconds", every_seconds)
|
|
607
|
+
pulumi.set(__self__, "exceed_limit_times", exceed_limit_times)
|
|
608
|
+
pulumi.set(__self__, "type", type)
|
|
609
|
+
|
|
610
|
+
@property
|
|
611
|
+
@pulumi.getter(name="blockExpireSeconds")
|
|
612
|
+
def block_expire_seconds(self) -> int:
|
|
613
|
+
return pulumi.get(self, "block_expire_seconds")
|
|
614
|
+
|
|
615
|
+
@property
|
|
616
|
+
@pulumi.getter(name="everySeconds")
|
|
617
|
+
def every_seconds(self) -> int:
|
|
618
|
+
return pulumi.get(self, "every_seconds")
|
|
619
|
+
|
|
620
|
+
@property
|
|
621
|
+
@pulumi.getter(name="exceedLimitTimes")
|
|
622
|
+
def exceed_limit_times(self) -> int:
|
|
623
|
+
return pulumi.get(self, "exceed_limit_times")
|
|
624
|
+
|
|
625
|
+
@property
|
|
626
|
+
@pulumi.getter
|
|
627
|
+
def type(self) -> int:
|
|
628
|
+
"""
|
|
629
|
+
Type
|
|
630
|
+
"""
|
|
631
|
+
return pulumi.get(self, "type")
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
@pulumi.output_type
|
|
635
|
+
class BgpPolicyContentSourceLimit(dict):
|
|
636
|
+
@staticmethod
|
|
637
|
+
def __key_warning(key: str):
|
|
638
|
+
suggest = None
|
|
639
|
+
if key == "synBps":
|
|
640
|
+
suggest = "syn_bps"
|
|
641
|
+
elif key == "synPps":
|
|
642
|
+
suggest = "syn_pps"
|
|
643
|
+
|
|
644
|
+
if suggest:
|
|
645
|
+
pulumi.log.warn(f"Key '{key}' not found in BgpPolicyContentSourceLimit. Access the value via the '{suggest}' property getter instead.")
|
|
646
|
+
|
|
647
|
+
def __getitem__(self, key: str) -> Any:
|
|
648
|
+
BgpPolicyContentSourceLimit.__key_warning(key)
|
|
649
|
+
return super().__getitem__(key)
|
|
650
|
+
|
|
651
|
+
def get(self, key: str, default = None) -> Any:
|
|
652
|
+
BgpPolicyContentSourceLimit.__key_warning(key)
|
|
653
|
+
return super().get(key, default)
|
|
654
|
+
|
|
655
|
+
def __init__(__self__, *,
|
|
656
|
+
bps: Optional[int] = None,
|
|
657
|
+
pps: Optional[int] = None,
|
|
658
|
+
syn_bps: Optional[int] = None,
|
|
659
|
+
syn_pps: Optional[int] = None):
|
|
660
|
+
if bps is not None:
|
|
661
|
+
pulumi.set(__self__, "bps", bps)
|
|
662
|
+
if pps is not None:
|
|
663
|
+
pulumi.set(__self__, "pps", pps)
|
|
664
|
+
if syn_bps is not None:
|
|
665
|
+
pulumi.set(__self__, "syn_bps", syn_bps)
|
|
666
|
+
if syn_pps is not None:
|
|
667
|
+
pulumi.set(__self__, "syn_pps", syn_pps)
|
|
668
|
+
|
|
669
|
+
@property
|
|
670
|
+
@pulumi.getter
|
|
671
|
+
def bps(self) -> Optional[int]:
|
|
672
|
+
return pulumi.get(self, "bps")
|
|
673
|
+
|
|
674
|
+
@property
|
|
675
|
+
@pulumi.getter
|
|
676
|
+
def pps(self) -> Optional[int]:
|
|
677
|
+
return pulumi.get(self, "pps")
|
|
678
|
+
|
|
679
|
+
@property
|
|
680
|
+
@pulumi.getter(name="synBps")
|
|
681
|
+
def syn_bps(self) -> Optional[int]:
|
|
682
|
+
return pulumi.get(self, "syn_bps")
|
|
683
|
+
|
|
684
|
+
@property
|
|
685
|
+
@pulumi.getter(name="synPps")
|
|
686
|
+
def syn_pps(self) -> Optional[int]:
|
|
687
|
+
return pulumi.get(self, "syn_pps")
|
|
688
|
+
|
|
689
|
+
|
|
24
690
|
@pulumi.output_type
|
|
25
691
|
class DomainResourceProxyType(dict):
|
|
26
692
|
@staticmethod
|