pulumi-alicloud 3.66.0a1731388773__py3-none-any.whl → 3.66.0a1731648019__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/alb/load_balancer.py +1 -1
- pulumi_alicloud/arms/environment.py +7 -7
- pulumi_alicloud/arms/get_remote_writes.py +4 -4
- pulumi_alicloud/arms/prometheus_alert_rule.py +58 -0
- pulumi_alicloud/arms/remote_write.py +2 -2
- pulumi_alicloud/cen/transit_router_vbr_attachment.py +96 -74
- pulumi_alicloud/cms/hybrid_monitor_fc_task.py +28 -26
- pulumi_alicloud/cr/chain.py +22 -14
- pulumi_alicloud/cr/chart_repository.py +14 -6
- pulumi_alicloud/cr/repo.py +8 -8
- pulumi_alicloud/cr/vpc_endpoint_linked_vpc.py +14 -6
- pulumi_alicloud/databasefilesystem/instance_attachment.py +59 -63
- pulumi_alicloud/databasefilesystem/snapshot.py +53 -109
- pulumi_alicloud/ecs/instance.py +7 -7
- pulumi_alicloud/ess/scaling_configuration.py +7 -7
- pulumi_alicloud/fc/trigger.py +202 -138
- pulumi_alicloud/ga/custom_routing_endpoint_traffic_policy.py +48 -44
- pulumi_alicloud/governance/_inputs.py +54 -0
- pulumi_alicloud/governance/account.py +49 -14
- pulumi_alicloud/governance/outputs.py +51 -0
- pulumi_alicloud/gpdb/instance.py +196 -15
- pulumi_alicloud/kms/instance.py +28 -0
- pulumi_alicloud/nas/data_flow.py +6 -6
- pulumi_alicloud/nas/fileset.py +6 -6
- pulumi_alicloud/nas/lifecycle_policy.py +6 -6
- pulumi_alicloud/nas/recycle_bin.py +6 -6
- pulumi_alicloud/nas/snapshot.py +6 -6
- pulumi_alicloud/pulumi-plugin.json +1 -1
- pulumi_alicloud/redis/tair_instance.py +1102 -71
- pulumi_alicloud/threatdetection/honeypot_preset.py +2 -0
- pulumi_alicloud/vpn/gateway_vco_route.py +28 -8
- {pulumi_alicloud-3.66.0a1731388773.dist-info → pulumi_alicloud-3.66.0a1731648019.dist-info}/METADATA +1 -1
- {pulumi_alicloud-3.66.0a1731388773.dist-info → pulumi_alicloud-3.66.0a1731648019.dist-info}/RECORD +35 -35
- {pulumi_alicloud-3.66.0a1731388773.dist-info → pulumi_alicloud-3.66.0a1731648019.dist-info}/WHEEL +1 -1
- {pulumi_alicloud-3.66.0a1731388773.dist-info → pulumi_alicloud-3.66.0a1731648019.dist-info}/top_level.txt +0 -0
|
@@ -35,18 +35,18 @@ class TransitRouterVbrAttachmentArgs:
|
|
|
35
35
|
The set of arguments for constructing a TransitRouterVbrAttachment resource.
|
|
36
36
|
:param pulumi.Input[str] cen_id: The ID of the CEN.
|
|
37
37
|
:param pulumi.Input[str] vbr_id: The ID of the VBR.
|
|
38
|
-
:param pulumi.Input[bool] auto_publish_route_enabled:
|
|
39
|
-
:param pulumi.Input[bool] dry_run:
|
|
40
|
-
:param pulumi.Input[str] resource_type: The resource type of the transit router vbr attachment.
|
|
38
|
+
:param pulumi.Input[bool] auto_publish_route_enabled: Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to the VBR. Default value: `false`. Valid values:
|
|
39
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to perform a dry run. Default value: `false`. Valid values: `true`, `false`.
|
|
40
|
+
:param pulumi.Input[str] resource_type: The resource type of the transit router vbr attachment. Default value: `VBR`. Valid values: `VBR`.
|
|
41
|
+
:param pulumi.Input[bool] route_table_association_enabled: Whether to enabled route table association. **NOTE:** "Field `route_table_association_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTableAssociation` instead, how to use alicloud_cen_transit_router_route_table_association."
|
|
42
|
+
:param pulumi.Input[bool] route_table_propagation_enabled: Whether to enabled route table propagation. **NOTE:** "Field `route_table_propagation_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTablePropagation` instead, how to use alicloud_cen_transit_router_route_table_propagation."
|
|
41
43
|
|
|
42
44
|
->**NOTE:** Ensure that the vbr is not used in Express Connect.
|
|
43
|
-
:param pulumi.Input[bool] route_table_association_enabled: Whether to enabled route table association. The system default value is `true`.
|
|
44
|
-
:param pulumi.Input[bool] route_table_propagation_enabled: Whether to enabled route table propagation. The system default value is `true`.
|
|
45
45
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
46
46
|
:param pulumi.Input[str] transit_router_attachment_description: The description of the transit router vbr attachment.
|
|
47
47
|
:param pulumi.Input[str] transit_router_attachment_name: The name of the transit router vbr attachment.
|
|
48
48
|
:param pulumi.Input[str] transit_router_id: The ID of the transit router.
|
|
49
|
-
:param pulumi.Input[str] vbr_owner_id: The owner id of the
|
|
49
|
+
:param pulumi.Input[str] vbr_owner_id: The owner id of the vbr.
|
|
50
50
|
"""
|
|
51
51
|
pulumi.set(__self__, "cen_id", cen_id)
|
|
52
52
|
pulumi.set(__self__, "vbr_id", vbr_id)
|
|
@@ -56,8 +56,14 @@ class TransitRouterVbrAttachmentArgs:
|
|
|
56
56
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
57
57
|
if resource_type is not None:
|
|
58
58
|
pulumi.set(__self__, "resource_type", resource_type)
|
|
59
|
+
if route_table_association_enabled is not None:
|
|
60
|
+
warnings.warn("""Field `route_table_association_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTableAssociation` instead.""", DeprecationWarning)
|
|
61
|
+
pulumi.log.warn("""route_table_association_enabled is deprecated: Field `route_table_association_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTableAssociation` instead.""")
|
|
59
62
|
if route_table_association_enabled is not None:
|
|
60
63
|
pulumi.set(__self__, "route_table_association_enabled", route_table_association_enabled)
|
|
64
|
+
if route_table_propagation_enabled is not None:
|
|
65
|
+
warnings.warn("""Field `route_table_propagation_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTablePropagation` instead.""", DeprecationWarning)
|
|
66
|
+
pulumi.log.warn("""route_table_propagation_enabled is deprecated: Field `route_table_propagation_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTablePropagation` instead.""")
|
|
61
67
|
if route_table_propagation_enabled is not None:
|
|
62
68
|
pulumi.set(__self__, "route_table_propagation_enabled", route_table_propagation_enabled)
|
|
63
69
|
if tags is not None:
|
|
@@ -99,7 +105,7 @@ class TransitRouterVbrAttachmentArgs:
|
|
|
99
105
|
@pulumi.getter(name="autoPublishRouteEnabled")
|
|
100
106
|
def auto_publish_route_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
101
107
|
"""
|
|
102
|
-
|
|
108
|
+
Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to the VBR. Default value: `false`. Valid values:
|
|
103
109
|
"""
|
|
104
110
|
return pulumi.get(self, "auto_publish_route_enabled")
|
|
105
111
|
|
|
@@ -111,7 +117,7 @@ class TransitRouterVbrAttachmentArgs:
|
|
|
111
117
|
@pulumi.getter(name="dryRun")
|
|
112
118
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
113
119
|
"""
|
|
114
|
-
|
|
120
|
+
Specifies whether to perform a dry run. Default value: `false`. Valid values: `true`, `false`.
|
|
115
121
|
"""
|
|
116
122
|
return pulumi.get(self, "dry_run")
|
|
117
123
|
|
|
@@ -123,9 +129,7 @@ class TransitRouterVbrAttachmentArgs:
|
|
|
123
129
|
@pulumi.getter(name="resourceType")
|
|
124
130
|
def resource_type(self) -> Optional[pulumi.Input[str]]:
|
|
125
131
|
"""
|
|
126
|
-
The resource type of the transit router vbr attachment.
|
|
127
|
-
|
|
128
|
-
->**NOTE:** Ensure that the vbr is not used in Express Connect.
|
|
132
|
+
The resource type of the transit router vbr attachment. Default value: `VBR`. Valid values: `VBR`.
|
|
129
133
|
"""
|
|
130
134
|
return pulumi.get(self, "resource_type")
|
|
131
135
|
|
|
@@ -135,9 +139,10 @@ class TransitRouterVbrAttachmentArgs:
|
|
|
135
139
|
|
|
136
140
|
@property
|
|
137
141
|
@pulumi.getter(name="routeTableAssociationEnabled")
|
|
142
|
+
@_utilities.deprecated("""Field `route_table_association_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTableAssociation` instead.""")
|
|
138
143
|
def route_table_association_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
139
144
|
"""
|
|
140
|
-
Whether to enabled route table association.
|
|
145
|
+
Whether to enabled route table association. **NOTE:** "Field `route_table_association_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTableAssociation` instead, how to use alicloud_cen_transit_router_route_table_association."
|
|
141
146
|
"""
|
|
142
147
|
return pulumi.get(self, "route_table_association_enabled")
|
|
143
148
|
|
|
@@ -147,9 +152,12 @@ class TransitRouterVbrAttachmentArgs:
|
|
|
147
152
|
|
|
148
153
|
@property
|
|
149
154
|
@pulumi.getter(name="routeTablePropagationEnabled")
|
|
155
|
+
@_utilities.deprecated("""Field `route_table_propagation_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTablePropagation` instead.""")
|
|
150
156
|
def route_table_propagation_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
151
157
|
"""
|
|
152
|
-
Whether to enabled route table propagation.
|
|
158
|
+
Whether to enabled route table propagation. **NOTE:** "Field `route_table_propagation_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTablePropagation` instead, how to use alicloud_cen_transit_router_route_table_propagation."
|
|
159
|
+
|
|
160
|
+
->**NOTE:** Ensure that the vbr is not used in Express Connect.
|
|
153
161
|
"""
|
|
154
162
|
return pulumi.get(self, "route_table_propagation_enabled")
|
|
155
163
|
|
|
@@ -209,7 +217,7 @@ class TransitRouterVbrAttachmentArgs:
|
|
|
209
217
|
@pulumi.getter(name="vbrOwnerId")
|
|
210
218
|
def vbr_owner_id(self) -> Optional[pulumi.Input[str]]:
|
|
211
219
|
"""
|
|
212
|
-
The owner id of the
|
|
220
|
+
The owner id of the vbr.
|
|
213
221
|
"""
|
|
214
222
|
return pulumi.get(self, "vbr_owner_id")
|
|
215
223
|
|
|
@@ -237,22 +245,22 @@ class _TransitRouterVbrAttachmentState:
|
|
|
237
245
|
vbr_owner_id: Optional[pulumi.Input[str]] = None):
|
|
238
246
|
"""
|
|
239
247
|
Input properties used for looking up and filtering TransitRouterVbrAttachment resources.
|
|
240
|
-
:param pulumi.Input[bool] auto_publish_route_enabled:
|
|
248
|
+
:param pulumi.Input[bool] auto_publish_route_enabled: Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to the VBR. Default value: `false`. Valid values:
|
|
241
249
|
:param pulumi.Input[str] cen_id: The ID of the CEN.
|
|
242
|
-
:param pulumi.Input[bool] dry_run:
|
|
243
|
-
:param pulumi.Input[str] resource_type: The resource type of the transit router vbr attachment.
|
|
250
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to perform a dry run. Default value: `false`. Valid values: `true`, `false`.
|
|
251
|
+
:param pulumi.Input[str] resource_type: The resource type of the transit router vbr attachment. Default value: `VBR`. Valid values: `VBR`.
|
|
252
|
+
:param pulumi.Input[bool] route_table_association_enabled: Whether to enabled route table association. **NOTE:** "Field `route_table_association_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTableAssociation` instead, how to use alicloud_cen_transit_router_route_table_association."
|
|
253
|
+
:param pulumi.Input[bool] route_table_propagation_enabled: Whether to enabled route table propagation. **NOTE:** "Field `route_table_propagation_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTablePropagation` instead, how to use alicloud_cen_transit_router_route_table_propagation."
|
|
244
254
|
|
|
245
255
|
->**NOTE:** Ensure that the vbr is not used in Express Connect.
|
|
246
|
-
:param pulumi.Input[
|
|
247
|
-
:param pulumi.Input[bool] route_table_propagation_enabled: Whether to enabled route table propagation. The system default value is `true`.
|
|
248
|
-
:param pulumi.Input[str] status: The associating status of the network.
|
|
256
|
+
:param pulumi.Input[str] status: The status of the Transit Router VBR Attachment.
|
|
249
257
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
250
258
|
:param pulumi.Input[str] transit_router_attachment_description: The description of the transit router vbr attachment.
|
|
251
|
-
:param pulumi.Input[str] transit_router_attachment_id: The
|
|
259
|
+
:param pulumi.Input[str] transit_router_attachment_id: The ID of the VBR connection.
|
|
252
260
|
:param pulumi.Input[str] transit_router_attachment_name: The name of the transit router vbr attachment.
|
|
253
261
|
:param pulumi.Input[str] transit_router_id: The ID of the transit router.
|
|
254
262
|
:param pulumi.Input[str] vbr_id: The ID of the VBR.
|
|
255
|
-
:param pulumi.Input[str] vbr_owner_id: The owner id of the
|
|
263
|
+
:param pulumi.Input[str] vbr_owner_id: The owner id of the vbr.
|
|
256
264
|
"""
|
|
257
265
|
if auto_publish_route_enabled is not None:
|
|
258
266
|
pulumi.set(__self__, "auto_publish_route_enabled", auto_publish_route_enabled)
|
|
@@ -262,8 +270,14 @@ class _TransitRouterVbrAttachmentState:
|
|
|
262
270
|
pulumi.set(__self__, "dry_run", dry_run)
|
|
263
271
|
if resource_type is not None:
|
|
264
272
|
pulumi.set(__self__, "resource_type", resource_type)
|
|
273
|
+
if route_table_association_enabled is not None:
|
|
274
|
+
warnings.warn("""Field `route_table_association_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTableAssociation` instead.""", DeprecationWarning)
|
|
275
|
+
pulumi.log.warn("""route_table_association_enabled is deprecated: Field `route_table_association_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTableAssociation` instead.""")
|
|
265
276
|
if route_table_association_enabled is not None:
|
|
266
277
|
pulumi.set(__self__, "route_table_association_enabled", route_table_association_enabled)
|
|
278
|
+
if route_table_propagation_enabled is not None:
|
|
279
|
+
warnings.warn("""Field `route_table_propagation_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTablePropagation` instead.""", DeprecationWarning)
|
|
280
|
+
pulumi.log.warn("""route_table_propagation_enabled is deprecated: Field `route_table_propagation_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTablePropagation` instead.""")
|
|
267
281
|
if route_table_propagation_enabled is not None:
|
|
268
282
|
pulumi.set(__self__, "route_table_propagation_enabled", route_table_propagation_enabled)
|
|
269
283
|
if status is not None:
|
|
@@ -287,7 +301,7 @@ class _TransitRouterVbrAttachmentState:
|
|
|
287
301
|
@pulumi.getter(name="autoPublishRouteEnabled")
|
|
288
302
|
def auto_publish_route_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
289
303
|
"""
|
|
290
|
-
|
|
304
|
+
Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to the VBR. Default value: `false`. Valid values:
|
|
291
305
|
"""
|
|
292
306
|
return pulumi.get(self, "auto_publish_route_enabled")
|
|
293
307
|
|
|
@@ -311,7 +325,7 @@ class _TransitRouterVbrAttachmentState:
|
|
|
311
325
|
@pulumi.getter(name="dryRun")
|
|
312
326
|
def dry_run(self) -> Optional[pulumi.Input[bool]]:
|
|
313
327
|
"""
|
|
314
|
-
|
|
328
|
+
Specifies whether to perform a dry run. Default value: `false`. Valid values: `true`, `false`.
|
|
315
329
|
"""
|
|
316
330
|
return pulumi.get(self, "dry_run")
|
|
317
331
|
|
|
@@ -323,9 +337,7 @@ class _TransitRouterVbrAttachmentState:
|
|
|
323
337
|
@pulumi.getter(name="resourceType")
|
|
324
338
|
def resource_type(self) -> Optional[pulumi.Input[str]]:
|
|
325
339
|
"""
|
|
326
|
-
The resource type of the transit router vbr attachment.
|
|
327
|
-
|
|
328
|
-
->**NOTE:** Ensure that the vbr is not used in Express Connect.
|
|
340
|
+
The resource type of the transit router vbr attachment. Default value: `VBR`. Valid values: `VBR`.
|
|
329
341
|
"""
|
|
330
342
|
return pulumi.get(self, "resource_type")
|
|
331
343
|
|
|
@@ -335,9 +347,10 @@ class _TransitRouterVbrAttachmentState:
|
|
|
335
347
|
|
|
336
348
|
@property
|
|
337
349
|
@pulumi.getter(name="routeTableAssociationEnabled")
|
|
350
|
+
@_utilities.deprecated("""Field `route_table_association_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTableAssociation` instead.""")
|
|
338
351
|
def route_table_association_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
339
352
|
"""
|
|
340
|
-
Whether to enabled route table association.
|
|
353
|
+
Whether to enabled route table association. **NOTE:** "Field `route_table_association_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTableAssociation` instead, how to use alicloud_cen_transit_router_route_table_association."
|
|
341
354
|
"""
|
|
342
355
|
return pulumi.get(self, "route_table_association_enabled")
|
|
343
356
|
|
|
@@ -347,9 +360,12 @@ class _TransitRouterVbrAttachmentState:
|
|
|
347
360
|
|
|
348
361
|
@property
|
|
349
362
|
@pulumi.getter(name="routeTablePropagationEnabled")
|
|
363
|
+
@_utilities.deprecated("""Field `route_table_propagation_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTablePropagation` instead.""")
|
|
350
364
|
def route_table_propagation_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
351
365
|
"""
|
|
352
|
-
Whether to enabled route table propagation.
|
|
366
|
+
Whether to enabled route table propagation. **NOTE:** "Field `route_table_propagation_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTablePropagation` instead, how to use alicloud_cen_transit_router_route_table_propagation."
|
|
367
|
+
|
|
368
|
+
->**NOTE:** Ensure that the vbr is not used in Express Connect.
|
|
353
369
|
"""
|
|
354
370
|
return pulumi.get(self, "route_table_propagation_enabled")
|
|
355
371
|
|
|
@@ -361,7 +377,7 @@ class _TransitRouterVbrAttachmentState:
|
|
|
361
377
|
@pulumi.getter
|
|
362
378
|
def status(self) -> Optional[pulumi.Input[str]]:
|
|
363
379
|
"""
|
|
364
|
-
The
|
|
380
|
+
The status of the Transit Router VBR Attachment.
|
|
365
381
|
"""
|
|
366
382
|
return pulumi.get(self, "status")
|
|
367
383
|
|
|
@@ -397,7 +413,7 @@ class _TransitRouterVbrAttachmentState:
|
|
|
397
413
|
@pulumi.getter(name="transitRouterAttachmentId")
|
|
398
414
|
def transit_router_attachment_id(self) -> Optional[pulumi.Input[str]]:
|
|
399
415
|
"""
|
|
400
|
-
The
|
|
416
|
+
The ID of the VBR connection.
|
|
401
417
|
"""
|
|
402
418
|
return pulumi.get(self, "transit_router_attachment_id")
|
|
403
419
|
|
|
@@ -445,7 +461,7 @@ class _TransitRouterVbrAttachmentState:
|
|
|
445
461
|
@pulumi.getter(name="vbrOwnerId")
|
|
446
462
|
def vbr_owner_id(self) -> Optional[pulumi.Input[str]]:
|
|
447
463
|
"""
|
|
448
|
-
The owner id of the
|
|
464
|
+
The owner id of the vbr.
|
|
449
465
|
"""
|
|
450
466
|
return pulumi.get(self, "vbr_owner_id")
|
|
451
467
|
|
|
@@ -473,7 +489,9 @@ class TransitRouterVbrAttachment(pulumi.CustomResource):
|
|
|
473
489
|
vbr_owner_id: Optional[pulumi.Input[str]] = None,
|
|
474
490
|
__props__=None):
|
|
475
491
|
"""
|
|
476
|
-
Provides a
|
|
492
|
+
Provides a Cloud Enterprise Network (CEN) Transit Router VBR Attachment resource.
|
|
493
|
+
|
|
494
|
+
For information about Cloud Enterprise Network (CEN) Transit Router VBR Attachment and how to use it, see [What is Transit Router VBR Attachment](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-createtransitroutervbrattachment)
|
|
477
495
|
|
|
478
496
|
> **NOTE:** Available since v1.126.0.
|
|
479
497
|
|
|
@@ -489,11 +507,11 @@ class TransitRouterVbrAttachment(pulumi.CustomResource):
|
|
|
489
507
|
name = config.get("name")
|
|
490
508
|
if name is None:
|
|
491
509
|
name = "terraform-example"
|
|
510
|
+
name_regex = alicloud.expressconnect.get_physical_connections(name_regex="^preserved-NODELETING")
|
|
492
511
|
default = alicloud.cen.Instance("default",
|
|
493
512
|
cen_instance_name=name,
|
|
494
513
|
protection_level="REDUCED")
|
|
495
514
|
default_transit_router = alicloud.cen.TransitRouter("default", cen_id=default.id)
|
|
496
|
-
name_regex = alicloud.expressconnect.get_physical_connections(name_regex="^preserved-NODELETING")
|
|
497
515
|
default_virtual_border_router = alicloud.expressconnect.VirtualBorderRouter("default",
|
|
498
516
|
local_gateway_ip="10.0.0.1",
|
|
499
517
|
peer_gateway_ip="10.0.0.2",
|
|
@@ -505,37 +523,37 @@ class TransitRouterVbrAttachment(pulumi.CustomResource):
|
|
|
505
523
|
min_tx_interval=1000,
|
|
506
524
|
detect_multiplier=10)
|
|
507
525
|
default_transit_router_vbr_attachment = alicloud.cen.TransitRouterVbrAttachment("default",
|
|
508
|
-
|
|
509
|
-
transit_router_attachment_name="example",
|
|
510
|
-
transit_router_attachment_description="example",
|
|
526
|
+
cen_id=default.id,
|
|
511
527
|
vbr_id=default_virtual_border_router.id,
|
|
512
|
-
|
|
528
|
+
transit_router_id=default_transit_router.transit_router_id,
|
|
529
|
+
transit_router_attachment_name=name,
|
|
530
|
+
transit_router_attachment_description=name)
|
|
513
531
|
```
|
|
514
532
|
|
|
515
533
|
## Import
|
|
516
534
|
|
|
517
|
-
CEN
|
|
535
|
+
Cloud Enterprise Network (CEN) Transit Router VBR Attachment can be imported using the id, e.g.
|
|
518
536
|
|
|
519
537
|
```sh
|
|
520
|
-
$ pulumi import alicloud:cen/transitRouterVbrAttachment:TransitRouterVbrAttachment example
|
|
538
|
+
$ pulumi import alicloud:cen/transitRouterVbrAttachment:TransitRouterVbrAttachment example <cen_id>:<transit_router_attachment_id>
|
|
521
539
|
```
|
|
522
540
|
|
|
523
541
|
:param str resource_name: The name of the resource.
|
|
524
542
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
525
|
-
:param pulumi.Input[bool] auto_publish_route_enabled:
|
|
543
|
+
:param pulumi.Input[bool] auto_publish_route_enabled: Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to the VBR. Default value: `false`. Valid values:
|
|
526
544
|
:param pulumi.Input[str] cen_id: The ID of the CEN.
|
|
527
|
-
:param pulumi.Input[bool] dry_run:
|
|
528
|
-
:param pulumi.Input[str] resource_type: The resource type of the transit router vbr attachment.
|
|
545
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to perform a dry run. Default value: `false`. Valid values: `true`, `false`.
|
|
546
|
+
:param pulumi.Input[str] resource_type: The resource type of the transit router vbr attachment. Default value: `VBR`. Valid values: `VBR`.
|
|
547
|
+
:param pulumi.Input[bool] route_table_association_enabled: Whether to enabled route table association. **NOTE:** "Field `route_table_association_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTableAssociation` instead, how to use alicloud_cen_transit_router_route_table_association."
|
|
548
|
+
:param pulumi.Input[bool] route_table_propagation_enabled: Whether to enabled route table propagation. **NOTE:** "Field `route_table_propagation_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTablePropagation` instead, how to use alicloud_cen_transit_router_route_table_propagation."
|
|
529
549
|
|
|
530
550
|
->**NOTE:** Ensure that the vbr is not used in Express Connect.
|
|
531
|
-
:param pulumi.Input[bool] route_table_association_enabled: Whether to enabled route table association. The system default value is `true`.
|
|
532
|
-
:param pulumi.Input[bool] route_table_propagation_enabled: Whether to enabled route table propagation. The system default value is `true`.
|
|
533
551
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
534
552
|
:param pulumi.Input[str] transit_router_attachment_description: The description of the transit router vbr attachment.
|
|
535
553
|
:param pulumi.Input[str] transit_router_attachment_name: The name of the transit router vbr attachment.
|
|
536
554
|
:param pulumi.Input[str] transit_router_id: The ID of the transit router.
|
|
537
555
|
:param pulumi.Input[str] vbr_id: The ID of the VBR.
|
|
538
|
-
:param pulumi.Input[str] vbr_owner_id: The owner id of the
|
|
556
|
+
:param pulumi.Input[str] vbr_owner_id: The owner id of the vbr.
|
|
539
557
|
"""
|
|
540
558
|
...
|
|
541
559
|
@overload
|
|
@@ -544,7 +562,9 @@ class TransitRouterVbrAttachment(pulumi.CustomResource):
|
|
|
544
562
|
args: TransitRouterVbrAttachmentArgs,
|
|
545
563
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
546
564
|
"""
|
|
547
|
-
Provides a
|
|
565
|
+
Provides a Cloud Enterprise Network (CEN) Transit Router VBR Attachment resource.
|
|
566
|
+
|
|
567
|
+
For information about Cloud Enterprise Network (CEN) Transit Router VBR Attachment and how to use it, see [What is Transit Router VBR Attachment](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-createtransitroutervbrattachment)
|
|
548
568
|
|
|
549
569
|
> **NOTE:** Available since v1.126.0.
|
|
550
570
|
|
|
@@ -560,11 +580,11 @@ class TransitRouterVbrAttachment(pulumi.CustomResource):
|
|
|
560
580
|
name = config.get("name")
|
|
561
581
|
if name is None:
|
|
562
582
|
name = "terraform-example"
|
|
583
|
+
name_regex = alicloud.expressconnect.get_physical_connections(name_regex="^preserved-NODELETING")
|
|
563
584
|
default = alicloud.cen.Instance("default",
|
|
564
585
|
cen_instance_name=name,
|
|
565
586
|
protection_level="REDUCED")
|
|
566
587
|
default_transit_router = alicloud.cen.TransitRouter("default", cen_id=default.id)
|
|
567
|
-
name_regex = alicloud.expressconnect.get_physical_connections(name_regex="^preserved-NODELETING")
|
|
568
588
|
default_virtual_border_router = alicloud.expressconnect.VirtualBorderRouter("default",
|
|
569
589
|
local_gateway_ip="10.0.0.1",
|
|
570
590
|
peer_gateway_ip="10.0.0.2",
|
|
@@ -576,19 +596,19 @@ class TransitRouterVbrAttachment(pulumi.CustomResource):
|
|
|
576
596
|
min_tx_interval=1000,
|
|
577
597
|
detect_multiplier=10)
|
|
578
598
|
default_transit_router_vbr_attachment = alicloud.cen.TransitRouterVbrAttachment("default",
|
|
579
|
-
|
|
580
|
-
transit_router_attachment_name="example",
|
|
581
|
-
transit_router_attachment_description="example",
|
|
599
|
+
cen_id=default.id,
|
|
582
600
|
vbr_id=default_virtual_border_router.id,
|
|
583
|
-
|
|
601
|
+
transit_router_id=default_transit_router.transit_router_id,
|
|
602
|
+
transit_router_attachment_name=name,
|
|
603
|
+
transit_router_attachment_description=name)
|
|
584
604
|
```
|
|
585
605
|
|
|
586
606
|
## Import
|
|
587
607
|
|
|
588
|
-
CEN
|
|
608
|
+
Cloud Enterprise Network (CEN) Transit Router VBR Attachment can be imported using the id, e.g.
|
|
589
609
|
|
|
590
610
|
```sh
|
|
591
|
-
$ pulumi import alicloud:cen/transitRouterVbrAttachment:TransitRouterVbrAttachment example
|
|
611
|
+
$ pulumi import alicloud:cen/transitRouterVbrAttachment:TransitRouterVbrAttachment example <cen_id>:<transit_router_attachment_id>
|
|
592
612
|
```
|
|
593
613
|
|
|
594
614
|
:param str resource_name: The name of the resource.
|
|
@@ -676,22 +696,22 @@ class TransitRouterVbrAttachment(pulumi.CustomResource):
|
|
|
676
696
|
:param str resource_name: The unique name of the resulting resource.
|
|
677
697
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
678
698
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
679
|
-
:param pulumi.Input[bool] auto_publish_route_enabled:
|
|
699
|
+
:param pulumi.Input[bool] auto_publish_route_enabled: Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to the VBR. Default value: `false`. Valid values:
|
|
680
700
|
:param pulumi.Input[str] cen_id: The ID of the CEN.
|
|
681
|
-
:param pulumi.Input[bool] dry_run:
|
|
682
|
-
:param pulumi.Input[str] resource_type: The resource type of the transit router vbr attachment.
|
|
701
|
+
:param pulumi.Input[bool] dry_run: Specifies whether to perform a dry run. Default value: `false`. Valid values: `true`, `false`.
|
|
702
|
+
:param pulumi.Input[str] resource_type: The resource type of the transit router vbr attachment. Default value: `VBR`. Valid values: `VBR`.
|
|
703
|
+
:param pulumi.Input[bool] route_table_association_enabled: Whether to enabled route table association. **NOTE:** "Field `route_table_association_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTableAssociation` instead, how to use alicloud_cen_transit_router_route_table_association."
|
|
704
|
+
:param pulumi.Input[bool] route_table_propagation_enabled: Whether to enabled route table propagation. **NOTE:** "Field `route_table_propagation_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTablePropagation` instead, how to use alicloud_cen_transit_router_route_table_propagation."
|
|
683
705
|
|
|
684
706
|
->**NOTE:** Ensure that the vbr is not used in Express Connect.
|
|
685
|
-
:param pulumi.Input[
|
|
686
|
-
:param pulumi.Input[bool] route_table_propagation_enabled: Whether to enabled route table propagation. The system default value is `true`.
|
|
687
|
-
:param pulumi.Input[str] status: The associating status of the network.
|
|
707
|
+
:param pulumi.Input[str] status: The status of the Transit Router VBR Attachment.
|
|
688
708
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
|
|
689
709
|
:param pulumi.Input[str] transit_router_attachment_description: The description of the transit router vbr attachment.
|
|
690
|
-
:param pulumi.Input[str] transit_router_attachment_id: The
|
|
710
|
+
:param pulumi.Input[str] transit_router_attachment_id: The ID of the VBR connection.
|
|
691
711
|
:param pulumi.Input[str] transit_router_attachment_name: The name of the transit router vbr attachment.
|
|
692
712
|
:param pulumi.Input[str] transit_router_id: The ID of the transit router.
|
|
693
713
|
:param pulumi.Input[str] vbr_id: The ID of the VBR.
|
|
694
|
-
:param pulumi.Input[str] vbr_owner_id: The owner id of the
|
|
714
|
+
:param pulumi.Input[str] vbr_owner_id: The owner id of the vbr.
|
|
695
715
|
"""
|
|
696
716
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
697
717
|
|
|
@@ -715,9 +735,9 @@ class TransitRouterVbrAttachment(pulumi.CustomResource):
|
|
|
715
735
|
|
|
716
736
|
@property
|
|
717
737
|
@pulumi.getter(name="autoPublishRouteEnabled")
|
|
718
|
-
def auto_publish_route_enabled(self) -> pulumi.Output[bool]:
|
|
738
|
+
def auto_publish_route_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
719
739
|
"""
|
|
720
|
-
|
|
740
|
+
Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to the VBR. Default value: `false`. Valid values:
|
|
721
741
|
"""
|
|
722
742
|
return pulumi.get(self, "auto_publish_route_enabled")
|
|
723
743
|
|
|
@@ -733,7 +753,7 @@ class TransitRouterVbrAttachment(pulumi.CustomResource):
|
|
|
733
753
|
@pulumi.getter(name="dryRun")
|
|
734
754
|
def dry_run(self) -> pulumi.Output[Optional[bool]]:
|
|
735
755
|
"""
|
|
736
|
-
|
|
756
|
+
Specifies whether to perform a dry run. Default value: `false`. Valid values: `true`, `false`.
|
|
737
757
|
"""
|
|
738
758
|
return pulumi.get(self, "dry_run")
|
|
739
759
|
|
|
@@ -741,25 +761,27 @@ class TransitRouterVbrAttachment(pulumi.CustomResource):
|
|
|
741
761
|
@pulumi.getter(name="resourceType")
|
|
742
762
|
def resource_type(self) -> pulumi.Output[Optional[str]]:
|
|
743
763
|
"""
|
|
744
|
-
The resource type of the transit router vbr attachment.
|
|
745
|
-
|
|
746
|
-
->**NOTE:** Ensure that the vbr is not used in Express Connect.
|
|
764
|
+
The resource type of the transit router vbr attachment. Default value: `VBR`. Valid values: `VBR`.
|
|
747
765
|
"""
|
|
748
766
|
return pulumi.get(self, "resource_type")
|
|
749
767
|
|
|
750
768
|
@property
|
|
751
769
|
@pulumi.getter(name="routeTableAssociationEnabled")
|
|
770
|
+
@_utilities.deprecated("""Field `route_table_association_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTableAssociation` instead.""")
|
|
752
771
|
def route_table_association_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
753
772
|
"""
|
|
754
|
-
Whether to enabled route table association.
|
|
773
|
+
Whether to enabled route table association. **NOTE:** "Field `route_table_association_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTableAssociation` instead, how to use alicloud_cen_transit_router_route_table_association."
|
|
755
774
|
"""
|
|
756
775
|
return pulumi.get(self, "route_table_association_enabled")
|
|
757
776
|
|
|
758
777
|
@property
|
|
759
778
|
@pulumi.getter(name="routeTablePropagationEnabled")
|
|
779
|
+
@_utilities.deprecated("""Field `route_table_propagation_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTablePropagation` instead.""")
|
|
760
780
|
def route_table_propagation_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
761
781
|
"""
|
|
762
|
-
Whether to enabled route table propagation.
|
|
782
|
+
Whether to enabled route table propagation. **NOTE:** "Field `route_table_propagation_enabled` has been deprecated from provider version 1.233.1. Please use the resource `cen.TransitRouterRouteTablePropagation` instead, how to use alicloud_cen_transit_router_route_table_propagation."
|
|
783
|
+
|
|
784
|
+
->**NOTE:** Ensure that the vbr is not used in Express Connect.
|
|
763
785
|
"""
|
|
764
786
|
return pulumi.get(self, "route_table_propagation_enabled")
|
|
765
787
|
|
|
@@ -767,7 +789,7 @@ class TransitRouterVbrAttachment(pulumi.CustomResource):
|
|
|
767
789
|
@pulumi.getter
|
|
768
790
|
def status(self) -> pulumi.Output[str]:
|
|
769
791
|
"""
|
|
770
|
-
The
|
|
792
|
+
The status of the Transit Router VBR Attachment.
|
|
771
793
|
"""
|
|
772
794
|
return pulumi.get(self, "status")
|
|
773
795
|
|
|
@@ -791,7 +813,7 @@ class TransitRouterVbrAttachment(pulumi.CustomResource):
|
|
|
791
813
|
@pulumi.getter(name="transitRouterAttachmentId")
|
|
792
814
|
def transit_router_attachment_id(self) -> pulumi.Output[str]:
|
|
793
815
|
"""
|
|
794
|
-
The
|
|
816
|
+
The ID of the VBR connection.
|
|
795
817
|
"""
|
|
796
818
|
return pulumi.get(self, "transit_router_attachment_id")
|
|
797
819
|
|
|
@@ -805,7 +827,7 @@ class TransitRouterVbrAttachment(pulumi.CustomResource):
|
|
|
805
827
|
|
|
806
828
|
@property
|
|
807
829
|
@pulumi.getter(name="transitRouterId")
|
|
808
|
-
def transit_router_id(self) -> pulumi.Output[
|
|
830
|
+
def transit_router_id(self) -> pulumi.Output[str]:
|
|
809
831
|
"""
|
|
810
832
|
The ID of the transit router.
|
|
811
833
|
"""
|
|
@@ -823,7 +845,7 @@ class TransitRouterVbrAttachment(pulumi.CustomResource):
|
|
|
823
845
|
@pulumi.getter(name="vbrOwnerId")
|
|
824
846
|
def vbr_owner_id(self) -> pulumi.Output[str]:
|
|
825
847
|
"""
|
|
826
|
-
The owner id of the
|
|
848
|
+
The owner id of the vbr.
|
|
827
849
|
"""
|
|
828
850
|
return pulumi.get(self, "vbr_owner_id")
|
|
829
851
|
|
|
@@ -177,23 +177,24 @@ class HybridMonitorFcTask(pulumi.CustomResource):
|
|
|
177
177
|
specification="cms.s1.large")
|
|
178
178
|
default_hybrid_monitor_fc_task = alicloud.cms.HybridMonitorFcTask("default",
|
|
179
179
|
namespace=default_namespace.id,
|
|
180
|
-
yarm_config=\"\"\"
|
|
181
|
-
|
|
180
|
+
yarm_config=\"\"\"---
|
|
181
|
+
products:
|
|
182
|
+
- namespace: "acs_ecs_dashboard"
|
|
182
183
|
metric_info:
|
|
183
184
|
- metric_list:
|
|
184
|
-
-
|
|
185
|
-
-
|
|
186
|
-
-
|
|
187
|
-
-
|
|
188
|
-
-
|
|
189
|
-
-
|
|
190
|
-
-
|
|
191
|
-
-
|
|
192
|
-
- namespace: acs_rds_dashboard
|
|
185
|
+
- "CPUUtilization"
|
|
186
|
+
- "DiskReadBPS"
|
|
187
|
+
- "InternetOut"
|
|
188
|
+
- "IntranetOut"
|
|
189
|
+
- "cpu_idle"
|
|
190
|
+
- "cpu_system"
|
|
191
|
+
- "cpu_total"
|
|
192
|
+
- "diskusage_utilization"
|
|
193
|
+
- namespace: "acs_rds_dashboard"
|
|
193
194
|
metric_info:
|
|
194
195
|
- metric_list:
|
|
195
|
-
- MySQL_QPS
|
|
196
|
-
- MySQL_TPS
|
|
196
|
+
- "MySQL_QPS"
|
|
197
|
+
- "MySQL_TPS"
|
|
197
198
|
\"\"\",
|
|
198
199
|
target_user_id=default.id)
|
|
199
200
|
```
|
|
@@ -244,23 +245,24 @@ class HybridMonitorFcTask(pulumi.CustomResource):
|
|
|
244
245
|
specification="cms.s1.large")
|
|
245
246
|
default_hybrid_monitor_fc_task = alicloud.cms.HybridMonitorFcTask("default",
|
|
246
247
|
namespace=default_namespace.id,
|
|
247
|
-
yarm_config=\"\"\"
|
|
248
|
-
|
|
248
|
+
yarm_config=\"\"\"---
|
|
249
|
+
products:
|
|
250
|
+
- namespace: "acs_ecs_dashboard"
|
|
249
251
|
metric_info:
|
|
250
252
|
- metric_list:
|
|
251
|
-
-
|
|
252
|
-
-
|
|
253
|
-
-
|
|
254
|
-
-
|
|
255
|
-
-
|
|
256
|
-
-
|
|
257
|
-
-
|
|
258
|
-
-
|
|
259
|
-
- namespace: acs_rds_dashboard
|
|
253
|
+
- "CPUUtilization"
|
|
254
|
+
- "DiskReadBPS"
|
|
255
|
+
- "InternetOut"
|
|
256
|
+
- "IntranetOut"
|
|
257
|
+
- "cpu_idle"
|
|
258
|
+
- "cpu_system"
|
|
259
|
+
- "cpu_total"
|
|
260
|
+
- "diskusage_utilization"
|
|
261
|
+
- namespace: "acs_rds_dashboard"
|
|
260
262
|
metric_info:
|
|
261
263
|
- metric_list:
|
|
262
|
-
- MySQL_QPS
|
|
263
|
-
- MySQL_TPS
|
|
264
|
+
- "MySQL_QPS"
|
|
265
|
+
- "MySQL_TPS"
|
|
264
266
|
\"\"\",
|
|
265
267
|
target_user_id=default.id)
|
|
266
268
|
```
|