pulumi-alicloud 3.84.0a1757017465__py3-none-any.whl → 3.85.0a1757389637__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 (54) hide show
  1. pulumi_alicloud/__init__.py +64 -0
  2. pulumi_alicloud/amqp/get_instances.py +49 -20
  3. pulumi_alicloud/amqp/outputs.py +20 -20
  4. pulumi_alicloud/amqp/virtual_host.py +46 -20
  5. pulumi_alicloud/cloudsso/__init__.py +1 -0
  6. pulumi_alicloud/cloudsso/delegate_account.py +218 -0
  7. pulumi_alicloud/cs/node_pool.py +7 -0
  8. pulumi_alicloud/ddos/bgp_ip.py +57 -48
  9. pulumi_alicloud/ddos/ddos_bgp_instance.py +246 -106
  10. pulumi_alicloud/dms/__init__.py +1 -0
  11. pulumi_alicloud/dms/enterprise_workspace.py +354 -0
  12. pulumi_alicloud/dns/ddos_bgp_instance.py +246 -106
  13. pulumi_alicloud/eflo/node.py +54 -7
  14. pulumi_alicloud/esa/__init__.py +3 -0
  15. pulumi_alicloud/esa/kv_account.py +145 -0
  16. pulumi_alicloud/esa/routine_related_record.py +226 -0
  17. pulumi_alicloud/esa/url_observation.py +352 -0
  18. pulumi_alicloud/fc/get_service.py +2 -2
  19. pulumi_alicloud/hologram/instance.py +35 -0
  20. pulumi_alicloud/kms/instance.py +47 -0
  21. pulumi_alicloud/log/oss_export.py +6 -0
  22. pulumi_alicloud/message/service_subscription.py +48 -1
  23. pulumi_alicloud/mongodb/sharding_instance.py +338 -0
  24. pulumi_alicloud/nlb/server_group.py +28 -21
  25. pulumi_alicloud/oss/bucket.py +56 -0
  26. pulumi_alicloud/privatelink/vpc_endpoint.py +21 -7
  27. pulumi_alicloud/pulumi-plugin.json +1 -1
  28. pulumi_alicloud/resourcemanager/__init__.py +1 -0
  29. pulumi_alicloud/resourcemanager/delegated_administrator.py +22 -50
  30. pulumi_alicloud/resourcemanager/folder.py +106 -29
  31. pulumi_alicloud/resourcemanager/get_accounts.py +35 -18
  32. pulumi_alicloud/resourcemanager/message_contact.py +572 -0
  33. pulumi_alicloud/resourcemanager/outputs.py +31 -20
  34. pulumi_alicloud/resourcemanager/resource_directory.py +137 -46
  35. pulumi_alicloud/resourcemanager/shared_resource.py +81 -45
  36. pulumi_alicloud/resourcemanager/shared_target.py +60 -24
  37. pulumi_alicloud/sls/__init__.py +4 -0
  38. pulumi_alicloud/sls/_inputs.py +128 -0
  39. pulumi_alicloud/sls/get_logtail_configs.py +395 -0
  40. pulumi_alicloud/sls/get_machine_groups.py +229 -0
  41. pulumi_alicloud/sls/logtail_config.py +692 -0
  42. pulumi_alicloud/sls/machine_group.py +502 -0
  43. pulumi_alicloud/sls/outputs.py +172 -0
  44. pulumi_alicloud/vpc/_inputs.py +87 -54
  45. pulumi_alicloud/vpc/dhcp_options_set.py +97 -58
  46. pulumi_alicloud/vpc/flow_log.py +25 -25
  47. pulumi_alicloud/vpc/ha_vip_attachment.py +41 -60
  48. pulumi_alicloud/vpc/ha_vipv2.py +100 -88
  49. pulumi_alicloud/vpc/network_acl.py +34 -23
  50. pulumi_alicloud/vpc/outputs.py +58 -36
  51. {pulumi_alicloud-3.84.0a1757017465.dist-info → pulumi_alicloud-3.85.0a1757389637.dist-info}/METADATA +1 -1
  52. {pulumi_alicloud-3.84.0a1757017465.dist-info → pulumi_alicloud-3.85.0a1757389637.dist-info}/RECORD +54 -44
  53. {pulumi_alicloud-3.84.0a1757017465.dist-info → pulumi_alicloud-3.85.0a1757389637.dist-info}/WHEEL +0 -0
  54. {pulumi_alicloud-3.84.0a1757017465.dist-info → pulumi_alicloud-3.85.0a1757389637.dist-info}/top_level.txt +0 -0
@@ -28,14 +28,14 @@ class HaVipv2Args:
28
28
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
29
29
  """
30
30
  The set of arguments for constructing a HaVipv2 resource.
31
- :param pulumi.Input[_builtins.str] vswitch_id: The switch ID to which the HaVip instance belongs.
31
+ :param pulumi.Input[_builtins.str] vswitch_id: The switch ID to which the HaVip instance belongs
32
32
 
33
33
  The following arguments will be discarded. Please use new fields as soon as possible:
34
- :param pulumi.Input[_builtins.str] description: The description of the HaVip instance. The length is 2 to 256 characters.
35
- :param pulumi.Input[_builtins.str] ha_vip_name: The name of the HaVip instance.
36
- :param pulumi.Input[_builtins.str] havip_name: Field 'havip_name' has been deprecated from provider version 1.205.0. New field 'ha_vip_name' instead.
37
- :param pulumi.Input[_builtins.str] ip_address: The ip address of the HaVip. If not filled, the default will be assigned one from the vswitch.
38
- :param pulumi.Input[_builtins.str] resource_group_id: The ID of the resource group.
34
+ :param pulumi.Input[_builtins.str] description: The description of the HAVIP. The description must be 1 to 255 characters in length and cannot start with `http://` or `https://`.
35
+ :param pulumi.Input[_builtins.str] ha_vip_name: The name of the HAVIP. The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
36
+ :param pulumi.Input[_builtins.str] havip_name: . Field 'havip_name' has been deprecated from provider version 1.259.0. New field 'ha_vip_name' instead.
37
+ :param pulumi.Input[_builtins.str] ip_address: The IP address of the HAVIP. The specified IP address must be an idle IP address that falls within the CIDR block of the vSwitch. If this parameter is not set, an idle IP address from the CIDR block of the vSwitch is randomly assigned to the HAVIP.
38
+ :param pulumi.Input[_builtins.str] resource_group_id: The ID of the resource group to which the HAVIP belongs.
39
39
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: The tags of HaVip.
40
40
  """
41
41
  pulumi.set(__self__, "vswitch_id", vswitch_id)
@@ -59,7 +59,7 @@ class HaVipv2Args:
59
59
  @pulumi.getter(name="vswitchId")
60
60
  def vswitch_id(self) -> pulumi.Input[_builtins.str]:
61
61
  """
62
- The switch ID to which the HaVip instance belongs.
62
+ The switch ID to which the HaVip instance belongs
63
63
 
64
64
  The following arguments will be discarded. Please use new fields as soon as possible:
65
65
  """
@@ -73,7 +73,7 @@ class HaVipv2Args:
73
73
  @pulumi.getter
74
74
  def description(self) -> Optional[pulumi.Input[_builtins.str]]:
75
75
  """
76
- The description of the HaVip instance. The length is 2 to 256 characters.
76
+ The description of the HAVIP. The description must be 1 to 255 characters in length and cannot start with `http://` or `https://`.
77
77
  """
78
78
  return pulumi.get(self, "description")
79
79
 
@@ -85,7 +85,7 @@ class HaVipv2Args:
85
85
  @pulumi.getter(name="haVipName")
86
86
  def ha_vip_name(self) -> Optional[pulumi.Input[_builtins.str]]:
87
87
  """
88
- The name of the HaVip instance.
88
+ The name of the HAVIP. The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
89
89
  """
90
90
  return pulumi.get(self, "ha_vip_name")
91
91
 
@@ -98,7 +98,7 @@ class HaVipv2Args:
98
98
  @_utilities.deprecated("""Field 'havip_name' has been deprecated from provider version 1.205.0. New field 'ha_vip_name' instead.""")
99
99
  def havip_name(self) -> Optional[pulumi.Input[_builtins.str]]:
100
100
  """
101
- Field 'havip_name' has been deprecated from provider version 1.205.0. New field 'ha_vip_name' instead.
101
+ . Field 'havip_name' has been deprecated from provider version 1.259.0. New field 'ha_vip_name' instead.
102
102
  """
103
103
  return pulumi.get(self, "havip_name")
104
104
 
@@ -110,7 +110,7 @@ class HaVipv2Args:
110
110
  @pulumi.getter(name="ipAddress")
111
111
  def ip_address(self) -> Optional[pulumi.Input[_builtins.str]]:
112
112
  """
113
- The ip address of the HaVip. If not filled, the default will be assigned one from the vswitch.
113
+ The IP address of the HAVIP. The specified IP address must be an idle IP address that falls within the CIDR block of the vSwitch. If this parameter is not set, an idle IP address from the CIDR block of the vSwitch is randomly assigned to the HAVIP.
114
114
  """
115
115
  return pulumi.get(self, "ip_address")
116
116
 
@@ -122,7 +122,7 @@ class HaVipv2Args:
122
122
  @pulumi.getter(name="resourceGroupId")
123
123
  def resource_group_id(self) -> Optional[pulumi.Input[_builtins.str]]:
124
124
  """
125
- The ID of the resource group.
125
+ The ID of the resource group to which the HAVIP belongs.
126
126
  """
127
127
  return pulumi.get(self, "resource_group_id")
128
128
 
@@ -163,21 +163,23 @@ class _HaVipv2State:
163
163
  vswitch_id: Optional[pulumi.Input[_builtins.str]] = None):
164
164
  """
165
165
  Input properties used for looking up and filtering HaVipv2 resources.
166
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] associated_eip_addresses: EIP bound to HaVip.
167
- :param pulumi.Input[_builtins.str] associated_instance_type: The type of the instance that is bound to the HaVip. Value:-**EcsInstance**: ECS instance.-**NetworkInterface**: ENI instance.
168
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] associated_instances: An ECS instance that is bound to HaVip.
169
- :param pulumi.Input[_builtins.str] create_time: The creation time of the resource.
170
- :param pulumi.Input[_builtins.str] description: The description of the HaVip instance. The length is 2 to 256 characters.
171
- :param pulumi.Input[_builtins.str] ha_vip_id: The ID of the resource.
172
- :param pulumi.Input[_builtins.str] ha_vip_name: The name of the HaVip instance.
173
- :param pulumi.Input[_builtins.str] havip_name: Field 'havip_name' has been deprecated from provider version 1.205.0. New field 'ha_vip_name' instead.
174
- :param pulumi.Input[_builtins.str] ip_address: The ip address of the HaVip. If not filled, the default will be assigned one from the vswitch.
175
- :param pulumi.Input[_builtins.str] master_instance_id: The primary instance ID bound to HaVip.
176
- :param pulumi.Input[_builtins.str] resource_group_id: The ID of the resource group.
166
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] associated_eip_addresses: EIP bound to HaVip
167
+ :param pulumi.Input[_builtins.str] associated_instance_type: The type of the instance that is bound to the HaVip. Value:
168
+ - `EcsInstance`: ECS instance.
169
+ - `NetworkInterface`: ENI instance.
170
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] associated_instances: The ID of the ECS instance to be associated with the HAVIP.
171
+ :param pulumi.Input[_builtins.str] create_time: The creation time of the resource
172
+ :param pulumi.Input[_builtins.str] description: The description of the HAVIP. The description must be 1 to 255 characters in length and cannot start with `http://` or `https://`.
173
+ :param pulumi.Input[_builtins.str] ha_vip_id: The ID of the HaVip instance.
174
+ :param pulumi.Input[_builtins.str] ha_vip_name: The name of the HAVIP. The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
175
+ :param pulumi.Input[_builtins.str] havip_name: . Field 'havip_name' has been deprecated from provider version 1.259.0. New field 'ha_vip_name' instead.
176
+ :param pulumi.Input[_builtins.str] ip_address: The IP address of the HAVIP. The specified IP address must be an idle IP address that falls within the CIDR block of the vSwitch. If this parameter is not set, an idle IP address from the CIDR block of the vSwitch is randomly assigned to the HAVIP.
177
+ :param pulumi.Input[_builtins.str] master_instance_id: The primary instance ID bound to HaVip
178
+ :param pulumi.Input[_builtins.str] resource_group_id: The ID of the resource group to which the HAVIP belongs.
177
179
  :param pulumi.Input[_builtins.str] status: The status of this resource instance.
178
180
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: The tags of HaVip.
179
- :param pulumi.Input[_builtins.str] vpc_id: The VPC ID to which the HaVip instance belongs.
180
- :param pulumi.Input[_builtins.str] vswitch_id: The switch ID to which the HaVip instance belongs.
181
+ :param pulumi.Input[_builtins.str] vpc_id: The VPC ID to which the HaVip instance belongs
182
+ :param pulumi.Input[_builtins.str] vswitch_id: The switch ID to which the HaVip instance belongs
181
183
 
182
184
  The following arguments will be discarded. Please use new fields as soon as possible:
183
185
  """
@@ -219,7 +221,7 @@ class _HaVipv2State:
219
221
  @pulumi.getter(name="associatedEipAddresses")
220
222
  def associated_eip_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
221
223
  """
222
- EIP bound to HaVip.
224
+ EIP bound to HaVip
223
225
  """
224
226
  return pulumi.get(self, "associated_eip_addresses")
225
227
 
@@ -231,7 +233,9 @@ class _HaVipv2State:
231
233
  @pulumi.getter(name="associatedInstanceType")
232
234
  def associated_instance_type(self) -> Optional[pulumi.Input[_builtins.str]]:
233
235
  """
234
- The type of the instance that is bound to the HaVip. Value:-**EcsInstance**: ECS instance.-**NetworkInterface**: ENI instance.
236
+ The type of the instance that is bound to the HaVip. Value:
237
+ - `EcsInstance`: ECS instance.
238
+ - `NetworkInterface`: ENI instance.
235
239
  """
236
240
  return pulumi.get(self, "associated_instance_type")
237
241
 
@@ -243,7 +247,7 @@ class _HaVipv2State:
243
247
  @pulumi.getter(name="associatedInstances")
244
248
  def associated_instances(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
245
249
  """
246
- An ECS instance that is bound to HaVip.
250
+ The ID of the ECS instance to be associated with the HAVIP.
247
251
  """
248
252
  return pulumi.get(self, "associated_instances")
249
253
 
@@ -255,7 +259,7 @@ class _HaVipv2State:
255
259
  @pulumi.getter(name="createTime")
256
260
  def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
257
261
  """
258
- The creation time of the resource.
262
+ The creation time of the resource
259
263
  """
260
264
  return pulumi.get(self, "create_time")
261
265
 
@@ -267,7 +271,7 @@ class _HaVipv2State:
267
271
  @pulumi.getter
268
272
  def description(self) -> Optional[pulumi.Input[_builtins.str]]:
269
273
  """
270
- The description of the HaVip instance. The length is 2 to 256 characters.
274
+ The description of the HAVIP. The description must be 1 to 255 characters in length and cannot start with `http://` or `https://`.
271
275
  """
272
276
  return pulumi.get(self, "description")
273
277
 
@@ -279,7 +283,7 @@ class _HaVipv2State:
279
283
  @pulumi.getter(name="haVipId")
280
284
  def ha_vip_id(self) -> Optional[pulumi.Input[_builtins.str]]:
281
285
  """
282
- The ID of the resource.
286
+ The ID of the HaVip instance.
283
287
  """
284
288
  return pulumi.get(self, "ha_vip_id")
285
289
 
@@ -291,7 +295,7 @@ class _HaVipv2State:
291
295
  @pulumi.getter(name="haVipName")
292
296
  def ha_vip_name(self) -> Optional[pulumi.Input[_builtins.str]]:
293
297
  """
294
- The name of the HaVip instance.
298
+ The name of the HAVIP. The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
295
299
  """
296
300
  return pulumi.get(self, "ha_vip_name")
297
301
 
@@ -304,7 +308,7 @@ class _HaVipv2State:
304
308
  @_utilities.deprecated("""Field 'havip_name' has been deprecated from provider version 1.205.0. New field 'ha_vip_name' instead.""")
305
309
  def havip_name(self) -> Optional[pulumi.Input[_builtins.str]]:
306
310
  """
307
- Field 'havip_name' has been deprecated from provider version 1.205.0. New field 'ha_vip_name' instead.
311
+ . Field 'havip_name' has been deprecated from provider version 1.259.0. New field 'ha_vip_name' instead.
308
312
  """
309
313
  return pulumi.get(self, "havip_name")
310
314
 
@@ -316,7 +320,7 @@ class _HaVipv2State:
316
320
  @pulumi.getter(name="ipAddress")
317
321
  def ip_address(self) -> Optional[pulumi.Input[_builtins.str]]:
318
322
  """
319
- The ip address of the HaVip. If not filled, the default will be assigned one from the vswitch.
323
+ The IP address of the HAVIP. The specified IP address must be an idle IP address that falls within the CIDR block of the vSwitch. If this parameter is not set, an idle IP address from the CIDR block of the vSwitch is randomly assigned to the HAVIP.
320
324
  """
321
325
  return pulumi.get(self, "ip_address")
322
326
 
@@ -328,7 +332,7 @@ class _HaVipv2State:
328
332
  @pulumi.getter(name="masterInstanceId")
329
333
  def master_instance_id(self) -> Optional[pulumi.Input[_builtins.str]]:
330
334
  """
331
- The primary instance ID bound to HaVip.
335
+ The primary instance ID bound to HaVip
332
336
  """
333
337
  return pulumi.get(self, "master_instance_id")
334
338
 
@@ -340,7 +344,7 @@ class _HaVipv2State:
340
344
  @pulumi.getter(name="resourceGroupId")
341
345
  def resource_group_id(self) -> Optional[pulumi.Input[_builtins.str]]:
342
346
  """
343
- The ID of the resource group.
347
+ The ID of the resource group to which the HAVIP belongs.
344
348
  """
345
349
  return pulumi.get(self, "resource_group_id")
346
350
 
@@ -376,7 +380,7 @@ class _HaVipv2State:
376
380
  @pulumi.getter(name="vpcId")
377
381
  def vpc_id(self) -> Optional[pulumi.Input[_builtins.str]]:
378
382
  """
379
- The VPC ID to which the HaVip instance belongs.
383
+ The VPC ID to which the HaVip instance belongs
380
384
  """
381
385
  return pulumi.get(self, "vpc_id")
382
386
 
@@ -388,7 +392,7 @@ class _HaVipv2State:
388
392
  @pulumi.getter(name="vswitchId")
389
393
  def vswitch_id(self) -> Optional[pulumi.Input[_builtins.str]]:
390
394
  """
391
- The switch ID to which the HaVip instance belongs.
395
+ The switch ID to which the HaVip instance belongs
392
396
 
393
397
  The following arguments will be discarded. Please use new fields as soon as possible:
394
398
  """
@@ -414,9 +418,11 @@ class HaVipv2(pulumi.CustomResource):
414
418
  vswitch_id: Optional[pulumi.Input[_builtins.str]] = None,
415
419
  __props__=None):
416
420
  """
417
- Provides a Vpc Ha Vip resource. Highly available virtual IP
421
+ Provides a VPC Ha Vip resource.
418
422
 
419
- For information about Vpc Ha Vip and how to use it, see [What is Ha Vip](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/createhavip).
423
+ Highly available virtual IP.
424
+
425
+ For information about VPC Ha Vip and how to use it, see [What is Ha Vip](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/createhavip).
420
426
 
421
427
  > **NOTE:** Available since v1.205.0.
422
428
 
@@ -431,10 +437,10 @@ class HaVipv2(pulumi.CustomResource):
431
437
  config = pulumi.Config()
432
438
  name = config.get("name")
433
439
  if name is None:
434
- name = "tf-testacc-example"
440
+ name = "tf-example"
435
441
  default = alicloud.get_zones(available_resource_creation="VSwitch")
436
442
  default_vpc = alicloud.vpc.Network("defaultVpc",
437
- description="tf-test-acc-vpc",
443
+ description=name,
438
444
  vpc_name=name,
439
445
  cidr_block="192.168.0.0/16")
440
446
  default_vswitch = alicloud.vpc.Switch("defaultVswitch",
@@ -442,15 +448,15 @@ class HaVipv2(pulumi.CustomResource):
442
448
  cidr_block="192.168.0.0/21",
443
449
  vswitch_name=f"{name}1",
444
450
  zone_id=default.zones[0].id,
445
- description="tf-testacc-vswitch")
451
+ description=name)
446
452
  default_rg = alicloud.resourcemanager.ResourceGroup("defaultRg",
447
- display_name="tf-testacc-rg819",
453
+ display_name="tf-example-defaultRg",
448
454
  resource_group_name=f"{name}2")
449
455
  change_rg = alicloud.resourcemanager.ResourceGroup("changeRg",
450
- display_name="tf-testacc-changerg670",
456
+ display_name="tf-example-changeRg",
451
457
  resource_group_name=f"{name}3")
452
458
  default_ha_vipv2 = alicloud.vpc.HaVipv2("default",
453
- description="test",
459
+ description=name,
454
460
  vswitch_id=default_vswitch.id,
455
461
  ha_vip_name=name,
456
462
  ip_address="192.168.1.101",
@@ -459,7 +465,7 @@ class HaVipv2(pulumi.CustomResource):
459
465
 
460
466
  ## Import
461
467
 
462
- Vpc Ha Vip can be imported using the id, e.g.
468
+ VPC Ha Vip can be imported using the id, e.g.
463
469
 
464
470
  ```sh
465
471
  $ pulumi import alicloud:vpc/haVipv2:HaVipv2 example <id>
@@ -467,13 +473,13 @@ class HaVipv2(pulumi.CustomResource):
467
473
 
468
474
  :param str resource_name: The name of the resource.
469
475
  :param pulumi.ResourceOptions opts: Options for the resource.
470
- :param pulumi.Input[_builtins.str] description: The description of the HaVip instance. The length is 2 to 256 characters.
471
- :param pulumi.Input[_builtins.str] ha_vip_name: The name of the HaVip instance.
472
- :param pulumi.Input[_builtins.str] havip_name: Field 'havip_name' has been deprecated from provider version 1.205.0. New field 'ha_vip_name' instead.
473
- :param pulumi.Input[_builtins.str] ip_address: The ip address of the HaVip. If not filled, the default will be assigned one from the vswitch.
474
- :param pulumi.Input[_builtins.str] resource_group_id: The ID of the resource group.
476
+ :param pulumi.Input[_builtins.str] description: The description of the HAVIP. The description must be 1 to 255 characters in length and cannot start with `http://` or `https://`.
477
+ :param pulumi.Input[_builtins.str] ha_vip_name: The name of the HAVIP. The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
478
+ :param pulumi.Input[_builtins.str] havip_name: . Field 'havip_name' has been deprecated from provider version 1.259.0. New field 'ha_vip_name' instead.
479
+ :param pulumi.Input[_builtins.str] ip_address: The IP address of the HAVIP. The specified IP address must be an idle IP address that falls within the CIDR block of the vSwitch. If this parameter is not set, an idle IP address from the CIDR block of the vSwitch is randomly assigned to the HAVIP.
480
+ :param pulumi.Input[_builtins.str] resource_group_id: The ID of the resource group to which the HAVIP belongs.
475
481
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: The tags of HaVip.
476
- :param pulumi.Input[_builtins.str] vswitch_id: The switch ID to which the HaVip instance belongs.
482
+ :param pulumi.Input[_builtins.str] vswitch_id: The switch ID to which the HaVip instance belongs
477
483
 
478
484
  The following arguments will be discarded. Please use new fields as soon as possible:
479
485
  """
@@ -484,9 +490,11 @@ class HaVipv2(pulumi.CustomResource):
484
490
  args: HaVipv2Args,
485
491
  opts: Optional[pulumi.ResourceOptions] = None):
486
492
  """
487
- Provides a Vpc Ha Vip resource. Highly available virtual IP
493
+ Provides a VPC Ha Vip resource.
494
+
495
+ Highly available virtual IP.
488
496
 
489
- For information about Vpc Ha Vip and how to use it, see [What is Ha Vip](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/createhavip).
497
+ For information about VPC Ha Vip and how to use it, see [What is Ha Vip](https://www.alibabacloud.com/help/en/virtual-private-cloud/latest/createhavip).
490
498
 
491
499
  > **NOTE:** Available since v1.205.0.
492
500
 
@@ -501,10 +509,10 @@ class HaVipv2(pulumi.CustomResource):
501
509
  config = pulumi.Config()
502
510
  name = config.get("name")
503
511
  if name is None:
504
- name = "tf-testacc-example"
512
+ name = "tf-example"
505
513
  default = alicloud.get_zones(available_resource_creation="VSwitch")
506
514
  default_vpc = alicloud.vpc.Network("defaultVpc",
507
- description="tf-test-acc-vpc",
515
+ description=name,
508
516
  vpc_name=name,
509
517
  cidr_block="192.168.0.0/16")
510
518
  default_vswitch = alicloud.vpc.Switch("defaultVswitch",
@@ -512,15 +520,15 @@ class HaVipv2(pulumi.CustomResource):
512
520
  cidr_block="192.168.0.0/21",
513
521
  vswitch_name=f"{name}1",
514
522
  zone_id=default.zones[0].id,
515
- description="tf-testacc-vswitch")
523
+ description=name)
516
524
  default_rg = alicloud.resourcemanager.ResourceGroup("defaultRg",
517
- display_name="tf-testacc-rg819",
525
+ display_name="tf-example-defaultRg",
518
526
  resource_group_name=f"{name}2")
519
527
  change_rg = alicloud.resourcemanager.ResourceGroup("changeRg",
520
- display_name="tf-testacc-changerg670",
528
+ display_name="tf-example-changeRg",
521
529
  resource_group_name=f"{name}3")
522
530
  default_ha_vipv2 = alicloud.vpc.HaVipv2("default",
523
- description="test",
531
+ description=name,
524
532
  vswitch_id=default_vswitch.id,
525
533
  ha_vip_name=name,
526
534
  ip_address="192.168.1.101",
@@ -529,7 +537,7 @@ class HaVipv2(pulumi.CustomResource):
529
537
 
530
538
  ## Import
531
539
 
532
- Vpc Ha Vip can be imported using the id, e.g.
540
+ VPC Ha Vip can be imported using the id, e.g.
533
541
 
534
542
  ```sh
535
543
  $ pulumi import alicloud:vpc/haVipv2:HaVipv2 example <id>
@@ -615,21 +623,23 @@ class HaVipv2(pulumi.CustomResource):
615
623
  :param str resource_name: The unique name of the resulting resource.
616
624
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
617
625
  :param pulumi.ResourceOptions opts: Options for the resource.
618
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] associated_eip_addresses: EIP bound to HaVip.
619
- :param pulumi.Input[_builtins.str] associated_instance_type: The type of the instance that is bound to the HaVip. Value:-**EcsInstance**: ECS instance.-**NetworkInterface**: ENI instance.
620
- :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] associated_instances: An ECS instance that is bound to HaVip.
621
- :param pulumi.Input[_builtins.str] create_time: The creation time of the resource.
622
- :param pulumi.Input[_builtins.str] description: The description of the HaVip instance. The length is 2 to 256 characters.
623
- :param pulumi.Input[_builtins.str] ha_vip_id: The ID of the resource.
624
- :param pulumi.Input[_builtins.str] ha_vip_name: The name of the HaVip instance.
625
- :param pulumi.Input[_builtins.str] havip_name: Field 'havip_name' has been deprecated from provider version 1.205.0. New field 'ha_vip_name' instead.
626
- :param pulumi.Input[_builtins.str] ip_address: The ip address of the HaVip. If not filled, the default will be assigned one from the vswitch.
627
- :param pulumi.Input[_builtins.str] master_instance_id: The primary instance ID bound to HaVip.
628
- :param pulumi.Input[_builtins.str] resource_group_id: The ID of the resource group.
626
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] associated_eip_addresses: EIP bound to HaVip
627
+ :param pulumi.Input[_builtins.str] associated_instance_type: The type of the instance that is bound to the HaVip. Value:
628
+ - `EcsInstance`: ECS instance.
629
+ - `NetworkInterface`: ENI instance.
630
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] associated_instances: The ID of the ECS instance to be associated with the HAVIP.
631
+ :param pulumi.Input[_builtins.str] create_time: The creation time of the resource
632
+ :param pulumi.Input[_builtins.str] description: The description of the HAVIP. The description must be 1 to 255 characters in length and cannot start with `http://` or `https://`.
633
+ :param pulumi.Input[_builtins.str] ha_vip_id: The ID of the HaVip instance.
634
+ :param pulumi.Input[_builtins.str] ha_vip_name: The name of the HAVIP. The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
635
+ :param pulumi.Input[_builtins.str] havip_name: . Field 'havip_name' has been deprecated from provider version 1.259.0. New field 'ha_vip_name' instead.
636
+ :param pulumi.Input[_builtins.str] ip_address: The IP address of the HAVIP. The specified IP address must be an idle IP address that falls within the CIDR block of the vSwitch. If this parameter is not set, an idle IP address from the CIDR block of the vSwitch is randomly assigned to the HAVIP.
637
+ :param pulumi.Input[_builtins.str] master_instance_id: The primary instance ID bound to HaVip
638
+ :param pulumi.Input[_builtins.str] resource_group_id: The ID of the resource group to which the HAVIP belongs.
629
639
  :param pulumi.Input[_builtins.str] status: The status of this resource instance.
630
640
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: The tags of HaVip.
631
- :param pulumi.Input[_builtins.str] vpc_id: The VPC ID to which the HaVip instance belongs.
632
- :param pulumi.Input[_builtins.str] vswitch_id: The switch ID to which the HaVip instance belongs.
641
+ :param pulumi.Input[_builtins.str] vpc_id: The VPC ID to which the HaVip instance belongs
642
+ :param pulumi.Input[_builtins.str] vswitch_id: The switch ID to which the HaVip instance belongs
633
643
 
634
644
  The following arguments will be discarded. Please use new fields as soon as possible:
635
645
  """
@@ -658,7 +668,7 @@ class HaVipv2(pulumi.CustomResource):
658
668
  @pulumi.getter(name="associatedEipAddresses")
659
669
  def associated_eip_addresses(self) -> pulumi.Output[Sequence[_builtins.str]]:
660
670
  """
661
- EIP bound to HaVip.
671
+ EIP bound to HaVip
662
672
  """
663
673
  return pulumi.get(self, "associated_eip_addresses")
664
674
 
@@ -666,7 +676,9 @@ class HaVipv2(pulumi.CustomResource):
666
676
  @pulumi.getter(name="associatedInstanceType")
667
677
  def associated_instance_type(self) -> pulumi.Output[_builtins.str]:
668
678
  """
669
- The type of the instance that is bound to the HaVip. Value:-**EcsInstance**: ECS instance.-**NetworkInterface**: ENI instance.
679
+ The type of the instance that is bound to the HaVip. Value:
680
+ - `EcsInstance`: ECS instance.
681
+ - `NetworkInterface`: ENI instance.
670
682
  """
671
683
  return pulumi.get(self, "associated_instance_type")
672
684
 
@@ -674,7 +686,7 @@ class HaVipv2(pulumi.CustomResource):
674
686
  @pulumi.getter(name="associatedInstances")
675
687
  def associated_instances(self) -> pulumi.Output[Sequence[_builtins.str]]:
676
688
  """
677
- An ECS instance that is bound to HaVip.
689
+ The ID of the ECS instance to be associated with the HAVIP.
678
690
  """
679
691
  return pulumi.get(self, "associated_instances")
680
692
 
@@ -682,7 +694,7 @@ class HaVipv2(pulumi.CustomResource):
682
694
  @pulumi.getter(name="createTime")
683
695
  def create_time(self) -> pulumi.Output[_builtins.str]:
684
696
  """
685
- The creation time of the resource.
697
+ The creation time of the resource
686
698
  """
687
699
  return pulumi.get(self, "create_time")
688
700
 
@@ -690,7 +702,7 @@ class HaVipv2(pulumi.CustomResource):
690
702
  @pulumi.getter
691
703
  def description(self) -> pulumi.Output[Optional[_builtins.str]]:
692
704
  """
693
- The description of the HaVip instance. The length is 2 to 256 characters.
705
+ The description of the HAVIP. The description must be 1 to 255 characters in length and cannot start with `http://` or `https://`.
694
706
  """
695
707
  return pulumi.get(self, "description")
696
708
 
@@ -698,7 +710,7 @@ class HaVipv2(pulumi.CustomResource):
698
710
  @pulumi.getter(name="haVipId")
699
711
  def ha_vip_id(self) -> pulumi.Output[_builtins.str]:
700
712
  """
701
- The ID of the resource.
713
+ The ID of the HaVip instance.
702
714
  """
703
715
  return pulumi.get(self, "ha_vip_id")
704
716
 
@@ -706,7 +718,7 @@ class HaVipv2(pulumi.CustomResource):
706
718
  @pulumi.getter(name="haVipName")
707
719
  def ha_vip_name(self) -> pulumi.Output[_builtins.str]:
708
720
  """
709
- The name of the HaVip instance.
721
+ The name of the HAVIP. The name must be 1 to 128 characters in length, and cannot start with `http://` or `https://`.
710
722
  """
711
723
  return pulumi.get(self, "ha_vip_name")
712
724
 
@@ -715,7 +727,7 @@ class HaVipv2(pulumi.CustomResource):
715
727
  @_utilities.deprecated("""Field 'havip_name' has been deprecated from provider version 1.205.0. New field 'ha_vip_name' instead.""")
716
728
  def havip_name(self) -> pulumi.Output[_builtins.str]:
717
729
  """
718
- Field 'havip_name' has been deprecated from provider version 1.205.0. New field 'ha_vip_name' instead.
730
+ . Field 'havip_name' has been deprecated from provider version 1.259.0. New field 'ha_vip_name' instead.
719
731
  """
720
732
  return pulumi.get(self, "havip_name")
721
733
 
@@ -723,7 +735,7 @@ class HaVipv2(pulumi.CustomResource):
723
735
  @pulumi.getter(name="ipAddress")
724
736
  def ip_address(self) -> pulumi.Output[_builtins.str]:
725
737
  """
726
- The ip address of the HaVip. If not filled, the default will be assigned one from the vswitch.
738
+ The IP address of the HAVIP. The specified IP address must be an idle IP address that falls within the CIDR block of the vSwitch. If this parameter is not set, an idle IP address from the CIDR block of the vSwitch is randomly assigned to the HAVIP.
727
739
  """
728
740
  return pulumi.get(self, "ip_address")
729
741
 
@@ -731,7 +743,7 @@ class HaVipv2(pulumi.CustomResource):
731
743
  @pulumi.getter(name="masterInstanceId")
732
744
  def master_instance_id(self) -> pulumi.Output[_builtins.str]:
733
745
  """
734
- The primary instance ID bound to HaVip.
746
+ The primary instance ID bound to HaVip
735
747
  """
736
748
  return pulumi.get(self, "master_instance_id")
737
749
 
@@ -739,7 +751,7 @@ class HaVipv2(pulumi.CustomResource):
739
751
  @pulumi.getter(name="resourceGroupId")
740
752
  def resource_group_id(self) -> pulumi.Output[_builtins.str]:
741
753
  """
742
- The ID of the resource group.
754
+ The ID of the resource group to which the HAVIP belongs.
743
755
  """
744
756
  return pulumi.get(self, "resource_group_id")
745
757
 
@@ -763,7 +775,7 @@ class HaVipv2(pulumi.CustomResource):
763
775
  @pulumi.getter(name="vpcId")
764
776
  def vpc_id(self) -> pulumi.Output[_builtins.str]:
765
777
  """
766
- The VPC ID to which the HaVip instance belongs.
778
+ The VPC ID to which the HaVip instance belongs
767
779
  """
768
780
  return pulumi.get(self, "vpc_id")
769
781
 
@@ -771,7 +783,7 @@ class HaVipv2(pulumi.CustomResource):
771
783
  @pulumi.getter(name="vswitchId")
772
784
  def vswitch_id(self) -> pulumi.Output[_builtins.str]:
773
785
  """
774
- The switch ID to which the HaVip instance belongs.
786
+ The switch ID to which the HaVip instance belongs
775
787
 
776
788
  The following arguments will be discarded. Please use new fields as soon as possible:
777
789
  """