pulumi-alicloud 3.63.0a1726291447__py3-none-any.whl → 3.63.0a1726828180__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 (40) hide show
  1. pulumi_alicloud/amqp/binding.py +30 -36
  2. pulumi_alicloud/cen/_inputs.py +180 -14
  3. pulumi_alicloud/cen/outputs.py +173 -12
  4. pulumi_alicloud/cen/traffic_marking_policy.py +116 -53
  5. pulumi_alicloud/cen/transit_router_vpc_attachment.py +338 -119
  6. pulumi_alicloud/cr/chart_namespace.py +14 -6
  7. pulumi_alicloud/cr/endpoint_acl_policy.py +10 -2
  8. pulumi_alicloud/cr/namespace.py +10 -2
  9. pulumi_alicloud/cs/registry_enterprise_sync_rule.py +10 -10
  10. pulumi_alicloud/ddos/bgp_ip.py +1 -1
  11. pulumi_alicloud/ecs/_inputs.py +28 -0
  12. pulumi_alicloud/ecs/outputs.py +20 -0
  13. pulumi_alicloud/emrv2/_inputs.py +12 -12
  14. pulumi_alicloud/emrv2/outputs.py +12 -12
  15. pulumi_alicloud/ens/_inputs.py +50 -2
  16. pulumi_alicloud/ens/instance.py +428 -184
  17. pulumi_alicloud/ens/outputs.py +57 -2
  18. pulumi_alicloud/expressconnect/physical_connection.py +321 -185
  19. pulumi_alicloud/fc/trigger.py +22 -24
  20. pulumi_alicloud/ga/endpoint_group.py +68 -14
  21. pulumi_alicloud/mongodb/instance.py +94 -0
  22. pulumi_alicloud/nlb/_inputs.py +120 -64
  23. pulumi_alicloud/nlb/get_listeners.py +32 -2
  24. pulumi_alicloud/nlb/get_server_group_server_attachments.py +8 -2
  25. pulumi_alicloud/nlb/listener.py +315 -245
  26. pulumi_alicloud/nlb/listener_additional_certificate_attachment.py +25 -25
  27. pulumi_alicloud/nlb/load_balancer.py +181 -212
  28. pulumi_alicloud/nlb/load_balancer_security_group_attachment.py +29 -39
  29. pulumi_alicloud/nlb/loadbalancer_common_bandwidth_package_attachment.py +22 -18
  30. pulumi_alicloud/nlb/outputs.py +122 -66
  31. pulumi_alicloud/nlb/security_policy.py +53 -25
  32. pulumi_alicloud/nlb/server_group.py +196 -133
  33. pulumi_alicloud/ocean/base_instance.py +498 -163
  34. pulumi_alicloud/pulumi-plugin.json +1 -1
  35. pulumi_alicloud/servicemesh/extension_provider.py +2 -2
  36. pulumi_alicloud/vpc/common_bandwith_package_attachment.py +2 -2
  37. {pulumi_alicloud-3.63.0a1726291447.dist-info → pulumi_alicloud-3.63.0a1726828180.dist-info}/METADATA +1 -1
  38. {pulumi_alicloud-3.63.0a1726291447.dist-info → pulumi_alicloud-3.63.0a1726828180.dist-info}/RECORD +40 -40
  39. {pulumi_alicloud-3.63.0a1726291447.dist-info → pulumi_alicloud-3.63.0a1726828180.dist-info}/WHEEL +1 -1
  40. {pulumi_alicloud-3.63.0a1726291447.dist-info → pulumi_alicloud-3.63.0a1726828180.dist-info}/top_level.txt +0 -0
@@ -16,11 +16,12 @@ __all__ = ['TransitRouterVpcAttachmentArgs', 'TransitRouterVpcAttachment']
16
16
  @pulumi.input_type
17
17
  class TransitRouterVpcAttachmentArgs:
18
18
  def __init__(__self__, *,
19
- cen_id: pulumi.Input[str],
20
19
  vpc_id: pulumi.Input[str],
21
20
  zone_mappings: pulumi.Input[Sequence[pulumi.Input['TransitRouterVpcAttachmentZoneMappingArgs']]],
22
21
  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,
24
25
  payment_type: Optional[pulumi.Input[str]] = None,
25
26
  resource_type: Optional[pulumi.Input[str]] = None,
26
27
  route_table_association_enabled: Optional[pulumi.Input[bool]] = None,
@@ -29,32 +30,46 @@ class TransitRouterVpcAttachmentArgs:
29
30
  transit_router_attachment_description: Optional[pulumi.Input[str]] = None,
30
31
  transit_router_attachment_name: Optional[pulumi.Input[str]] = None,
31
32
  transit_router_id: Optional[pulumi.Input[str]] = None,
32
- vpc_owner_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):
33
36
  """
34
37
  The set of arguments for constructing a TransitRouterVpcAttachment resource.
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`.
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.
42
48
  :param pulumi.Input[str] resource_type: The resource type of the transit router vpc attachment. Default value: `VPC`. Valid values: `VPC`.
43
49
  :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."
44
50
  :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."
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.
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
50
62
  """
51
- pulumi.set(__self__, "cen_id", cen_id)
52
63
  pulumi.set(__self__, "vpc_id", vpc_id)
53
64
  pulumi.set(__self__, "zone_mappings", zone_mappings)
54
65
  if auto_publish_route_enabled is not None:
55
66
  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)
56
69
  if dry_run is not None:
57
70
  pulumi.set(__self__, "dry_run", dry_run)
71
+ if force_delete is not None:
72
+ pulumi.set(__self__, "force_delete", force_delete)
58
73
  if payment_type is not None:
59
74
  pulumi.set(__self__, "payment_type", payment_type)
60
75
  if resource_type is not None:
@@ -73,30 +88,25 @@ class TransitRouterVpcAttachmentArgs:
73
88
  pulumi.set(__self__, "tags", tags)
74
89
  if transit_router_attachment_description is not None:
75
90
  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.""")
76
94
  if transit_router_attachment_name is not None:
77
95
  pulumi.set(__self__, "transit_router_attachment_name", transit_router_attachment_name)
78
96
  if transit_router_id is not None:
79
97
  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)
80
102
  if vpc_owner_id is not None:
81
103
  pulumi.set(__self__, "vpc_owner_id", vpc_owner_id)
82
104
 
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
-
95
105
  @property
96
106
  @pulumi.getter(name="vpcId")
97
107
  def vpc_id(self) -> pulumi.Input[str]:
98
108
  """
99
- The ID of the VPC.
109
+ The VPC ID.
100
110
  """
101
111
  return pulumi.get(self, "vpc_id")
102
112
 
@@ -108,8 +118,9 @@ class TransitRouterVpcAttachmentArgs:
108
118
  @pulumi.getter(name="zoneMappings")
109
119
  def zone_mappings(self) -> pulumi.Input[Sequence[pulumi.Input['TransitRouterVpcAttachmentZoneMappingArgs']]]:
110
120
  """
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)
121
+ ZoneMappingss See `zone_mappings` below.
122
+
123
+ The following arguments will be discarded. Please use new fields as soon as possible:
113
124
  """
114
125
  return pulumi.get(self, "zone_mappings")
115
126
 
@@ -121,7 +132,8 @@ class TransitRouterVpcAttachmentArgs:
121
132
  @pulumi.getter(name="autoPublishRouteEnabled")
122
133
  def auto_publish_route_enabled(self) -> Optional[pulumi.Input[bool]]:
123
134
  """
124
- Whether the transit router is automatically published to the VPC instance. Default value: `false`. Valid values:
135
+ Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to VPCs. Valid values:
136
+ - **false:** (default)
125
137
  """
126
138
  return pulumi.get(self, "auto_publish_route_enabled")
127
139
 
@@ -129,11 +141,23 @@ class TransitRouterVpcAttachmentArgs:
129
141
  def auto_publish_route_enabled(self, value: Optional[pulumi.Input[bool]]):
130
142
  pulumi.set(self, "auto_publish_route_enabled", value)
131
143
 
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
+
132
156
  @property
133
157
  @pulumi.getter(name="dryRun")
134
158
  def dry_run(self) -> Optional[pulumi.Input[bool]]:
135
159
  """
136
- The dry run.
160
+ Whether to perform PreCheck on this request, including permissions and instance status verification. Value:
137
161
  """
138
162
  return pulumi.get(self, "dry_run")
139
163
 
@@ -141,11 +165,23 @@ class TransitRouterVpcAttachmentArgs:
141
165
  def dry_run(self, value: Optional[pulumi.Input[bool]]):
142
166
  pulumi.set(self, "dry_run", value)
143
167
 
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
+
144
180
  @property
145
181
  @pulumi.getter(name="paymentType")
146
182
  def payment_type(self) -> Optional[pulumi.Input[str]]:
147
183
  """
148
- The payment type of the resource. Default value: `PayAsYouGo`. Valid values: `PayAsYouGo`.
184
+ The billing method. The default value is `PayAsYouGo`, which specifies the pay-as-you-go billing method.
149
185
  """
150
186
  return pulumi.get(self, "payment_type")
151
187
 
@@ -195,7 +231,7 @@ class TransitRouterVpcAttachmentArgs:
195
231
  @pulumi.getter
196
232
  def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
197
233
  """
198
- A mapping of tags to assign to the resource.
234
+ The tag of the resource
199
235
  """
200
236
  return pulumi.get(self, "tags")
201
237
 
@@ -207,7 +243,9 @@ class TransitRouterVpcAttachmentArgs:
207
243
  @pulumi.getter(name="transitRouterAttachmentDescription")
208
244
  def transit_router_attachment_description(self) -> Optional[pulumi.Input[str]]:
209
245
  """
210
- The description of the transit router vbr attachment.
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://`.
211
249
  """
212
250
  return pulumi.get(self, "transit_router_attachment_description")
213
251
 
@@ -217,9 +255,10 @@ class TransitRouterVpcAttachmentArgs:
217
255
 
218
256
  @property
219
257
  @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.""")
220
259
  def transit_router_attachment_name(self) -> Optional[pulumi.Input[str]]:
221
260
  """
222
- The name of the transit router vbr attachment.
261
+ . Field 'transit_router_attachment_name' has been deprecated from provider version 1.230.1. New field 'transit_router_vpc_attachment_name' instead.
223
262
  """
224
263
  return pulumi.get(self, "transit_router_attachment_name")
225
264
 
@@ -231,7 +270,7 @@ class TransitRouterVpcAttachmentArgs:
231
270
  @pulumi.getter(name="transitRouterId")
232
271
  def transit_router_id(self) -> Optional[pulumi.Input[str]]:
233
272
  """
234
- The ID of the transit router.
273
+ The ID of the Enterprise Edition transit router.
235
274
  """
236
275
  return pulumi.get(self, "transit_router_id")
237
276
 
@@ -239,16 +278,42 @@ class TransitRouterVpcAttachmentArgs:
239
278
  def transit_router_id(self, value: Optional[pulumi.Input[str]]):
240
279
  pulumi.set(self, "transit_router_id", value)
241
280
 
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
+
242
307
  @property
243
308
  @pulumi.getter(name="vpcOwnerId")
244
- def vpc_owner_id(self) -> Optional[pulumi.Input[str]]:
309
+ def vpc_owner_id(self) -> Optional[pulumi.Input[int]]:
245
310
  """
246
- The owner id of vpc.
311
+ VpcOwnerId
247
312
  """
248
313
  return pulumi.get(self, "vpc_owner_id")
249
314
 
250
315
  @vpc_owner_id.setter
251
- def vpc_owner_id(self, value: Optional[pulumi.Input[str]]):
316
+ def vpc_owner_id(self, value: Optional[pulumi.Input[int]]):
252
317
  pulumi.set(self, "vpc_owner_id", value)
253
318
 
254
319
 
@@ -257,7 +322,9 @@ class _TransitRouterVpcAttachmentState:
257
322
  def __init__(__self__, *,
258
323
  auto_publish_route_enabled: Optional[pulumi.Input[bool]] = None,
259
324
  cen_id: Optional[pulumi.Input[str]] = None,
325
+ create_time: Optional[pulumi.Input[str]] = None,
260
326
  dry_run: Optional[pulumi.Input[bool]] = None,
327
+ force_delete: Optional[pulumi.Input[bool]] = None,
261
328
  payment_type: Optional[pulumi.Input[str]] = None,
262
329
  resource_type: Optional[pulumi.Input[str]] = None,
263
330
  route_table_association_enabled: Optional[pulumi.Input[bool]] = None,
@@ -268,35 +335,51 @@ class _TransitRouterVpcAttachmentState:
268
335
  transit_router_attachment_id: Optional[pulumi.Input[str]] = None,
269
336
  transit_router_attachment_name: Optional[pulumi.Input[str]] = None,
270
337
  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,
271
340
  vpc_id: Optional[pulumi.Input[str]] = None,
272
- vpc_owner_id: Optional[pulumi.Input[str]] = None,
341
+ vpc_owner_id: Optional[pulumi.Input[int]] = None,
273
342
  zone_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['TransitRouterVpcAttachmentZoneMappingArgs']]]] = None):
274
343
  """
275
344
  Input properties used for looking up and filtering TransitRouterVpcAttachment resources.
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`.
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.
280
352
  :param pulumi.Input[str] resource_type: The resource type of the transit router vpc attachment. Default value: `VPC`. Valid values: `VPC`.
281
353
  :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."
282
354
  :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."
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.
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://`.
286
360
  :param pulumi.Input[str] transit_router_attachment_id: The ID of the Transit Router Attachment.
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)
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:
293
372
  """
294
373
  if auto_publish_route_enabled is not None:
295
374
  pulumi.set(__self__, "auto_publish_route_enabled", auto_publish_route_enabled)
296
375
  if cen_id is not None:
297
376
  pulumi.set(__self__, "cen_id", cen_id)
377
+ if create_time is not None:
378
+ pulumi.set(__self__, "create_time", create_time)
298
379
  if dry_run is not None:
299
380
  pulumi.set(__self__, "dry_run", dry_run)
381
+ if force_delete is not None:
382
+ pulumi.set(__self__, "force_delete", force_delete)
300
383
  if payment_type is not None:
301
384
  pulumi.set(__self__, "payment_type", payment_type)
302
385
  if resource_type is not None:
@@ -319,10 +402,17 @@ class _TransitRouterVpcAttachmentState:
319
402
  pulumi.set(__self__, "transit_router_attachment_description", transit_router_attachment_description)
320
403
  if transit_router_attachment_id is not None:
321
404
  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.""")
322
408
  if transit_router_attachment_name is not None:
323
409
  pulumi.set(__self__, "transit_router_attachment_name", transit_router_attachment_name)
324
410
  if transit_router_id is not None:
325
411
  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)
326
416
  if vpc_id is not None:
327
417
  pulumi.set(__self__, "vpc_id", vpc_id)
328
418
  if vpc_owner_id is not None:
@@ -334,7 +424,8 @@ class _TransitRouterVpcAttachmentState:
334
424
  @pulumi.getter(name="autoPublishRouteEnabled")
335
425
  def auto_publish_route_enabled(self) -> Optional[pulumi.Input[bool]]:
336
426
  """
337
- Whether the transit router is automatically published to the VPC instance. Default value: `false`. Valid values:
427
+ Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to VPCs. Valid values:
428
+ - **false:** (default)
338
429
  """
339
430
  return pulumi.get(self, "auto_publish_route_enabled")
340
431
 
@@ -346,7 +437,7 @@ class _TransitRouterVpcAttachmentState:
346
437
  @pulumi.getter(name="cenId")
347
438
  def cen_id(self) -> Optional[pulumi.Input[str]]:
348
439
  """
349
- The ID of the CEN.
440
+ The ID of the Cloud Enterprise Network (CEN) instance.
350
441
  """
351
442
  return pulumi.get(self, "cen_id")
352
443
 
@@ -354,11 +445,23 @@ class _TransitRouterVpcAttachmentState:
354
445
  def cen_id(self, value: Optional[pulumi.Input[str]]):
355
446
  pulumi.set(self, "cen_id", value)
356
447
 
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
+
357
460
  @property
358
461
  @pulumi.getter(name="dryRun")
359
462
  def dry_run(self) -> Optional[pulumi.Input[bool]]:
360
463
  """
361
- The dry run.
464
+ Whether to perform PreCheck on this request, including permissions and instance status verification. Value:
362
465
  """
363
466
  return pulumi.get(self, "dry_run")
364
467
 
@@ -366,11 +469,23 @@ class _TransitRouterVpcAttachmentState:
366
469
  def dry_run(self, value: Optional[pulumi.Input[bool]]):
367
470
  pulumi.set(self, "dry_run", value)
368
471
 
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
+
369
484
  @property
370
485
  @pulumi.getter(name="paymentType")
371
486
  def payment_type(self) -> Optional[pulumi.Input[str]]:
372
487
  """
373
- The payment type of the resource. Default value: `PayAsYouGo`. Valid values: `PayAsYouGo`.
488
+ The billing method. The default value is `PayAsYouGo`, which specifies the pay-as-you-go billing method.
374
489
  """
375
490
  return pulumi.get(self, "payment_type")
376
491
 
@@ -420,7 +535,7 @@ class _TransitRouterVpcAttachmentState:
420
535
  @pulumi.getter
421
536
  def status(self) -> Optional[pulumi.Input[str]]:
422
537
  """
423
- The associating status of the network.
538
+ Status
424
539
  """
425
540
  return pulumi.get(self, "status")
426
541
 
@@ -432,7 +547,7 @@ class _TransitRouterVpcAttachmentState:
432
547
  @pulumi.getter
433
548
  def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
434
549
  """
435
- A mapping of tags to assign to the resource.
550
+ The tag of the resource
436
551
  """
437
552
  return pulumi.get(self, "tags")
438
553
 
@@ -444,7 +559,9 @@ class _TransitRouterVpcAttachmentState:
444
559
  @pulumi.getter(name="transitRouterAttachmentDescription")
445
560
  def transit_router_attachment_description(self) -> Optional[pulumi.Input[str]]:
446
561
  """
447
- The description of the transit router vbr attachment.
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://`.
448
565
  """
449
566
  return pulumi.get(self, "transit_router_attachment_description")
450
567
 
@@ -466,9 +583,10 @@ class _TransitRouterVpcAttachmentState:
466
583
 
467
584
  @property
468
585
  @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.""")
469
587
  def transit_router_attachment_name(self) -> Optional[pulumi.Input[str]]:
470
588
  """
471
- The name of the transit router vbr attachment.
589
+ . Field 'transit_router_attachment_name' has been deprecated from provider version 1.230.1. New field 'transit_router_vpc_attachment_name' instead.
472
590
  """
473
591
  return pulumi.get(self, "transit_router_attachment_name")
474
592
 
@@ -480,7 +598,7 @@ class _TransitRouterVpcAttachmentState:
480
598
  @pulumi.getter(name="transitRouterId")
481
599
  def transit_router_id(self) -> Optional[pulumi.Input[str]]:
482
600
  """
483
- The ID of the transit router.
601
+ The ID of the Enterprise Edition transit router.
484
602
  """
485
603
  return pulumi.get(self, "transit_router_id")
486
604
 
@@ -488,11 +606,37 @@ class _TransitRouterVpcAttachmentState:
488
606
  def transit_router_id(self, value: Optional[pulumi.Input[str]]):
489
607
  pulumi.set(self, "transit_router_id", value)
490
608
 
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
+
491
635
  @property
492
636
  @pulumi.getter(name="vpcId")
493
637
  def vpc_id(self) -> Optional[pulumi.Input[str]]:
494
638
  """
495
- The ID of the VPC.
639
+ The VPC ID.
496
640
  """
497
641
  return pulumi.get(self, "vpc_id")
498
642
 
@@ -502,22 +646,23 @@ class _TransitRouterVpcAttachmentState:
502
646
 
503
647
  @property
504
648
  @pulumi.getter(name="vpcOwnerId")
505
- def vpc_owner_id(self) -> Optional[pulumi.Input[str]]:
649
+ def vpc_owner_id(self) -> Optional[pulumi.Input[int]]:
506
650
  """
507
- The owner id of vpc.
651
+ VpcOwnerId
508
652
  """
509
653
  return pulumi.get(self, "vpc_owner_id")
510
654
 
511
655
  @vpc_owner_id.setter
512
- def vpc_owner_id(self, value: Optional[pulumi.Input[str]]):
656
+ def vpc_owner_id(self, value: Optional[pulumi.Input[int]]):
513
657
  pulumi.set(self, "vpc_owner_id", value)
514
658
 
515
659
  @property
516
660
  @pulumi.getter(name="zoneMappings")
517
661
  def zone_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TransitRouterVpcAttachmentZoneMappingArgs']]]]:
518
662
  """
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)
663
+ ZoneMappingss See `zone_mappings` below.
664
+
665
+ The following arguments will be discarded. Please use new fields as soon as possible:
521
666
  """
522
667
  return pulumi.get(self, "zone_mappings")
523
668
 
@@ -534,6 +679,7 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
534
679
  auto_publish_route_enabled: Optional[pulumi.Input[bool]] = None,
535
680
  cen_id: Optional[pulumi.Input[str]] = None,
536
681
  dry_run: Optional[pulumi.Input[bool]] = None,
682
+ force_delete: Optional[pulumi.Input[bool]] = None,
537
683
  payment_type: Optional[pulumi.Input[str]] = None,
538
684
  resource_type: Optional[pulumi.Input[str]] = None,
539
685
  route_table_association_enabled: Optional[pulumi.Input[bool]] = None,
@@ -542,8 +688,10 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
542
688
  transit_router_attachment_description: Optional[pulumi.Input[str]] = None,
543
689
  transit_router_attachment_name: Optional[pulumi.Input[str]] = None,
544
690
  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,
545
693
  vpc_id: Optional[pulumi.Input[str]] = None,
546
- vpc_owner_id: Optional[pulumi.Input[str]] = None,
694
+ vpc_owner_id: Optional[pulumi.Input[int]] = None,
547
695
  zone_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TransitRouterVpcAttachmentZoneMappingArgs', 'TransitRouterVpcAttachmentZoneMappingArgsDict']]]]] = None,
548
696
  __props__=None):
549
697
  """
@@ -605,29 +753,38 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
605
753
 
606
754
  ## Import
607
755
 
608
- CEN Transit Router VPC Attachment can be imported using the id, e.g.
756
+ CEN Transit Router Vpc Attachment can be imported using the id, e.g.
609
757
 
610
758
  ```sh
611
- $ pulumi import alicloud:cen/transitRouterVpcAttachment:TransitRouterVpcAttachment example <cen_id>:<transit_router_attachment_id>
759
+ $ pulumi import alicloud:cen/transitRouterVpcAttachment:TransitRouterVpcAttachment example <id>
612
760
  ```
613
761
 
614
762
  :param str resource_name: The name of the resource.
615
763
  :param pulumi.ResourceOptions opts: Options for the resource.
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`.
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.
620
770
  :param pulumi.Input[str] resource_type: The resource type of the transit router vpc attachment. Default value: `VPC`. Valid values: `VPC`.
621
771
  :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."
622
772
  :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."
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)
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:
631
788
  """
632
789
  ...
633
790
  @overload
@@ -694,10 +851,10 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
694
851
 
695
852
  ## Import
696
853
 
697
- CEN Transit Router VPC Attachment can be imported using the id, e.g.
854
+ CEN Transit Router Vpc Attachment can be imported using the id, e.g.
698
855
 
699
856
  ```sh
700
- $ pulumi import alicloud:cen/transitRouterVpcAttachment:TransitRouterVpcAttachment example <cen_id>:<transit_router_attachment_id>
857
+ $ pulumi import alicloud:cen/transitRouterVpcAttachment:TransitRouterVpcAttachment example <id>
701
858
  ```
702
859
 
703
860
  :param str resource_name: The name of the resource.
@@ -718,6 +875,7 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
718
875
  auto_publish_route_enabled: Optional[pulumi.Input[bool]] = None,
719
876
  cen_id: Optional[pulumi.Input[str]] = None,
720
877
  dry_run: Optional[pulumi.Input[bool]] = None,
878
+ force_delete: Optional[pulumi.Input[bool]] = None,
721
879
  payment_type: Optional[pulumi.Input[str]] = None,
722
880
  resource_type: Optional[pulumi.Input[str]] = None,
723
881
  route_table_association_enabled: Optional[pulumi.Input[bool]] = None,
@@ -726,8 +884,10 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
726
884
  transit_router_attachment_description: Optional[pulumi.Input[str]] = None,
727
885
  transit_router_attachment_name: Optional[pulumi.Input[str]] = None,
728
886
  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,
729
889
  vpc_id: Optional[pulumi.Input[str]] = None,
730
- vpc_owner_id: Optional[pulumi.Input[str]] = None,
890
+ vpc_owner_id: Optional[pulumi.Input[int]] = None,
731
891
  zone_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TransitRouterVpcAttachmentZoneMappingArgs', 'TransitRouterVpcAttachmentZoneMappingArgsDict']]]]] = None,
732
892
  __props__=None):
733
893
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -739,10 +899,9 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
739
899
  __props__ = TransitRouterVpcAttachmentArgs.__new__(TransitRouterVpcAttachmentArgs)
740
900
 
741
901
  __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'")
744
902
  __props__.__dict__["cen_id"] = cen_id
745
903
  __props__.__dict__["dry_run"] = dry_run
904
+ __props__.__dict__["force_delete"] = force_delete
746
905
  __props__.__dict__["payment_type"] = payment_type
747
906
  __props__.__dict__["resource_type"] = resource_type
748
907
  __props__.__dict__["route_table_association_enabled"] = route_table_association_enabled
@@ -751,6 +910,8 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
751
910
  __props__.__dict__["transit_router_attachment_description"] = transit_router_attachment_description
752
911
  __props__.__dict__["transit_router_attachment_name"] = transit_router_attachment_name
753
912
  __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
754
915
  if vpc_id is None and not opts.urn:
755
916
  raise TypeError("Missing required property 'vpc_id'")
756
917
  __props__.__dict__["vpc_id"] = vpc_id
@@ -758,6 +919,7 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
758
919
  if zone_mappings is None and not opts.urn:
759
920
  raise TypeError("Missing required property 'zone_mappings'")
760
921
  __props__.__dict__["zone_mappings"] = zone_mappings
922
+ __props__.__dict__["create_time"] = None
761
923
  __props__.__dict__["status"] = None
762
924
  __props__.__dict__["transit_router_attachment_id"] = None
763
925
  super(TransitRouterVpcAttachment, __self__).__init__(
@@ -772,7 +934,9 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
772
934
  opts: Optional[pulumi.ResourceOptions] = None,
773
935
  auto_publish_route_enabled: Optional[pulumi.Input[bool]] = None,
774
936
  cen_id: Optional[pulumi.Input[str]] = None,
937
+ create_time: Optional[pulumi.Input[str]] = None,
775
938
  dry_run: Optional[pulumi.Input[bool]] = None,
939
+ force_delete: Optional[pulumi.Input[bool]] = None,
776
940
  payment_type: Optional[pulumi.Input[str]] = None,
777
941
  resource_type: Optional[pulumi.Input[str]] = None,
778
942
  route_table_association_enabled: Optional[pulumi.Input[bool]] = None,
@@ -783,8 +947,10 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
783
947
  transit_router_attachment_id: Optional[pulumi.Input[str]] = None,
784
948
  transit_router_attachment_name: Optional[pulumi.Input[str]] = None,
785
949
  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,
786
952
  vpc_id: Optional[pulumi.Input[str]] = None,
787
- vpc_owner_id: Optional[pulumi.Input[str]] = None,
953
+ vpc_owner_id: Optional[pulumi.Input[int]] = None,
788
954
  zone_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TransitRouterVpcAttachmentZoneMappingArgs', 'TransitRouterVpcAttachmentZoneMappingArgsDict']]]]] = None) -> 'TransitRouterVpcAttachment':
789
955
  """
790
956
  Get an existing TransitRouterVpcAttachment resource's state with the given name, id, and optional extra
@@ -793,23 +959,33 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
793
959
  :param str resource_name: The unique name of the resulting resource.
794
960
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
795
961
  :param pulumi.ResourceOptions opts: Options for the resource.
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`.
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.
800
969
  :param pulumi.Input[str] resource_type: The resource type of the transit router vpc attachment. Default value: `VPC`. Valid values: `VPC`.
801
970
  :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."
802
971
  :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."
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.
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://`.
806
977
  :param pulumi.Input[str] transit_router_attachment_id: The ID of the Transit Router Attachment.
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)
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:
813
989
  """
814
990
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
815
991
 
@@ -817,7 +993,9 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
817
993
 
818
994
  __props__.__dict__["auto_publish_route_enabled"] = auto_publish_route_enabled
819
995
  __props__.__dict__["cen_id"] = cen_id
996
+ __props__.__dict__["create_time"] = create_time
820
997
  __props__.__dict__["dry_run"] = dry_run
998
+ __props__.__dict__["force_delete"] = force_delete
821
999
  __props__.__dict__["payment_type"] = payment_type
822
1000
  __props__.__dict__["resource_type"] = resource_type
823
1001
  __props__.__dict__["route_table_association_enabled"] = route_table_association_enabled
@@ -828,6 +1006,8 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
828
1006
  __props__.__dict__["transit_router_attachment_id"] = transit_router_attachment_id
829
1007
  __props__.__dict__["transit_router_attachment_name"] = transit_router_attachment_name
830
1008
  __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
831
1011
  __props__.__dict__["vpc_id"] = vpc_id
832
1012
  __props__.__dict__["vpc_owner_id"] = vpc_owner_id
833
1013
  __props__.__dict__["zone_mappings"] = zone_mappings
@@ -837,31 +1017,48 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
837
1017
  @pulumi.getter(name="autoPublishRouteEnabled")
838
1018
  def auto_publish_route_enabled(self) -> pulumi.Output[Optional[bool]]:
839
1019
  """
840
- Whether the transit router is automatically published to the VPC instance. Default value: `false`. Valid values:
1020
+ Specifies whether to enable the Enterprise Edition transit router to automatically advertise routes to VPCs. Valid values:
1021
+ - **false:** (default)
841
1022
  """
842
1023
  return pulumi.get(self, "auto_publish_route_enabled")
843
1024
 
844
1025
  @property
845
1026
  @pulumi.getter(name="cenId")
846
- def cen_id(self) -> pulumi.Output[str]:
1027
+ def cen_id(self) -> pulumi.Output[Optional[str]]:
847
1028
  """
848
- The ID of the CEN.
1029
+ The ID of the Cloud Enterprise Network (CEN) instance.
849
1030
  """
850
1031
  return pulumi.get(self, "cen_id")
851
1032
 
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
+
852
1041
  @property
853
1042
  @pulumi.getter(name="dryRun")
854
1043
  def dry_run(self) -> pulumi.Output[Optional[bool]]:
855
1044
  """
856
- The dry run.
1045
+ Whether to perform PreCheck on this request, including permissions and instance status verification. Value:
857
1046
  """
858
1047
  return pulumi.get(self, "dry_run")
859
1048
 
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
+
860
1057
  @property
861
1058
  @pulumi.getter(name="paymentType")
862
1059
  def payment_type(self) -> pulumi.Output[str]:
863
1060
  """
864
- The payment type of the resource. Default value: `PayAsYouGo`. Valid values: `PayAsYouGo`.
1061
+ The billing method. The default value is `PayAsYouGo`, which specifies the pay-as-you-go billing method.
865
1062
  """
866
1063
  return pulumi.get(self, "payment_type")
867
1064
 
@@ -895,7 +1092,7 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
895
1092
  @pulumi.getter
896
1093
  def status(self) -> pulumi.Output[str]:
897
1094
  """
898
- The associating status of the network.
1095
+ Status
899
1096
  """
900
1097
  return pulumi.get(self, "status")
901
1098
 
@@ -903,7 +1100,7 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
903
1100
  @pulumi.getter
904
1101
  def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
905
1102
  """
906
- A mapping of tags to assign to the resource.
1103
+ The tag of the resource
907
1104
  """
908
1105
  return pulumi.get(self, "tags")
909
1106
 
@@ -911,7 +1108,9 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
911
1108
  @pulumi.getter(name="transitRouterAttachmentDescription")
912
1109
  def transit_router_attachment_description(self) -> pulumi.Output[Optional[str]]:
913
1110
  """
914
- The description of the transit router vbr attachment.
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://`.
915
1114
  """
916
1115
  return pulumi.get(self, "transit_router_attachment_description")
917
1116
 
@@ -925,9 +1124,10 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
925
1124
 
926
1125
  @property
927
1126
  @pulumi.getter(name="transitRouterAttachmentName")
928
- def transit_router_attachment_name(self) -> pulumi.Output[Optional[str]]:
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]:
929
1129
  """
930
- The name of the transit router vbr attachment.
1130
+ . Field 'transit_router_attachment_name' has been deprecated from provider version 1.230.1. New field 'transit_router_vpc_attachment_name' instead.
931
1131
  """
932
1132
  return pulumi.get(self, "transit_router_attachment_name")
933
1133
 
@@ -935,23 +1135,41 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
935
1135
  @pulumi.getter(name="transitRouterId")
936
1136
  def transit_router_id(self) -> pulumi.Output[str]:
937
1137
  """
938
- The ID of the transit router.
1138
+ The ID of the Enterprise Edition transit router.
939
1139
  """
940
1140
  return pulumi.get(self, "transit_router_id")
941
1141
 
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
+
942
1160
  @property
943
1161
  @pulumi.getter(name="vpcId")
944
1162
  def vpc_id(self) -> pulumi.Output[str]:
945
1163
  """
946
- The ID of the VPC.
1164
+ The VPC ID.
947
1165
  """
948
1166
  return pulumi.get(self, "vpc_id")
949
1167
 
950
1168
  @property
951
1169
  @pulumi.getter(name="vpcOwnerId")
952
- def vpc_owner_id(self) -> pulumi.Output[str]:
1170
+ def vpc_owner_id(self) -> pulumi.Output[int]:
953
1171
  """
954
- The owner id of vpc.
1172
+ VpcOwnerId
955
1173
  """
956
1174
  return pulumi.get(self, "vpc_owner_id")
957
1175
 
@@ -959,8 +1177,9 @@ class TransitRouterVpcAttachment(pulumi.CustomResource):
959
1177
  @pulumi.getter(name="zoneMappings")
960
1178
  def zone_mappings(self) -> pulumi.Output[Sequence['outputs.TransitRouterVpcAttachmentZoneMapping']]:
961
1179
  """
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)
1180
+ ZoneMappingss See `zone_mappings` below.
1181
+
1182
+ The following arguments will be discarded. Please use new fields as soon as possible:
964
1183
  """
965
1184
  return pulumi.get(self, "zone_mappings")
966
1185