pulumi-alicloud 3.63.0__py3-none-any.whl → 3.63.0a1726205090__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.

Files changed (75) hide show
  1. pulumi_alicloud/__init__.py +0 -24
  2. pulumi_alicloud/alb/acl.py +19 -18
  3. pulumi_alicloud/alb/health_check_template.py +88 -96
  4. pulumi_alicloud/amqp/binding.py +36 -30
  5. pulumi_alicloud/cen/_inputs.py +14 -180
  6. pulumi_alicloud/cen/outputs.py +12 -173
  7. pulumi_alicloud/cen/traffic_marking_policy.py +53 -116
  8. pulumi_alicloud/cen/transit_router_vpc_attachment.py +119 -338
  9. pulumi_alicloud/cms/_inputs.py +6 -6
  10. pulumi_alicloud/cms/outputs.py +6 -6
  11. pulumi_alicloud/cr/chart_namespace.py +6 -14
  12. pulumi_alicloud/cr/endpoint_acl_policy.py +2 -10
  13. pulumi_alicloud/cr/namespace.py +2 -10
  14. pulumi_alicloud/cs/registry_enterprise_sync_rule.py +10 -10
  15. pulumi_alicloud/ddos/_inputs.py +9 -8
  16. pulumi_alicloud/ddos/bgp_ip.py +1 -1
  17. pulumi_alicloud/ddos/domain_resource.py +90 -446
  18. pulumi_alicloud/ddos/outputs.py +8 -7
  19. pulumi_alicloud/eci/container_group.py +0 -47
  20. pulumi_alicloud/ecs/_inputs.py +0 -28
  21. pulumi_alicloud/ecs/ecs_snapshot.py +77 -199
  22. pulumi_alicloud/ecs/outputs.py +0 -20
  23. pulumi_alicloud/ecs/snapshot.py +8 -26
  24. pulumi_alicloud/emrv2/_inputs.py +12 -12
  25. pulumi_alicloud/emrv2/outputs.py +12 -12
  26. pulumi_alicloud/ens/_inputs.py +2 -50
  27. pulumi_alicloud/ens/instance.py +184 -428
  28. pulumi_alicloud/ens/outputs.py +2 -57
  29. pulumi_alicloud/ess/__init__.py +0 -1
  30. pulumi_alicloud/ess/alarm.py +0 -47
  31. pulumi_alicloud/expressconnect/physical_connection.py +185 -321
  32. pulumi_alicloud/fc/trigger.py +24 -22
  33. pulumi_alicloud/ga/_inputs.py +5 -23
  34. pulumi_alicloud/ga/endpoint_group.py +14 -68
  35. pulumi_alicloud/ga/outputs.py +5 -21
  36. pulumi_alicloud/governance/account.py +0 -61
  37. pulumi_alicloud/gpdb/__init__.py +0 -4
  38. pulumi_alicloud/gpdb/_inputs.py +3 -361
  39. pulumi_alicloud/gpdb/instance.py +0 -47
  40. pulumi_alicloud/gpdb/outputs.py +4 -597
  41. pulumi_alicloud/mongodb/instance.py +0 -94
  42. pulumi_alicloud/nlb/_inputs.py +64 -120
  43. pulumi_alicloud/nlb/get_listeners.py +2 -32
  44. pulumi_alicloud/nlb/get_server_group_server_attachments.py +2 -8
  45. pulumi_alicloud/nlb/listener.py +245 -315
  46. pulumi_alicloud/nlb/listener_additional_certificate_attachment.py +25 -25
  47. pulumi_alicloud/nlb/load_balancer.py +212 -297
  48. pulumi_alicloud/nlb/load_balancer_security_group_attachment.py +39 -29
  49. pulumi_alicloud/nlb/loadbalancer_common_bandwidth_package_attachment.py +18 -22
  50. pulumi_alicloud/nlb/outputs.py +66 -122
  51. pulumi_alicloud/nlb/security_policy.py +25 -53
  52. pulumi_alicloud/nlb/server_group.py +133 -196
  53. pulumi_alicloud/ocean/base_instance.py +163 -498
  54. pulumi_alicloud/oos/get_secret_parameters.py +9 -111
  55. pulumi_alicloud/oos/outputs.py +11 -22
  56. pulumi_alicloud/pulumi-plugin.json +1 -1
  57. pulumi_alicloud/ram/get_account_alias.py +2 -35
  58. pulumi_alicloud/rds/instance.py +21 -21
  59. pulumi_alicloud/rocketmq/_inputs.py +22 -79
  60. pulumi_alicloud/rocketmq/outputs.py +21 -85
  61. pulumi_alicloud/rocketmq/rocket_mq_instance.py +113 -307
  62. pulumi_alicloud/servicemesh/extension_provider.py +2 -2
  63. pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
  64. pulumi_alicloud/vpc/peer_connection.py +59 -127
  65. pulumi_alicloud/vpc/peer_connection_accepter.py +42 -263
  66. pulumi_alicloud/vpc/route_entry.py +210 -232
  67. {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726205090.dist-info}/METADATA +1 -1
  68. {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726205090.dist-info}/RECORD +70 -75
  69. {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726205090.dist-info}/WHEEL +1 -1
  70. pulumi_alicloud/ess/server_group_attachment.py +0 -552
  71. pulumi_alicloud/gpdb/db_instance_ip_array.py +0 -533
  72. pulumi_alicloud/gpdb/get_data_backups.py +0 -288
  73. pulumi_alicloud/gpdb/get_log_backups.py +0 -225
  74. pulumi_alicloud/gpdb/streaming_job.py +0 -1568
  75. {pulumi_alicloud-3.63.0.dist-info → pulumi_alicloud-3.63.0a1726205090.dist-info}/top_level.txt +0 -0
@@ -16,12 +16,11 @@ __all__ = ['TransitRouterVpcAttachmentArgs', 'TransitRouterVpcAttachment']
16
16
  @pulumi.input_type
17
17
  class TransitRouterVpcAttachmentArgs:
18
18
  def __init__(__self__, *,
19
+ cen_id: pulumi.Input[str],
19
20
  vpc_id: pulumi.Input[str],
20
21
  zone_mappings: pulumi.Input[Sequence[pulumi.Input['TransitRouterVpcAttachmentZoneMappingArgs']]],
21
22
  auto_publish_route_enabled: Optional[pulumi.Input[bool]] = None,
22
- cen_id: Optional[pulumi.Input[str]] = None,
23
23
  dry_run: Optional[pulumi.Input[bool]] = None,
24
- force_delete: Optional[pulumi.Input[bool]] = None,
25
24
  payment_type: Optional[pulumi.Input[str]] = None,
26
25
  resource_type: Optional[pulumi.Input[str]] = None,
27
26
  route_table_association_enabled: Optional[pulumi.Input[bool]] = None,
@@ -30,46 +29,32 @@ class TransitRouterVpcAttachmentArgs:
30
29
  transit_router_attachment_description: Optional[pulumi.Input[str]] = None,
31
30
  transit_router_attachment_name: Optional[pulumi.Input[str]] = None,
32
31
  transit_router_id: Optional[pulumi.Input[str]] = None,
33
- transit_router_vpc_attachment_name: Optional[pulumi.Input[str]] = None,
34
- transit_router_vpc_attachment_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
35
- vpc_owner_id: Optional[pulumi.Input[int]] = None):
32
+ vpc_owner_id: Optional[pulumi.Input[str]] = None):
36
33
  """
37
34
  The set of arguments for constructing a TransitRouterVpcAttachment resource.
38
- :param pulumi.Input[str] vpc_id: The VPC ID.
39
- :param pulumi.Input[Sequence[pulumi.Input['TransitRouterVpcAttachmentZoneMappingArgs']]] zone_mappings: ZoneMappingss See `zone_mappings` below.
40
-
41
- The following arguments will be discarded. Please use new fields as soon as possible:
42
- :param pulumi.Input[bool] auto_publish_route_enabled: Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to VPCs. Valid values:
43
- - **false:** (default)
44
- :param pulumi.Input[str] cen_id: The ID of the Cloud Enterprise Network (CEN) instance.
45
- :param pulumi.Input[bool] dry_run: Whether to perform PreCheck on this request, including permissions and instance status verification. Value:
46
- :param pulumi.Input[bool] force_delete: Whether to forcibly delete the VPC connection. The value is:
47
- :param pulumi.Input[str] payment_type: The billing method. The default value is `PayAsYouGo`, which specifies the pay-as-you-go billing method.
35
+ :param pulumi.Input[str] cen_id: The ID of the CEN.
36
+ :param pulumi.Input[str] vpc_id: The ID of the VPC.
37
+ :param pulumi.Input[Sequence[pulumi.Input['TransitRouterVpcAttachmentZoneMappingArgs']]] zone_mappings: The list of zone mapping of the VPC. See `zone_mappings` below. **NOTE:** From version 1.184.0, `zone_mappings` can be modified.
38
+ > **NOTE:** The Zone of CEN has MasterZone and SlaveZone, first zone_id of zone_mapping need be MasterZone. We have a API to describeZones[API](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-listtransitrouteravailableresource)
39
+ :param pulumi.Input[bool] auto_publish_route_enabled: Whether the transit router is automatically published to the VPC instance. Default value: `false`. Valid values:
40
+ :param pulumi.Input[bool] dry_run: The dry run.
41
+ :param pulumi.Input[str] payment_type: The payment type of the resource. Default value: `PayAsYouGo`. Valid values: `PayAsYouGo`.
48
42
  :param pulumi.Input[str] resource_type: The resource type of the transit router vpc attachment. Default value: `VPC`. Valid values: `VPC`.
49
43
  :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.192.0. Please use the resource `cen.TransitRouterRouteTableAssociation` instead, how to use alicloud_cen_transit_router_route_table_association."
50
44
  :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.192.0. Please use the resource `cen.TransitRouterRouteTablePropagation` instead, how to use alicloud_cen_transit_router_route_table_propagation."
51
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
52
- :param pulumi.Input[str] transit_router_attachment_description: The description of the VPC connection.
53
-
54
- The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
55
- :param pulumi.Input[str] transit_router_attachment_name: . Field 'transit_router_attachment_name' has been deprecated from provider version 1.230.1. New field 'transit_router_vpc_attachment_name' instead.
56
- :param pulumi.Input[str] transit_router_id: The ID of the Enterprise Edition transit router.
57
- :param pulumi.Input[str] transit_router_vpc_attachment_name: The name of the VPC connection.
58
-
59
- The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (\\_), and hyphens (-). It must start with a letter.
60
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] transit_router_vpc_attachment_options: TransitRouterVpcAttachmentOptions
61
- :param pulumi.Input[int] vpc_owner_id: VpcOwnerId
45
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
46
+ :param pulumi.Input[str] transit_router_attachment_description: The description of the transit router vbr attachment.
47
+ :param pulumi.Input[str] transit_router_attachment_name: The name of the transit router vbr attachment.
48
+ :param pulumi.Input[str] transit_router_id: The ID of the transit router.
49
+ :param pulumi.Input[str] vpc_owner_id: The owner id of vpc.
62
50
  """
51
+ pulumi.set(__self__, "cen_id", cen_id)
63
52
  pulumi.set(__self__, "vpc_id", vpc_id)
64
53
  pulumi.set(__self__, "zone_mappings", zone_mappings)
65
54
  if auto_publish_route_enabled is not None:
66
55
  pulumi.set(__self__, "auto_publish_route_enabled", auto_publish_route_enabled)
67
- if cen_id is not None:
68
- pulumi.set(__self__, "cen_id", cen_id)
69
56
  if dry_run is not None:
70
57
  pulumi.set(__self__, "dry_run", dry_run)
71
- if force_delete is not None:
72
- pulumi.set(__self__, "force_delete", force_delete)
73
58
  if payment_type is not None:
74
59
  pulumi.set(__self__, "payment_type", payment_type)
75
60
  if resource_type is not None:
@@ -88,25 +73,30 @@ class TransitRouterVpcAttachmentArgs:
88
73
  pulumi.set(__self__, "tags", tags)
89
74
  if transit_router_attachment_description is not None:
90
75
  pulumi.set(__self__, "transit_router_attachment_description", transit_router_attachment_description)
91
- if transit_router_attachment_name is not None:
92
- warnings.warn("""Field 'transit_router_attachment_name' has been deprecated since provider version 1.230.1. New field 'transit_router_vpc_attachment_name' instead.""", DeprecationWarning)
93
- pulumi.log.warn("""transit_router_attachment_name is deprecated: Field 'transit_router_attachment_name' has been deprecated since provider version 1.230.1. New field 'transit_router_vpc_attachment_name' instead.""")
94
76
  if transit_router_attachment_name is not None:
95
77
  pulumi.set(__self__, "transit_router_attachment_name", transit_router_attachment_name)
96
78
  if transit_router_id is not None:
97
79
  pulumi.set(__self__, "transit_router_id", transit_router_id)
98
- if transit_router_vpc_attachment_name is not None:
99
- pulumi.set(__self__, "transit_router_vpc_attachment_name", transit_router_vpc_attachment_name)
100
- if transit_router_vpc_attachment_options is not None:
101
- pulumi.set(__self__, "transit_router_vpc_attachment_options", transit_router_vpc_attachment_options)
102
80
  if vpc_owner_id is not None:
103
81
  pulumi.set(__self__, "vpc_owner_id", vpc_owner_id)
104
82
 
83
+ @property
84
+ @pulumi.getter(name="cenId")
85
+ def cen_id(self) -> pulumi.Input[str]:
86
+ """
87
+ The ID of the CEN.
88
+ """
89
+ return pulumi.get(self, "cen_id")
90
+
91
+ @cen_id.setter
92
+ def cen_id(self, value: pulumi.Input[str]):
93
+ pulumi.set(self, "cen_id", value)
94
+
105
95
  @property
106
96
  @pulumi.getter(name="vpcId")
107
97
  def vpc_id(self) -> pulumi.Input[str]:
108
98
  """
109
- The VPC ID.
99
+ The ID of the VPC.
110
100
  """
111
101
  return pulumi.get(self, "vpc_id")
112
102
 
@@ -118,9 +108,8 @@ class TransitRouterVpcAttachmentArgs:
118
108
  @pulumi.getter(name="zoneMappings")
119
109
  def zone_mappings(self) -> pulumi.Input[Sequence[pulumi.Input['TransitRouterVpcAttachmentZoneMappingArgs']]]:
120
110
  """
121
- ZoneMappingss See `zone_mappings` below.
122
-
123
- The following arguments will be discarded. Please use new fields as soon as possible:
111
+ The list of zone mapping of the VPC. See `zone_mappings` below. **NOTE:** From version 1.184.0, `zone_mappings` can be modified.
112
+ > **NOTE:** The Zone of CEN has MasterZone and SlaveZone, first zone_id of zone_mapping need be MasterZone. We have a API to describeZones[API](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-listtransitrouteravailableresource)
124
113
  """
125
114
  return pulumi.get(self, "zone_mappings")
126
115
 
@@ -132,8 +121,7 @@ class TransitRouterVpcAttachmentArgs:
132
121
  @pulumi.getter(name="autoPublishRouteEnabled")
133
122
  def auto_publish_route_enabled(self) -> Optional[pulumi.Input[bool]]:
134
123
  """
135
- Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to VPCs. Valid values:
136
- - **false:** (default)
124
+ Whether the transit router is automatically published to the VPC instance. Default value: `false`. Valid values:
137
125
  """
138
126
  return pulumi.get(self, "auto_publish_route_enabled")
139
127
 
@@ -141,23 +129,11 @@ class TransitRouterVpcAttachmentArgs:
141
129
  def auto_publish_route_enabled(self, value: Optional[pulumi.Input[bool]]):
142
130
  pulumi.set(self, "auto_publish_route_enabled", value)
143
131
 
144
- @property
145
- @pulumi.getter(name="cenId")
146
- def cen_id(self) -> Optional[pulumi.Input[str]]:
147
- """
148
- The ID of the Cloud Enterprise Network (CEN) instance.
149
- """
150
- return pulumi.get(self, "cen_id")
151
-
152
- @cen_id.setter
153
- def cen_id(self, value: Optional[pulumi.Input[str]]):
154
- pulumi.set(self, "cen_id", value)
155
-
156
132
  @property
157
133
  @pulumi.getter(name="dryRun")
158
134
  def dry_run(self) -> Optional[pulumi.Input[bool]]:
159
135
  """
160
- Whether to perform PreCheck on this request, including permissions and instance status verification. Value:
136
+ The dry run.
161
137
  """
162
138
  return pulumi.get(self, "dry_run")
163
139
 
@@ -165,23 +141,11 @@ class TransitRouterVpcAttachmentArgs:
165
141
  def dry_run(self, value: Optional[pulumi.Input[bool]]):
166
142
  pulumi.set(self, "dry_run", value)
167
143
 
168
- @property
169
- @pulumi.getter(name="forceDelete")
170
- def force_delete(self) -> Optional[pulumi.Input[bool]]:
171
- """
172
- Whether to forcibly delete the VPC connection. The value is:
173
- """
174
- return pulumi.get(self, "force_delete")
175
-
176
- @force_delete.setter
177
- def force_delete(self, value: Optional[pulumi.Input[bool]]):
178
- pulumi.set(self, "force_delete", value)
179
-
180
144
  @property
181
145
  @pulumi.getter(name="paymentType")
182
146
  def payment_type(self) -> Optional[pulumi.Input[str]]:
183
147
  """
184
- The billing method. The default value is `PayAsYouGo`, which specifies the pay-as-you-go billing method.
148
+ The payment type of the resource. Default value: `PayAsYouGo`. Valid values: `PayAsYouGo`.
185
149
  """
186
150
  return pulumi.get(self, "payment_type")
187
151
 
@@ -231,7 +195,7 @@ class TransitRouterVpcAttachmentArgs:
231
195
  @pulumi.getter
232
196
  def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
233
197
  """
234
- The tag of the resource
198
+ A mapping of tags to assign to the resource.
235
199
  """
236
200
  return pulumi.get(self, "tags")
237
201
 
@@ -243,9 +207,7 @@ class TransitRouterVpcAttachmentArgs:
243
207
  @pulumi.getter(name="transitRouterAttachmentDescription")
244
208
  def transit_router_attachment_description(self) -> Optional[pulumi.Input[str]]:
245
209
  """
246
- The description of the VPC connection.
247
-
248
- The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
210
+ The description of the transit router vbr attachment.
249
211
  """
250
212
  return pulumi.get(self, "transit_router_attachment_description")
251
213
 
@@ -255,10 +217,9 @@ class TransitRouterVpcAttachmentArgs:
255
217
 
256
218
  @property
257
219
  @pulumi.getter(name="transitRouterAttachmentName")
258
- @_utilities.deprecated("""Field 'transit_router_attachment_name' has been deprecated since provider version 1.230.1. New field 'transit_router_vpc_attachment_name' instead.""")
259
220
  def transit_router_attachment_name(self) -> Optional[pulumi.Input[str]]:
260
221
  """
261
- . Field 'transit_router_attachment_name' has been deprecated from provider version 1.230.1. New field 'transit_router_vpc_attachment_name' instead.
222
+ The name of the transit router vbr attachment.
262
223
  """
263
224
  return pulumi.get(self, "transit_router_attachment_name")
264
225
 
@@ -270,7 +231,7 @@ class TransitRouterVpcAttachmentArgs:
270
231
  @pulumi.getter(name="transitRouterId")
271
232
  def transit_router_id(self) -> Optional[pulumi.Input[str]]:
272
233
  """
273
- The ID of the Enterprise Edition transit router.
234
+ The ID of the transit router.
274
235
  """
275
236
  return pulumi.get(self, "transit_router_id")
276
237
 
@@ -278,42 +239,16 @@ class TransitRouterVpcAttachmentArgs:
278
239
  def transit_router_id(self, value: Optional[pulumi.Input[str]]):
279
240
  pulumi.set(self, "transit_router_id", value)
280
241
 
281
- @property
282
- @pulumi.getter(name="transitRouterVpcAttachmentName")
283
- def transit_router_vpc_attachment_name(self) -> Optional[pulumi.Input[str]]:
284
- """
285
- The name of the VPC connection.
286
-
287
- The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (\\_), and hyphens (-). It must start with a letter.
288
- """
289
- return pulumi.get(self, "transit_router_vpc_attachment_name")
290
-
291
- @transit_router_vpc_attachment_name.setter
292
- def transit_router_vpc_attachment_name(self, value: Optional[pulumi.Input[str]]):
293
- pulumi.set(self, "transit_router_vpc_attachment_name", value)
294
-
295
- @property
296
- @pulumi.getter(name="transitRouterVpcAttachmentOptions")
297
- def transit_router_vpc_attachment_options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
298
- """
299
- TransitRouterVpcAttachmentOptions
300
- """
301
- return pulumi.get(self, "transit_router_vpc_attachment_options")
302
-
303
- @transit_router_vpc_attachment_options.setter
304
- def transit_router_vpc_attachment_options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
305
- pulumi.set(self, "transit_router_vpc_attachment_options", value)
306
-
307
242
  @property
308
243
  @pulumi.getter(name="vpcOwnerId")
309
- def vpc_owner_id(self) -> Optional[pulumi.Input[int]]:
244
+ def vpc_owner_id(self) -> Optional[pulumi.Input[str]]:
310
245
  """
311
- VpcOwnerId
246
+ The owner id of vpc.
312
247
  """
313
248
  return pulumi.get(self, "vpc_owner_id")
314
249
 
315
250
  @vpc_owner_id.setter
316
- def vpc_owner_id(self, value: Optional[pulumi.Input[int]]):
251
+ def vpc_owner_id(self, value: Optional[pulumi.Input[str]]):
317
252
  pulumi.set(self, "vpc_owner_id", value)
318
253
 
319
254
 
@@ -322,9 +257,7 @@ class _TransitRouterVpcAttachmentState:
322
257
  def __init__(__self__, *,
323
258
  auto_publish_route_enabled: Optional[pulumi.Input[bool]] = None,
324
259
  cen_id: Optional[pulumi.Input[str]] = None,
325
- create_time: Optional[pulumi.Input[str]] = None,
326
260
  dry_run: Optional[pulumi.Input[bool]] = None,
327
- force_delete: Optional[pulumi.Input[bool]] = None,
328
261
  payment_type: Optional[pulumi.Input[str]] = None,
329
262
  resource_type: Optional[pulumi.Input[str]] = None,
330
263
  route_table_association_enabled: Optional[pulumi.Input[bool]] = None,
@@ -335,51 +268,35 @@ class _TransitRouterVpcAttachmentState:
335
268
  transit_router_attachment_id: Optional[pulumi.Input[str]] = None,
336
269
  transit_router_attachment_name: Optional[pulumi.Input[str]] = None,
337
270
  transit_router_id: Optional[pulumi.Input[str]] = None,
338
- transit_router_vpc_attachment_name: Optional[pulumi.Input[str]] = None,
339
- transit_router_vpc_attachment_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
340
271
  vpc_id: Optional[pulumi.Input[str]] = None,
341
- vpc_owner_id: Optional[pulumi.Input[int]] = None,
272
+ vpc_owner_id: Optional[pulumi.Input[str]] = None,
342
273
  zone_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['TransitRouterVpcAttachmentZoneMappingArgs']]]] = None):
343
274
  """
344
275
  Input properties used for looking up and filtering TransitRouterVpcAttachment resources.
345
- :param pulumi.Input[bool] auto_publish_route_enabled: Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to VPCs. Valid values:
346
- - **false:** (default)
347
- :param pulumi.Input[str] cen_id: The ID of the Cloud Enterprise Network (CEN) instance.
348
- :param pulumi.Input[str] create_time: The creation time of the resource
349
- :param pulumi.Input[bool] dry_run: Whether to perform PreCheck on this request, including permissions and instance status verification. Value:
350
- :param pulumi.Input[bool] force_delete: Whether to forcibly delete the VPC connection. The value is:
351
- :param pulumi.Input[str] payment_type: The billing method. The default value is `PayAsYouGo`, which specifies the pay-as-you-go billing method.
276
+ :param pulumi.Input[bool] auto_publish_route_enabled: Whether the transit router is automatically published to the VPC instance. Default value: `false`. Valid values:
277
+ :param pulumi.Input[str] cen_id: The ID of the CEN.
278
+ :param pulumi.Input[bool] dry_run: The dry run.
279
+ :param pulumi.Input[str] payment_type: The payment type of the resource. Default value: `PayAsYouGo`. Valid values: `PayAsYouGo`.
352
280
  :param pulumi.Input[str] resource_type: The resource type of the transit router vpc attachment. Default value: `VPC`. Valid values: `VPC`.
353
281
  :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.192.0. Please use the resource `cen.TransitRouterRouteTableAssociation` instead, how to use alicloud_cen_transit_router_route_table_association."
354
282
  :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.192.0. Please use the resource `cen.TransitRouterRouteTablePropagation` instead, how to use alicloud_cen_transit_router_route_table_propagation."
355
- :param pulumi.Input[str] status: Status
356
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
357
- :param pulumi.Input[str] transit_router_attachment_description: The description of the VPC connection.
358
-
359
- The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
283
+ :param pulumi.Input[str] status: The associating status of the network.
284
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
285
+ :param pulumi.Input[str] transit_router_attachment_description: The description of the transit router vbr attachment.
360
286
  :param pulumi.Input[str] transit_router_attachment_id: The ID of the Transit Router Attachment.
361
- :param pulumi.Input[str] transit_router_attachment_name: . Field 'transit_router_attachment_name' has been deprecated from provider version 1.230.1. New field 'transit_router_vpc_attachment_name' instead.
362
- :param pulumi.Input[str] transit_router_id: The ID of the Enterprise Edition transit router.
363
- :param pulumi.Input[str] transit_router_vpc_attachment_name: The name of the VPC connection.
364
-
365
- The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (\\_), and hyphens (-). It must start with a letter.
366
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] transit_router_vpc_attachment_options: TransitRouterVpcAttachmentOptions
367
- :param pulumi.Input[str] vpc_id: The VPC ID.
368
- :param pulumi.Input[int] vpc_owner_id: VpcOwnerId
369
- :param pulumi.Input[Sequence[pulumi.Input['TransitRouterVpcAttachmentZoneMappingArgs']]] zone_mappings: ZoneMappingss See `zone_mappings` below.
370
-
371
- The following arguments will be discarded. Please use new fields as soon as possible:
287
+ :param pulumi.Input[str] transit_router_attachment_name: The name of the transit router vbr attachment.
288
+ :param pulumi.Input[str] transit_router_id: The ID of the transit router.
289
+ :param pulumi.Input[str] vpc_id: The ID of the VPC.
290
+ :param pulumi.Input[str] vpc_owner_id: The owner id of vpc.
291
+ :param pulumi.Input[Sequence[pulumi.Input['TransitRouterVpcAttachmentZoneMappingArgs']]] zone_mappings: The list of zone mapping of the VPC. See `zone_mappings` below. **NOTE:** From version 1.184.0, `zone_mappings` can be modified.
292
+ > **NOTE:** The Zone of CEN has MasterZone and SlaveZone, first zone_id of zone_mapping need be MasterZone. We have a API to describeZones[API](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-listtransitrouteravailableresource)
372
293
  """
373
294
  if auto_publish_route_enabled is not None:
374
295
  pulumi.set(__self__, "auto_publish_route_enabled", auto_publish_route_enabled)
375
296
  if cen_id is not None:
376
297
  pulumi.set(__self__, "cen_id", cen_id)
377
- if create_time is not None:
378
- pulumi.set(__self__, "create_time", create_time)
379
298
  if dry_run is not None:
380
299
  pulumi.set(__self__, "dry_run", dry_run)
381
- if force_delete is not None:
382
- pulumi.set(__self__, "force_delete", force_delete)
383
300
  if payment_type is not None:
384
301
  pulumi.set(__self__, "payment_type", payment_type)
385
302
  if resource_type is not None:
@@ -402,17 +319,10 @@ class _TransitRouterVpcAttachmentState:
402
319
  pulumi.set(__self__, "transit_router_attachment_description", transit_router_attachment_description)
403
320
  if transit_router_attachment_id is not None:
404
321
  pulumi.set(__self__, "transit_router_attachment_id", transit_router_attachment_id)
405
- if transit_router_attachment_name is not None:
406
- warnings.warn("""Field 'transit_router_attachment_name' has been deprecated since provider version 1.230.1. New field 'transit_router_vpc_attachment_name' instead.""", DeprecationWarning)
407
- pulumi.log.warn("""transit_router_attachment_name is deprecated: Field 'transit_router_attachment_name' has been deprecated since provider version 1.230.1. New field 'transit_router_vpc_attachment_name' instead.""")
408
322
  if transit_router_attachment_name is not None:
409
323
  pulumi.set(__self__, "transit_router_attachment_name", transit_router_attachment_name)
410
324
  if transit_router_id is not None:
411
325
  pulumi.set(__self__, "transit_router_id", transit_router_id)
412
- if transit_router_vpc_attachment_name is not None:
413
- pulumi.set(__self__, "transit_router_vpc_attachment_name", transit_router_vpc_attachment_name)
414
- if transit_router_vpc_attachment_options is not None:
415
- pulumi.set(__self__, "transit_router_vpc_attachment_options", transit_router_vpc_attachment_options)
416
326
  if vpc_id is not None:
417
327
  pulumi.set(__self__, "vpc_id", vpc_id)
418
328
  if vpc_owner_id is not None:
@@ -424,8 +334,7 @@ class _TransitRouterVpcAttachmentState:
424
334
  @pulumi.getter(name="autoPublishRouteEnabled")
425
335
  def auto_publish_route_enabled(self) -> Optional[pulumi.Input[bool]]:
426
336
  """
427
- Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to VPCs. Valid values:
428
- - **false:** (default)
337
+ Whether the transit router is automatically published to the VPC instance. Default value: `false`. Valid values:
429
338
  """
430
339
  return pulumi.get(self, "auto_publish_route_enabled")
431
340
 
@@ -437,7 +346,7 @@ class _TransitRouterVpcAttachmentState:
437
346
  @pulumi.getter(name="cenId")
438
347
  def cen_id(self) -> Optional[pulumi.Input[str]]:
439
348
  """
440
- The ID of the Cloud Enterprise Network (CEN) instance.
349
+ The ID of the CEN.
441
350
  """
442
351
  return pulumi.get(self, "cen_id")
443
352
 
@@ -445,23 +354,11 @@ class _TransitRouterVpcAttachmentState:
445
354
  def cen_id(self, value: Optional[pulumi.Input[str]]):
446
355
  pulumi.set(self, "cen_id", value)
447
356
 
448
- @property
449
- @pulumi.getter(name="createTime")
450
- def create_time(self) -> Optional[pulumi.Input[str]]:
451
- """
452
- The creation time of the resource
453
- """
454
- return pulumi.get(self, "create_time")
455
-
456
- @create_time.setter
457
- def create_time(self, value: Optional[pulumi.Input[str]]):
458
- pulumi.set(self, "create_time", value)
459
-
460
357
  @property
461
358
  @pulumi.getter(name="dryRun")
462
359
  def dry_run(self) -> Optional[pulumi.Input[bool]]:
463
360
  """
464
- Whether to perform PreCheck on this request, including permissions and instance status verification. Value:
361
+ The dry run.
465
362
  """
466
363
  return pulumi.get(self, "dry_run")
467
364
 
@@ -469,23 +366,11 @@ class _TransitRouterVpcAttachmentState:
469
366
  def dry_run(self, value: Optional[pulumi.Input[bool]]):
470
367
  pulumi.set(self, "dry_run", value)
471
368
 
472
- @property
473
- @pulumi.getter(name="forceDelete")
474
- def force_delete(self) -> Optional[pulumi.Input[bool]]:
475
- """
476
- Whether to forcibly delete the VPC connection. The value is:
477
- """
478
- return pulumi.get(self, "force_delete")
479
-
480
- @force_delete.setter
481
- def force_delete(self, value: Optional[pulumi.Input[bool]]):
482
- pulumi.set(self, "force_delete", value)
483
-
484
369
  @property
485
370
  @pulumi.getter(name="paymentType")
486
371
  def payment_type(self) -> Optional[pulumi.Input[str]]:
487
372
  """
488
- The billing method. The default value is `PayAsYouGo`, which specifies the pay-as-you-go billing method.
373
+ The payment type of the resource. Default value: `PayAsYouGo`. Valid values: `PayAsYouGo`.
489
374
  """
490
375
  return pulumi.get(self, "payment_type")
491
376
 
@@ -535,7 +420,7 @@ class _TransitRouterVpcAttachmentState:
535
420
  @pulumi.getter
536
421
  def status(self) -> Optional[pulumi.Input[str]]:
537
422
  """
538
- Status
423
+ The associating status of the network.
539
424
  """
540
425
  return pulumi.get(self, "status")
541
426
 
@@ -547,7 +432,7 @@ class _TransitRouterVpcAttachmentState:
547
432
  @pulumi.getter
548
433
  def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
549
434
  """
550
- The tag of the resource
435
+ A mapping of tags to assign to the resource.
551
436
  """
552
437
  return pulumi.get(self, "tags")
553
438
 
@@ -559,9 +444,7 @@ class _TransitRouterVpcAttachmentState:
559
444
  @pulumi.getter(name="transitRouterAttachmentDescription")
560
445
  def transit_router_attachment_description(self) -> Optional[pulumi.Input[str]]:
561
446
  """
562
- The description of the VPC connection.
563
-
564
- The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
447
+ The description of the transit router vbr attachment.
565
448
  """
566
449
  return pulumi.get(self, "transit_router_attachment_description")
567
450
 
@@ -583,10 +466,9 @@ class _TransitRouterVpcAttachmentState:
583
466
 
584
467
  @property
585
468
  @pulumi.getter(name="transitRouterAttachmentName")
586
- @_utilities.deprecated("""Field 'transit_router_attachment_name' has been deprecated since provider version 1.230.1. New field 'transit_router_vpc_attachment_name' instead.""")
587
469
  def transit_router_attachment_name(self) -> Optional[pulumi.Input[str]]:
588
470
  """
589
- . Field 'transit_router_attachment_name' has been deprecated from provider version 1.230.1. New field 'transit_router_vpc_attachment_name' instead.
471
+ The name of the transit router vbr attachment.
590
472
  """
591
473
  return pulumi.get(self, "transit_router_attachment_name")
592
474
 
@@ -598,7 +480,7 @@ class _TransitRouterVpcAttachmentState:
598
480
  @pulumi.getter(name="transitRouterId")
599
481
  def transit_router_id(self) -> Optional[pulumi.Input[str]]:
600
482
  """
601
- The ID of the Enterprise Edition transit router.
483
+ The ID of the transit router.
602
484
  """
603
485
  return pulumi.get(self, "transit_router_id")
604
486
 
@@ -606,37 +488,11 @@ class _TransitRouterVpcAttachmentState:
606
488
  def transit_router_id(self, value: Optional[pulumi.Input[str]]):
607
489
  pulumi.set(self, "transit_router_id", value)
608
490
 
609
- @property
610
- @pulumi.getter(name="transitRouterVpcAttachmentName")
611
- def transit_router_vpc_attachment_name(self) -> Optional[pulumi.Input[str]]:
612
- """
613
- The name of the VPC connection.
614
-
615
- The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (\\_), and hyphens (-). It must start with a letter.
616
- """
617
- return pulumi.get(self, "transit_router_vpc_attachment_name")
618
-
619
- @transit_router_vpc_attachment_name.setter
620
- def transit_router_vpc_attachment_name(self, value: Optional[pulumi.Input[str]]):
621
- pulumi.set(self, "transit_router_vpc_attachment_name", value)
622
-
623
- @property
624
- @pulumi.getter(name="transitRouterVpcAttachmentOptions")
625
- def transit_router_vpc_attachment_options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
626
- """
627
- TransitRouterVpcAttachmentOptions
628
- """
629
- return pulumi.get(self, "transit_router_vpc_attachment_options")
630
-
631
- @transit_router_vpc_attachment_options.setter
632
- def transit_router_vpc_attachment_options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
633
- pulumi.set(self, "transit_router_vpc_attachment_options", value)
634
-
635
491
  @property
636
492
  @pulumi.getter(name="vpcId")
637
493
  def vpc_id(self) -> Optional[pulumi.Input[str]]:
638
494
  """
639
- The VPC ID.
495
+ The ID of the VPC.
640
496
  """
641
497
  return pulumi.get(self, "vpc_id")
642
498
 
@@ -646,23 +502,22 @@ class _TransitRouterVpcAttachmentState:
646
502
 
647
503
  @property
648
504
  @pulumi.getter(name="vpcOwnerId")
649
- def vpc_owner_id(self) -> Optional[pulumi.Input[int]]:
505
+ def vpc_owner_id(self) -> Optional[pulumi.Input[str]]:
650
506
  """
651
- VpcOwnerId
507
+ The owner id of vpc.
652
508
  """
653
509
  return pulumi.get(self, "vpc_owner_id")
654
510
 
655
511
  @vpc_owner_id.setter
656
- def vpc_owner_id(self, value: Optional[pulumi.Input[int]]):
512
+ def vpc_owner_id(self, value: Optional[pulumi.Input[str]]):
657
513
  pulumi.set(self, "vpc_owner_id", value)
658
514
 
659
515
  @property
660
516
  @pulumi.getter(name="zoneMappings")
661
517
  def zone_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TransitRouterVpcAttachmentZoneMappingArgs']]]]:
662
518
  """
663
- ZoneMappingss See `zone_mappings` below.
664
-
665
- The following arguments will be discarded. Please use new fields as soon as possible:
519
+ The list of zone mapping of the VPC. See `zone_mappings` below. **NOTE:** From version 1.184.0, `zone_mappings` can be modified.
520
+ > **NOTE:** The Zone of CEN has MasterZone and SlaveZone, first zone_id of zone_mapping need be MasterZone. We have a API to describeZones[API](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-listtransitrouteravailableresource)
666
521
  """
667
522
  return pulumi.get(self, "zone_mappings")
668
523
 
@@ -679,7 +534,6 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
679
534
  auto_publish_route_enabled: Optional[pulumi.Input[bool]] = None,
680
535
  cen_id: Optional[pulumi.Input[str]] = None,
681
536
  dry_run: Optional[pulumi.Input[bool]] = None,
682
- force_delete: Optional[pulumi.Input[bool]] = None,
683
537
  payment_type: Optional[pulumi.Input[str]] = None,
684
538
  resource_type: Optional[pulumi.Input[str]] = None,
685
539
  route_table_association_enabled: Optional[pulumi.Input[bool]] = None,
@@ -688,10 +542,8 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
688
542
  transit_router_attachment_description: Optional[pulumi.Input[str]] = None,
689
543
  transit_router_attachment_name: Optional[pulumi.Input[str]] = None,
690
544
  transit_router_id: Optional[pulumi.Input[str]] = None,
691
- transit_router_vpc_attachment_name: Optional[pulumi.Input[str]] = None,
692
- transit_router_vpc_attachment_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
693
545
  vpc_id: Optional[pulumi.Input[str]] = None,
694
- vpc_owner_id: Optional[pulumi.Input[int]] = None,
546
+ vpc_owner_id: Optional[pulumi.Input[str]] = None,
695
547
  zone_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TransitRouterVpcAttachmentZoneMappingArgs', 'TransitRouterVpcAttachmentZoneMappingArgsDict']]]]] = None,
696
548
  __props__=None):
697
549
  """
@@ -753,38 +605,29 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
753
605
 
754
606
  ## Import
755
607
 
756
- CEN Transit Router Vpc Attachment can be imported using the id, e.g.
608
+ CEN Transit Router VPC Attachment can be imported using the id, e.g.
757
609
 
758
610
  ```sh
759
- $ pulumi import alicloud:cen/transitRouterVpcAttachment:TransitRouterVpcAttachment example <id>
611
+ $ pulumi import alicloud:cen/transitRouterVpcAttachment:TransitRouterVpcAttachment example <cen_id>:<transit_router_attachment_id>
760
612
  ```
761
613
 
762
614
  :param str resource_name: The name of the resource.
763
615
  :param pulumi.ResourceOptions opts: Options for the resource.
764
- :param pulumi.Input[bool] auto_publish_route_enabled: Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to VPCs. Valid values:
765
- - **false:** (default)
766
- :param pulumi.Input[str] cen_id: The ID of the Cloud Enterprise Network (CEN) instance.
767
- :param pulumi.Input[bool] dry_run: Whether to perform PreCheck on this request, including permissions and instance status verification. Value:
768
- :param pulumi.Input[bool] force_delete: Whether to forcibly delete the VPC connection. The value is:
769
- :param pulumi.Input[str] payment_type: The billing method. The default value is `PayAsYouGo`, which specifies the pay-as-you-go billing method.
616
+ :param pulumi.Input[bool] auto_publish_route_enabled: Whether the transit router is automatically published to the VPC instance. Default value: `false`. Valid values:
617
+ :param pulumi.Input[str] cen_id: The ID of the CEN.
618
+ :param pulumi.Input[bool] dry_run: The dry run.
619
+ :param pulumi.Input[str] payment_type: The payment type of the resource. Default value: `PayAsYouGo`. Valid values: `PayAsYouGo`.
770
620
  :param pulumi.Input[str] resource_type: The resource type of the transit router vpc attachment. Default value: `VPC`. Valid values: `VPC`.
771
621
  :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.192.0. Please use the resource `cen.TransitRouterRouteTableAssociation` instead, how to use alicloud_cen_transit_router_route_table_association."
772
622
  :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.192.0. Please use the resource `cen.TransitRouterRouteTablePropagation` instead, how to use alicloud_cen_transit_router_route_table_propagation."
773
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
774
- :param pulumi.Input[str] transit_router_attachment_description: The description of the VPC connection.
775
-
776
- The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
777
- :param pulumi.Input[str] transit_router_attachment_name: . Field 'transit_router_attachment_name' has been deprecated from provider version 1.230.1. New field 'transit_router_vpc_attachment_name' instead.
778
- :param pulumi.Input[str] transit_router_id: The ID of the Enterprise Edition transit router.
779
- :param pulumi.Input[str] transit_router_vpc_attachment_name: The name of the VPC connection.
780
-
781
- The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (\\_), and hyphens (-). It must start with a letter.
782
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] transit_router_vpc_attachment_options: TransitRouterVpcAttachmentOptions
783
- :param pulumi.Input[str] vpc_id: The VPC ID.
784
- :param pulumi.Input[int] vpc_owner_id: VpcOwnerId
785
- :param pulumi.Input[Sequence[pulumi.Input[Union['TransitRouterVpcAttachmentZoneMappingArgs', 'TransitRouterVpcAttachmentZoneMappingArgsDict']]]] zone_mappings: ZoneMappingss See `zone_mappings` below.
786
-
787
- The following arguments will be discarded. Please use new fields as soon as possible:
623
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
624
+ :param pulumi.Input[str] transit_router_attachment_description: The description of the transit router vbr attachment.
625
+ :param pulumi.Input[str] transit_router_attachment_name: The name of the transit router vbr attachment.
626
+ :param pulumi.Input[str] transit_router_id: The ID of the transit router.
627
+ :param pulumi.Input[str] vpc_id: The ID of the VPC.
628
+ :param pulumi.Input[str] vpc_owner_id: The owner id of vpc.
629
+ :param pulumi.Input[Sequence[pulumi.Input[Union['TransitRouterVpcAttachmentZoneMappingArgs', 'TransitRouterVpcAttachmentZoneMappingArgsDict']]]] zone_mappings: The list of zone mapping of the VPC. See `zone_mappings` below. **NOTE:** From version 1.184.0, `zone_mappings` can be modified.
630
+ > **NOTE:** The Zone of CEN has MasterZone and SlaveZone, first zone_id of zone_mapping need be MasterZone. We have a API to describeZones[API](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-listtransitrouteravailableresource)
788
631
  """
789
632
  ...
790
633
  @overload
@@ -851,10 +694,10 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
851
694
 
852
695
  ## Import
853
696
 
854
- CEN Transit Router Vpc Attachment can be imported using the id, e.g.
697
+ CEN Transit Router VPC Attachment can be imported using the id, e.g.
855
698
 
856
699
  ```sh
857
- $ pulumi import alicloud:cen/transitRouterVpcAttachment:TransitRouterVpcAttachment example <id>
700
+ $ pulumi import alicloud:cen/transitRouterVpcAttachment:TransitRouterVpcAttachment example <cen_id>:<transit_router_attachment_id>
858
701
  ```
859
702
 
860
703
  :param str resource_name: The name of the resource.
@@ -875,7 +718,6 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
875
718
  auto_publish_route_enabled: Optional[pulumi.Input[bool]] = None,
876
719
  cen_id: Optional[pulumi.Input[str]] = None,
877
720
  dry_run: Optional[pulumi.Input[bool]] = None,
878
- force_delete: Optional[pulumi.Input[bool]] = None,
879
721
  payment_type: Optional[pulumi.Input[str]] = None,
880
722
  resource_type: Optional[pulumi.Input[str]] = None,
881
723
  route_table_association_enabled: Optional[pulumi.Input[bool]] = None,
@@ -884,10 +726,8 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
884
726
  transit_router_attachment_description: Optional[pulumi.Input[str]] = None,
885
727
  transit_router_attachment_name: Optional[pulumi.Input[str]] = None,
886
728
  transit_router_id: Optional[pulumi.Input[str]] = None,
887
- transit_router_vpc_attachment_name: Optional[pulumi.Input[str]] = None,
888
- transit_router_vpc_attachment_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
889
729
  vpc_id: Optional[pulumi.Input[str]] = None,
890
- vpc_owner_id: Optional[pulumi.Input[int]] = None,
730
+ vpc_owner_id: Optional[pulumi.Input[str]] = None,
891
731
  zone_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TransitRouterVpcAttachmentZoneMappingArgs', 'TransitRouterVpcAttachmentZoneMappingArgsDict']]]]] = None,
892
732
  __props__=None):
893
733
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -899,9 +739,10 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
899
739
  __props__ = TransitRouterVpcAttachmentArgs.__new__(TransitRouterVpcAttachmentArgs)
900
740
 
901
741
  __props__.__dict__["auto_publish_route_enabled"] = auto_publish_route_enabled
742
+ if cen_id is None and not opts.urn:
743
+ raise TypeError("Missing required property 'cen_id'")
902
744
  __props__.__dict__["cen_id"] = cen_id
903
745
  __props__.__dict__["dry_run"] = dry_run
904
- __props__.__dict__["force_delete"] = force_delete
905
746
  __props__.__dict__["payment_type"] = payment_type
906
747
  __props__.__dict__["resource_type"] = resource_type
907
748
  __props__.__dict__["route_table_association_enabled"] = route_table_association_enabled
@@ -910,8 +751,6 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
910
751
  __props__.__dict__["transit_router_attachment_description"] = transit_router_attachment_description
911
752
  __props__.__dict__["transit_router_attachment_name"] = transit_router_attachment_name
912
753
  __props__.__dict__["transit_router_id"] = transit_router_id
913
- __props__.__dict__["transit_router_vpc_attachment_name"] = transit_router_vpc_attachment_name
914
- __props__.__dict__["transit_router_vpc_attachment_options"] = transit_router_vpc_attachment_options
915
754
  if vpc_id is None and not opts.urn:
916
755
  raise TypeError("Missing required property 'vpc_id'")
917
756
  __props__.__dict__["vpc_id"] = vpc_id
@@ -919,7 +758,6 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
919
758
  if zone_mappings is None and not opts.urn:
920
759
  raise TypeError("Missing required property 'zone_mappings'")
921
760
  __props__.__dict__["zone_mappings"] = zone_mappings
922
- __props__.__dict__["create_time"] = None
923
761
  __props__.__dict__["status"] = None
924
762
  __props__.__dict__["transit_router_attachment_id"] = None
925
763
  super(TransitRouterVpcAttachment, __self__).__init__(
@@ -934,9 +772,7 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
934
772
  opts: Optional[pulumi.ResourceOptions] = None,
935
773
  auto_publish_route_enabled: Optional[pulumi.Input[bool]] = None,
936
774
  cen_id: Optional[pulumi.Input[str]] = None,
937
- create_time: Optional[pulumi.Input[str]] = None,
938
775
  dry_run: Optional[pulumi.Input[bool]] = None,
939
- force_delete: Optional[pulumi.Input[bool]] = None,
940
776
  payment_type: Optional[pulumi.Input[str]] = None,
941
777
  resource_type: Optional[pulumi.Input[str]] = None,
942
778
  route_table_association_enabled: Optional[pulumi.Input[bool]] = None,
@@ -947,10 +783,8 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
947
783
  transit_router_attachment_id: Optional[pulumi.Input[str]] = None,
948
784
  transit_router_attachment_name: Optional[pulumi.Input[str]] = None,
949
785
  transit_router_id: Optional[pulumi.Input[str]] = None,
950
- transit_router_vpc_attachment_name: Optional[pulumi.Input[str]] = None,
951
- transit_router_vpc_attachment_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
952
786
  vpc_id: Optional[pulumi.Input[str]] = None,
953
- vpc_owner_id: Optional[pulumi.Input[int]] = None,
787
+ vpc_owner_id: Optional[pulumi.Input[str]] = None,
954
788
  zone_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TransitRouterVpcAttachmentZoneMappingArgs', 'TransitRouterVpcAttachmentZoneMappingArgsDict']]]]] = None) -> 'TransitRouterVpcAttachment':
955
789
  """
956
790
  Get an existing TransitRouterVpcAttachment resource's state with the given name, id, and optional extra
@@ -959,33 +793,23 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
959
793
  :param str resource_name: The unique name of the resulting resource.
960
794
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
961
795
  :param pulumi.ResourceOptions opts: Options for the resource.
962
- :param pulumi.Input[bool] auto_publish_route_enabled: Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to VPCs. Valid values:
963
- - **false:** (default)
964
- :param pulumi.Input[str] cen_id: The ID of the Cloud Enterprise Network (CEN) instance.
965
- :param pulumi.Input[str] create_time: The creation time of the resource
966
- :param pulumi.Input[bool] dry_run: Whether to perform PreCheck on this request, including permissions and instance status verification. Value:
967
- :param pulumi.Input[bool] force_delete: Whether to forcibly delete the VPC connection. The value is:
968
- :param pulumi.Input[str] payment_type: The billing method. The default value is `PayAsYouGo`, which specifies the pay-as-you-go billing method.
796
+ :param pulumi.Input[bool] auto_publish_route_enabled: Whether the transit router is automatically published to the VPC instance. Default value: `false`. Valid values:
797
+ :param pulumi.Input[str] cen_id: The ID of the CEN.
798
+ :param pulumi.Input[bool] dry_run: The dry run.
799
+ :param pulumi.Input[str] payment_type: The payment type of the resource. Default value: `PayAsYouGo`. Valid values: `PayAsYouGo`.
969
800
  :param pulumi.Input[str] resource_type: The resource type of the transit router vpc attachment. Default value: `VPC`. Valid values: `VPC`.
970
801
  :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.192.0. Please use the resource `cen.TransitRouterRouteTableAssociation` instead, how to use alicloud_cen_transit_router_route_table_association."
971
802
  :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.192.0. Please use the resource `cen.TransitRouterRouteTablePropagation` instead, how to use alicloud_cen_transit_router_route_table_propagation."
972
- :param pulumi.Input[str] status: Status
973
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tag of the resource
974
- :param pulumi.Input[str] transit_router_attachment_description: The description of the VPC connection.
975
-
976
- The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
803
+ :param pulumi.Input[str] status: The associating status of the network.
804
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: A mapping of tags to assign to the resource.
805
+ :param pulumi.Input[str] transit_router_attachment_description: The description of the transit router vbr attachment.
977
806
  :param pulumi.Input[str] transit_router_attachment_id: The ID of the Transit Router Attachment.
978
- :param pulumi.Input[str] transit_router_attachment_name: . Field 'transit_router_attachment_name' has been deprecated from provider version 1.230.1. New field 'transit_router_vpc_attachment_name' instead.
979
- :param pulumi.Input[str] transit_router_id: The ID of the Enterprise Edition transit router.
980
- :param pulumi.Input[str] transit_router_vpc_attachment_name: The name of the VPC connection.
981
-
982
- The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (\\_), and hyphens (-). It must start with a letter.
983
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] transit_router_vpc_attachment_options: TransitRouterVpcAttachmentOptions
984
- :param pulumi.Input[str] vpc_id: The VPC ID.
985
- :param pulumi.Input[int] vpc_owner_id: VpcOwnerId
986
- :param pulumi.Input[Sequence[pulumi.Input[Union['TransitRouterVpcAttachmentZoneMappingArgs', 'TransitRouterVpcAttachmentZoneMappingArgsDict']]]] zone_mappings: ZoneMappingss See `zone_mappings` below.
987
-
988
- The following arguments will be discarded. Please use new fields as soon as possible:
807
+ :param pulumi.Input[str] transit_router_attachment_name: The name of the transit router vbr attachment.
808
+ :param pulumi.Input[str] transit_router_id: The ID of the transit router.
809
+ :param pulumi.Input[str] vpc_id: The ID of the VPC.
810
+ :param pulumi.Input[str] vpc_owner_id: The owner id of vpc.
811
+ :param pulumi.Input[Sequence[pulumi.Input[Union['TransitRouterVpcAttachmentZoneMappingArgs', 'TransitRouterVpcAttachmentZoneMappingArgsDict']]]] zone_mappings: The list of zone mapping of the VPC. See `zone_mappings` below. **NOTE:** From version 1.184.0, `zone_mappings` can be modified.
812
+ > **NOTE:** The Zone of CEN has MasterZone and SlaveZone, first zone_id of zone_mapping need be MasterZone. We have a API to describeZones[API](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-listtransitrouteravailableresource)
989
813
  """
990
814
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
991
815
 
@@ -993,9 +817,7 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
993
817
 
994
818
  __props__.__dict__["auto_publish_route_enabled"] = auto_publish_route_enabled
995
819
  __props__.__dict__["cen_id"] = cen_id
996
- __props__.__dict__["create_time"] = create_time
997
820
  __props__.__dict__["dry_run"] = dry_run
998
- __props__.__dict__["force_delete"] = force_delete
999
821
  __props__.__dict__["payment_type"] = payment_type
1000
822
  __props__.__dict__["resource_type"] = resource_type
1001
823
  __props__.__dict__["route_table_association_enabled"] = route_table_association_enabled
@@ -1006,8 +828,6 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
1006
828
  __props__.__dict__["transit_router_attachment_id"] = transit_router_attachment_id
1007
829
  __props__.__dict__["transit_router_attachment_name"] = transit_router_attachment_name
1008
830
  __props__.__dict__["transit_router_id"] = transit_router_id
1009
- __props__.__dict__["transit_router_vpc_attachment_name"] = transit_router_vpc_attachment_name
1010
- __props__.__dict__["transit_router_vpc_attachment_options"] = transit_router_vpc_attachment_options
1011
831
  __props__.__dict__["vpc_id"] = vpc_id
1012
832
  __props__.__dict__["vpc_owner_id"] = vpc_owner_id
1013
833
  __props__.__dict__["zone_mappings"] = zone_mappings
@@ -1017,48 +837,31 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
1017
837
  @pulumi.getter(name="autoPublishRouteEnabled")
1018
838
  def auto_publish_route_enabled(self) -> pulumi.Output[Optional[bool]]:
1019
839
  """
1020
- Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to VPCs. Valid values:
1021
- - **false:** (default)
840
+ Whether the transit router is automatically published to the VPC instance. Default value: `false`. Valid values:
1022
841
  """
1023
842
  return pulumi.get(self, "auto_publish_route_enabled")
1024
843
 
1025
844
  @property
1026
845
  @pulumi.getter(name="cenId")
1027
- def cen_id(self) -> pulumi.Output[Optional[str]]:
846
+ def cen_id(self) -> pulumi.Output[str]:
1028
847
  """
1029
- The ID of the Cloud Enterprise Network (CEN) instance.
848
+ The ID of the CEN.
1030
849
  """
1031
850
  return pulumi.get(self, "cen_id")
1032
851
 
1033
- @property
1034
- @pulumi.getter(name="createTime")
1035
- def create_time(self) -> pulumi.Output[str]:
1036
- """
1037
- The creation time of the resource
1038
- """
1039
- return pulumi.get(self, "create_time")
1040
-
1041
852
  @property
1042
853
  @pulumi.getter(name="dryRun")
1043
854
  def dry_run(self) -> pulumi.Output[Optional[bool]]:
1044
855
  """
1045
- Whether to perform PreCheck on this request, including permissions and instance status verification. Value:
856
+ The dry run.
1046
857
  """
1047
858
  return pulumi.get(self, "dry_run")
1048
859
 
1049
- @property
1050
- @pulumi.getter(name="forceDelete")
1051
- def force_delete(self) -> pulumi.Output[Optional[bool]]:
1052
- """
1053
- Whether to forcibly delete the VPC connection. The value is:
1054
- """
1055
- return pulumi.get(self, "force_delete")
1056
-
1057
860
  @property
1058
861
  @pulumi.getter(name="paymentType")
1059
862
  def payment_type(self) -> pulumi.Output[str]:
1060
863
  """
1061
- The billing method. The default value is `PayAsYouGo`, which specifies the pay-as-you-go billing method.
864
+ The payment type of the resource. Default value: `PayAsYouGo`. Valid values: `PayAsYouGo`.
1062
865
  """
1063
866
  return pulumi.get(self, "payment_type")
1064
867
 
@@ -1092,7 +895,7 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
1092
895
  @pulumi.getter
1093
896
  def status(self) -> pulumi.Output[str]:
1094
897
  """
1095
- Status
898
+ The associating status of the network.
1096
899
  """
1097
900
  return pulumi.get(self, "status")
1098
901
 
@@ -1100,7 +903,7 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
1100
903
  @pulumi.getter
1101
904
  def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
1102
905
  """
1103
- The tag of the resource
906
+ A mapping of tags to assign to the resource.
1104
907
  """
1105
908
  return pulumi.get(self, "tags")
1106
909
 
@@ -1108,9 +911,7 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
1108
911
  @pulumi.getter(name="transitRouterAttachmentDescription")
1109
912
  def transit_router_attachment_description(self) -> pulumi.Output[Optional[str]]:
1110
913
  """
1111
- The description of the VPC connection.
1112
-
1113
- The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with `http://` or `https://`.
914
+ The description of the transit router vbr attachment.
1114
915
  """
1115
916
  return pulumi.get(self, "transit_router_attachment_description")
1116
917
 
@@ -1124,10 +925,9 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
1124
925
 
1125
926
  @property
1126
927
  @pulumi.getter(name="transitRouterAttachmentName")
1127
- @_utilities.deprecated("""Field 'transit_router_attachment_name' has been deprecated since provider version 1.230.1. New field 'transit_router_vpc_attachment_name' instead.""")
1128
- def transit_router_attachment_name(self) -> pulumi.Output[str]:
928
+ def transit_router_attachment_name(self) -> pulumi.Output[Optional[str]]:
1129
929
  """
1130
- . Field 'transit_router_attachment_name' has been deprecated from provider version 1.230.1. New field 'transit_router_vpc_attachment_name' instead.
930
+ The name of the transit router vbr attachment.
1131
931
  """
1132
932
  return pulumi.get(self, "transit_router_attachment_name")
1133
933
 
@@ -1135,41 +935,23 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
1135
935
  @pulumi.getter(name="transitRouterId")
1136
936
  def transit_router_id(self) -> pulumi.Output[str]:
1137
937
  """
1138
- The ID of the Enterprise Edition transit router.
938
+ The ID of the transit router.
1139
939
  """
1140
940
  return pulumi.get(self, "transit_router_id")
1141
941
 
1142
- @property
1143
- @pulumi.getter(name="transitRouterVpcAttachmentName")
1144
- def transit_router_vpc_attachment_name(self) -> pulumi.Output[str]:
1145
- """
1146
- The name of the VPC connection.
1147
-
1148
- The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (\\_), and hyphens (-). It must start with a letter.
1149
- """
1150
- return pulumi.get(self, "transit_router_vpc_attachment_name")
1151
-
1152
- @property
1153
- @pulumi.getter(name="transitRouterVpcAttachmentOptions")
1154
- def transit_router_vpc_attachment_options(self) -> pulumi.Output[Mapping[str, str]]:
1155
- """
1156
- TransitRouterVpcAttachmentOptions
1157
- """
1158
- return pulumi.get(self, "transit_router_vpc_attachment_options")
1159
-
1160
942
  @property
1161
943
  @pulumi.getter(name="vpcId")
1162
944
  def vpc_id(self) -> pulumi.Output[str]:
1163
945
  """
1164
- The VPC ID.
946
+ The ID of the VPC.
1165
947
  """
1166
948
  return pulumi.get(self, "vpc_id")
1167
949
 
1168
950
  @property
1169
951
  @pulumi.getter(name="vpcOwnerId")
1170
- def vpc_owner_id(self) -> pulumi.Output[int]:
952
+ def vpc_owner_id(self) -> pulumi.Output[str]:
1171
953
  """
1172
- VpcOwnerId
954
+ The owner id of vpc.
1173
955
  """
1174
956
  return pulumi.get(self, "vpc_owner_id")
1175
957
 
@@ -1177,9 +959,8 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
1177
959
  @pulumi.getter(name="zoneMappings")
1178
960
  def zone_mappings(self) -> pulumi.Output[Sequence['outputs.TransitRouterVpcAttachmentZoneMapping']]:
1179
961
  """
1180
- ZoneMappingss See `zone_mappings` below.
1181
-
1182
- The following arguments will be discarded. Please use new fields as soon as possible:
962
+ The list of zone mapping of the VPC. See `zone_mappings` below. **NOTE:** From version 1.184.0, `zone_mappings` can be modified.
963
+ > **NOTE:** The Zone of CEN has MasterZone and SlaveZone, first zone_id of zone_mapping need be MasterZone. We have a API to describeZones[API](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-listtransitrouteravailableresource)
1183
964
  """
1184
965
  return pulumi.get(self, "zone_mappings")
1185
966