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
|
@@ -8,8 +8,6 @@ import pulumi
|
|
|
8
8
|
import pulumi.runtime
|
|
9
9
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from .. import _utilities
|
|
11
|
-
from . import outputs
|
|
12
|
-
from ._inputs import *
|
|
13
11
|
|
|
14
12
|
__all__ = ['TrafficMarkingPolicyArgs', 'TrafficMarkingPolicy']
|
|
15
13
|
|
|
@@ -21,19 +19,15 @@ class TrafficMarkingPolicyArgs:
|
|
|
21
19
|
transit_router_id: pulumi.Input[str],
|
|
22
20
|
description: Optional[pulumi.Input[str]] = None,
|
|
23
21
|
dry_run: Optional[pulumi.Input[bool]] = None,
|
|
24
|
-
traffic_marking_policy_name: Optional[pulumi.Input[str]] = None
|
|
25
|
-
traffic_match_rules: Optional[pulumi.Input[Sequence[pulumi.Input['TrafficMarkingPolicyTrafficMatchRuleArgs']]]] = None):
|
|
22
|
+
traffic_marking_policy_name: Optional[pulumi.Input[str]] = None):
|
|
26
23
|
"""
|
|
27
24
|
The set of arguments for constructing a TrafficMarkingPolicy resource.
|
|
28
|
-
:param pulumi.Input[int] marking_dscp:
|
|
29
|
-
:param pulumi.Input[int] priority: Priority
|
|
30
|
-
:param pulumi.Input[str] transit_router_id:
|
|
31
|
-
:param pulumi.Input[str] description:
|
|
32
|
-
:param pulumi.Input[bool] dry_run:
|
|
33
|
-
:param pulumi.Input[str] traffic_marking_policy_name:
|
|
34
|
-
:param pulumi.Input[Sequence[pulumi.Input['TrafficMarkingPolicyTrafficMatchRuleArgs']]] traffic_match_rules: List of stream classification rules.
|
|
35
|
-
|
|
36
|
-
You can add up to 50 stream classification rules at a time. See `traffic_match_rules` below.
|
|
25
|
+
:param pulumi.Input[int] marking_dscp: The DSCP(Differentiated Services Code Point) of the Traffic Marking Policy. Value range: 0~63.
|
|
26
|
+
:param pulumi.Input[int] priority: The Priority of the Traffic Marking Policy. Value range: 1~100.
|
|
27
|
+
:param pulumi.Input[str] transit_router_id: The ID of the transit router.
|
|
28
|
+
:param pulumi.Input[str] description: The description of the Traffic Marking Policy. The description must be 2 to 128 characters in length, and must start with a letter. It can contain digits, underscores (_), and hyphens (-).
|
|
29
|
+
:param pulumi.Input[bool] dry_run: The dry run.
|
|
30
|
+
:param pulumi.Input[str] traffic_marking_policy_name: The name of the Traffic Marking Policy. The name must be 2 to 128 characters in length, and must start with a letter. It can contain digits, underscores (_), and hyphens (-).
|
|
37
31
|
"""
|
|
38
32
|
pulumi.set(__self__, "marking_dscp", marking_dscp)
|
|
39
33
|
pulumi.set(__self__, "priority", priority)
|
|
@@ -44,14 +38,12 @@ class TrafficMarkingPolicyArgs:
|
|
|
44
38
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
45
39
|
if traffic_marking_policy_name is not None:
|
|
46
40
|
pulumi.set(__self__, "traffic_marking_policy_name", traffic_marking_policy_name)
|
|
47
|
-
if traffic_match_rules is not None:
|
|
48
|
-
pulumi.set(__self__, "traffic_match_rules", traffic_match_rules)
|
|
49
41
|
|
|
50
42
|
@property
|
|
51
43
|
@pulumi.getter(name="markingDscp")
|
|
52
44
|
def marking_dscp(self) -> pulumi.Input[int]:
|
|
53
45
|
"""
|
|
54
|
-
|
|
46
|
+
The DSCP(Differentiated Services Code Point) of the Traffic Marking Policy. Value range: 0~63.
|
|
55
47
|
"""
|
|
56
48
|
return pulumi.get(self, "marking_dscp")
|
|
57
49
|
|
|
@@ -63,7 +55,7 @@ class TrafficMarkingPolicyArgs:
|
|
|
63
55
|
@pulumi.getter
|
|
64
56
|
def priority(self) -> pulumi.Input[int]:
|
|
65
57
|
"""
|
|
66
|
-
Priority
|
|
58
|
+
The Priority of the Traffic Marking Policy. Value range: 1~100.
|
|
67
59
|
"""
|
|
68
60
|
return pulumi.get(self, "priority")
|
|
69
61
|
|
|
@@ -75,7 +67,7 @@ class TrafficMarkingPolicyArgs:
|
|
|
75
67
|
@pulumi.getter(name="transitRouterId")
|
|
76
68
|
def transit_router_id(self) -> pulumi.Input[str]:
|
|
77
69
|
"""
|
|
78
|
-
|
|
70
|
+
The ID of the transit router.
|
|
79
71
|
"""
|
|
80
72
|
return pulumi.get(self, "transit_router_id")
|
|
81
73
|
|
|
@@ -87,7 +79,7 @@ class TrafficMarkingPolicyArgs:
|
|
|
87
79
|
@pulumi.getter
|
|
88
80
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
89
81
|
"""
|
|
90
|
-
|
|
82
|
+
The description of the Traffic Marking Policy. The description must be 2 to 128 characters in length, and must start with a letter. It can contain digits, underscores (_), and hyphens (-).
|
|
91
83
|
"""
|
|
92
84
|
return pulumi.get(self, "description")
|
|
93
85
|
|
|
@@ -99,7 +91,7 @@ class TrafficMarkingPolicyArgs:
|
|
|
99
91
|
@pulumi.getter(name="dryRun")
|
|
100
92
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
101
93
|
"""
|
|
102
|
-
|
|
94
|
+
The dry run.
|
|
103
95
|
"""
|
|
104
96
|
return pulumi.get(self, "dry_run")
|
|
105
97
|
|
|
@@ -111,7 +103,7 @@ class TrafficMarkingPolicyArgs:
|
|
|
111
103
|
@pulumi.getter(name="trafficMarkingPolicyName")
|
|
112
104
|
def traffic_marking_policy_name(self) -> Optional[pulumi.Input[str]]:
|
|
113
105
|
"""
|
|
114
|
-
|
|
106
|
+
The name of the Traffic Marking Policy. The name must be 2 to 128 characters in length, and must start with a letter. It can contain digits, underscores (_), and hyphens (-).
|
|
115
107
|
"""
|
|
116
108
|
return pulumi.get(self, "traffic_marking_policy_name")
|
|
117
109
|
|
|
@@ -119,20 +111,6 @@ class TrafficMarkingPolicyArgs:
|
|
|
119
111
|
def traffic_marking_policy_name(self, value: Optional[pulumi.Input[str]]):
|
|
120
112
|
pulumi.set(self, "traffic_marking_policy_name", value)
|
|
121
113
|
|
|
122
|
-
@property
|
|
123
|
-
@pulumi.getter(name="trafficMatchRules")
|
|
124
|
-
def traffic_match_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TrafficMarkingPolicyTrafficMatchRuleArgs']]]]:
|
|
125
|
-
"""
|
|
126
|
-
List of stream classification rules.
|
|
127
|
-
|
|
128
|
-
You can add up to 50 stream classification rules at a time. See `traffic_match_rules` below.
|
|
129
|
-
"""
|
|
130
|
-
return pulumi.get(self, "traffic_match_rules")
|
|
131
|
-
|
|
132
|
-
@traffic_match_rules.setter
|
|
133
|
-
def traffic_match_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TrafficMarkingPolicyTrafficMatchRuleArgs']]]]):
|
|
134
|
-
pulumi.set(self, "traffic_match_rules", value)
|
|
135
|
-
|
|
136
114
|
|
|
137
115
|
@pulumi.input_type
|
|
138
116
|
class _TrafficMarkingPolicyState:
|
|
@@ -144,21 +122,17 @@ class _TrafficMarkingPolicyState:
|
|
|
144
122
|
status: Optional[pulumi.Input[str]] = None,
|
|
145
123
|
traffic_marking_policy_id: Optional[pulumi.Input[str]] = None,
|
|
146
124
|
traffic_marking_policy_name: Optional[pulumi.Input[str]] = None,
|
|
147
|
-
traffic_match_rules: Optional[pulumi.Input[Sequence[pulumi.Input['TrafficMarkingPolicyTrafficMatchRuleArgs']]]] = None,
|
|
148
125
|
transit_router_id: Optional[pulumi.Input[str]] = None):
|
|
149
126
|
"""
|
|
150
127
|
Input properties used for looking up and filtering TrafficMarkingPolicy resources.
|
|
151
|
-
:param pulumi.Input[str] description:
|
|
152
|
-
:param pulumi.Input[bool] dry_run:
|
|
153
|
-
:param pulumi.Input[int] marking_dscp:
|
|
154
|
-
:param pulumi.Input[int] priority: Priority
|
|
155
|
-
:param pulumi.Input[str] status: The status of the resource
|
|
156
|
-
:param pulumi.Input[str] traffic_marking_policy_id: The
|
|
157
|
-
:param pulumi.Input[str] traffic_marking_policy_name:
|
|
158
|
-
:param pulumi.Input[
|
|
159
|
-
|
|
160
|
-
You can add up to 50 stream classification rules at a time. See `traffic_match_rules` below.
|
|
161
|
-
:param pulumi.Input[str] transit_router_id: TransitRouterId
|
|
128
|
+
:param pulumi.Input[str] description: The description of the Traffic Marking Policy. The description must be 2 to 128 characters in length, and must start with a letter. It can contain digits, underscores (_), and hyphens (-).
|
|
129
|
+
:param pulumi.Input[bool] dry_run: The dry run.
|
|
130
|
+
:param pulumi.Input[int] marking_dscp: The DSCP(Differentiated Services Code Point) of the Traffic Marking Policy. Value range: 0~63.
|
|
131
|
+
:param pulumi.Input[int] priority: The Priority of the Traffic Marking Policy. Value range: 1~100.
|
|
132
|
+
:param pulumi.Input[str] status: The status of the resource.
|
|
133
|
+
:param pulumi.Input[str] traffic_marking_policy_id: The ID of the Traffic Marking Policy.
|
|
134
|
+
:param pulumi.Input[str] traffic_marking_policy_name: The name of the Traffic Marking Policy. The name must be 2 to 128 characters in length, and must start with a letter. It can contain digits, underscores (_), and hyphens (-).
|
|
135
|
+
:param pulumi.Input[str] transit_router_id: The ID of the transit router.
|
|
162
136
|
"""
|
|
163
137
|
if description is not None:
|
|
164
138
|
pulumi.set(__self__, "description", description)
|
|
@@ -174,8 +148,6 @@ class _TrafficMarkingPolicyState:
|
|
|
174
148
|
pulumi.set(__self__, "traffic_marking_policy_id", traffic_marking_policy_id)
|
|
175
149
|
if traffic_marking_policy_name is not None:
|
|
176
150
|
pulumi.set(__self__, "traffic_marking_policy_name", traffic_marking_policy_name)
|
|
177
|
-
if traffic_match_rules is not None:
|
|
178
|
-
pulumi.set(__self__, "traffic_match_rules", traffic_match_rules)
|
|
179
151
|
if transit_router_id is not None:
|
|
180
152
|
pulumi.set(__self__, "transit_router_id", transit_router_id)
|
|
181
153
|
|
|
@@ -183,7 +155,7 @@ class _TrafficMarkingPolicyState:
|
|
|
183
155
|
@pulumi.getter
|
|
184
156
|
def description(self) -> Optional[pulumi.Input[str]]:
|
|
185
157
|
"""
|
|
186
|
-
|
|
158
|
+
The description of the Traffic Marking Policy. The description must be 2 to 128 characters in length, and must start with a letter. It can contain digits, underscores (_), and hyphens (-).
|
|
187
159
|
"""
|
|
188
160
|
return pulumi.get(self, "description")
|
|
189
161
|
|
|
@@ -195,7 +167,7 @@ class _TrafficMarkingPolicyState:
|
|
|
195
167
|
@pulumi.getter(name="dryRun")
|
|
196
168
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
197
169
|
"""
|
|
198
|
-
|
|
170
|
+
The dry run.
|
|
199
171
|
"""
|
|
200
172
|
return pulumi.get(self, "dry_run")
|
|
201
173
|
|
|
@@ -207,7 +179,7 @@ class _TrafficMarkingPolicyState:
|
|
|
207
179
|
@pulumi.getter(name="markingDscp")
|
|
208
180
|
def marking_dscp(self) -> Optional[pulumi.Input[int]]:
|
|
209
181
|
"""
|
|
210
|
-
|
|
182
|
+
The DSCP(Differentiated Services Code Point) of the Traffic Marking Policy. Value range: 0~63.
|
|
211
183
|
"""
|
|
212
184
|
return pulumi.get(self, "marking_dscp")
|
|
213
185
|
|
|
@@ -219,7 +191,7 @@ class _TrafficMarkingPolicyState:
|
|
|
219
191
|
@pulumi.getter
|
|
220
192
|
def priority(self) -> Optional[pulumi.Input[int]]:
|
|
221
193
|
"""
|
|
222
|
-
Priority
|
|
194
|
+
The Priority of the Traffic Marking Policy. Value range: 1~100.
|
|
223
195
|
"""
|
|
224
196
|
return pulumi.get(self, "priority")
|
|
225
197
|
|
|
@@ -231,7 +203,7 @@ class _TrafficMarkingPolicyState:
|
|
|
231
203
|
@pulumi.getter
|
|
232
204
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
233
205
|
"""
|
|
234
|
-
The status of the resource
|
|
206
|
+
The status of the resource.
|
|
235
207
|
"""
|
|
236
208
|
return pulumi.get(self, "status")
|
|
237
209
|
|
|
@@ -243,7 +215,7 @@ class _TrafficMarkingPolicyState:
|
|
|
243
215
|
@pulumi.getter(name="trafficMarkingPolicyId")
|
|
244
216
|
def traffic_marking_policy_id(self) -> Optional[pulumi.Input[str]]:
|
|
245
217
|
"""
|
|
246
|
-
The
|
|
218
|
+
The ID of the Traffic Marking Policy.
|
|
247
219
|
"""
|
|
248
220
|
return pulumi.get(self, "traffic_marking_policy_id")
|
|
249
221
|
|
|
@@ -255,7 +227,7 @@ class _TrafficMarkingPolicyState:
|
|
|
255
227
|
@pulumi.getter(name="trafficMarkingPolicyName")
|
|
256
228
|
def traffic_marking_policy_name(self) -> Optional[pulumi.Input[str]]:
|
|
257
229
|
"""
|
|
258
|
-
|
|
230
|
+
The name of the Traffic Marking Policy. The name must be 2 to 128 characters in length, and must start with a letter. It can contain digits, underscores (_), and hyphens (-).
|
|
259
231
|
"""
|
|
260
232
|
return pulumi.get(self, "traffic_marking_policy_name")
|
|
261
233
|
|
|
@@ -263,25 +235,11 @@ class _TrafficMarkingPolicyState:
|
|
|
263
235
|
def traffic_marking_policy_name(self, value: Optional[pulumi.Input[str]]):
|
|
264
236
|
pulumi.set(self, "traffic_marking_policy_name", value)
|
|
265
237
|
|
|
266
|
-
@property
|
|
267
|
-
@pulumi.getter(name="trafficMatchRules")
|
|
268
|
-
def traffic_match_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TrafficMarkingPolicyTrafficMatchRuleArgs']]]]:
|
|
269
|
-
"""
|
|
270
|
-
List of stream classification rules.
|
|
271
|
-
|
|
272
|
-
You can add up to 50 stream classification rules at a time. See `traffic_match_rules` below.
|
|
273
|
-
"""
|
|
274
|
-
return pulumi.get(self, "traffic_match_rules")
|
|
275
|
-
|
|
276
|
-
@traffic_match_rules.setter
|
|
277
|
-
def traffic_match_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TrafficMarkingPolicyTrafficMatchRuleArgs']]]]):
|
|
278
|
-
pulumi.set(self, "traffic_match_rules", value)
|
|
279
|
-
|
|
280
238
|
@property
|
|
281
239
|
@pulumi.getter(name="transitRouterId")
|
|
282
240
|
def transit_router_id(self) -> Optional[pulumi.Input[str]]:
|
|
283
241
|
"""
|
|
284
|
-
|
|
242
|
+
The ID of the transit router.
|
|
285
243
|
"""
|
|
286
244
|
return pulumi.get(self, "transit_router_id")
|
|
287
245
|
|
|
@@ -300,7 +258,6 @@ class TrafficMarkingPolicy(pulumi.CustomResource):
|
|
|
300
258
|
marking_dscp: Optional[pulumi.Input[int]] = None,
|
|
301
259
|
priority: Optional[pulumi.Input[int]] = None,
|
|
302
260
|
traffic_marking_policy_name: Optional[pulumi.Input[str]] = None,
|
|
303
|
-
traffic_match_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TrafficMarkingPolicyTrafficMatchRuleArgs', 'TrafficMarkingPolicyTrafficMatchRuleArgsDict']]]]] = None,
|
|
304
261
|
transit_router_id: Optional[pulumi.Input[str]] = None,
|
|
305
262
|
__props__=None):
|
|
306
263
|
"""
|
|
@@ -333,7 +290,7 @@ class TrafficMarkingPolicy(pulumi.CustomResource):
|
|
|
333
290
|
|
|
334
291
|
## Import
|
|
335
292
|
|
|
336
|
-
CEN Traffic Marking Policy can be imported using the id, e.g.
|
|
293
|
+
Cloud Enterprise Network (CEN) Traffic Marking Policy can be imported using the id, e.g.
|
|
337
294
|
|
|
338
295
|
```sh
|
|
339
296
|
$ pulumi import alicloud:cen/trafficMarkingPolicy:TrafficMarkingPolicy example <transit_router_id>:<traffic_marking_policy_id>
|
|
@@ -341,15 +298,12 @@ class TrafficMarkingPolicy(pulumi.CustomResource):
|
|
|
341
298
|
|
|
342
299
|
:param str resource_name: The name of the resource.
|
|
343
300
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
344
|
-
:param pulumi.Input[str] description:
|
|
345
|
-
:param pulumi.Input[bool] dry_run:
|
|
346
|
-
:param pulumi.Input[int] marking_dscp:
|
|
347
|
-
:param pulumi.Input[int] priority: Priority
|
|
348
|
-
:param pulumi.Input[str] traffic_marking_policy_name:
|
|
349
|
-
:param pulumi.Input[
|
|
350
|
-
|
|
351
|
-
You can add up to 50 stream classification rules at a time. See `traffic_match_rules` below.
|
|
352
|
-
:param pulumi.Input[str] transit_router_id: TransitRouterId
|
|
301
|
+
:param pulumi.Input[str] description: The description of the Traffic Marking Policy. The description must be 2 to 128 characters in length, and must start with a letter. It can contain digits, underscores (_), and hyphens (-).
|
|
302
|
+
:param pulumi.Input[bool] dry_run: The dry run.
|
|
303
|
+
:param pulumi.Input[int] marking_dscp: The DSCP(Differentiated Services Code Point) of the Traffic Marking Policy. Value range: 0~63.
|
|
304
|
+
:param pulumi.Input[int] priority: The Priority of the Traffic Marking Policy. Value range: 1~100.
|
|
305
|
+
:param pulumi.Input[str] traffic_marking_policy_name: The name of the Traffic Marking Policy. The name must be 2 to 128 characters in length, and must start with a letter. It can contain digits, underscores (_), and hyphens (-).
|
|
306
|
+
:param pulumi.Input[str] transit_router_id: The ID of the transit router.
|
|
353
307
|
"""
|
|
354
308
|
...
|
|
355
309
|
@overload
|
|
@@ -387,7 +341,7 @@ class TrafficMarkingPolicy(pulumi.CustomResource):
|
|
|
387
341
|
|
|
388
342
|
## Import
|
|
389
343
|
|
|
390
|
-
CEN Traffic Marking Policy can be imported using the id, e.g.
|
|
344
|
+
Cloud Enterprise Network (CEN) Traffic Marking Policy can be imported using the id, e.g.
|
|
391
345
|
|
|
392
346
|
```sh
|
|
393
347
|
$ pulumi import alicloud:cen/trafficMarkingPolicy:TrafficMarkingPolicy example <transit_router_id>:<traffic_marking_policy_id>
|
|
@@ -413,7 +367,6 @@ class TrafficMarkingPolicy(pulumi.CustomResource):
|
|
|
413
367
|
marking_dscp: Optional[pulumi.Input[int]] = None,
|
|
414
368
|
priority: Optional[pulumi.Input[int]] = None,
|
|
415
369
|
traffic_marking_policy_name: Optional[pulumi.Input[str]] = None,
|
|
416
|
-
traffic_match_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TrafficMarkingPolicyTrafficMatchRuleArgs', 'TrafficMarkingPolicyTrafficMatchRuleArgsDict']]]]] = None,
|
|
417
370
|
transit_router_id: Optional[pulumi.Input[str]] = None,
|
|
418
371
|
__props__=None):
|
|
419
372
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -433,7 +386,6 @@ class TrafficMarkingPolicy(pulumi.CustomResource):
|
|
|
433
386
|
raise TypeError("Missing required property 'priority'")
|
|
434
387
|
__props__.__dict__["priority"] = priority
|
|
435
388
|
__props__.__dict__["traffic_marking_policy_name"] = traffic_marking_policy_name
|
|
436
|
-
__props__.__dict__["traffic_match_rules"] = traffic_match_rules
|
|
437
389
|
if transit_router_id is None and not opts.urn:
|
|
438
390
|
raise TypeError("Missing required property 'transit_router_id'")
|
|
439
391
|
__props__.__dict__["transit_router_id"] = transit_router_id
|
|
@@ -456,7 +408,6 @@ class TrafficMarkingPolicy(pulumi.CustomResource):
|
|
|
456
408
|
status: Optional[pulumi.Input[str]] = None,
|
|
457
409
|
traffic_marking_policy_id: Optional[pulumi.Input[str]] = None,
|
|
458
410
|
traffic_marking_policy_name: Optional[pulumi.Input[str]] = None,
|
|
459
|
-
traffic_match_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TrafficMarkingPolicyTrafficMatchRuleArgs', 'TrafficMarkingPolicyTrafficMatchRuleArgsDict']]]]] = None,
|
|
460
411
|
transit_router_id: Optional[pulumi.Input[str]] = None) -> 'TrafficMarkingPolicy':
|
|
461
412
|
"""
|
|
462
413
|
Get an existing TrafficMarkingPolicy resource's state with the given name, id, and optional extra
|
|
@@ -465,17 +416,14 @@ class TrafficMarkingPolicy(pulumi.CustomResource):
|
|
|
465
416
|
:param str resource_name: The unique name of the resulting resource.
|
|
466
417
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
467
418
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
468
|
-
:param pulumi.Input[str] description:
|
|
469
|
-
:param pulumi.Input[bool] dry_run:
|
|
470
|
-
:param pulumi.Input[int] marking_dscp:
|
|
471
|
-
:param pulumi.Input[int] priority: Priority
|
|
472
|
-
:param pulumi.Input[str] status: The status of the resource
|
|
473
|
-
:param pulumi.Input[str] traffic_marking_policy_id: The
|
|
474
|
-
:param pulumi.Input[str] traffic_marking_policy_name:
|
|
475
|
-
:param pulumi.Input[
|
|
476
|
-
|
|
477
|
-
You can add up to 50 stream classification rules at a time. See `traffic_match_rules` below.
|
|
478
|
-
:param pulumi.Input[str] transit_router_id: TransitRouterId
|
|
419
|
+
:param pulumi.Input[str] description: The description of the Traffic Marking Policy. The description must be 2 to 128 characters in length, and must start with a letter. It can contain digits, underscores (_), and hyphens (-).
|
|
420
|
+
:param pulumi.Input[bool] dry_run: The dry run.
|
|
421
|
+
:param pulumi.Input[int] marking_dscp: The DSCP(Differentiated Services Code Point) of the Traffic Marking Policy. Value range: 0~63.
|
|
422
|
+
:param pulumi.Input[int] priority: The Priority of the Traffic Marking Policy. Value range: 1~100.
|
|
423
|
+
:param pulumi.Input[str] status: The status of the resource.
|
|
424
|
+
:param pulumi.Input[str] traffic_marking_policy_id: The ID of the Traffic Marking Policy.
|
|
425
|
+
:param pulumi.Input[str] traffic_marking_policy_name: The name of the Traffic Marking Policy. The name must be 2 to 128 characters in length, and must start with a letter. It can contain digits, underscores (_), and hyphens (-).
|
|
426
|
+
:param pulumi.Input[str] transit_router_id: The ID of the transit router.
|
|
479
427
|
"""
|
|
480
428
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
481
429
|
|
|
@@ -488,7 +436,6 @@ class TrafficMarkingPolicy(pulumi.CustomResource):
|
|
|
488
436
|
__props__.__dict__["status"] = status
|
|
489
437
|
__props__.__dict__["traffic_marking_policy_id"] = traffic_marking_policy_id
|
|
490
438
|
__props__.__dict__["traffic_marking_policy_name"] = traffic_marking_policy_name
|
|
491
|
-
__props__.__dict__["traffic_match_rules"] = traffic_match_rules
|
|
492
439
|
__props__.__dict__["transit_router_id"] = transit_router_id
|
|
493
440
|
return TrafficMarkingPolicy(resource_name, opts=opts, __props__=__props__)
|
|
494
441
|
|
|
@@ -496,7 +443,7 @@ class TrafficMarkingPolicy(pulumi.CustomResource):
|
|
|
496
443
|
@pulumi.getter
|
|
497
444
|
def description(self) -> pulumi.Output[Optional[str]]:
|
|
498
445
|
"""
|
|
499
|
-
|
|
446
|
+
The description of the Traffic Marking Policy. The description must be 2 to 128 characters in length, and must start with a letter. It can contain digits, underscores (_), and hyphens (-).
|
|
500
447
|
"""
|
|
501
448
|
return pulumi.get(self, "description")
|
|
502
449
|
|
|
@@ -504,7 +451,7 @@ class TrafficMarkingPolicy(pulumi.CustomResource):
|
|
|
504
451
|
@pulumi.getter(name="dryRun")
|
|
505
452
|
def dry_run(self) -> pulumi.Output[Optional[bool]]:
|
|
506
453
|
"""
|
|
507
|
-
|
|
454
|
+
The dry run.
|
|
508
455
|
"""
|
|
509
456
|
return pulumi.get(self, "dry_run")
|
|
510
457
|
|
|
@@ -512,7 +459,7 @@ class TrafficMarkingPolicy(pulumi.CustomResource):
|
|
|
512
459
|
@pulumi.getter(name="markingDscp")
|
|
513
460
|
def marking_dscp(self) -> pulumi.Output[int]:
|
|
514
461
|
"""
|
|
515
|
-
|
|
462
|
+
The DSCP(Differentiated Services Code Point) of the Traffic Marking Policy. Value range: 0~63.
|
|
516
463
|
"""
|
|
517
464
|
return pulumi.get(self, "marking_dscp")
|
|
518
465
|
|
|
@@ -520,7 +467,7 @@ class TrafficMarkingPolicy(pulumi.CustomResource):
|
|
|
520
467
|
@pulumi.getter
|
|
521
468
|
def priority(self) -> pulumi.Output[int]:
|
|
522
469
|
"""
|
|
523
|
-
Priority
|
|
470
|
+
The Priority of the Traffic Marking Policy. Value range: 1~100.
|
|
524
471
|
"""
|
|
525
472
|
return pulumi.get(self, "priority")
|
|
526
473
|
|
|
@@ -528,7 +475,7 @@ class TrafficMarkingPolicy(pulumi.CustomResource):
|
|
|
528
475
|
@pulumi.getter
|
|
529
476
|
def status(self) -> pulumi.Output[str]:
|
|
530
477
|
"""
|
|
531
|
-
The status of the resource
|
|
478
|
+
The status of the resource.
|
|
532
479
|
"""
|
|
533
480
|
return pulumi.get(self, "status")
|
|
534
481
|
|
|
@@ -536,7 +483,7 @@ class TrafficMarkingPolicy(pulumi.CustomResource):
|
|
|
536
483
|
@pulumi.getter(name="trafficMarkingPolicyId")
|
|
537
484
|
def traffic_marking_policy_id(self) -> pulumi.Output[str]:
|
|
538
485
|
"""
|
|
539
|
-
The
|
|
486
|
+
The ID of the Traffic Marking Policy.
|
|
540
487
|
"""
|
|
541
488
|
return pulumi.get(self, "traffic_marking_policy_id")
|
|
542
489
|
|
|
@@ -544,25 +491,15 @@ class TrafficMarkingPolicy(pulumi.CustomResource):
|
|
|
544
491
|
@pulumi.getter(name="trafficMarkingPolicyName")
|
|
545
492
|
def traffic_marking_policy_name(self) -> pulumi.Output[Optional[str]]:
|
|
546
493
|
"""
|
|
547
|
-
|
|
494
|
+
The name of the Traffic Marking Policy. The name must be 2 to 128 characters in length, and must start with a letter. It can contain digits, underscores (_), and hyphens (-).
|
|
548
495
|
"""
|
|
549
496
|
return pulumi.get(self, "traffic_marking_policy_name")
|
|
550
497
|
|
|
551
|
-
@property
|
|
552
|
-
@pulumi.getter(name="trafficMatchRules")
|
|
553
|
-
def traffic_match_rules(self) -> pulumi.Output[Optional[Sequence['outputs.TrafficMarkingPolicyTrafficMatchRule']]]:
|
|
554
|
-
"""
|
|
555
|
-
List of stream classification rules.
|
|
556
|
-
|
|
557
|
-
You can add up to 50 stream classification rules at a time. See `traffic_match_rules` below.
|
|
558
|
-
"""
|
|
559
|
-
return pulumi.get(self, "traffic_match_rules")
|
|
560
|
-
|
|
561
498
|
@property
|
|
562
499
|
@pulumi.getter(name="transitRouterId")
|
|
563
500
|
def transit_router_id(self) -> pulumi.Output[str]:
|
|
564
501
|
"""
|
|
565
|
-
|
|
502
|
+
The ID of the transit router.
|
|
566
503
|
"""
|
|
567
504
|
return pulumi.get(self, "transit_router_id")
|
|
568
505
|
|