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

@@ -213,8 +213,6 @@ if typing.TYPE_CHECKING:
213
213
  oss = __oss
214
214
  import pulumi_alicloud.ots as __ots
215
215
  ots = __ots
216
- import pulumi_alicloud.pai as __pai
217
- pai = __pai
218
216
  import pulumi_alicloud.polardb as __polardb
219
217
  polardb = __polardb
220
218
  import pulumi_alicloud.privatelink as __privatelink
@@ -383,7 +381,6 @@ else:
383
381
  opensearch = _utilities.lazy_import('pulumi_alicloud.opensearch')
384
382
  oss = _utilities.lazy_import('pulumi_alicloud.oss')
385
383
  ots = _utilities.lazy_import('pulumi_alicloud.ots')
386
- pai = _utilities.lazy_import('pulumi_alicloud.pai')
387
384
  polardb = _utilities.lazy_import('pulumi_alicloud.polardb')
388
385
  privatelink = _utilities.lazy_import('pulumi_alicloud.privatelink')
389
386
  pvtz = _utilities.lazy_import('pulumi_alicloud.pvtz')
@@ -5168,14 +5165,6 @@ _utilities.register(
5168
5165
  "alicloud:mse/gateway:Gateway": "Gateway"
5169
5166
  }
5170
5167
  },
5171
- {
5172
- "pkg": "alicloud",
5173
- "mod": "mse/nacosConfig",
5174
- "fqn": "pulumi_alicloud.mse",
5175
- "classes": {
5176
- "alicloud:mse/nacosConfig:NacosConfig": "NacosConfig"
5177
- }
5178
- },
5179
5168
  {
5180
5169
  "pkg": "alicloud",
5181
5170
  "mod": "mse/znode",
@@ -5640,14 +5629,6 @@ _utilities.register(
5640
5629
  "alicloud:ots/tunnel:Tunnel": "Tunnel"
5641
5630
  }
5642
5631
  },
5643
- {
5644
- "pkg": "alicloud",
5645
- "mod": "pai/workspaceWorkspace",
5646
- "fqn": "pulumi_alicloud.pai",
5647
- "classes": {
5648
- "alicloud:pai/workspaceWorkspace:WorkspaceWorkspace": "WorkspaceWorkspace"
5649
- }
5650
- },
5651
5632
  {
5652
5633
  "pkg": "alicloud",
5653
5634
  "mod": "polardb/account",
@@ -24,8 +24,8 @@ class TransitRouterRouteTableAssociationArgs:
24
24
  dry_run: Optional[pulumi.Input[bool]] = None):
25
25
  """
26
26
  The set of arguments for constructing a TransitRouterRouteTableAssociation resource.
27
- :param pulumi.Input[str] transit_router_attachment_id: The ID the Transit Router Attachment.
28
- :param pulumi.Input[str] transit_router_route_table_id: The ID of the Transit Router Route Table.
27
+ :param pulumi.Input[str] transit_router_attachment_id: The ID the transit router attachment.
28
+ :param pulumi.Input[str] transit_router_route_table_id: The ID of the transit router route table.
29
29
  :param pulumi.Input[bool] dry_run: The dry run.
30
30
 
31
31
  > **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://help.aliyun.com/document_detail/261356.html)
@@ -39,7 +39,7 @@ class TransitRouterRouteTableAssociationArgs:
39
39
  @pulumi.getter(name="transitRouterAttachmentId")
40
40
  def transit_router_attachment_id(self) -> pulumi.Input[str]:
41
41
  """
42
- The ID the Transit Router Attachment.
42
+ The ID the transit router attachment.
43
43
  """
44
44
  return pulumi.get(self, "transit_router_attachment_id")
45
45
 
@@ -51,7 +51,7 @@ class TransitRouterRouteTableAssociationArgs:
51
51
  @pulumi.getter(name="transitRouterRouteTableId")
52
52
  def transit_router_route_table_id(self) -> pulumi.Input[str]:
53
53
  """
54
- The ID of the Transit Router Route Table.
54
+ The ID of the transit router route table.
55
55
  """
56
56
  return pulumi.get(self, "transit_router_route_table_id")
57
57
 
@@ -86,9 +86,9 @@ class _TransitRouterRouteTableAssociationState:
86
86
  :param pulumi.Input[bool] dry_run: The dry run.
87
87
 
88
88
  > **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://help.aliyun.com/document_detail/261356.html)
89
- :param pulumi.Input[str] status: The status of the Transit Router Route Table Association.
90
- :param pulumi.Input[str] transit_router_attachment_id: The ID the Transit Router Attachment.
91
- :param pulumi.Input[str] transit_router_route_table_id: The ID of the Transit Router Route Table.
89
+ :param pulumi.Input[str] status: The associating status of the network.
90
+ :param pulumi.Input[str] transit_router_attachment_id: The ID the transit router attachment.
91
+ :param pulumi.Input[str] transit_router_route_table_id: The ID of the transit router route table.
92
92
  """
93
93
  if dry_run is not None:
94
94
  pulumi.set(__self__, "dry_run", dry_run)
@@ -117,7 +117,7 @@ class _TransitRouterRouteTableAssociationState:
117
117
  @pulumi.getter
118
118
  def status(self) -> Optional[pulumi.Input[str]]:
119
119
  """
120
- The status of the Transit Router Route Table Association.
120
+ The associating status of the network.
121
121
  """
122
122
  return pulumi.get(self, "status")
123
123
 
@@ -129,7 +129,7 @@ class _TransitRouterRouteTableAssociationState:
129
129
  @pulumi.getter(name="transitRouterAttachmentId")
130
130
  def transit_router_attachment_id(self) -> Optional[pulumi.Input[str]]:
131
131
  """
132
- The ID the Transit Router Attachment.
132
+ The ID the transit router attachment.
133
133
  """
134
134
  return pulumi.get(self, "transit_router_attachment_id")
135
135
 
@@ -141,7 +141,7 @@ class _TransitRouterRouteTableAssociationState:
141
141
  @pulumi.getter(name="transitRouterRouteTableId")
142
142
  def transit_router_route_table_id(self) -> Optional[pulumi.Input[str]]:
143
143
  """
144
- The ID of the Transit Router Route Table.
144
+ The ID of the transit router route table.
145
145
  """
146
146
  return pulumi.get(self, "transit_router_route_table_id")
147
147
 
@@ -160,9 +160,7 @@ class TransitRouterRouteTableAssociation(pulumi.CustomResource):
160
160
  transit_router_route_table_id: Optional[pulumi.Input[str]] = None,
161
161
  __props__=None):
162
162
  """
163
- Provides a Cloud Enterprise Network (CEN) Transit Router Route Table Association resource.
164
-
165
- For information about Cloud Enterprise Network (CEN) Transit Router Route Table Association and how to use it, see [What is Transit Router Route Table Association](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-associatetransitrouterattachmentwithroutetable)
163
+ Provides a CEN transit router route table association resource.[What is Cen Transit Router Route Table Association](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-createtransitroutetableaggregation)
166
164
 
167
165
  > **NOTE:** Available since v1.126.0.
168
166
 
@@ -177,57 +175,57 @@ class TransitRouterRouteTableAssociation(pulumi.CustomResource):
177
175
  config = pulumi.Config()
178
176
  name = config.get("name")
179
177
  if name is None:
180
- name = "terraform-example"
178
+ name = "tf_example"
181
179
  default = alicloud.cen.get_transit_router_available_resources()
182
180
  master_zone = default.resources[0].master_zones[0]
183
181
  slave_zone = default.resources[0].slave_zones[1]
184
- default_network = alicloud.vpc.Network("default",
182
+ example = alicloud.vpc.Network("example",
185
183
  vpc_name=name,
186
184
  cidr_block="192.168.0.0/16")
187
- default_master = alicloud.vpc.Switch("default_master",
185
+ example_master = alicloud.vpc.Switch("example_master",
188
186
  vswitch_name=name,
189
187
  cidr_block="192.168.1.0/24",
190
- vpc_id=default_network.id,
188
+ vpc_id=example.id,
191
189
  zone_id=master_zone)
192
- default_slave = alicloud.vpc.Switch("default_slave",
190
+ example_slave = alicloud.vpc.Switch("example_slave",
193
191
  vswitch_name=name,
194
192
  cidr_block="192.168.2.0/24",
195
- vpc_id=default_network.id,
193
+ vpc_id=example.id,
196
194
  zone_id=slave_zone)
197
- default_instance = alicloud.cen.Instance("default",
195
+ example_instance = alicloud.cen.Instance("example",
198
196
  cen_instance_name=name,
199
197
  protection_level="REDUCED")
200
- default_transit_router = alicloud.cen.TransitRouter("default",
198
+ example_transit_router = alicloud.cen.TransitRouter("example",
201
199
  transit_router_name=name,
202
- cen_id=default_instance.id)
203
- default_transit_router_route_table = alicloud.cen.TransitRouterRouteTable("default", transit_router_id=default_transit_router.transit_router_id)
204
- default_transit_router_vpc_attachment = alicloud.cen.TransitRouterVpcAttachment("default",
205
- cen_id=default_instance.id,
206
- transit_router_id=default_transit_router.transit_router_id,
207
- vpc_id=default_network.id,
208
- transit_router_vpc_attachment_name=name,
209
- transit_router_attachment_description=name,
200
+ cen_id=example_instance.id)
201
+ example_transit_router_vpc_attachment = alicloud.cen.TransitRouterVpcAttachment("example",
202
+ cen_id=example_instance.id,
203
+ transit_router_id=example_transit_router.transit_router_id,
204
+ vpc_id=example.id,
210
205
  zone_mappings=[
211
206
  {
212
207
  "zone_id": master_zone,
213
- "vswitch_id": default_master.id,
208
+ "vswitch_id": example_master.id,
214
209
  },
215
210
  {
216
211
  "zone_id": slave_zone,
217
- "vswitch_id": default_slave.id,
212
+ "vswitch_id": example_slave.id,
218
213
  },
219
- ])
220
- default_transit_router_route_table_association = alicloud.cen.TransitRouterRouteTableAssociation("default",
221
- transit_router_route_table_id=default_transit_router_route_table.transit_router_route_table_id,
222
- transit_router_attachment_id=default_transit_router_vpc_attachment.transit_router_attachment_id)
214
+ ],
215
+ transit_router_attachment_name=name,
216
+ transit_router_attachment_description=name)
217
+ example_transit_router_route_table = alicloud.cen.TransitRouterRouteTable("example", transit_router_id=example_transit_router.transit_router_id)
218
+ example_transit_router_route_table_association = alicloud.cen.TransitRouterRouteTableAssociation("example",
219
+ transit_router_route_table_id=example_transit_router_route_table.transit_router_route_table_id,
220
+ transit_router_attachment_id=example_transit_router_vpc_attachment.transit_router_attachment_id)
223
221
  ```
224
222
 
225
223
  ## Import
226
224
 
227
- Cloud Enterprise Network (CEN) Transit Router Route Table Association can be imported using the id, e.g.
225
+ CEN transit router route table association can be imported using the id, e.g.
228
226
 
229
227
  ```sh
230
- $ pulumi import alicloud:cen/transitRouterRouteTableAssociation:TransitRouterRouteTableAssociation example <transit_router_id>:<transit_router_attachment_id>
228
+ $ pulumi import alicloud:cen/transitRouterRouteTableAssociation:TransitRouterRouteTableAssociation default tr-********:tr-attach-********
231
229
  ```
232
230
 
233
231
  :param str resource_name: The name of the resource.
@@ -235,8 +233,8 @@ class TransitRouterRouteTableAssociation(pulumi.CustomResource):
235
233
  :param pulumi.Input[bool] dry_run: The dry run.
236
234
 
237
235
  > **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://help.aliyun.com/document_detail/261356.html)
238
- :param pulumi.Input[str] transit_router_attachment_id: The ID the Transit Router Attachment.
239
- :param pulumi.Input[str] transit_router_route_table_id: The ID of the Transit Router Route Table.
236
+ :param pulumi.Input[str] transit_router_attachment_id: The ID the transit router attachment.
237
+ :param pulumi.Input[str] transit_router_route_table_id: The ID of the transit router route table.
240
238
  """
241
239
  ...
242
240
  @overload
@@ -245,9 +243,7 @@ class TransitRouterRouteTableAssociation(pulumi.CustomResource):
245
243
  args: TransitRouterRouteTableAssociationArgs,
246
244
  opts: Optional[pulumi.ResourceOptions] = None):
247
245
  """
248
- Provides a Cloud Enterprise Network (CEN) Transit Router Route Table Association resource.
249
-
250
- For information about Cloud Enterprise Network (CEN) Transit Router Route Table Association and how to use it, see [What is Transit Router Route Table Association](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-associatetransitrouterattachmentwithroutetable)
246
+ Provides a CEN transit router route table association resource.[What is Cen Transit Router Route Table Association](https://www.alibabacloud.com/help/en/cen/developer-reference/api-cbn-2017-09-12-createtransitroutetableaggregation)
251
247
 
252
248
  > **NOTE:** Available since v1.126.0.
253
249
 
@@ -262,57 +258,57 @@ class TransitRouterRouteTableAssociation(pulumi.CustomResource):
262
258
  config = pulumi.Config()
263
259
  name = config.get("name")
264
260
  if name is None:
265
- name = "terraform-example"
261
+ name = "tf_example"
266
262
  default = alicloud.cen.get_transit_router_available_resources()
267
263
  master_zone = default.resources[0].master_zones[0]
268
264
  slave_zone = default.resources[0].slave_zones[1]
269
- default_network = alicloud.vpc.Network("default",
265
+ example = alicloud.vpc.Network("example",
270
266
  vpc_name=name,
271
267
  cidr_block="192.168.0.0/16")
272
- default_master = alicloud.vpc.Switch("default_master",
268
+ example_master = alicloud.vpc.Switch("example_master",
273
269
  vswitch_name=name,
274
270
  cidr_block="192.168.1.0/24",
275
- vpc_id=default_network.id,
271
+ vpc_id=example.id,
276
272
  zone_id=master_zone)
277
- default_slave = alicloud.vpc.Switch("default_slave",
273
+ example_slave = alicloud.vpc.Switch("example_slave",
278
274
  vswitch_name=name,
279
275
  cidr_block="192.168.2.0/24",
280
- vpc_id=default_network.id,
276
+ vpc_id=example.id,
281
277
  zone_id=slave_zone)
282
- default_instance = alicloud.cen.Instance("default",
278
+ example_instance = alicloud.cen.Instance("example",
283
279
  cen_instance_name=name,
284
280
  protection_level="REDUCED")
285
- default_transit_router = alicloud.cen.TransitRouter("default",
281
+ example_transit_router = alicloud.cen.TransitRouter("example",
286
282
  transit_router_name=name,
287
- cen_id=default_instance.id)
288
- default_transit_router_route_table = alicloud.cen.TransitRouterRouteTable("default", transit_router_id=default_transit_router.transit_router_id)
289
- default_transit_router_vpc_attachment = alicloud.cen.TransitRouterVpcAttachment("default",
290
- cen_id=default_instance.id,
291
- transit_router_id=default_transit_router.transit_router_id,
292
- vpc_id=default_network.id,
293
- transit_router_vpc_attachment_name=name,
294
- transit_router_attachment_description=name,
283
+ cen_id=example_instance.id)
284
+ example_transit_router_vpc_attachment = alicloud.cen.TransitRouterVpcAttachment("example",
285
+ cen_id=example_instance.id,
286
+ transit_router_id=example_transit_router.transit_router_id,
287
+ vpc_id=example.id,
295
288
  zone_mappings=[
296
289
  {
297
290
  "zone_id": master_zone,
298
- "vswitch_id": default_master.id,
291
+ "vswitch_id": example_master.id,
299
292
  },
300
293
  {
301
294
  "zone_id": slave_zone,
302
- "vswitch_id": default_slave.id,
295
+ "vswitch_id": example_slave.id,
303
296
  },
304
- ])
305
- default_transit_router_route_table_association = alicloud.cen.TransitRouterRouteTableAssociation("default",
306
- transit_router_route_table_id=default_transit_router_route_table.transit_router_route_table_id,
307
- transit_router_attachment_id=default_transit_router_vpc_attachment.transit_router_attachment_id)
297
+ ],
298
+ transit_router_attachment_name=name,
299
+ transit_router_attachment_description=name)
300
+ example_transit_router_route_table = alicloud.cen.TransitRouterRouteTable("example", transit_router_id=example_transit_router.transit_router_id)
301
+ example_transit_router_route_table_association = alicloud.cen.TransitRouterRouteTableAssociation("example",
302
+ transit_router_route_table_id=example_transit_router_route_table.transit_router_route_table_id,
303
+ transit_router_attachment_id=example_transit_router_vpc_attachment.transit_router_attachment_id)
308
304
  ```
309
305
 
310
306
  ## Import
311
307
 
312
- Cloud Enterprise Network (CEN) Transit Router Route Table Association can be imported using the id, e.g.
308
+ CEN transit router route table association can be imported using the id, e.g.
313
309
 
314
310
  ```sh
315
- $ pulumi import alicloud:cen/transitRouterRouteTableAssociation:TransitRouterRouteTableAssociation example <transit_router_id>:<transit_router_attachment_id>
311
+ $ pulumi import alicloud:cen/transitRouterRouteTableAssociation:TransitRouterRouteTableAssociation default tr-********:tr-attach-********
316
312
  ```
317
313
 
318
314
  :param str resource_name: The name of the resource.
@@ -374,9 +370,9 @@ class TransitRouterRouteTableAssociation(pulumi.CustomResource):
374
370
  :param pulumi.Input[bool] dry_run: The dry run.
375
371
 
376
372
  > **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://help.aliyun.com/document_detail/261356.html)
377
- :param pulumi.Input[str] status: The status of the Transit Router Route Table Association.
378
- :param pulumi.Input[str] transit_router_attachment_id: The ID the Transit Router Attachment.
379
- :param pulumi.Input[str] transit_router_route_table_id: The ID of the Transit Router Route Table.
373
+ :param pulumi.Input[str] status: The associating status of the network.
374
+ :param pulumi.Input[str] transit_router_attachment_id: The ID the transit router attachment.
375
+ :param pulumi.Input[str] transit_router_route_table_id: The ID of the transit router route table.
380
376
  """
381
377
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
382
378
 
@@ -402,7 +398,7 @@ class TransitRouterRouteTableAssociation(pulumi.CustomResource):
402
398
  @pulumi.getter
403
399
  def status(self) -> pulumi.Output[str]:
404
400
  """
405
- The status of the Transit Router Route Table Association.
401
+ The associating status of the network.
406
402
  """
407
403
  return pulumi.get(self, "status")
408
404
 
@@ -410,7 +406,7 @@ class TransitRouterRouteTableAssociation(pulumi.CustomResource):
410
406
  @pulumi.getter(name="transitRouterAttachmentId")
411
407
  def transit_router_attachment_id(self) -> pulumi.Output[str]:
412
408
  """
413
- The ID the Transit Router Attachment.
409
+ The ID the transit router attachment.
414
410
  """
415
411
  return pulumi.get(self, "transit_router_attachment_id")
416
412
 
@@ -418,7 +414,7 @@ class TransitRouterRouteTableAssociation(pulumi.CustomResource):
418
414
  @pulumi.getter(name="transitRouterRouteTableId")
419
415
  def transit_router_route_table_id(self) -> pulumi.Output[str]:
420
416
  """
421
- The ID of the Transit Router Route Table.
417
+ The ID of the transit router route table.
422
418
  """
423
419
  return pulumi.get(self, "transit_router_route_table_id")
424
420