pulumi-alicloud 3.63.0__py3-none-any.whl → 3.63.0a1726032285__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 +0 -24
- pulumi_alicloud/alb/acl.py +19 -18
- pulumi_alicloud/alb/health_check_template.py +88 -96
- pulumi_alicloud/amqp/binding.py +36 -30
- pulumi_alicloud/cen/_inputs.py +14 -180
- pulumi_alicloud/cen/outputs.py +12 -173
- pulumi_alicloud/cen/traffic_marking_policy.py +53 -116
- pulumi_alicloud/cen/transit_router_vpc_attachment.py +119 -338
- pulumi_alicloud/cms/_inputs.py +6 -6
- pulumi_alicloud/cms/outputs.py +6 -6
- pulumi_alicloud/cr/chart_namespace.py +6 -14
- pulumi_alicloud/cr/endpoint_acl_policy.py +2 -10
- pulumi_alicloud/cr/namespace.py +2 -10
- pulumi_alicloud/cs/registry_enterprise_sync_rule.py +10 -10
- pulumi_alicloud/ddos/_inputs.py +9 -8
- pulumi_alicloud/ddos/bgp_ip.py +1 -1
- pulumi_alicloud/ddos/domain_resource.py +90 -446
- pulumi_alicloud/ddos/outputs.py +8 -7
- pulumi_alicloud/eci/container_group.py +0 -47
- pulumi_alicloud/ecs/_inputs.py +0 -28
- pulumi_alicloud/ecs/ecs_snapshot.py +77 -199
- pulumi_alicloud/ecs/outputs.py +0 -20
- pulumi_alicloud/ecs/snapshot.py +8 -26
- pulumi_alicloud/emrv2/_inputs.py +12 -12
- pulumi_alicloud/emrv2/outputs.py +12 -12
- pulumi_alicloud/ens/_inputs.py +2 -50
- pulumi_alicloud/ens/instance.py +184 -428
- pulumi_alicloud/ens/outputs.py +2 -57
- pulumi_alicloud/ess/__init__.py +0 -1
- pulumi_alicloud/ess/alarm.py +0 -47
- pulumi_alicloud/expressconnect/physical_connection.py +185 -321
- pulumi_alicloud/fc/trigger.py +24 -22
- pulumi_alicloud/ga/_inputs.py +5 -23
- pulumi_alicloud/ga/endpoint_group.py +14 -68
- pulumi_alicloud/ga/outputs.py +5 -21
- pulumi_alicloud/governance/account.py +0 -61
- pulumi_alicloud/gpdb/__init__.py +0 -4
- pulumi_alicloud/gpdb/_inputs.py +3 -361
- pulumi_alicloud/gpdb/instance.py +0 -47
- pulumi_alicloud/gpdb/outputs.py +4 -597
- pulumi_alicloud/mongodb/instance.py +0 -94
- pulumi_alicloud/nlb/_inputs.py +64 -120
- pulumi_alicloud/nlb/get_listeners.py +2 -32
- pulumi_alicloud/nlb/get_server_group_server_attachments.py +2 -8
- pulumi_alicloud/nlb/listener.py +245 -315
- pulumi_alicloud/nlb/listener_additional_certificate_attachment.py +25 -25
- pulumi_alicloud/nlb/load_balancer.py +212 -297
- pulumi_alicloud/nlb/load_balancer_security_group_attachment.py +39 -29
- pulumi_alicloud/nlb/loadbalancer_common_bandwidth_package_attachment.py +18 -22
- pulumi_alicloud/nlb/outputs.py +66 -122
- pulumi_alicloud/nlb/security_policy.py +25 -53
- pulumi_alicloud/nlb/server_group.py +133 -196
- pulumi_alicloud/ocean/base_instance.py +163 -498
- pulumi_alicloud/oos/get_secret_parameters.py +9 -111
- pulumi_alicloud/oos/outputs.py +11 -22
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/ram/get_account_alias.py +2 -35
- pulumi_alicloud/rds/instance.py +21 -21
- pulumi_alicloud/rocketmq/_inputs.py +22 -79
- pulumi_alicloud/rocketmq/outputs.py +21 -85
- pulumi_alicloud/rocketmq/rocket_mq_instance.py +113 -307
- pulumi_alicloud/servicemesh/extension_provider.py +2 -2
- pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
- pulumi_alicloud/vpc/peer_connection.py +59 -127
- pulumi_alicloud/vpc/peer_connection_accepter.py +42 -263
- pulumi_alicloud/vpc/route_entry.py +210 -232
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/RECORD +70 -75
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/WHEEL +1 -1
- pulumi_alicloud/ess/server_group_attachment.py +0 -552
- pulumi_alicloud/gpdb/db_instance_ip_array.py +0 -533
- pulumi_alicloud/gpdb/get_data_backups.py +0 -288
- pulumi_alicloud/gpdb/get_log_backups.py +0 -225
- pulumi_alicloud/gpdb/streaming_job.py +0 -1568
- {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726032285.dist-info}/top_level.txt +0 -0
pulumi_alicloud/amqp/binding.py
CHANGED
|
@@ -305,6 +305,10 @@ class Binding(pulumi.CustomResource):
|
|
|
305
305
|
import pulumi
|
|
306
306
|
import pulumi_alicloud as alicloud
|
|
307
307
|
|
|
308
|
+
config = pulumi.Config()
|
|
309
|
+
name = config.get("name")
|
|
310
|
+
if name is None:
|
|
311
|
+
name = "terraform-example"
|
|
308
312
|
default = alicloud.amqp.Instance("default",
|
|
309
313
|
instance_type="enterprise",
|
|
310
314
|
max_tps="3000",
|
|
@@ -312,30 +316,29 @@ class Binding(pulumi.CustomResource):
|
|
|
312
316
|
storage_size="700",
|
|
313
317
|
support_eip=False,
|
|
314
318
|
max_eip_tps="128",
|
|
315
|
-
payment_type="Subscription"
|
|
316
|
-
period=1)
|
|
319
|
+
payment_type="Subscription")
|
|
317
320
|
default_virtual_host = alicloud.amqp.VirtualHost("default",
|
|
318
321
|
instance_id=default.id,
|
|
319
|
-
virtual_host_name=
|
|
322
|
+
virtual_host_name=name)
|
|
320
323
|
default_exchange = alicloud.amqp.Exchange("default",
|
|
321
|
-
auto_delete_state=False,
|
|
322
|
-
exchange_name="tf-example",
|
|
323
|
-
exchange_type="HEADERS",
|
|
324
324
|
instance_id=default.id,
|
|
325
|
-
|
|
326
|
-
|
|
325
|
+
virtual_host_name=default_virtual_host.virtual_host_name,
|
|
326
|
+
exchange_name=name,
|
|
327
|
+
exchange_type="HEADERS",
|
|
328
|
+
auto_delete_state=False,
|
|
329
|
+
internal=False)
|
|
327
330
|
default_queue = alicloud.amqp.Queue("default",
|
|
328
331
|
instance_id=default.id,
|
|
329
|
-
|
|
330
|
-
|
|
332
|
+
virtual_host_name=default_virtual_host.virtual_host_name,
|
|
333
|
+
queue_name=name)
|
|
331
334
|
default_binding = alicloud.amqp.Binding("default",
|
|
332
|
-
argument="x-match:all",
|
|
333
|
-
binding_key=default_queue.queue_name,
|
|
334
|
-
binding_type="QUEUE",
|
|
335
|
-
destination_name="tf-example",
|
|
336
335
|
instance_id=default.id,
|
|
336
|
+
virtual_host_name=default_virtual_host.virtual_host_name,
|
|
337
337
|
source_exchange=default_exchange.exchange_name,
|
|
338
|
-
|
|
338
|
+
destination_name=name,
|
|
339
|
+
binding_type="QUEUE",
|
|
340
|
+
binding_key=default_queue.queue_name,
|
|
341
|
+
argument="x-match:all")
|
|
339
342
|
```
|
|
340
343
|
|
|
341
344
|
## Import
|
|
@@ -385,6 +388,10 @@ class Binding(pulumi.CustomResource):
|
|
|
385
388
|
import pulumi
|
|
386
389
|
import pulumi_alicloud as alicloud
|
|
387
390
|
|
|
391
|
+
config = pulumi.Config()
|
|
392
|
+
name = config.get("name")
|
|
393
|
+
if name is None:
|
|
394
|
+
name = "terraform-example"
|
|
388
395
|
default = alicloud.amqp.Instance("default",
|
|
389
396
|
instance_type="enterprise",
|
|
390
397
|
max_tps="3000",
|
|
@@ -392,30 +399,29 @@ class Binding(pulumi.CustomResource):
|
|
|
392
399
|
storage_size="700",
|
|
393
400
|
support_eip=False,
|
|
394
401
|
max_eip_tps="128",
|
|
395
|
-
payment_type="Subscription"
|
|
396
|
-
period=1)
|
|
402
|
+
payment_type="Subscription")
|
|
397
403
|
default_virtual_host = alicloud.amqp.VirtualHost("default",
|
|
398
404
|
instance_id=default.id,
|
|
399
|
-
virtual_host_name=
|
|
405
|
+
virtual_host_name=name)
|
|
400
406
|
default_exchange = alicloud.amqp.Exchange("default",
|
|
401
|
-
auto_delete_state=False,
|
|
402
|
-
exchange_name="tf-example",
|
|
403
|
-
exchange_type="HEADERS",
|
|
404
407
|
instance_id=default.id,
|
|
405
|
-
|
|
406
|
-
|
|
408
|
+
virtual_host_name=default_virtual_host.virtual_host_name,
|
|
409
|
+
exchange_name=name,
|
|
410
|
+
exchange_type="HEADERS",
|
|
411
|
+
auto_delete_state=False,
|
|
412
|
+
internal=False)
|
|
407
413
|
default_queue = alicloud.amqp.Queue("default",
|
|
408
414
|
instance_id=default.id,
|
|
409
|
-
|
|
410
|
-
|
|
415
|
+
virtual_host_name=default_virtual_host.virtual_host_name,
|
|
416
|
+
queue_name=name)
|
|
411
417
|
default_binding = alicloud.amqp.Binding("default",
|
|
412
|
-
argument="x-match:all",
|
|
413
|
-
binding_key=default_queue.queue_name,
|
|
414
|
-
binding_type="QUEUE",
|
|
415
|
-
destination_name="tf-example",
|
|
416
418
|
instance_id=default.id,
|
|
419
|
+
virtual_host_name=default_virtual_host.virtual_host_name,
|
|
417
420
|
source_exchange=default_exchange.exchange_name,
|
|
418
|
-
|
|
421
|
+
destination_name=name,
|
|
422
|
+
binding_type="QUEUE",
|
|
423
|
+
binding_key=default_queue.queue_name,
|
|
424
|
+
argument="x-match:all")
|
|
419
425
|
```
|
|
420
426
|
|
|
421
427
|
## Import
|
pulumi_alicloud/cen/_inputs.py
CHANGED
|
@@ -10,212 +10,46 @@ from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
|
10
10
|
from .. import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = [
|
|
13
|
-
'TrafficMarkingPolicyTrafficMatchRuleArgs',
|
|
14
13
|
'TransitRouterVpcAttachmentZoneMappingArgs',
|
|
15
14
|
'TransitRouterVpnAttachmentZoneArgs',
|
|
16
15
|
]
|
|
17
16
|
|
|
18
|
-
@pulumi.input_type
|
|
19
|
-
class TrafficMarkingPolicyTrafficMatchRuleArgs:
|
|
20
|
-
def __init__(__self__, *,
|
|
21
|
-
address_family: Optional[pulumi.Input[str]] = None,
|
|
22
|
-
dst_cidr: Optional[pulumi.Input[str]] = None,
|
|
23
|
-
dst_port_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
|
|
24
|
-
match_dscp: Optional[pulumi.Input[int]] = None,
|
|
25
|
-
protocol: Optional[pulumi.Input[str]] = None,
|
|
26
|
-
src_cidr: Optional[pulumi.Input[str]] = None,
|
|
27
|
-
src_port_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
|
|
28
|
-
traffic_match_rule_description: Optional[pulumi.Input[str]] = None,
|
|
29
|
-
traffic_match_rule_name: Optional[pulumi.Input[str]] = None):
|
|
30
|
-
"""
|
|
31
|
-
:param pulumi.Input[str] address_family: IP Address Family.
|
|
32
|
-
:param pulumi.Input[str] dst_cidr: The destination network segment of the traffic message. The flow classification matches the traffic of the destination IP address in the destination network segment. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any destination IP address.
|
|
33
|
-
:param pulumi.Input[Sequence[pulumi.Input[int]]] dst_port_ranges: The destination port of the traffic message. Valid values: **-1**, `1` to `65535`. The flow classification rule matches the traffic of the destination port number in the destination port range. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any destination port number. The current parameter supports a maximum of 2 port numbers. The input format is described as follows:
|
|
34
|
-
- If you only enter a port number, such as 1, the system defaults to match the traffic with the destination port of 1.
|
|
35
|
-
- If you enter 2 port numbers, such as 1 and 200, the system defaults to match the traffic of the destination port in the range of 1 to 200.
|
|
36
|
-
- If you enter 2 port numbers and one of them is - 1, the other port must also be - 1, indicating that it matches any destination port.
|
|
37
|
-
:param pulumi.Input[int] match_dscp: The DSCP value of the traffic message. Valid values: `0` to **63 * *. The flow classification rule matches the flow with the specified DSCP value. If the flow classification rule is not set, it means that the flow classification rule matches the flow with any DSCP value.> **NOTE:** The current DSCP value refers to the DSCP value that the traffic message has carried before entering the cross-region connection.
|
|
38
|
-
:param pulumi.Input[str] protocol: The protocol type of the traffic message. Stream classification rules can match traffic of multiple protocol types, such as `HTTP`, `HTTPS`, `TCP`, `UDP`, `SSH`, and **Telnet. For more protocol types, please log on to the [Cloud Enterprise Network Management Console](https://cen.console.aliyun.com/cen/list) to view.
|
|
39
|
-
:param pulumi.Input[str] src_cidr: The source network segment of the traffic message. The flow classification rule matches the traffic of the source IP address in the source network segment. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any source IP address.
|
|
40
|
-
:param pulumi.Input[Sequence[pulumi.Input[int]]] src_port_ranges: The source port of the traffic message. Valid values: **-1**, `1` to `65535`. The flow classification rule matches the traffic of the source port number in the source port range. If it is not set, it means that the flow classification rule matches the traffic of any source port number. The current parameter supports entering up to two port numbers. The input format is described as follows:
|
|
41
|
-
- If you only enter a port number, such as 1, the system defaults to match the traffic with source port 1.
|
|
42
|
-
- If you enter two port numbers, such as 1 and 200, the system defaults to match the traffic with the source port in the range of 1 to 200.
|
|
43
|
-
- If you enter two port numbers and one of them is - 1, the other port must also be - 1, indicating that it matches any source port.
|
|
44
|
-
:param pulumi.Input[str] traffic_match_rule_description: The description information of the stream classification rule. The description must be 2 to 128 characters in length and can contain numbers, dashes (-), and underscores (_).
|
|
45
|
-
:param pulumi.Input[str] traffic_match_rule_name: The name of the stream classification rule. The name must be 2 to 128 characters in length and can contain numbers, dashes (-), and underscores (_).
|
|
46
|
-
"""
|
|
47
|
-
if address_family is not None:
|
|
48
|
-
pulumi.set(__self__, "address_family", address_family)
|
|
49
|
-
if dst_cidr is not None:
|
|
50
|
-
pulumi.set(__self__, "dst_cidr", dst_cidr)
|
|
51
|
-
if dst_port_ranges is not None:
|
|
52
|
-
pulumi.set(__self__, "dst_port_ranges", dst_port_ranges)
|
|
53
|
-
if match_dscp is not None:
|
|
54
|
-
pulumi.set(__self__, "match_dscp", match_dscp)
|
|
55
|
-
if protocol is not None:
|
|
56
|
-
pulumi.set(__self__, "protocol", protocol)
|
|
57
|
-
if src_cidr is not None:
|
|
58
|
-
pulumi.set(__self__, "src_cidr", src_cidr)
|
|
59
|
-
if src_port_ranges is not None:
|
|
60
|
-
pulumi.set(__self__, "src_port_ranges", src_port_ranges)
|
|
61
|
-
if traffic_match_rule_description is not None:
|
|
62
|
-
pulumi.set(__self__, "traffic_match_rule_description", traffic_match_rule_description)
|
|
63
|
-
if traffic_match_rule_name is not None:
|
|
64
|
-
pulumi.set(__self__, "traffic_match_rule_name", traffic_match_rule_name)
|
|
65
|
-
|
|
66
|
-
@property
|
|
67
|
-
@pulumi.getter(name="addressFamily")
|
|
68
|
-
def address_family(self) -> Optional[pulumi.Input[str]]:
|
|
69
|
-
"""
|
|
70
|
-
IP Address Family.
|
|
71
|
-
"""
|
|
72
|
-
return pulumi.get(self, "address_family")
|
|
73
|
-
|
|
74
|
-
@address_family.setter
|
|
75
|
-
def address_family(self, value: Optional[pulumi.Input[str]]):
|
|
76
|
-
pulumi.set(self, "address_family", value)
|
|
77
|
-
|
|
78
|
-
@property
|
|
79
|
-
@pulumi.getter(name="dstCidr")
|
|
80
|
-
def dst_cidr(self) -> Optional[pulumi.Input[str]]:
|
|
81
|
-
"""
|
|
82
|
-
The destination network segment of the traffic message. The flow classification matches the traffic of the destination IP address in the destination network segment. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any destination IP address.
|
|
83
|
-
"""
|
|
84
|
-
return pulumi.get(self, "dst_cidr")
|
|
85
|
-
|
|
86
|
-
@dst_cidr.setter
|
|
87
|
-
def dst_cidr(self, value: Optional[pulumi.Input[str]]):
|
|
88
|
-
pulumi.set(self, "dst_cidr", value)
|
|
89
|
-
|
|
90
|
-
@property
|
|
91
|
-
@pulumi.getter(name="dstPortRanges")
|
|
92
|
-
def dst_port_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]:
|
|
93
|
-
"""
|
|
94
|
-
The destination port of the traffic message. Valid values: **-1**, `1` to `65535`. The flow classification rule matches the traffic of the destination port number in the destination port range. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any destination port number. The current parameter supports a maximum of 2 port numbers. The input format is described as follows:
|
|
95
|
-
- If you only enter a port number, such as 1, the system defaults to match the traffic with the destination port of 1.
|
|
96
|
-
- If you enter 2 port numbers, such as 1 and 200, the system defaults to match the traffic of the destination port in the range of 1 to 200.
|
|
97
|
-
- If you enter 2 port numbers and one of them is - 1, the other port must also be - 1, indicating that it matches any destination port.
|
|
98
|
-
"""
|
|
99
|
-
return pulumi.get(self, "dst_port_ranges")
|
|
100
|
-
|
|
101
|
-
@dst_port_ranges.setter
|
|
102
|
-
def dst_port_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]):
|
|
103
|
-
pulumi.set(self, "dst_port_ranges", value)
|
|
104
|
-
|
|
105
|
-
@property
|
|
106
|
-
@pulumi.getter(name="matchDscp")
|
|
107
|
-
def match_dscp(self) -> Optional[pulumi.Input[int]]:
|
|
108
|
-
"""
|
|
109
|
-
The DSCP value of the traffic message. Valid values: `0` to **63 * *. The flow classification rule matches the flow with the specified DSCP value. If the flow classification rule is not set, it means that the flow classification rule matches the flow with any DSCP value.> **NOTE:** The current DSCP value refers to the DSCP value that the traffic message has carried before entering the cross-region connection.
|
|
110
|
-
"""
|
|
111
|
-
return pulumi.get(self, "match_dscp")
|
|
112
|
-
|
|
113
|
-
@match_dscp.setter
|
|
114
|
-
def match_dscp(self, value: Optional[pulumi.Input[int]]):
|
|
115
|
-
pulumi.set(self, "match_dscp", value)
|
|
116
|
-
|
|
117
|
-
@property
|
|
118
|
-
@pulumi.getter
|
|
119
|
-
def protocol(self) -> Optional[pulumi.Input[str]]:
|
|
120
|
-
"""
|
|
121
|
-
The protocol type of the traffic message. Stream classification rules can match traffic of multiple protocol types, such as `HTTP`, `HTTPS`, `TCP`, `UDP`, `SSH`, and **Telnet. For more protocol types, please log on to the [Cloud Enterprise Network Management Console](https://cen.console.aliyun.com/cen/list) to view.
|
|
122
|
-
"""
|
|
123
|
-
return pulumi.get(self, "protocol")
|
|
124
|
-
|
|
125
|
-
@protocol.setter
|
|
126
|
-
def protocol(self, value: Optional[pulumi.Input[str]]):
|
|
127
|
-
pulumi.set(self, "protocol", value)
|
|
128
|
-
|
|
129
|
-
@property
|
|
130
|
-
@pulumi.getter(name="srcCidr")
|
|
131
|
-
def src_cidr(self) -> Optional[pulumi.Input[str]]:
|
|
132
|
-
"""
|
|
133
|
-
The source network segment of the traffic message. The flow classification rule matches the traffic of the source IP address in the source network segment. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any source IP address.
|
|
134
|
-
"""
|
|
135
|
-
return pulumi.get(self, "src_cidr")
|
|
136
|
-
|
|
137
|
-
@src_cidr.setter
|
|
138
|
-
def src_cidr(self, value: Optional[pulumi.Input[str]]):
|
|
139
|
-
pulumi.set(self, "src_cidr", value)
|
|
140
|
-
|
|
141
|
-
@property
|
|
142
|
-
@pulumi.getter(name="srcPortRanges")
|
|
143
|
-
def src_port_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]:
|
|
144
|
-
"""
|
|
145
|
-
The source port of the traffic message. Valid values: **-1**, `1` to `65535`. The flow classification rule matches the traffic of the source port number in the source port range. If it is not set, it means that the flow classification rule matches the traffic of any source port number. The current parameter supports entering up to two port numbers. The input format is described as follows:
|
|
146
|
-
- If you only enter a port number, such as 1, the system defaults to match the traffic with source port 1.
|
|
147
|
-
- If you enter two port numbers, such as 1 and 200, the system defaults to match the traffic with the source port in the range of 1 to 200.
|
|
148
|
-
- If you enter two port numbers and one of them is - 1, the other port must also be - 1, indicating that it matches any source port.
|
|
149
|
-
"""
|
|
150
|
-
return pulumi.get(self, "src_port_ranges")
|
|
151
|
-
|
|
152
|
-
@src_port_ranges.setter
|
|
153
|
-
def src_port_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]):
|
|
154
|
-
pulumi.set(self, "src_port_ranges", value)
|
|
155
|
-
|
|
156
|
-
@property
|
|
157
|
-
@pulumi.getter(name="trafficMatchRuleDescription")
|
|
158
|
-
def traffic_match_rule_description(self) -> Optional[pulumi.Input[str]]:
|
|
159
|
-
"""
|
|
160
|
-
The description information of the stream classification rule. The description must be 2 to 128 characters in length and can contain numbers, dashes (-), and underscores (_).
|
|
161
|
-
"""
|
|
162
|
-
return pulumi.get(self, "traffic_match_rule_description")
|
|
163
|
-
|
|
164
|
-
@traffic_match_rule_description.setter
|
|
165
|
-
def traffic_match_rule_description(self, value: Optional[pulumi.Input[str]]):
|
|
166
|
-
pulumi.set(self, "traffic_match_rule_description", value)
|
|
167
|
-
|
|
168
|
-
@property
|
|
169
|
-
@pulumi.getter(name="trafficMatchRuleName")
|
|
170
|
-
def traffic_match_rule_name(self) -> Optional[pulumi.Input[str]]:
|
|
171
|
-
"""
|
|
172
|
-
The name of the stream classification rule. The name must be 2 to 128 characters in length and can contain numbers, dashes (-), and underscores (_).
|
|
173
|
-
"""
|
|
174
|
-
return pulumi.get(self, "traffic_match_rule_name")
|
|
175
|
-
|
|
176
|
-
@traffic_match_rule_name.setter
|
|
177
|
-
def traffic_match_rule_name(self, value: Optional[pulumi.Input[str]]):
|
|
178
|
-
pulumi.set(self, "traffic_match_rule_name", value)
|
|
179
|
-
|
|
180
|
-
|
|
181
17
|
@pulumi.input_type
|
|
182
18
|
class TransitRouterVpcAttachmentZoneMappingArgs:
|
|
183
19
|
def __init__(__self__, *,
|
|
184
|
-
vswitch_id: pulumi.Input[str],
|
|
185
|
-
zone_id: pulumi.Input[str]):
|
|
20
|
+
vswitch_id: Optional[pulumi.Input[str]] = None,
|
|
21
|
+
zone_id: Optional[pulumi.Input[str]] = None):
|
|
186
22
|
"""
|
|
187
|
-
:param pulumi.Input[str] vswitch_id: The
|
|
188
|
-
|
|
189
|
-
- If the VPC connection belongs to another Alibaba Cloud account, you can call the [ListGrantVSwitchesToCen](https://www.alibabacloud.com/help/en/doc-detail/427599.html) operation to query the IDs of the vSwitches and zones of the VPC.
|
|
190
|
-
:param pulumi.Input[str] zone_id: The ID of the zone that supports Enterprise Edition transit routers. You can call the [DescribeZones](https://www.alibabacloud.com/help/en/doc-detail/36064.html) operation to query the most recent zone list. You can specify at most 10 zones in each call.
|
|
23
|
+
:param pulumi.Input[str] vswitch_id: The VSwitch id of attachment.
|
|
24
|
+
:param pulumi.Input[str] zone_id: The zone Id of VSwitch.
|
|
191
25
|
"""
|
|
192
|
-
|
|
193
|
-
|
|
26
|
+
if vswitch_id is not None:
|
|
27
|
+
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
28
|
+
if zone_id is not None:
|
|
29
|
+
pulumi.set(__self__, "zone_id", zone_id)
|
|
194
30
|
|
|
195
31
|
@property
|
|
196
32
|
@pulumi.getter(name="vswitchId")
|
|
197
|
-
def vswitch_id(self) -> pulumi.Input[str]:
|
|
33
|
+
def vswitch_id(self) -> Optional[pulumi.Input[str]]:
|
|
198
34
|
"""
|
|
199
|
-
The
|
|
200
|
-
- If the VPC connection belongs to the current Alibaba Cloud account, you can call the [DescribeVSwitches](https://www.alibabacloud.com/help/en/doc-detail/35748.html) operation to query the IDs of the vSwitches and zones of the VPC.
|
|
201
|
-
- If the VPC connection belongs to another Alibaba Cloud account, you can call the [ListGrantVSwitchesToCen](https://www.alibabacloud.com/help/en/doc-detail/427599.html) operation to query the IDs of the vSwitches and zones of the VPC.
|
|
35
|
+
The VSwitch id of attachment.
|
|
202
36
|
"""
|
|
203
37
|
return pulumi.get(self, "vswitch_id")
|
|
204
38
|
|
|
205
39
|
@vswitch_id.setter
|
|
206
|
-
def vswitch_id(self, value: pulumi.Input[str]):
|
|
40
|
+
def vswitch_id(self, value: Optional[pulumi.Input[str]]):
|
|
207
41
|
pulumi.set(self, "vswitch_id", value)
|
|
208
42
|
|
|
209
43
|
@property
|
|
210
44
|
@pulumi.getter(name="zoneId")
|
|
211
|
-
def zone_id(self) -> pulumi.Input[str]:
|
|
45
|
+
def zone_id(self) -> Optional[pulumi.Input[str]]:
|
|
212
46
|
"""
|
|
213
|
-
The
|
|
47
|
+
The zone Id of VSwitch.
|
|
214
48
|
"""
|
|
215
49
|
return pulumi.get(self, "zone_id")
|
|
216
50
|
|
|
217
51
|
@zone_id.setter
|
|
218
|
-
def zone_id(self, value: pulumi.Input[str]):
|
|
52
|
+
def zone_id(self, value: Optional[pulumi.Input[str]]):
|
|
219
53
|
pulumi.set(self, "zone_id", value)
|
|
220
54
|
|
|
221
55
|
|
pulumi_alicloud/cen/outputs.py
CHANGED
|
@@ -11,7 +11,6 @@ from .. import _utilities
|
|
|
11
11
|
from . import outputs
|
|
12
12
|
|
|
13
13
|
__all__ = [
|
|
14
|
-
'TrafficMarkingPolicyTrafficMatchRule',
|
|
15
14
|
'TransitRouterVpcAttachmentZoneMapping',
|
|
16
15
|
'TransitRouterVpnAttachmentZone',
|
|
17
16
|
'GetBandwidthLimitsLimitResult',
|
|
@@ -52,164 +51,6 @@ __all__ = [
|
|
|
52
51
|
'GetVbrHealthChecksCheckResult',
|
|
53
52
|
]
|
|
54
53
|
|
|
55
|
-
@pulumi.output_type
|
|
56
|
-
class TrafficMarkingPolicyTrafficMatchRule(dict):
|
|
57
|
-
@staticmethod
|
|
58
|
-
def __key_warning(key: str):
|
|
59
|
-
suggest = None
|
|
60
|
-
if key == "addressFamily":
|
|
61
|
-
suggest = "address_family"
|
|
62
|
-
elif key == "dstCidr":
|
|
63
|
-
suggest = "dst_cidr"
|
|
64
|
-
elif key == "dstPortRanges":
|
|
65
|
-
suggest = "dst_port_ranges"
|
|
66
|
-
elif key == "matchDscp":
|
|
67
|
-
suggest = "match_dscp"
|
|
68
|
-
elif key == "srcCidr":
|
|
69
|
-
suggest = "src_cidr"
|
|
70
|
-
elif key == "srcPortRanges":
|
|
71
|
-
suggest = "src_port_ranges"
|
|
72
|
-
elif key == "trafficMatchRuleDescription":
|
|
73
|
-
suggest = "traffic_match_rule_description"
|
|
74
|
-
elif key == "trafficMatchRuleName":
|
|
75
|
-
suggest = "traffic_match_rule_name"
|
|
76
|
-
|
|
77
|
-
if suggest:
|
|
78
|
-
pulumi.log.warn(f"Key '{key}' not found in TrafficMarkingPolicyTrafficMatchRule. Access the value via the '{suggest}' property getter instead.")
|
|
79
|
-
|
|
80
|
-
def __getitem__(self, key: str) -> Any:
|
|
81
|
-
TrafficMarkingPolicyTrafficMatchRule.__key_warning(key)
|
|
82
|
-
return super().__getitem__(key)
|
|
83
|
-
|
|
84
|
-
def get(self, key: str, default = None) -> Any:
|
|
85
|
-
TrafficMarkingPolicyTrafficMatchRule.__key_warning(key)
|
|
86
|
-
return super().get(key, default)
|
|
87
|
-
|
|
88
|
-
def __init__(__self__, *,
|
|
89
|
-
address_family: Optional[str] = None,
|
|
90
|
-
dst_cidr: Optional[str] = None,
|
|
91
|
-
dst_port_ranges: Optional[Sequence[int]] = None,
|
|
92
|
-
match_dscp: Optional[int] = None,
|
|
93
|
-
protocol: Optional[str] = None,
|
|
94
|
-
src_cidr: Optional[str] = None,
|
|
95
|
-
src_port_ranges: Optional[Sequence[int]] = None,
|
|
96
|
-
traffic_match_rule_description: Optional[str] = None,
|
|
97
|
-
traffic_match_rule_name: Optional[str] = None):
|
|
98
|
-
"""
|
|
99
|
-
:param str address_family: IP Address Family.
|
|
100
|
-
:param str dst_cidr: The destination network segment of the traffic message. The flow classification matches the traffic of the destination IP address in the destination network segment. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any destination IP address.
|
|
101
|
-
:param Sequence[int] dst_port_ranges: The destination port of the traffic message. Valid values: **-1**, `1` to `65535`. The flow classification rule matches the traffic of the destination port number in the destination port range. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any destination port number. The current parameter supports a maximum of 2 port numbers. The input format is described as follows:
|
|
102
|
-
- If you only enter a port number, such as 1, the system defaults to match the traffic with the destination port of 1.
|
|
103
|
-
- If you enter 2 port numbers, such as 1 and 200, the system defaults to match the traffic of the destination port in the range of 1 to 200.
|
|
104
|
-
- If you enter 2 port numbers and one of them is - 1, the other port must also be - 1, indicating that it matches any destination port.
|
|
105
|
-
:param int match_dscp: The DSCP value of the traffic message. Valid values: `0` to **63 * *. The flow classification rule matches the flow with the specified DSCP value. If the flow classification rule is not set, it means that the flow classification rule matches the flow with any DSCP value.> **NOTE:** The current DSCP value refers to the DSCP value that the traffic message has carried before entering the cross-region connection.
|
|
106
|
-
:param str protocol: The protocol type of the traffic message. Stream classification rules can match traffic of multiple protocol types, such as `HTTP`, `HTTPS`, `TCP`, `UDP`, `SSH`, and **Telnet. For more protocol types, please log on to the [Cloud Enterprise Network Management Console](https://cen.console.aliyun.com/cen/list) to view.
|
|
107
|
-
:param str src_cidr: The source network segment of the traffic message. The flow classification rule matches the traffic of the source IP address in the source network segment. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any source IP address.
|
|
108
|
-
:param Sequence[int] src_port_ranges: The source port of the traffic message. Valid values: **-1**, `1` to `65535`. The flow classification rule matches the traffic of the source port number in the source port range. If it is not set, it means that the flow classification rule matches the traffic of any source port number. The current parameter supports entering up to two port numbers. The input format is described as follows:
|
|
109
|
-
- If you only enter a port number, such as 1, the system defaults to match the traffic with source port 1.
|
|
110
|
-
- If you enter two port numbers, such as 1 and 200, the system defaults to match the traffic with the source port in the range of 1 to 200.
|
|
111
|
-
- If you enter two port numbers and one of them is - 1, the other port must also be - 1, indicating that it matches any source port.
|
|
112
|
-
:param str traffic_match_rule_description: The description information of the stream classification rule. The description must be 2 to 128 characters in length and can contain numbers, dashes (-), and underscores (_).
|
|
113
|
-
:param str traffic_match_rule_name: The name of the stream classification rule. The name must be 2 to 128 characters in length and can contain numbers, dashes (-), and underscores (_).
|
|
114
|
-
"""
|
|
115
|
-
if address_family is not None:
|
|
116
|
-
pulumi.set(__self__, "address_family", address_family)
|
|
117
|
-
if dst_cidr is not None:
|
|
118
|
-
pulumi.set(__self__, "dst_cidr", dst_cidr)
|
|
119
|
-
if dst_port_ranges is not None:
|
|
120
|
-
pulumi.set(__self__, "dst_port_ranges", dst_port_ranges)
|
|
121
|
-
if match_dscp is not None:
|
|
122
|
-
pulumi.set(__self__, "match_dscp", match_dscp)
|
|
123
|
-
if protocol is not None:
|
|
124
|
-
pulumi.set(__self__, "protocol", protocol)
|
|
125
|
-
if src_cidr is not None:
|
|
126
|
-
pulumi.set(__self__, "src_cidr", src_cidr)
|
|
127
|
-
if src_port_ranges is not None:
|
|
128
|
-
pulumi.set(__self__, "src_port_ranges", src_port_ranges)
|
|
129
|
-
if traffic_match_rule_description is not None:
|
|
130
|
-
pulumi.set(__self__, "traffic_match_rule_description", traffic_match_rule_description)
|
|
131
|
-
if traffic_match_rule_name is not None:
|
|
132
|
-
pulumi.set(__self__, "traffic_match_rule_name", traffic_match_rule_name)
|
|
133
|
-
|
|
134
|
-
@property
|
|
135
|
-
@pulumi.getter(name="addressFamily")
|
|
136
|
-
def address_family(self) -> Optional[str]:
|
|
137
|
-
"""
|
|
138
|
-
IP Address Family.
|
|
139
|
-
"""
|
|
140
|
-
return pulumi.get(self, "address_family")
|
|
141
|
-
|
|
142
|
-
@property
|
|
143
|
-
@pulumi.getter(name="dstCidr")
|
|
144
|
-
def dst_cidr(self) -> Optional[str]:
|
|
145
|
-
"""
|
|
146
|
-
The destination network segment of the traffic message. The flow classification matches the traffic of the destination IP address in the destination network segment. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any destination IP address.
|
|
147
|
-
"""
|
|
148
|
-
return pulumi.get(self, "dst_cidr")
|
|
149
|
-
|
|
150
|
-
@property
|
|
151
|
-
@pulumi.getter(name="dstPortRanges")
|
|
152
|
-
def dst_port_ranges(self) -> Optional[Sequence[int]]:
|
|
153
|
-
"""
|
|
154
|
-
The destination port of the traffic message. Valid values: **-1**, `1` to `65535`. The flow classification rule matches the traffic of the destination port number in the destination port range. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any destination port number. The current parameter supports a maximum of 2 port numbers. The input format is described as follows:
|
|
155
|
-
- If you only enter a port number, such as 1, the system defaults to match the traffic with the destination port of 1.
|
|
156
|
-
- If you enter 2 port numbers, such as 1 and 200, the system defaults to match the traffic of the destination port in the range of 1 to 200.
|
|
157
|
-
- If you enter 2 port numbers and one of them is - 1, the other port must also be - 1, indicating that it matches any destination port.
|
|
158
|
-
"""
|
|
159
|
-
return pulumi.get(self, "dst_port_ranges")
|
|
160
|
-
|
|
161
|
-
@property
|
|
162
|
-
@pulumi.getter(name="matchDscp")
|
|
163
|
-
def match_dscp(self) -> Optional[int]:
|
|
164
|
-
"""
|
|
165
|
-
The DSCP value of the traffic message. Valid values: `0` to **63 * *. The flow classification rule matches the flow with the specified DSCP value. If the flow classification rule is not set, it means that the flow classification rule matches the flow with any DSCP value.> **NOTE:** The current DSCP value refers to the DSCP value that the traffic message has carried before entering the cross-region connection.
|
|
166
|
-
"""
|
|
167
|
-
return pulumi.get(self, "match_dscp")
|
|
168
|
-
|
|
169
|
-
@property
|
|
170
|
-
@pulumi.getter
|
|
171
|
-
def protocol(self) -> Optional[str]:
|
|
172
|
-
"""
|
|
173
|
-
The protocol type of the traffic message. Stream classification rules can match traffic of multiple protocol types, such as `HTTP`, `HTTPS`, `TCP`, `UDP`, `SSH`, and **Telnet. For more protocol types, please log on to the [Cloud Enterprise Network Management Console](https://cen.console.aliyun.com/cen/list) to view.
|
|
174
|
-
"""
|
|
175
|
-
return pulumi.get(self, "protocol")
|
|
176
|
-
|
|
177
|
-
@property
|
|
178
|
-
@pulumi.getter(name="srcCidr")
|
|
179
|
-
def src_cidr(self) -> Optional[str]:
|
|
180
|
-
"""
|
|
181
|
-
The source network segment of the traffic message. The flow classification rule matches the traffic of the source IP address in the source network segment. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any source IP address.
|
|
182
|
-
"""
|
|
183
|
-
return pulumi.get(self, "src_cidr")
|
|
184
|
-
|
|
185
|
-
@property
|
|
186
|
-
@pulumi.getter(name="srcPortRanges")
|
|
187
|
-
def src_port_ranges(self) -> Optional[Sequence[int]]:
|
|
188
|
-
"""
|
|
189
|
-
The source port of the traffic message. Valid values: **-1**, `1` to `65535`. The flow classification rule matches the traffic of the source port number in the source port range. If it is not set, it means that the flow classification rule matches the traffic of any source port number. The current parameter supports entering up to two port numbers. The input format is described as follows:
|
|
190
|
-
- If you only enter a port number, such as 1, the system defaults to match the traffic with source port 1.
|
|
191
|
-
- If you enter two port numbers, such as 1 and 200, the system defaults to match the traffic with the source port in the range of 1 to 200.
|
|
192
|
-
- If you enter two port numbers and one of them is - 1, the other port must also be - 1, indicating that it matches any source port.
|
|
193
|
-
"""
|
|
194
|
-
return pulumi.get(self, "src_port_ranges")
|
|
195
|
-
|
|
196
|
-
@property
|
|
197
|
-
@pulumi.getter(name="trafficMatchRuleDescription")
|
|
198
|
-
def traffic_match_rule_description(self) -> Optional[str]:
|
|
199
|
-
"""
|
|
200
|
-
The description information of the stream classification rule. The description must be 2 to 128 characters in length and can contain numbers, dashes (-), and underscores (_).
|
|
201
|
-
"""
|
|
202
|
-
return pulumi.get(self, "traffic_match_rule_description")
|
|
203
|
-
|
|
204
|
-
@property
|
|
205
|
-
@pulumi.getter(name="trafficMatchRuleName")
|
|
206
|
-
def traffic_match_rule_name(self) -> Optional[str]:
|
|
207
|
-
"""
|
|
208
|
-
The name of the stream classification rule. The name must be 2 to 128 characters in length and can contain numbers, dashes (-), and underscores (_).
|
|
209
|
-
"""
|
|
210
|
-
return pulumi.get(self, "traffic_match_rule_name")
|
|
211
|
-
|
|
212
|
-
|
|
213
54
|
@pulumi.output_type
|
|
214
55
|
class TransitRouterVpcAttachmentZoneMapping(dict):
|
|
215
56
|
@staticmethod
|
|
@@ -232,32 +73,30 @@ class TransitRouterVpcAttachmentZoneMapping(dict):
|
|
|
232
73
|
return super().get(key, default)
|
|
233
74
|
|
|
234
75
|
def __init__(__self__, *,
|
|
235
|
-
vswitch_id: str,
|
|
236
|
-
zone_id: str):
|
|
76
|
+
vswitch_id: Optional[str] = None,
|
|
77
|
+
zone_id: Optional[str] = None):
|
|
237
78
|
"""
|
|
238
|
-
:param str vswitch_id: The
|
|
239
|
-
|
|
240
|
-
- If the VPC connection belongs to another Alibaba Cloud account, you can call the [ListGrantVSwitchesToCen](https://www.alibabacloud.com/help/en/doc-detail/427599.html) operation to query the IDs of the vSwitches and zones of the VPC.
|
|
241
|
-
:param str zone_id: The ID of the zone that supports Enterprise Edition transit routers. You can call the [DescribeZones](https://www.alibabacloud.com/help/en/doc-detail/36064.html) operation to query the most recent zone list. You can specify at most 10 zones in each call.
|
|
79
|
+
:param str vswitch_id: The VSwitch id of attachment.
|
|
80
|
+
:param str zone_id: The zone Id of VSwitch.
|
|
242
81
|
"""
|
|
243
|
-
|
|
244
|
-
|
|
82
|
+
if vswitch_id is not None:
|
|
83
|
+
pulumi.set(__self__, "vswitch_id", vswitch_id)
|
|
84
|
+
if zone_id is not None:
|
|
85
|
+
pulumi.set(__self__, "zone_id", zone_id)
|
|
245
86
|
|
|
246
87
|
@property
|
|
247
88
|
@pulumi.getter(name="vswitchId")
|
|
248
|
-
def vswitch_id(self) -> str:
|
|
89
|
+
def vswitch_id(self) -> Optional[str]:
|
|
249
90
|
"""
|
|
250
|
-
The
|
|
251
|
-
- If the VPC connection belongs to the current Alibaba Cloud account, you can call the [DescribeVSwitches](https://www.alibabacloud.com/help/en/doc-detail/35748.html) operation to query the IDs of the vSwitches and zones of the VPC.
|
|
252
|
-
- If the VPC connection belongs to another Alibaba Cloud account, you can call the [ListGrantVSwitchesToCen](https://www.alibabacloud.com/help/en/doc-detail/427599.html) operation to query the IDs of the vSwitches and zones of the VPC.
|
|
91
|
+
The VSwitch id of attachment.
|
|
253
92
|
"""
|
|
254
93
|
return pulumi.get(self, "vswitch_id")
|
|
255
94
|
|
|
256
95
|
@property
|
|
257
96
|
@pulumi.getter(name="zoneId")
|
|
258
|
-
def zone_id(self) -> str:
|
|
97
|
+
def zone_id(self) -> Optional[str]:
|
|
259
98
|
"""
|
|
260
|
-
The
|
|
99
|
+
The zone Id of VSwitch.
|
|
261
100
|
"""
|
|
262
101
|
return pulumi.get(self, "zone_id")
|
|
263
102
|
|