pulumi-alicloud 3.63.0a1727371922__py3-none-any.whl → 3.63.0a1727705137__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 (41) hide show
  1. pulumi_alicloud/__init__.py +24 -0
  2. pulumi_alicloud/alb/acl.py +18 -19
  3. pulumi_alicloud/alb/health_check_template.py +96 -88
  4. pulumi_alicloud/cms/_inputs.py +6 -6
  5. pulumi_alicloud/cms/outputs.py +6 -6
  6. pulumi_alicloud/ddos/_inputs.py +8 -9
  7. pulumi_alicloud/ddos/domain_resource.py +446 -90
  8. pulumi_alicloud/ddos/outputs.py +7 -8
  9. pulumi_alicloud/eci/container_group.py +47 -0
  10. pulumi_alicloud/ecs/ecs_snapshot.py +199 -77
  11. pulumi_alicloud/ecs/snapshot.py +26 -8
  12. pulumi_alicloud/ess/__init__.py +1 -0
  13. pulumi_alicloud/ess/alarm.py +47 -0
  14. pulumi_alicloud/ess/server_group_attachment.py +552 -0
  15. pulumi_alicloud/ga/_inputs.py +23 -5
  16. pulumi_alicloud/ga/outputs.py +21 -5
  17. pulumi_alicloud/governance/account.py +61 -0
  18. pulumi_alicloud/gpdb/__init__.py +4 -0
  19. pulumi_alicloud/gpdb/_inputs.py +361 -3
  20. pulumi_alicloud/gpdb/db_instance_ip_array.py +533 -0
  21. pulumi_alicloud/gpdb/get_data_backups.py +288 -0
  22. pulumi_alicloud/gpdb/get_log_backups.py +225 -0
  23. pulumi_alicloud/gpdb/instance.py +47 -0
  24. pulumi_alicloud/gpdb/outputs.py +597 -4
  25. pulumi_alicloud/gpdb/streaming_job.py +1568 -0
  26. pulumi_alicloud/nlb/load_balancer.py +116 -0
  27. pulumi_alicloud/oos/get_secret_parameters.py +111 -9
  28. pulumi_alicloud/oos/outputs.py +22 -11
  29. pulumi_alicloud/pulumi-plugin.json +1 -1
  30. pulumi_alicloud/ram/get_account_alias.py +35 -2
  31. pulumi_alicloud/rds/instance.py +21 -21
  32. pulumi_alicloud/rocketmq/_inputs.py +79 -22
  33. pulumi_alicloud/rocketmq/outputs.py +85 -21
  34. pulumi_alicloud/rocketmq/rocket_mq_instance.py +307 -113
  35. pulumi_alicloud/vpc/peer_connection.py +127 -59
  36. pulumi_alicloud/vpc/peer_connection_accepter.py +263 -42
  37. pulumi_alicloud/vpc/route_entry.py +232 -210
  38. {pulumi_alicloud-3.63.0a1727371922.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/METADATA +1 -1
  39. {pulumi_alicloud-3.63.0a1727371922.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/RECORD +41 -36
  40. {pulumi_alicloud-3.63.0a1727371922.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/WHEEL +0 -0
  41. {pulumi_alicloud-3.63.0a1727371922.dist-info → pulumi_alicloud-3.63.0a1727705137.dist-info}/top_level.txt +0 -0
@@ -15,21 +15,47 @@ __all__ = ['PeerConnectionAccepterArgs', 'PeerConnectionAccepter']
15
15
  class PeerConnectionAccepterArgs:
16
16
  def __init__(__self__, *,
17
17
  instance_id: pulumi.Input[str],
18
- dry_run: Optional[pulumi.Input[bool]] = None):
18
+ bandwidth: Optional[pulumi.Input[int]] = None,
19
+ description: Optional[pulumi.Input[str]] = None,
20
+ dry_run: Optional[pulumi.Input[bool]] = None,
21
+ force_delete: Optional[pulumi.Input[bool]] = None,
22
+ peer_connection_accepter_name: Optional[pulumi.Input[str]] = None,
23
+ resource_group_id: Optional[pulumi.Input[str]] = None):
19
24
  """
20
25
  The set of arguments for constructing a PeerConnectionAccepter resource.
21
- :param pulumi.Input[str] instance_id: The ID of the instance of the created VPC peer connection.
22
- :param pulumi.Input[bool] dry_run: The dry run.
26
+ :param pulumi.Input[str] instance_id: The ID of the VPC peering connection whose name or description you want to modify.
27
+ :param pulumi.Input[int] bandwidth: The new bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0.
28
+ :param pulumi.Input[str] description: The new description of the VPC peering connection.
29
+
30
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
31
+ :param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
32
+ :param pulumi.Input[bool] force_delete: Specifies whether to forcefully delete the VPC peering connection. Valid values:
33
+ :param pulumi.Input[str] peer_connection_accepter_name: The new name of the VPC peering connection.
34
+
35
+ The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
36
+ :param pulumi.Input[str] resource_group_id: The ID of the new resource group.
37
+
38
+ > **NOTE:** You can use resource groups to manage resources within your Alibaba Cloud account by group. This helps you resolve issues such as resource grouping and permission management for your Alibaba Cloud account. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
23
39
  """
24
40
  pulumi.set(__self__, "instance_id", instance_id)
41
+ if bandwidth is not None:
42
+ pulumi.set(__self__, "bandwidth", bandwidth)
43
+ if description is not None:
44
+ pulumi.set(__self__, "description", description)
25
45
  if dry_run is not None:
26
46
  pulumi.set(__self__, "dry_run", dry_run)
47
+ if force_delete is not None:
48
+ pulumi.set(__self__, "force_delete", force_delete)
49
+ if peer_connection_accepter_name is not None:
50
+ pulumi.set(__self__, "peer_connection_accepter_name", peer_connection_accepter_name)
51
+ if resource_group_id is not None:
52
+ pulumi.set(__self__, "resource_group_id", resource_group_id)
27
53
 
28
54
  @property
29
55
  @pulumi.getter(name="instanceId")
30
56
  def instance_id(self) -> pulumi.Input[str]:
31
57
  """
32
- The ID of the instance of the created VPC peer connection.
58
+ The ID of the VPC peering connection whose name or description you want to modify.
33
59
  """
34
60
  return pulumi.get(self, "instance_id")
35
61
 
@@ -37,11 +63,37 @@ class PeerConnectionAccepterArgs:
37
63
  def instance_id(self, value: pulumi.Input[str]):
38
64
  pulumi.set(self, "instance_id", value)
39
65
 
66
+ @property
67
+ @pulumi.getter
68
+ def bandwidth(self) -> Optional[pulumi.Input[int]]:
69
+ """
70
+ The new bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0.
71
+ """
72
+ return pulumi.get(self, "bandwidth")
73
+
74
+ @bandwidth.setter
75
+ def bandwidth(self, value: Optional[pulumi.Input[int]]):
76
+ pulumi.set(self, "bandwidth", value)
77
+
78
+ @property
79
+ @pulumi.getter
80
+ def description(self) -> Optional[pulumi.Input[str]]:
81
+ """
82
+ The new description of the VPC peering connection.
83
+
84
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
85
+ """
86
+ return pulumi.get(self, "description")
87
+
88
+ @description.setter
89
+ def description(self, value: Optional[pulumi.Input[str]]):
90
+ pulumi.set(self, "description", value)
91
+
40
92
  @property
41
93
  @pulumi.getter(name="dryRun")
42
94
  def dry_run(self) -> Optional[pulumi.Input[bool]]:
43
95
  """
44
- The dry run.
96
+ Specifies whether to perform only a dry run, without performing the actual request. Valid values:
45
97
  """
46
98
  return pulumi.get(self, "dry_run")
47
99
 
@@ -49,6 +101,46 @@ class PeerConnectionAccepterArgs:
49
101
  def dry_run(self, value: Optional[pulumi.Input[bool]]):
50
102
  pulumi.set(self, "dry_run", value)
51
103
 
104
+ @property
105
+ @pulumi.getter(name="forceDelete")
106
+ def force_delete(self) -> Optional[pulumi.Input[bool]]:
107
+ """
108
+ Specifies whether to forcefully delete the VPC peering connection. Valid values:
109
+ """
110
+ return pulumi.get(self, "force_delete")
111
+
112
+ @force_delete.setter
113
+ def force_delete(self, value: Optional[pulumi.Input[bool]]):
114
+ pulumi.set(self, "force_delete", value)
115
+
116
+ @property
117
+ @pulumi.getter(name="peerConnectionAccepterName")
118
+ def peer_connection_accepter_name(self) -> Optional[pulumi.Input[str]]:
119
+ """
120
+ The new name of the VPC peering connection.
121
+
122
+ The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
123
+ """
124
+ return pulumi.get(self, "peer_connection_accepter_name")
125
+
126
+ @peer_connection_accepter_name.setter
127
+ def peer_connection_accepter_name(self, value: Optional[pulumi.Input[str]]):
128
+ pulumi.set(self, "peer_connection_accepter_name", value)
129
+
130
+ @property
131
+ @pulumi.getter(name="resourceGroupId")
132
+ def resource_group_id(self) -> Optional[pulumi.Input[str]]:
133
+ """
134
+ The ID of the new resource group.
135
+
136
+ > **NOTE:** You can use resource groups to manage resources within your Alibaba Cloud account by group. This helps you resolve issues such as resource grouping and permission management for your Alibaba Cloud account. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
137
+ """
138
+ return pulumi.get(self, "resource_group_id")
139
+
140
+ @resource_group_id.setter
141
+ def resource_group_id(self, value: Optional[pulumi.Input[str]]):
142
+ pulumi.set(self, "resource_group_id", value)
143
+
52
144
 
53
145
  @pulumi.input_type
54
146
  class _PeerConnectionAccepterState:
@@ -57,24 +149,36 @@ class _PeerConnectionAccepterState:
57
149
  accepting_region_id: Optional[pulumi.Input[str]] = None,
58
150
  accepting_vpc_id: Optional[pulumi.Input[str]] = None,
59
151
  bandwidth: Optional[pulumi.Input[int]] = None,
152
+ create_time: Optional[pulumi.Input[str]] = None,
60
153
  description: Optional[pulumi.Input[str]] = None,
61
154
  dry_run: Optional[pulumi.Input[bool]] = None,
155
+ force_delete: Optional[pulumi.Input[bool]] = None,
62
156
  instance_id: Optional[pulumi.Input[str]] = None,
63
157
  peer_connection_accepter_name: Optional[pulumi.Input[str]] = None,
158
+ resource_group_id: Optional[pulumi.Input[str]] = None,
64
159
  status: Optional[pulumi.Input[str]] = None,
65
160
  vpc_id: Optional[pulumi.Input[str]] = None):
66
161
  """
67
162
  Input properties used for looking up and filtering PeerConnectionAccepter resources.
68
- :param pulumi.Input[int] accepting_owner_uid: The ID of the Alibaba Cloud account (primary account) of the receiving end of the VPC peering connection to be created.-Enter the ID of your Alibaba Cloud account to create a peer-to-peer connection to the VPC account.-Enter the ID of another Alibaba Cloud account to create a cross-account VPC peer-to-peer connection.> If the recipient account is a RAM user (sub-account), enter the ID of the Alibaba Cloud account corresponding to the RAM user.
69
- :param pulumi.Input[str] accepting_region_id: The region ID of the recipient of the VPC peering connection to be created.-When creating a VPC peer-to-peer connection in the same region, enter the same region ID as the region ID of the initiator.-When creating a cross-region VPC peer-to-peer connection, enter a region ID that is different from the region ID of the initiator.
163
+ :param pulumi.Input[int] accepting_owner_uid: The ID of the Alibaba Cloud account (primary account) of the receiving end of the VPC peering connection to be created.-to-peer connection to the VPC account.-account VPC peer-to-peer connection.
164
+ :param pulumi.Input[str] accepting_region_id: The region ID of the recipient of the VPC peering connection to be created.-to-peer connection in the same region, enter the same region ID as the region ID of the initiator.-region VPC peer-to-peer connection, enter a region ID that is different from the region ID of the initiator.
70
165
  :param pulumi.Input[str] accepting_vpc_id: The VPC ID of the receiving end of the VPC peer connection.
71
- :param pulumi.Input[int] bandwidth: The bandwidth of the VPC peering connection to be modified. Unit: Mbps. The value range is an integer greater than 0.
72
- :param pulumi.Input[str] description: The description of the VPC peer connection to be created.It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with http:// or https.
73
- :param pulumi.Input[bool] dry_run: The dry run.
74
- :param pulumi.Input[str] instance_id: The ID of the instance of the created VPC peer connection.
75
- :param pulumi.Input[str] peer_connection_accepter_name: The name of the resource
166
+ :param pulumi.Input[int] bandwidth: The new bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0.
167
+ :param pulumi.Input[str] create_time: The creation time of the VPC peer connection. Use UTC time in the format' YYYY-MM-DDThh:mm:ssZ '.
168
+ :param pulumi.Input[str] description: The new description of the VPC peering connection.
169
+
170
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
171
+ :param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
172
+ :param pulumi.Input[bool] force_delete: Specifies whether to forcefully delete the VPC peering connection. Valid values:
173
+ :param pulumi.Input[str] instance_id: The ID of the VPC peering connection whose name or description you want to modify.
174
+ :param pulumi.Input[str] peer_connection_accepter_name: The new name of the VPC peering connection.
175
+
176
+ The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
177
+ :param pulumi.Input[str] resource_group_id: The ID of the new resource group.
178
+
179
+ > **NOTE:** You can use resource groups to manage resources within your Alibaba Cloud account by group. This helps you resolve issues such as resource grouping and permission management for your Alibaba Cloud account. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
76
180
  :param pulumi.Input[str] status: The status of the resource
77
- :param pulumi.Input[str] vpc_id: You must create a VPC ID on the initiator of a VPC peer connection.
181
+ :param pulumi.Input[str] vpc_id: The VPC ID of the initiator of the VPC peering connection.
78
182
  """
79
183
  if accepting_owner_uid is not None:
80
184
  pulumi.set(__self__, "accepting_owner_uid", accepting_owner_uid)
@@ -84,14 +188,20 @@ class _PeerConnectionAccepterState:
84
188
  pulumi.set(__self__, "accepting_vpc_id", accepting_vpc_id)
85
189
  if bandwidth is not None:
86
190
  pulumi.set(__self__, "bandwidth", bandwidth)
191
+ if create_time is not None:
192
+ pulumi.set(__self__, "create_time", create_time)
87
193
  if description is not None:
88
194
  pulumi.set(__self__, "description", description)
89
195
  if dry_run is not None:
90
196
  pulumi.set(__self__, "dry_run", dry_run)
197
+ if force_delete is not None:
198
+ pulumi.set(__self__, "force_delete", force_delete)
91
199
  if instance_id is not None:
92
200
  pulumi.set(__self__, "instance_id", instance_id)
93
201
  if peer_connection_accepter_name is not None:
94
202
  pulumi.set(__self__, "peer_connection_accepter_name", peer_connection_accepter_name)
203
+ if resource_group_id is not None:
204
+ pulumi.set(__self__, "resource_group_id", resource_group_id)
95
205
  if status is not None:
96
206
  pulumi.set(__self__, "status", status)
97
207
  if vpc_id is not None:
@@ -101,7 +211,7 @@ class _PeerConnectionAccepterState:
101
211
  @pulumi.getter(name="acceptingOwnerUid")
102
212
  def accepting_owner_uid(self) -> Optional[pulumi.Input[int]]:
103
213
  """
104
- The ID of the Alibaba Cloud account (primary account) of the receiving end of the VPC peering connection to be created.-Enter the ID of your Alibaba Cloud account to create a peer-to-peer connection to the VPC account.-Enter the ID of another Alibaba Cloud account to create a cross-account VPC peer-to-peer connection.> If the recipient account is a RAM user (sub-account), enter the ID of the Alibaba Cloud account corresponding to the RAM user.
214
+ The ID of the Alibaba Cloud account (primary account) of the receiving end of the VPC peering connection to be created.-to-peer connection to the VPC account.-account VPC peer-to-peer connection.
105
215
  """
106
216
  return pulumi.get(self, "accepting_owner_uid")
107
217
 
@@ -113,7 +223,7 @@ class _PeerConnectionAccepterState:
113
223
  @pulumi.getter(name="acceptingRegionId")
114
224
  def accepting_region_id(self) -> Optional[pulumi.Input[str]]:
115
225
  """
116
- The region ID of the recipient of the VPC peering connection to be created.-When creating a VPC peer-to-peer connection in the same region, enter the same region ID as the region ID of the initiator.-When creating a cross-region VPC peer-to-peer connection, enter a region ID that is different from the region ID of the initiator.
226
+ The region ID of the recipient of the VPC peering connection to be created.-to-peer connection in the same region, enter the same region ID as the region ID of the initiator.-region VPC peer-to-peer connection, enter a region ID that is different from the region ID of the initiator.
117
227
  """
118
228
  return pulumi.get(self, "accepting_region_id")
119
229
 
@@ -137,7 +247,7 @@ class _PeerConnectionAccepterState:
137
247
  @pulumi.getter
138
248
  def bandwidth(self) -> Optional[pulumi.Input[int]]:
139
249
  """
140
- The bandwidth of the VPC peering connection to be modified. Unit: Mbps. The value range is an integer greater than 0.
250
+ The new bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0.
141
251
  """
142
252
  return pulumi.get(self, "bandwidth")
143
253
 
@@ -145,11 +255,25 @@ class _PeerConnectionAccepterState:
145
255
  def bandwidth(self, value: Optional[pulumi.Input[int]]):
146
256
  pulumi.set(self, "bandwidth", value)
147
257
 
258
+ @property
259
+ @pulumi.getter(name="createTime")
260
+ def create_time(self) -> Optional[pulumi.Input[str]]:
261
+ """
262
+ The creation time of the VPC peer connection. Use UTC time in the format' YYYY-MM-DDThh:mm:ssZ '.
263
+ """
264
+ return pulumi.get(self, "create_time")
265
+
266
+ @create_time.setter
267
+ def create_time(self, value: Optional[pulumi.Input[str]]):
268
+ pulumi.set(self, "create_time", value)
269
+
148
270
  @property
149
271
  @pulumi.getter
150
272
  def description(self) -> Optional[pulumi.Input[str]]:
151
273
  """
152
- The description of the VPC peer connection to be created.It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with http:// or https.
274
+ The new description of the VPC peering connection.
275
+
276
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
153
277
  """
154
278
  return pulumi.get(self, "description")
155
279
 
@@ -161,7 +285,7 @@ class _PeerConnectionAccepterState:
161
285
  @pulumi.getter(name="dryRun")
162
286
  def dry_run(self) -> Optional[pulumi.Input[bool]]:
163
287
  """
164
- The dry run.
288
+ Specifies whether to perform only a dry run, without performing the actual request. Valid values:
165
289
  """
166
290
  return pulumi.get(self, "dry_run")
167
291
 
@@ -169,11 +293,23 @@ class _PeerConnectionAccepterState:
169
293
  def dry_run(self, value: Optional[pulumi.Input[bool]]):
170
294
  pulumi.set(self, "dry_run", value)
171
295
 
296
+ @property
297
+ @pulumi.getter(name="forceDelete")
298
+ def force_delete(self) -> Optional[pulumi.Input[bool]]:
299
+ """
300
+ Specifies whether to forcefully delete the VPC peering connection. Valid values:
301
+ """
302
+ return pulumi.get(self, "force_delete")
303
+
304
+ @force_delete.setter
305
+ def force_delete(self, value: Optional[pulumi.Input[bool]]):
306
+ pulumi.set(self, "force_delete", value)
307
+
172
308
  @property
173
309
  @pulumi.getter(name="instanceId")
174
310
  def instance_id(self) -> Optional[pulumi.Input[str]]:
175
311
  """
176
- The ID of the instance of the created VPC peer connection.
312
+ The ID of the VPC peering connection whose name or description you want to modify.
177
313
  """
178
314
  return pulumi.get(self, "instance_id")
179
315
 
@@ -185,7 +321,9 @@ class _PeerConnectionAccepterState:
185
321
  @pulumi.getter(name="peerConnectionAccepterName")
186
322
  def peer_connection_accepter_name(self) -> Optional[pulumi.Input[str]]:
187
323
  """
188
- The name of the resource
324
+ The new name of the VPC peering connection.
325
+
326
+ The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
189
327
  """
190
328
  return pulumi.get(self, "peer_connection_accepter_name")
191
329
 
@@ -193,6 +331,20 @@ class _PeerConnectionAccepterState:
193
331
  def peer_connection_accepter_name(self, value: Optional[pulumi.Input[str]]):
194
332
  pulumi.set(self, "peer_connection_accepter_name", value)
195
333
 
334
+ @property
335
+ @pulumi.getter(name="resourceGroupId")
336
+ def resource_group_id(self) -> Optional[pulumi.Input[str]]:
337
+ """
338
+ The ID of the new resource group.
339
+
340
+ > **NOTE:** You can use resource groups to manage resources within your Alibaba Cloud account by group. This helps you resolve issues such as resource grouping and permission management for your Alibaba Cloud account. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
341
+ """
342
+ return pulumi.get(self, "resource_group_id")
343
+
344
+ @resource_group_id.setter
345
+ def resource_group_id(self, value: Optional[pulumi.Input[str]]):
346
+ pulumi.set(self, "resource_group_id", value)
347
+
196
348
  @property
197
349
  @pulumi.getter
198
350
  def status(self) -> Optional[pulumi.Input[str]]:
@@ -209,7 +361,7 @@ class _PeerConnectionAccepterState:
209
361
  @pulumi.getter(name="vpcId")
210
362
  def vpc_id(self) -> Optional[pulumi.Input[str]]:
211
363
  """
212
- You must create a VPC ID on the initiator of a VPC peer connection.
364
+ The VPC ID of the initiator of the VPC peering connection.
213
365
  """
214
366
  return pulumi.get(self, "vpc_id")
215
367
 
@@ -223,8 +375,13 @@ class PeerConnectionAccepter(pulumi.CustomResource):
223
375
  def __init__(__self__,
224
376
  resource_name: str,
225
377
  opts: Optional[pulumi.ResourceOptions] = None,
378
+ bandwidth: Optional[pulumi.Input[int]] = None,
379
+ description: Optional[pulumi.Input[str]] = None,
226
380
  dry_run: Optional[pulumi.Input[bool]] = None,
381
+ force_delete: Optional[pulumi.Input[bool]] = None,
227
382
  instance_id: Optional[pulumi.Input[str]] = None,
383
+ peer_connection_accepter_name: Optional[pulumi.Input[str]] = None,
384
+ resource_group_id: Optional[pulumi.Input[str]] = None,
228
385
  __props__=None):
229
386
  """
230
387
  Provides a Vpc Peer Connection Accepter resource.
@@ -278,8 +435,19 @@ class PeerConnectionAccepter(pulumi.CustomResource):
278
435
 
279
436
  :param str resource_name: The name of the resource.
280
437
  :param pulumi.ResourceOptions opts: Options for the resource.
281
- :param pulumi.Input[bool] dry_run: The dry run.
282
- :param pulumi.Input[str] instance_id: The ID of the instance of the created VPC peer connection.
438
+ :param pulumi.Input[int] bandwidth: The new bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0.
439
+ :param pulumi.Input[str] description: The new description of the VPC peering connection.
440
+
441
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
442
+ :param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
443
+ :param pulumi.Input[bool] force_delete: Specifies whether to forcefully delete the VPC peering connection. Valid values:
444
+ :param pulumi.Input[str] instance_id: The ID of the VPC peering connection whose name or description you want to modify.
445
+ :param pulumi.Input[str] peer_connection_accepter_name: The new name of the VPC peering connection.
446
+
447
+ The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
448
+ :param pulumi.Input[str] resource_group_id: The ID of the new resource group.
449
+
450
+ > **NOTE:** You can use resource groups to manage resources within your Alibaba Cloud account by group. This helps you resolve issues such as resource grouping and permission management for your Alibaba Cloud account. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
283
451
  """
284
452
  ...
285
453
  @overload
@@ -352,8 +520,13 @@ class PeerConnectionAccepter(pulumi.CustomResource):
352
520
  def _internal_init(__self__,
353
521
  resource_name: str,
354
522
  opts: Optional[pulumi.ResourceOptions] = None,
523
+ bandwidth: Optional[pulumi.Input[int]] = None,
524
+ description: Optional[pulumi.Input[str]] = None,
355
525
  dry_run: Optional[pulumi.Input[bool]] = None,
526
+ force_delete: Optional[pulumi.Input[bool]] = None,
356
527
  instance_id: Optional[pulumi.Input[str]] = None,
528
+ peer_connection_accepter_name: Optional[pulumi.Input[str]] = None,
529
+ resource_group_id: Optional[pulumi.Input[str]] = None,
357
530
  __props__=None):
358
531
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
359
532
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -363,16 +536,19 @@ class PeerConnectionAccepter(pulumi.CustomResource):
363
536
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
364
537
  __props__ = PeerConnectionAccepterArgs.__new__(PeerConnectionAccepterArgs)
365
538
 
539
+ __props__.__dict__["bandwidth"] = bandwidth
540
+ __props__.__dict__["description"] = description
366
541
  __props__.__dict__["dry_run"] = dry_run
542
+ __props__.__dict__["force_delete"] = force_delete
367
543
  if instance_id is None and not opts.urn:
368
544
  raise TypeError("Missing required property 'instance_id'")
369
545
  __props__.__dict__["instance_id"] = instance_id
546
+ __props__.__dict__["peer_connection_accepter_name"] = peer_connection_accepter_name
547
+ __props__.__dict__["resource_group_id"] = resource_group_id
370
548
  __props__.__dict__["accepting_owner_uid"] = None
371
549
  __props__.__dict__["accepting_region_id"] = None
372
550
  __props__.__dict__["accepting_vpc_id"] = None
373
- __props__.__dict__["bandwidth"] = None
374
- __props__.__dict__["description"] = None
375
- __props__.__dict__["peer_connection_accepter_name"] = None
551
+ __props__.__dict__["create_time"] = None
376
552
  __props__.__dict__["status"] = None
377
553
  __props__.__dict__["vpc_id"] = None
378
554
  super(PeerConnectionAccepter, __self__).__init__(
@@ -389,10 +565,13 @@ class PeerConnectionAccepter(pulumi.CustomResource):
389
565
  accepting_region_id: Optional[pulumi.Input[str]] = None,
390
566
  accepting_vpc_id: Optional[pulumi.Input[str]] = None,
391
567
  bandwidth: Optional[pulumi.Input[int]] = None,
568
+ create_time: Optional[pulumi.Input[str]] = None,
392
569
  description: Optional[pulumi.Input[str]] = None,
393
570
  dry_run: Optional[pulumi.Input[bool]] = None,
571
+ force_delete: Optional[pulumi.Input[bool]] = None,
394
572
  instance_id: Optional[pulumi.Input[str]] = None,
395
573
  peer_connection_accepter_name: Optional[pulumi.Input[str]] = None,
574
+ resource_group_id: Optional[pulumi.Input[str]] = None,
396
575
  status: Optional[pulumi.Input[str]] = None,
397
576
  vpc_id: Optional[pulumi.Input[str]] = None) -> 'PeerConnectionAccepter':
398
577
  """
@@ -402,16 +581,25 @@ class PeerConnectionAccepter(pulumi.CustomResource):
402
581
  :param str resource_name: The unique name of the resulting resource.
403
582
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
404
583
  :param pulumi.ResourceOptions opts: Options for the resource.
405
- :param pulumi.Input[int] accepting_owner_uid: The ID of the Alibaba Cloud account (primary account) of the receiving end of the VPC peering connection to be created.-Enter the ID of your Alibaba Cloud account to create a peer-to-peer connection to the VPC account.-Enter the ID of another Alibaba Cloud account to create a cross-account VPC peer-to-peer connection.> If the recipient account is a RAM user (sub-account), enter the ID of the Alibaba Cloud account corresponding to the RAM user.
406
- :param pulumi.Input[str] accepting_region_id: The region ID of the recipient of the VPC peering connection to be created.-When creating a VPC peer-to-peer connection in the same region, enter the same region ID as the region ID of the initiator.-When creating a cross-region VPC peer-to-peer connection, enter a region ID that is different from the region ID of the initiator.
584
+ :param pulumi.Input[int] accepting_owner_uid: The ID of the Alibaba Cloud account (primary account) of the receiving end of the VPC peering connection to be created.-to-peer connection to the VPC account.-account VPC peer-to-peer connection.
585
+ :param pulumi.Input[str] accepting_region_id: The region ID of the recipient of the VPC peering connection to be created.-to-peer connection in the same region, enter the same region ID as the region ID of the initiator.-region VPC peer-to-peer connection, enter a region ID that is different from the region ID of the initiator.
407
586
  :param pulumi.Input[str] accepting_vpc_id: The VPC ID of the receiving end of the VPC peer connection.
408
- :param pulumi.Input[int] bandwidth: The bandwidth of the VPC peering connection to be modified. Unit: Mbps. The value range is an integer greater than 0.
409
- :param pulumi.Input[str] description: The description of the VPC peer connection to be created.It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with http:// or https.
410
- :param pulumi.Input[bool] dry_run: The dry run.
411
- :param pulumi.Input[str] instance_id: The ID of the instance of the created VPC peer connection.
412
- :param pulumi.Input[str] peer_connection_accepter_name: The name of the resource
587
+ :param pulumi.Input[int] bandwidth: The new bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0.
588
+ :param pulumi.Input[str] create_time: The creation time of the VPC peer connection. Use UTC time in the format' YYYY-MM-DDThh:mm:ssZ '.
589
+ :param pulumi.Input[str] description: The new description of the VPC peering connection.
590
+
591
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
592
+ :param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
593
+ :param pulumi.Input[bool] force_delete: Specifies whether to forcefully delete the VPC peering connection. Valid values:
594
+ :param pulumi.Input[str] instance_id: The ID of the VPC peering connection whose name or description you want to modify.
595
+ :param pulumi.Input[str] peer_connection_accepter_name: The new name of the VPC peering connection.
596
+
597
+ The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
598
+ :param pulumi.Input[str] resource_group_id: The ID of the new resource group.
599
+
600
+ > **NOTE:** You can use resource groups to manage resources within your Alibaba Cloud account by group. This helps you resolve issues such as resource grouping and permission management for your Alibaba Cloud account. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
413
601
  :param pulumi.Input[str] status: The status of the resource
414
- :param pulumi.Input[str] vpc_id: You must create a VPC ID on the initiator of a VPC peer connection.
602
+ :param pulumi.Input[str] vpc_id: The VPC ID of the initiator of the VPC peering connection.
415
603
  """
416
604
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
417
605
 
@@ -421,10 +609,13 @@ class PeerConnectionAccepter(pulumi.CustomResource):
421
609
  __props__.__dict__["accepting_region_id"] = accepting_region_id
422
610
  __props__.__dict__["accepting_vpc_id"] = accepting_vpc_id
423
611
  __props__.__dict__["bandwidth"] = bandwidth
612
+ __props__.__dict__["create_time"] = create_time
424
613
  __props__.__dict__["description"] = description
425
614
  __props__.__dict__["dry_run"] = dry_run
615
+ __props__.__dict__["force_delete"] = force_delete
426
616
  __props__.__dict__["instance_id"] = instance_id
427
617
  __props__.__dict__["peer_connection_accepter_name"] = peer_connection_accepter_name
618
+ __props__.__dict__["resource_group_id"] = resource_group_id
428
619
  __props__.__dict__["status"] = status
429
620
  __props__.__dict__["vpc_id"] = vpc_id
430
621
  return PeerConnectionAccepter(resource_name, opts=opts, __props__=__props__)
@@ -433,7 +624,7 @@ class PeerConnectionAccepter(pulumi.CustomResource):
433
624
  @pulumi.getter(name="acceptingOwnerUid")
434
625
  def accepting_owner_uid(self) -> pulumi.Output[int]:
435
626
  """
436
- The ID of the Alibaba Cloud account (primary account) of the receiving end of the VPC peering connection to be created.-Enter the ID of your Alibaba Cloud account to create a peer-to-peer connection to the VPC account.-Enter the ID of another Alibaba Cloud account to create a cross-account VPC peer-to-peer connection.> If the recipient account is a RAM user (sub-account), enter the ID of the Alibaba Cloud account corresponding to the RAM user.
627
+ The ID of the Alibaba Cloud account (primary account) of the receiving end of the VPC peering connection to be created.-to-peer connection to the VPC account.-account VPC peer-to-peer connection.
437
628
  """
438
629
  return pulumi.get(self, "accepting_owner_uid")
439
630
 
@@ -441,7 +632,7 @@ class PeerConnectionAccepter(pulumi.CustomResource):
441
632
  @pulumi.getter(name="acceptingRegionId")
442
633
  def accepting_region_id(self) -> pulumi.Output[str]:
443
634
  """
444
- The region ID of the recipient of the VPC peering connection to be created.-When creating a VPC peer-to-peer connection in the same region, enter the same region ID as the region ID of the initiator.-When creating a cross-region VPC peer-to-peer connection, enter a region ID that is different from the region ID of the initiator.
635
+ The region ID of the recipient of the VPC peering connection to be created.-to-peer connection in the same region, enter the same region ID as the region ID of the initiator.-region VPC peer-to-peer connection, enter a region ID that is different from the region ID of the initiator.
445
636
  """
446
637
  return pulumi.get(self, "accepting_region_id")
447
638
 
@@ -457,15 +648,25 @@ class PeerConnectionAccepter(pulumi.CustomResource):
457
648
  @pulumi.getter
458
649
  def bandwidth(self) -> pulumi.Output[int]:
459
650
  """
460
- The bandwidth of the VPC peering connection to be modified. Unit: Mbps. The value range is an integer greater than 0.
651
+ The new bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0.
461
652
  """
462
653
  return pulumi.get(self, "bandwidth")
463
654
 
655
+ @property
656
+ @pulumi.getter(name="createTime")
657
+ def create_time(self) -> pulumi.Output[str]:
658
+ """
659
+ The creation time of the VPC peer connection. Use UTC time in the format' YYYY-MM-DDThh:mm:ssZ '.
660
+ """
661
+ return pulumi.get(self, "create_time")
662
+
464
663
  @property
465
664
  @pulumi.getter
466
665
  def description(self) -> pulumi.Output[str]:
467
666
  """
468
- The description of the VPC peer connection to be created.It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with http:// or https.
667
+ The new description of the VPC peering connection.
668
+
669
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
469
670
  """
470
671
  return pulumi.get(self, "description")
471
672
 
@@ -473,15 +674,23 @@ class PeerConnectionAccepter(pulumi.CustomResource):
473
674
  @pulumi.getter(name="dryRun")
474
675
  def dry_run(self) -> pulumi.Output[Optional[bool]]:
475
676
  """
476
- The dry run.
677
+ Specifies whether to perform only a dry run, without performing the actual request. Valid values:
477
678
  """
478
679
  return pulumi.get(self, "dry_run")
479
680
 
681
+ @property
682
+ @pulumi.getter(name="forceDelete")
683
+ def force_delete(self) -> pulumi.Output[Optional[bool]]:
684
+ """
685
+ Specifies whether to forcefully delete the VPC peering connection. Valid values:
686
+ """
687
+ return pulumi.get(self, "force_delete")
688
+
480
689
  @property
481
690
  @pulumi.getter(name="instanceId")
482
691
  def instance_id(self) -> pulumi.Output[str]:
483
692
  """
484
- The ID of the instance of the created VPC peer connection.
693
+ The ID of the VPC peering connection whose name or description you want to modify.
485
694
  """
486
695
  return pulumi.get(self, "instance_id")
487
696
 
@@ -489,10 +698,22 @@ class PeerConnectionAccepter(pulumi.CustomResource):
489
698
  @pulumi.getter(name="peerConnectionAccepterName")
490
699
  def peer_connection_accepter_name(self) -> pulumi.Output[str]:
491
700
  """
492
- The name of the resource
701
+ The new name of the VPC peering connection.
702
+
703
+ The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
493
704
  """
494
705
  return pulumi.get(self, "peer_connection_accepter_name")
495
706
 
707
+ @property
708
+ @pulumi.getter(name="resourceGroupId")
709
+ def resource_group_id(self) -> pulumi.Output[str]:
710
+ """
711
+ The ID of the new resource group.
712
+
713
+ > **NOTE:** You can use resource groups to manage resources within your Alibaba Cloud account by group. This helps you resolve issues such as resource grouping and permission management for your Alibaba Cloud account. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
714
+ """
715
+ return pulumi.get(self, "resource_group_id")
716
+
496
717
  @property
497
718
  @pulumi.getter
498
719
  def status(self) -> pulumi.Output[str]:
@@ -505,7 +726,7 @@ class PeerConnectionAccepter(pulumi.CustomResource):
505
726
  @pulumi.getter(name="vpcId")
506
727
  def vpc_id(self) -> pulumi.Output[str]:
507
728
  """
508
- You must create a VPC ID on the initiator of a VPC peer connection.
729
+ The VPC ID of the initiator of the VPC peering connection.
509
730
  """
510
731
  return pulumi.get(self, "vpc_id")
511
732