pulumi-alicloud 3.71.0a1735584773__py3-none-any.whl → 3.72.0__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 (129) hide show
  1. pulumi_alicloud/__init__.py +75 -0
  2. pulumi_alicloud/_inputs.py +471 -0
  3. pulumi_alicloud/adb/cluster.py +68 -0
  4. pulumi_alicloud/adb/db_cluster.py +94 -0
  5. pulumi_alicloud/adb/get_db_cluster_lake_versions.py +39 -4
  6. pulumi_alicloud/adb/outputs.py +106 -2
  7. pulumi_alicloud/apig/__init__.py +12 -0
  8. pulumi_alicloud/apig/_inputs.py +263 -0
  9. pulumi_alicloud/apig/environment.py +317 -0
  10. pulumi_alicloud/apig/gateway.py +645 -0
  11. pulumi_alicloud/apig/http_api.py +465 -0
  12. pulumi_alicloud/apig/outputs.py +213 -0
  13. pulumi_alicloud/cfg/get_aggregate_compliance_packs.py +2 -2
  14. pulumi_alicloud/cfg/get_aggregate_config_rules.py +4 -4
  15. pulumi_alicloud/cfg/get_aggregate_deliveries.py +16 -2
  16. pulumi_alicloud/cfg/get_aggregators.py +2 -2
  17. pulumi_alicloud/cfg/get_compliance_packs.py +2 -2
  18. pulumi_alicloud/cfg/get_configuration_recorders.py +2 -6
  19. pulumi_alicloud/cfg/get_deliveries.py +11 -2
  20. pulumi_alicloud/cfg/get_delivery_channels.py +0 -4
  21. pulumi_alicloud/cfg/get_rules.py +3 -7
  22. pulumi_alicloud/cfg/outputs.py +28 -20
  23. pulumi_alicloud/cloudfirewall/get_instance_members.py +2 -2
  24. pulumi_alicloud/cloudfirewall/get_instances.py +23 -6
  25. pulumi_alicloud/cloudfirewall/get_vpc_firewall_cens.py +2 -2
  26. pulumi_alicloud/cloudfirewall/get_vpc_firewall_control_policies.py +32 -2
  27. pulumi_alicloud/cloudfirewall/get_vpc_firewalls.py +2 -2
  28. pulumi_alicloud/cloudfirewall/instance.py +1 -1
  29. pulumi_alicloud/cloudfirewall/outputs.py +16 -4
  30. pulumi_alicloud/config/__init__.pyi +2 -0
  31. pulumi_alicloud/config/outputs.py +284 -0
  32. pulumi_alicloud/config/vars.py +4 -0
  33. pulumi_alicloud/cr/_inputs.py +128 -0
  34. pulumi_alicloud/cr/outputs.py +93 -0
  35. pulumi_alicloud/cr/registry_enterprise_instance.py +86 -63
  36. pulumi_alicloud/cs/registry_enterprise_sync_rule.py +331 -38
  37. pulumi_alicloud/dcdn/get_domains.py +2 -2
  38. pulumi_alicloud/dcdn/get_ipa_domains.py +14 -2
  39. pulumi_alicloud/dcdn/get_waf_domains.py +5 -2
  40. pulumi_alicloud/dcdn/get_waf_policies.py +8 -2
  41. pulumi_alicloud/dcdn/outputs.py +6 -6
  42. pulumi_alicloud/ddos/get_ddos_coo_domain_resources.py +8 -2
  43. pulumi_alicloud/ddos/get_ddos_coo_ports.py +16 -4
  44. pulumi_alicloud/ddos/outputs.py +4 -4
  45. pulumi_alicloud/ecs/_inputs.py +9 -0
  46. pulumi_alicloud/ecs/get_ecs_disks.py +103 -14
  47. pulumi_alicloud/ecs/outputs.py +90 -36
  48. pulumi_alicloud/esa/__init__.py +3 -0
  49. pulumi_alicloud/esa/_inputs.py +456 -0
  50. pulumi_alicloud/esa/outputs.py +321 -0
  51. pulumi_alicloud/esa/record.py +798 -0
  52. pulumi_alicloud/ess/get_scaling_configurations.py +116 -10
  53. pulumi_alicloud/ess/notification.py +50 -3
  54. pulumi_alicloud/ess/outputs.py +104 -8
  55. pulumi_alicloud/ess/scheduled_task.py +7 -7
  56. pulumi_alicloud/fc/v3_trigger.py +1 -1
  57. pulumi_alicloud/ga/get_accelerator_spare_ip_attachments.py +11 -2
  58. pulumi_alicloud/ga/get_acls.py +14 -2
  59. pulumi_alicloud/ga/get_additional_certificates.py +11 -2
  60. pulumi_alicloud/ga/get_bandwidth_packages.py +14 -2
  61. pulumi_alicloud/ga/get_basic_accelerate_ip_endpoint_relations.py +2 -2
  62. pulumi_alicloud/ga/get_basic_accelerate_ips.py +2 -2
  63. pulumi_alicloud/ga/get_basic_accelerators.py +2 -2
  64. pulumi_alicloud/ga/get_basic_endpoints.py +2 -2
  65. pulumi_alicloud/ga/get_custom_routing_endpoint_group_destinations.py +2 -2
  66. pulumi_alicloud/ga/get_custom_routing_endpoint_groups.py +2 -2
  67. pulumi_alicloud/ga/get_custom_routing_endpoint_traffic_policies.py +2 -2
  68. pulumi_alicloud/ga/get_custom_routing_endpoints.py +2 -2
  69. pulumi_alicloud/ga/get_custom_routing_port_mappings.py +2 -2
  70. pulumi_alicloud/ga/get_domains.py +2 -2
  71. pulumi_alicloud/ga/get_forwarding_rules.py +8 -2
  72. pulumi_alicloud/ga/get_ip_sets.py +8 -2
  73. pulumi_alicloud/ga/get_listeners.py +11 -2
  74. pulumi_alicloud/ga/outputs.py +64 -32
  75. pulumi_alicloud/get_msc_sub_contact_verification_message.py +2 -2
  76. pulumi_alicloud/get_msc_sub_contacts.py +8 -2
  77. pulumi_alicloud/get_msc_sub_subscriptions.py +5 -2
  78. pulumi_alicloud/get_msc_sub_webhooks.py +8 -2
  79. pulumi_alicloud/kms/key.py +108 -28
  80. pulumi_alicloud/kvstore/get_instances.py +14 -3
  81. pulumi_alicloud/kvstore/outputs.py +48 -4
  82. pulumi_alicloud/marketplace/order.py +2 -2
  83. pulumi_alicloud/mongodb/__init__.py +1 -0
  84. pulumi_alicloud/mongodb/private_srv_network_address.py +283 -0
  85. pulumi_alicloud/oss/__init__.py +2 -0
  86. pulumi_alicloud/oss/_inputs.py +68 -0
  87. pulumi_alicloud/oss/access_point.py +463 -0
  88. pulumi_alicloud/oss/bucket_worm.py +327 -0
  89. pulumi_alicloud/oss/outputs.py +74 -0
  90. pulumi_alicloud/privatelink/get_service.py +2 -2
  91. pulumi_alicloud/privatelink/get_vpc_endpoint_connections.py +14 -2
  92. pulumi_alicloud/privatelink/get_vpc_endpoint_service_resources.py +8 -2
  93. pulumi_alicloud/privatelink/get_vpc_endpoint_service_users.py +11 -2
  94. pulumi_alicloud/privatelink/get_vpc_endpoint_zones.py +11 -2
  95. pulumi_alicloud/privatelink/get_vpc_endpoints.py +23 -2
  96. pulumi_alicloud/privatelink/outputs.py +6 -6
  97. pulumi_alicloud/provider.py +20 -0
  98. pulumi_alicloud/pulumi-plugin.json +1 -1
  99. pulumi_alicloud/ram/get_policies.py +66 -8
  100. pulumi_alicloud/rds/instance.py +211 -14
  101. pulumi_alicloud/resourcemanager/control_policy_attachment.py +28 -28
  102. pulumi_alicloud/resourcemanager/shared_resource.py +7 -0
  103. pulumi_alicloud/schedulerx/__init__.py +3 -0
  104. pulumi_alicloud/schedulerx/_inputs.py +542 -0
  105. pulumi_alicloud/schedulerx/app_group.py +952 -0
  106. pulumi_alicloud/schedulerx/job.py +1454 -0
  107. pulumi_alicloud/schedulerx/namespace.py +64 -51
  108. pulumi_alicloud/schedulerx/outputs.py +425 -0
  109. pulumi_alicloud/sddp/get_configs.py +5 -2
  110. pulumi_alicloud/sddp/get_data_limits.py +11 -2
  111. pulumi_alicloud/sddp/get_instances.py +5 -2
  112. pulumi_alicloud/sddp/get_rules.py +29 -2
  113. pulumi_alicloud/sddp/outputs.py +14 -14
  114. pulumi_alicloud/vpc/get_peer_connections.py +17 -2
  115. pulumi_alicloud/vpc/network.py +293 -40
  116. pulumi_alicloud/vpc/outputs.py +2 -2
  117. pulumi_alicloud/vpc/peer_connection.py +239 -132
  118. pulumi_alicloud/vpc/peer_connection_accepter.py +85 -6
  119. pulumi_alicloud/waf/domain.py +2 -2
  120. pulumi_alicloud/waf/get_certificates.py +14 -2
  121. pulumi_alicloud/waf/get_domains.py +6 -4
  122. pulumi_alicloud/waf/get_instances.py +2 -2
  123. pulumi_alicloud/waf/instance.py +0 -64
  124. pulumi_alicloud/waf/outputs.py +2 -4
  125. pulumi_alicloud/wafv3/get_instances.py +10 -4
  126. {pulumi_alicloud-3.71.0a1735584773.dist-info → pulumi_alicloud-3.72.0.dist-info}/METADATA +1 -1
  127. {pulumi_alicloud-3.71.0a1735584773.dist-info → pulumi_alicloud-3.72.0.dist-info}/RECORD +129 -114
  128. {pulumi_alicloud-3.71.0a1735584773.dist-info → pulumi_alicloud-3.72.0.dist-info}/WHEEL +1 -1
  129. {pulumi_alicloud-3.71.0a1735584773.dist-info → pulumi_alicloud-3.72.0.dist-info}/top_level.txt +0 -0
@@ -24,8 +24,10 @@ class NetworkArgs:
24
24
  cidr_block: Optional[pulumi.Input[str]] = None,
25
25
  classic_link_enabled: Optional[pulumi.Input[bool]] = None,
26
26
  description: Optional[pulumi.Input[str]] = None,
27
+ dns_hostname_status: Optional[pulumi.Input[str]] = None,
27
28
  dry_run: Optional[pulumi.Input[bool]] = None,
28
29
  enable_ipv6: Optional[pulumi.Input[bool]] = None,
30
+ ipv4_cidr_mask: Optional[pulumi.Input[int]] = None,
29
31
  ipv4_ipam_pool_id: Optional[pulumi.Input[str]] = None,
30
32
  ipv6_cidr_block: Optional[pulumi.Input[str]] = None,
31
33
  ipv6_isp: Optional[pulumi.Input[str]] = None,
@@ -33,6 +35,7 @@ class NetworkArgs:
33
35
  name: Optional[pulumi.Input[str]] = None,
34
36
  resource_group_id: Optional[pulumi.Input[str]] = None,
35
37
  secondary_cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
38
+ secondary_cidr_mask: Optional[pulumi.Input[int]] = None,
36
39
  system_route_table_description: Optional[pulumi.Input[str]] = None,
37
40
  system_route_table_name: Optional[pulumi.Input[str]] = None,
38
41
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -44,9 +47,15 @@ class NetworkArgs:
44
47
  - You can specify one of the following CIDR blocks or their subsets as the primary IPv4 CIDR block of the VPC: 192.168.0.0/16, 172.16.0.0/12, and 10.0.0.0/8. These CIDR blocks are standard private CIDR blocks as defined by Request for Comments (RFC) documents. The subnet mask must be 8 to 28 bits in length.
45
48
  - You can also use a custom CIDR block other than 100.64.0.0/10, 224.0.0.0/4, 127.0.0.0/8, 169.254.0.0/16, and their subnets as the primary IPv4 CIDR block of the VPC.
46
49
  :param pulumi.Input[bool] classic_link_enabled: The status of ClassicLink function.
47
- :param pulumi.Input[str] description: The new description of the VPC. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
50
+ :param pulumi.Input[str] description: The new description of the VPC.
51
+
52
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
53
+ :param pulumi.Input[str] dns_hostname_status: The status of VPC DNS Hostname. Valid values: `ENABLED`, `DISABLED`.
48
54
  :param pulumi.Input[bool] dry_run: Specifies whether to perform a dry run. Valid values:
49
55
  :param pulumi.Input[bool] enable_ipv6: Specifies whether to enable IPv6. Valid values:
56
+ :param pulumi.Input[int] ipv4_cidr_mask: Allocate VPC from The IPAM address pool by entering a mask.
57
+
58
+ > **NOTE:** when you specify the IPAM address pool to create a VPC, enter at least one of the CidrBlock or Ipv4CidrMask parameters.
50
59
  :param pulumi.Input[str] ipv4_ipam_pool_id: The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
51
60
  :param pulumi.Input[str] ipv6_cidr_block: The IPv6 CIDR block of the default VPC.
52
61
 
@@ -64,11 +73,20 @@ class NetworkArgs:
64
73
 
65
74
  > **NOTE:** You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
66
75
  :param pulumi.Input[Sequence[pulumi.Input[str]]] secondary_cidr_blocks: Field 'secondary_cidr_blocks' has been deprecated from provider version 1.185.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_ipv4_cidr_block'. `secondary_cidr_blocks` attributes and `vpc.Ipv4CidrBlock` resource cannot be used at the same time.
67
- :param pulumi.Input[str] system_route_table_description: The description of the route table. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
68
- :param pulumi.Input[str] system_route_table_name: The name of the route table. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
76
+ :param pulumi.Input[int] secondary_cidr_mask: Add an additional CIDR block from the IPAM address pool to the VPC by entering a mask.
77
+
78
+ > **NOTE:** Specify the IPAM address pool to add an additional CIDR block to the VPC. Enter at least one of the SecondaryCidrBlock or SecondaryCidrMask parameters.
79
+ :param pulumi.Input[str] system_route_table_description: The description of the route table.
80
+
81
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
82
+ :param pulumi.Input[str] system_route_table_name: The name of the route table.
83
+
84
+ The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
69
85
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of Vpc.
70
86
  :param pulumi.Input[Sequence[pulumi.Input[str]]] user_cidrs: A list of user CIDRs.
71
- :param pulumi.Input[str] vpc_name: The new name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
87
+ :param pulumi.Input[str] vpc_name: The new name of the VPC.
88
+
89
+ The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
72
90
 
73
91
  The following arguments will be discarded. Please use new fields as soon as possible:
74
92
  """
@@ -78,10 +96,14 @@ class NetworkArgs:
78
96
  pulumi.set(__self__, "classic_link_enabled", classic_link_enabled)
79
97
  if description is not None:
80
98
  pulumi.set(__self__, "description", description)
99
+ if dns_hostname_status is not None:
100
+ pulumi.set(__self__, "dns_hostname_status", dns_hostname_status)
81
101
  if dry_run is not None:
82
102
  pulumi.set(__self__, "dry_run", dry_run)
83
103
  if enable_ipv6 is not None:
84
104
  pulumi.set(__self__, "enable_ipv6", enable_ipv6)
105
+ if ipv4_cidr_mask is not None:
106
+ pulumi.set(__self__, "ipv4_cidr_mask", ipv4_cidr_mask)
85
107
  if ipv4_ipam_pool_id is not None:
86
108
  pulumi.set(__self__, "ipv4_ipam_pool_id", ipv4_ipam_pool_id)
87
109
  if ipv6_cidr_block is not None:
@@ -102,6 +124,8 @@ class NetworkArgs:
102
124
  pulumi.log.warn("""secondary_cidr_blocks is deprecated: Field 'secondary_cidr_blocks' has been deprecated from provider version 1.185.0. Field 'secondary_cidr_blocks' has been deprecated from provider version 1.185.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_ipv4_cidr_block'. `secondary_cidr_blocks` attributes and `vpc.Ipv4CidrBlock` resource cannot be used at the same time.""")
103
125
  if secondary_cidr_blocks is not None:
104
126
  pulumi.set(__self__, "secondary_cidr_blocks", secondary_cidr_blocks)
127
+ if secondary_cidr_mask is not None:
128
+ pulumi.set(__self__, "secondary_cidr_mask", secondary_cidr_mask)
105
129
  if system_route_table_description is not None:
106
130
  pulumi.set(__self__, "system_route_table_description", system_route_table_description)
107
131
  if system_route_table_name is not None:
@@ -143,7 +167,9 @@ class NetworkArgs:
143
167
  @pulumi.getter
144
168
  def description(self) -> Optional[pulumi.Input[str]]:
145
169
  """
146
- The new description of the VPC. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
170
+ The new description of the VPC.
171
+
172
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
147
173
  """
148
174
  return pulumi.get(self, "description")
149
175
 
@@ -151,6 +177,18 @@ class NetworkArgs:
151
177
  def description(self, value: Optional[pulumi.Input[str]]):
152
178
  pulumi.set(self, "description", value)
153
179
 
180
+ @property
181
+ @pulumi.getter(name="dnsHostnameStatus")
182
+ def dns_hostname_status(self) -> Optional[pulumi.Input[str]]:
183
+ """
184
+ The status of VPC DNS Hostname. Valid values: `ENABLED`, `DISABLED`.
185
+ """
186
+ return pulumi.get(self, "dns_hostname_status")
187
+
188
+ @dns_hostname_status.setter
189
+ def dns_hostname_status(self, value: Optional[pulumi.Input[str]]):
190
+ pulumi.set(self, "dns_hostname_status", value)
191
+
154
192
  @property
155
193
  @pulumi.getter(name="dryRun")
156
194
  def dry_run(self) -> Optional[pulumi.Input[bool]]:
@@ -175,6 +213,20 @@ class NetworkArgs:
175
213
  def enable_ipv6(self, value: Optional[pulumi.Input[bool]]):
176
214
  pulumi.set(self, "enable_ipv6", value)
177
215
 
216
+ @property
217
+ @pulumi.getter(name="ipv4CidrMask")
218
+ def ipv4_cidr_mask(self) -> Optional[pulumi.Input[int]]:
219
+ """
220
+ Allocate VPC from The IPAM address pool by entering a mask.
221
+
222
+ > **NOTE:** when you specify the IPAM address pool to create a VPC, enter at least one of the CidrBlock or Ipv4CidrMask parameters.
223
+ """
224
+ return pulumi.get(self, "ipv4_cidr_mask")
225
+
226
+ @ipv4_cidr_mask.setter
227
+ def ipv4_cidr_mask(self, value: Optional[pulumi.Input[int]]):
228
+ pulumi.set(self, "ipv4_cidr_mask", value)
229
+
178
230
  @property
179
231
  @pulumi.getter(name="ipv4IpamPoolId")
180
232
  def ipv4_ipam_pool_id(self) -> Optional[pulumi.Input[str]]:
@@ -271,11 +323,27 @@ class NetworkArgs:
271
323
  def secondary_cidr_blocks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
272
324
  pulumi.set(self, "secondary_cidr_blocks", value)
273
325
 
326
+ @property
327
+ @pulumi.getter(name="secondaryCidrMask")
328
+ def secondary_cidr_mask(self) -> Optional[pulumi.Input[int]]:
329
+ """
330
+ Add an additional CIDR block from the IPAM address pool to the VPC by entering a mask.
331
+
332
+ > **NOTE:** Specify the IPAM address pool to add an additional CIDR block to the VPC. Enter at least one of the SecondaryCidrBlock or SecondaryCidrMask parameters.
333
+ """
334
+ return pulumi.get(self, "secondary_cidr_mask")
335
+
336
+ @secondary_cidr_mask.setter
337
+ def secondary_cidr_mask(self, value: Optional[pulumi.Input[int]]):
338
+ pulumi.set(self, "secondary_cidr_mask", value)
339
+
274
340
  @property
275
341
  @pulumi.getter(name="systemRouteTableDescription")
276
342
  def system_route_table_description(self) -> Optional[pulumi.Input[str]]:
277
343
  """
278
- The description of the route table. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
344
+ The description of the route table.
345
+
346
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
279
347
  """
280
348
  return pulumi.get(self, "system_route_table_description")
281
349
 
@@ -287,7 +355,9 @@ class NetworkArgs:
287
355
  @pulumi.getter(name="systemRouteTableName")
288
356
  def system_route_table_name(self) -> Optional[pulumi.Input[str]]:
289
357
  """
290
- The name of the route table. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
358
+ The name of the route table.
359
+
360
+ The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
291
361
  """
292
362
  return pulumi.get(self, "system_route_table_name")
293
363
 
@@ -323,7 +393,9 @@ class NetworkArgs:
323
393
  @pulumi.getter(name="vpcName")
324
394
  def vpc_name(self) -> Optional[pulumi.Input[str]]:
325
395
  """
326
- The new name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
396
+ The new name of the VPC.
397
+
398
+ The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
327
399
 
328
400
  The following arguments will be discarded. Please use new fields as soon as possible:
329
401
  """
@@ -341,19 +413,23 @@ class _NetworkState:
341
413
  classic_link_enabled: Optional[pulumi.Input[bool]] = None,
342
414
  create_time: Optional[pulumi.Input[str]] = None,
343
415
  description: Optional[pulumi.Input[str]] = None,
416
+ dns_hostname_status: Optional[pulumi.Input[str]] = None,
344
417
  dry_run: Optional[pulumi.Input[bool]] = None,
345
418
  enable_ipv6: Optional[pulumi.Input[bool]] = None,
419
+ ipv4_cidr_mask: Optional[pulumi.Input[int]] = None,
346
420
  ipv4_ipam_pool_id: Optional[pulumi.Input[str]] = None,
347
421
  ipv6_cidr_block: Optional[pulumi.Input[str]] = None,
348
422
  ipv6_cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkIpv6CidrBlockArgs']]]] = None,
349
423
  ipv6_isp: Optional[pulumi.Input[str]] = None,
350
424
  is_default: Optional[pulumi.Input[bool]] = None,
351
425
  name: Optional[pulumi.Input[str]] = None,
426
+ region_id: Optional[pulumi.Input[str]] = None,
352
427
  resource_group_id: Optional[pulumi.Input[str]] = None,
353
428
  route_table_id: Optional[pulumi.Input[str]] = None,
354
429
  router_id: Optional[pulumi.Input[str]] = None,
355
430
  router_table_id: Optional[pulumi.Input[str]] = None,
356
431
  secondary_cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
432
+ secondary_cidr_mask: Optional[pulumi.Input[int]] = None,
357
433
  status: Optional[pulumi.Input[str]] = None,
358
434
  system_route_table_description: Optional[pulumi.Input[str]] = None,
359
435
  system_route_table_name: Optional[pulumi.Input[str]] = None,
@@ -367,9 +443,15 @@ class _NetworkState:
367
443
  - You can also use a custom CIDR block other than 100.64.0.0/10, 224.0.0.0/4, 127.0.0.0/8, 169.254.0.0/16, and their subnets as the primary IPv4 CIDR block of the VPC.
368
444
  :param pulumi.Input[bool] classic_link_enabled: The status of ClassicLink function.
369
445
  :param pulumi.Input[str] create_time: The creation time of the VPC.
370
- :param pulumi.Input[str] description: The new description of the VPC. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
446
+ :param pulumi.Input[str] description: The new description of the VPC.
447
+
448
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
449
+ :param pulumi.Input[str] dns_hostname_status: The status of VPC DNS Hostname. Valid values: `ENABLED`, `DISABLED`.
371
450
  :param pulumi.Input[bool] dry_run: Specifies whether to perform a dry run. Valid values:
372
451
  :param pulumi.Input[bool] enable_ipv6: Specifies whether to enable IPv6. Valid values:
452
+ :param pulumi.Input[int] ipv4_cidr_mask: Allocate VPC from The IPAM address pool by entering a mask.
453
+
454
+ > **NOTE:** when you specify the IPAM address pool to create a VPC, enter at least one of the CidrBlock or Ipv4CidrMask parameters.
373
455
  :param pulumi.Input[str] ipv4_ipam_pool_id: The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
374
456
  :param pulumi.Input[str] ipv6_cidr_block: The IPv6 CIDR block of the default VPC.
375
457
 
@@ -384,19 +466,29 @@ class _NetworkState:
384
466
  > **NOTE:** If a single-line bandwidth whitelist is enabled, this field can be set to `ChinaTelecom` (China Telecom), `ChinaUnicom` (China Unicom), or `ChinaMobile` (China Mobile).
385
467
  :param pulumi.Input[bool] is_default: Specifies whether to create the default VPC in the specified region. Valid values:
386
468
  :param pulumi.Input[str] name: . Field 'name' has been deprecated from provider version 1.119.0. New field 'vpc_name' instead.
469
+ :param pulumi.Input[str] region_id: (Available since v1.240.0) The region ID of the VPC to which the route table belongs.
387
470
  :param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to move the resource.
388
471
 
389
472
  > **NOTE:** You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
390
473
  :param pulumi.Input[str] route_table_id: The ID of the route table that you want to query.
391
- :param pulumi.Input[str] router_id: The region ID of the VPC to which the route table belongs. You can call the [DescribeRegions](https://www.alibabacloud.com/help/en/doc-detail/36063.html) operation to query the most recent region list.
474
+ :param pulumi.Input[str] router_id: The router ID of the VPC.
392
475
  :param pulumi.Input[str] router_table_id: . Field 'router_table_id' has been deprecated from provider version 1.227.1. New field 'route_table_id' instead.
393
476
  :param pulumi.Input[Sequence[pulumi.Input[str]]] secondary_cidr_blocks: Field 'secondary_cidr_blocks' has been deprecated from provider version 1.185.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_ipv4_cidr_block'. `secondary_cidr_blocks` attributes and `vpc.Ipv4CidrBlock` resource cannot be used at the same time.
394
- :param pulumi.Input[str] status: The status of the VPC. `Pending`: The VPC is being configured. `Available`: The VPC is available.
395
- :param pulumi.Input[str] system_route_table_description: The description of the route table. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
396
- :param pulumi.Input[str] system_route_table_name: The name of the route table. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
477
+ :param pulumi.Input[int] secondary_cidr_mask: Add an additional CIDR block from the IPAM address pool to the VPC by entering a mask.
478
+
479
+ > **NOTE:** Specify the IPAM address pool to add an additional CIDR block to the VPC. Enter at least one of the SecondaryCidrBlock or SecondaryCidrMask parameters.
480
+ :param pulumi.Input[str] status: The status of the VPC.
481
+ :param pulumi.Input[str] system_route_table_description: The description of the route table.
482
+
483
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
484
+ :param pulumi.Input[str] system_route_table_name: The name of the route table.
485
+
486
+ The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
397
487
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of Vpc.
398
488
  :param pulumi.Input[Sequence[pulumi.Input[str]]] user_cidrs: A list of user CIDRs.
399
- :param pulumi.Input[str] vpc_name: The new name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
489
+ :param pulumi.Input[str] vpc_name: The new name of the VPC.
490
+
491
+ The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
400
492
 
401
493
  The following arguments will be discarded. Please use new fields as soon as possible:
402
494
  """
@@ -408,10 +500,14 @@ class _NetworkState:
408
500
  pulumi.set(__self__, "create_time", create_time)
409
501
  if description is not None:
410
502
  pulumi.set(__self__, "description", description)
503
+ if dns_hostname_status is not None:
504
+ pulumi.set(__self__, "dns_hostname_status", dns_hostname_status)
411
505
  if dry_run is not None:
412
506
  pulumi.set(__self__, "dry_run", dry_run)
413
507
  if enable_ipv6 is not None:
414
508
  pulumi.set(__self__, "enable_ipv6", enable_ipv6)
509
+ if ipv4_cidr_mask is not None:
510
+ pulumi.set(__self__, "ipv4_cidr_mask", ipv4_cidr_mask)
415
511
  if ipv4_ipam_pool_id is not None:
416
512
  pulumi.set(__self__, "ipv4_ipam_pool_id", ipv4_ipam_pool_id)
417
513
  if ipv6_cidr_block is not None:
@@ -427,6 +523,8 @@ class _NetworkState:
427
523
  pulumi.log.warn("""name is deprecated: Field 'name' has been deprecated since provider version 1.119.0. New field 'vpc_name' instead.""")
428
524
  if name is not None:
429
525
  pulumi.set(__self__, "name", name)
526
+ if region_id is not None:
527
+ pulumi.set(__self__, "region_id", region_id)
430
528
  if resource_group_id is not None:
431
529
  pulumi.set(__self__, "resource_group_id", resource_group_id)
432
530
  if route_table_id is not None:
@@ -443,6 +541,8 @@ class _NetworkState:
443
541
  pulumi.log.warn("""secondary_cidr_blocks is deprecated: Field 'secondary_cidr_blocks' has been deprecated from provider version 1.185.0. Field 'secondary_cidr_blocks' has been deprecated from provider version 1.185.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_ipv4_cidr_block'. `secondary_cidr_blocks` attributes and `vpc.Ipv4CidrBlock` resource cannot be used at the same time.""")
444
542
  if secondary_cidr_blocks is not None:
445
543
  pulumi.set(__self__, "secondary_cidr_blocks", secondary_cidr_blocks)
544
+ if secondary_cidr_mask is not None:
545
+ pulumi.set(__self__, "secondary_cidr_mask", secondary_cidr_mask)
446
546
  if status is not None:
447
547
  pulumi.set(__self__, "status", status)
448
548
  if system_route_table_description is not None:
@@ -498,7 +598,9 @@ class _NetworkState:
498
598
  @pulumi.getter
499
599
  def description(self) -> Optional[pulumi.Input[str]]:
500
600
  """
501
- The new description of the VPC. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
601
+ The new description of the VPC.
602
+
603
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
502
604
  """
503
605
  return pulumi.get(self, "description")
504
606
 
@@ -506,6 +608,18 @@ class _NetworkState:
506
608
  def description(self, value: Optional[pulumi.Input[str]]):
507
609
  pulumi.set(self, "description", value)
508
610
 
611
+ @property
612
+ @pulumi.getter(name="dnsHostnameStatus")
613
+ def dns_hostname_status(self) -> Optional[pulumi.Input[str]]:
614
+ """
615
+ The status of VPC DNS Hostname. Valid values: `ENABLED`, `DISABLED`.
616
+ """
617
+ return pulumi.get(self, "dns_hostname_status")
618
+
619
+ @dns_hostname_status.setter
620
+ def dns_hostname_status(self, value: Optional[pulumi.Input[str]]):
621
+ pulumi.set(self, "dns_hostname_status", value)
622
+
509
623
  @property
510
624
  @pulumi.getter(name="dryRun")
511
625
  def dry_run(self) -> Optional[pulumi.Input[bool]]:
@@ -530,6 +644,20 @@ class _NetworkState:
530
644
  def enable_ipv6(self, value: Optional[pulumi.Input[bool]]):
531
645
  pulumi.set(self, "enable_ipv6", value)
532
646
 
647
+ @property
648
+ @pulumi.getter(name="ipv4CidrMask")
649
+ def ipv4_cidr_mask(self) -> Optional[pulumi.Input[int]]:
650
+ """
651
+ Allocate VPC from The IPAM address pool by entering a mask.
652
+
653
+ > **NOTE:** when you specify the IPAM address pool to create a VPC, enter at least one of the CidrBlock or Ipv4CidrMask parameters.
654
+ """
655
+ return pulumi.get(self, "ipv4_cidr_mask")
656
+
657
+ @ipv4_cidr_mask.setter
658
+ def ipv4_cidr_mask(self, value: Optional[pulumi.Input[int]]):
659
+ pulumi.set(self, "ipv4_cidr_mask", value)
660
+
533
661
  @property
534
662
  @pulumi.getter(name="ipv4IpamPoolId")
535
663
  def ipv4_ipam_pool_id(self) -> Optional[pulumi.Input[str]]:
@@ -611,6 +739,18 @@ class _NetworkState:
611
739
  def name(self, value: Optional[pulumi.Input[str]]):
612
740
  pulumi.set(self, "name", value)
613
741
 
742
+ @property
743
+ @pulumi.getter(name="regionId")
744
+ def region_id(self) -> Optional[pulumi.Input[str]]:
745
+ """
746
+ (Available since v1.240.0) The region ID of the VPC to which the route table belongs.
747
+ """
748
+ return pulumi.get(self, "region_id")
749
+
750
+ @region_id.setter
751
+ def region_id(self, value: Optional[pulumi.Input[str]]):
752
+ pulumi.set(self, "region_id", value)
753
+
614
754
  @property
615
755
  @pulumi.getter(name="resourceGroupId")
616
756
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
@@ -641,7 +781,7 @@ class _NetworkState:
641
781
  @pulumi.getter(name="routerId")
642
782
  def router_id(self) -> Optional[pulumi.Input[str]]:
643
783
  """
644
- The region ID of the VPC to which the route table belongs. You can call the [DescribeRegions](https://www.alibabacloud.com/help/en/doc-detail/36063.html) operation to query the most recent region list.
784
+ The router ID of the VPC.
645
785
  """
646
786
  return pulumi.get(self, "router_id")
647
787
 
@@ -675,11 +815,25 @@ class _NetworkState:
675
815
  def secondary_cidr_blocks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
676
816
  pulumi.set(self, "secondary_cidr_blocks", value)
677
817
 
818
+ @property
819
+ @pulumi.getter(name="secondaryCidrMask")
820
+ def secondary_cidr_mask(self) -> Optional[pulumi.Input[int]]:
821
+ """
822
+ Add an additional CIDR block from the IPAM address pool to the VPC by entering a mask.
823
+
824
+ > **NOTE:** Specify the IPAM address pool to add an additional CIDR block to the VPC. Enter at least one of the SecondaryCidrBlock or SecondaryCidrMask parameters.
825
+ """
826
+ return pulumi.get(self, "secondary_cidr_mask")
827
+
828
+ @secondary_cidr_mask.setter
829
+ def secondary_cidr_mask(self, value: Optional[pulumi.Input[int]]):
830
+ pulumi.set(self, "secondary_cidr_mask", value)
831
+
678
832
  @property
679
833
  @pulumi.getter
680
834
  def status(self) -> Optional[pulumi.Input[str]]:
681
835
  """
682
- The status of the VPC. `Pending`: The VPC is being configured. `Available`: The VPC is available.
836
+ The status of the VPC.
683
837
  """
684
838
  return pulumi.get(self, "status")
685
839
 
@@ -691,7 +845,9 @@ class _NetworkState:
691
845
  @pulumi.getter(name="systemRouteTableDescription")
692
846
  def system_route_table_description(self) -> Optional[pulumi.Input[str]]:
693
847
  """
694
- The description of the route table. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
848
+ The description of the route table.
849
+
850
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
695
851
  """
696
852
  return pulumi.get(self, "system_route_table_description")
697
853
 
@@ -703,7 +859,9 @@ class _NetworkState:
703
859
  @pulumi.getter(name="systemRouteTableName")
704
860
  def system_route_table_name(self) -> Optional[pulumi.Input[str]]:
705
861
  """
706
- The name of the route table. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
862
+ The name of the route table.
863
+
864
+ The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
707
865
  """
708
866
  return pulumi.get(self, "system_route_table_name")
709
867
 
@@ -739,7 +897,9 @@ class _NetworkState:
739
897
  @pulumi.getter(name="vpcName")
740
898
  def vpc_name(self) -> Optional[pulumi.Input[str]]:
741
899
  """
742
- The new name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
900
+ The new name of the VPC.
901
+
902
+ The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
743
903
 
744
904
  The following arguments will be discarded. Please use new fields as soon as possible:
745
905
  """
@@ -758,8 +918,10 @@ class Network(pulumi.CustomResource):
758
918
  cidr_block: Optional[pulumi.Input[str]] = None,
759
919
  classic_link_enabled: Optional[pulumi.Input[bool]] = None,
760
920
  description: Optional[pulumi.Input[str]] = None,
921
+ dns_hostname_status: Optional[pulumi.Input[str]] = None,
761
922
  dry_run: Optional[pulumi.Input[bool]] = None,
762
923
  enable_ipv6: Optional[pulumi.Input[bool]] = None,
924
+ ipv4_cidr_mask: Optional[pulumi.Input[int]] = None,
763
925
  ipv4_ipam_pool_id: Optional[pulumi.Input[str]] = None,
764
926
  ipv6_cidr_block: Optional[pulumi.Input[str]] = None,
765
927
  ipv6_isp: Optional[pulumi.Input[str]] = None,
@@ -767,6 +929,7 @@ class Network(pulumi.CustomResource):
767
929
  name: Optional[pulumi.Input[str]] = None,
768
930
  resource_group_id: Optional[pulumi.Input[str]] = None,
769
931
  secondary_cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
932
+ secondary_cidr_mask: Optional[pulumi.Input[int]] = None,
770
933
  system_route_table_description: Optional[pulumi.Input[str]] = None,
771
934
  system_route_table_name: Optional[pulumi.Input[str]] = None,
772
935
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -774,7 +937,7 @@ class Network(pulumi.CustomResource):
774
937
  vpc_name: Optional[pulumi.Input[str]] = None,
775
938
  __props__=None):
776
939
  """
777
- Provides a VPC Vpc resource.
940
+ Provides a VPC VPC resource.
778
941
 
779
942
  A VPC instance creates a VPC. You can fully control your own VPC, such as selecting IP address ranges, configuring routing tables, and gateways. You can use Alibaba cloud resources such as cloud servers, apsaradb for RDS, and load balancer in your own VPC.
780
943
 
@@ -811,7 +974,7 @@ class Network(pulumi.CustomResource):
811
974
 
812
975
  ## Import
813
976
 
814
- VPC Vpc can be imported using the id, e.g.
977
+ VPC VPC can be imported using the id, e.g.
815
978
 
816
979
  ```sh
817
980
  $ pulumi import alicloud:vpc/network:Network example <id>
@@ -823,9 +986,15 @@ class Network(pulumi.CustomResource):
823
986
  - You can specify one of the following CIDR blocks or their subsets as the primary IPv4 CIDR block of the VPC: 192.168.0.0/16, 172.16.0.0/12, and 10.0.0.0/8. These CIDR blocks are standard private CIDR blocks as defined by Request for Comments (RFC) documents. The subnet mask must be 8 to 28 bits in length.
824
987
  - You can also use a custom CIDR block other than 100.64.0.0/10, 224.0.0.0/4, 127.0.0.0/8, 169.254.0.0/16, and their subnets as the primary IPv4 CIDR block of the VPC.
825
988
  :param pulumi.Input[bool] classic_link_enabled: The status of ClassicLink function.
826
- :param pulumi.Input[str] description: The new description of the VPC. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
989
+ :param pulumi.Input[str] description: The new description of the VPC.
990
+
991
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
992
+ :param pulumi.Input[str] dns_hostname_status: The status of VPC DNS Hostname. Valid values: `ENABLED`, `DISABLED`.
827
993
  :param pulumi.Input[bool] dry_run: Specifies whether to perform a dry run. Valid values:
828
994
  :param pulumi.Input[bool] enable_ipv6: Specifies whether to enable IPv6. Valid values:
995
+ :param pulumi.Input[int] ipv4_cidr_mask: Allocate VPC from The IPAM address pool by entering a mask.
996
+
997
+ > **NOTE:** when you specify the IPAM address pool to create a VPC, enter at least one of the CidrBlock or Ipv4CidrMask parameters.
829
998
  :param pulumi.Input[str] ipv4_ipam_pool_id: The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
830
999
  :param pulumi.Input[str] ipv6_cidr_block: The IPv6 CIDR block of the default VPC.
831
1000
 
@@ -843,11 +1012,20 @@ class Network(pulumi.CustomResource):
843
1012
 
844
1013
  > **NOTE:** You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
845
1014
  :param pulumi.Input[Sequence[pulumi.Input[str]]] secondary_cidr_blocks: Field 'secondary_cidr_blocks' has been deprecated from provider version 1.185.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_ipv4_cidr_block'. `secondary_cidr_blocks` attributes and `vpc.Ipv4CidrBlock` resource cannot be used at the same time.
846
- :param pulumi.Input[str] system_route_table_description: The description of the route table. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
847
- :param pulumi.Input[str] system_route_table_name: The name of the route table. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
1015
+ :param pulumi.Input[int] secondary_cidr_mask: Add an additional CIDR block from the IPAM address pool to the VPC by entering a mask.
1016
+
1017
+ > **NOTE:** Specify the IPAM address pool to add an additional CIDR block to the VPC. Enter at least one of the SecondaryCidrBlock or SecondaryCidrMask parameters.
1018
+ :param pulumi.Input[str] system_route_table_description: The description of the route table.
1019
+
1020
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
1021
+ :param pulumi.Input[str] system_route_table_name: The name of the route table.
1022
+
1023
+ The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
848
1024
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of Vpc.
849
1025
  :param pulumi.Input[Sequence[pulumi.Input[str]]] user_cidrs: A list of user CIDRs.
850
- :param pulumi.Input[str] vpc_name: The new name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
1026
+ :param pulumi.Input[str] vpc_name: The new name of the VPC.
1027
+
1028
+ The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
851
1029
 
852
1030
  The following arguments will be discarded. Please use new fields as soon as possible:
853
1031
  """
@@ -858,7 +1036,7 @@ class Network(pulumi.CustomResource):
858
1036
  args: Optional[NetworkArgs] = None,
859
1037
  opts: Optional[pulumi.ResourceOptions] = None):
860
1038
  """
861
- Provides a VPC Vpc resource.
1039
+ Provides a VPC VPC resource.
862
1040
 
863
1041
  A VPC instance creates a VPC. You can fully control your own VPC, such as selecting IP address ranges, configuring routing tables, and gateways. You can use Alibaba cloud resources such as cloud servers, apsaradb for RDS, and load balancer in your own VPC.
864
1042
 
@@ -895,7 +1073,7 @@ class Network(pulumi.CustomResource):
895
1073
 
896
1074
  ## Import
897
1075
 
898
- VPC Vpc can be imported using the id, e.g.
1076
+ VPC VPC can be imported using the id, e.g.
899
1077
 
900
1078
  ```sh
901
1079
  $ pulumi import alicloud:vpc/network:Network example <id>
@@ -919,8 +1097,10 @@ class Network(pulumi.CustomResource):
919
1097
  cidr_block: Optional[pulumi.Input[str]] = None,
920
1098
  classic_link_enabled: Optional[pulumi.Input[bool]] = None,
921
1099
  description: Optional[pulumi.Input[str]] = None,
1100
+ dns_hostname_status: Optional[pulumi.Input[str]] = None,
922
1101
  dry_run: Optional[pulumi.Input[bool]] = None,
923
1102
  enable_ipv6: Optional[pulumi.Input[bool]] = None,
1103
+ ipv4_cidr_mask: Optional[pulumi.Input[int]] = None,
924
1104
  ipv4_ipam_pool_id: Optional[pulumi.Input[str]] = None,
925
1105
  ipv6_cidr_block: Optional[pulumi.Input[str]] = None,
926
1106
  ipv6_isp: Optional[pulumi.Input[str]] = None,
@@ -928,6 +1108,7 @@ class Network(pulumi.CustomResource):
928
1108
  name: Optional[pulumi.Input[str]] = None,
929
1109
  resource_group_id: Optional[pulumi.Input[str]] = None,
930
1110
  secondary_cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1111
+ secondary_cidr_mask: Optional[pulumi.Input[int]] = None,
931
1112
  system_route_table_description: Optional[pulumi.Input[str]] = None,
932
1113
  system_route_table_name: Optional[pulumi.Input[str]] = None,
933
1114
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -945,8 +1126,10 @@ class Network(pulumi.CustomResource):
945
1126
  __props__.__dict__["cidr_block"] = cidr_block
946
1127
  __props__.__dict__["classic_link_enabled"] = classic_link_enabled
947
1128
  __props__.__dict__["description"] = description
1129
+ __props__.__dict__["dns_hostname_status"] = dns_hostname_status
948
1130
  __props__.__dict__["dry_run"] = dry_run
949
1131
  __props__.__dict__["enable_ipv6"] = enable_ipv6
1132
+ __props__.__dict__["ipv4_cidr_mask"] = ipv4_cidr_mask
950
1133
  __props__.__dict__["ipv4_ipam_pool_id"] = ipv4_ipam_pool_id
951
1134
  __props__.__dict__["ipv6_cidr_block"] = ipv6_cidr_block
952
1135
  __props__.__dict__["ipv6_isp"] = ipv6_isp
@@ -954,6 +1137,7 @@ class Network(pulumi.CustomResource):
954
1137
  __props__.__dict__["name"] = name
955
1138
  __props__.__dict__["resource_group_id"] = resource_group_id
956
1139
  __props__.__dict__["secondary_cidr_blocks"] = secondary_cidr_blocks
1140
+ __props__.__dict__["secondary_cidr_mask"] = secondary_cidr_mask
957
1141
  __props__.__dict__["system_route_table_description"] = system_route_table_description
958
1142
  __props__.__dict__["system_route_table_name"] = system_route_table_name
959
1143
  __props__.__dict__["tags"] = tags
@@ -961,6 +1145,7 @@ class Network(pulumi.CustomResource):
961
1145
  __props__.__dict__["vpc_name"] = vpc_name
962
1146
  __props__.__dict__["create_time"] = None
963
1147
  __props__.__dict__["ipv6_cidr_blocks"] = None
1148
+ __props__.__dict__["region_id"] = None
964
1149
  __props__.__dict__["route_table_id"] = None
965
1150
  __props__.__dict__["router_id"] = None
966
1151
  __props__.__dict__["router_table_id"] = None
@@ -979,19 +1164,23 @@ class Network(pulumi.CustomResource):
979
1164
  classic_link_enabled: Optional[pulumi.Input[bool]] = None,
980
1165
  create_time: Optional[pulumi.Input[str]] = None,
981
1166
  description: Optional[pulumi.Input[str]] = None,
1167
+ dns_hostname_status: Optional[pulumi.Input[str]] = None,
982
1168
  dry_run: Optional[pulumi.Input[bool]] = None,
983
1169
  enable_ipv6: Optional[pulumi.Input[bool]] = None,
1170
+ ipv4_cidr_mask: Optional[pulumi.Input[int]] = None,
984
1171
  ipv4_ipam_pool_id: Optional[pulumi.Input[str]] = None,
985
1172
  ipv6_cidr_block: Optional[pulumi.Input[str]] = None,
986
1173
  ipv6_cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['NetworkIpv6CidrBlockArgs', 'NetworkIpv6CidrBlockArgsDict']]]]] = None,
987
1174
  ipv6_isp: Optional[pulumi.Input[str]] = None,
988
1175
  is_default: Optional[pulumi.Input[bool]] = None,
989
1176
  name: Optional[pulumi.Input[str]] = None,
1177
+ region_id: Optional[pulumi.Input[str]] = None,
990
1178
  resource_group_id: Optional[pulumi.Input[str]] = None,
991
1179
  route_table_id: Optional[pulumi.Input[str]] = None,
992
1180
  router_id: Optional[pulumi.Input[str]] = None,
993
1181
  router_table_id: Optional[pulumi.Input[str]] = None,
994
1182
  secondary_cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1183
+ secondary_cidr_mask: Optional[pulumi.Input[int]] = None,
995
1184
  status: Optional[pulumi.Input[str]] = None,
996
1185
  system_route_table_description: Optional[pulumi.Input[str]] = None,
997
1186
  system_route_table_name: Optional[pulumi.Input[str]] = None,
@@ -1010,9 +1199,15 @@ class Network(pulumi.CustomResource):
1010
1199
  - You can also use a custom CIDR block other than 100.64.0.0/10, 224.0.0.0/4, 127.0.0.0/8, 169.254.0.0/16, and their subnets as the primary IPv4 CIDR block of the VPC.
1011
1200
  :param pulumi.Input[bool] classic_link_enabled: The status of ClassicLink function.
1012
1201
  :param pulumi.Input[str] create_time: The creation time of the VPC.
1013
- :param pulumi.Input[str] description: The new description of the VPC. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
1202
+ :param pulumi.Input[str] description: The new description of the VPC.
1203
+
1204
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
1205
+ :param pulumi.Input[str] dns_hostname_status: The status of VPC DNS Hostname. Valid values: `ENABLED`, `DISABLED`.
1014
1206
  :param pulumi.Input[bool] dry_run: Specifies whether to perform a dry run. Valid values:
1015
1207
  :param pulumi.Input[bool] enable_ipv6: Specifies whether to enable IPv6. Valid values:
1208
+ :param pulumi.Input[int] ipv4_cidr_mask: Allocate VPC from The IPAM address pool by entering a mask.
1209
+
1210
+ > **NOTE:** when you specify the IPAM address pool to create a VPC, enter at least one of the CidrBlock or Ipv4CidrMask parameters.
1016
1211
  :param pulumi.Input[str] ipv4_ipam_pool_id: The ID of the IP Address Manager (IPAM) pool that contains IPv4 addresses.
1017
1212
  :param pulumi.Input[str] ipv6_cidr_block: The IPv6 CIDR block of the default VPC.
1018
1213
 
@@ -1027,19 +1222,29 @@ class Network(pulumi.CustomResource):
1027
1222
  > **NOTE:** If a single-line bandwidth whitelist is enabled, this field can be set to `ChinaTelecom` (China Telecom), `ChinaUnicom` (China Unicom), or `ChinaMobile` (China Mobile).
1028
1223
  :param pulumi.Input[bool] is_default: Specifies whether to create the default VPC in the specified region. Valid values:
1029
1224
  :param pulumi.Input[str] name: . Field 'name' has been deprecated from provider version 1.119.0. New field 'vpc_name' instead.
1225
+ :param pulumi.Input[str] region_id: (Available since v1.240.0) The region ID of the VPC to which the route table belongs.
1030
1226
  :param pulumi.Input[str] resource_group_id: The ID of the resource group to which you want to move the resource.
1031
1227
 
1032
1228
  > **NOTE:** You can use resource groups to facilitate resource grouping and permission management for an Alibaba Cloud. For more information, see [What is resource management?](https://www.alibabacloud.com/help/en/doc-detail/94475.html)
1033
1229
  :param pulumi.Input[str] route_table_id: The ID of the route table that you want to query.
1034
- :param pulumi.Input[str] router_id: The region ID of the VPC to which the route table belongs. You can call the [DescribeRegions](https://www.alibabacloud.com/help/en/doc-detail/36063.html) operation to query the most recent region list.
1230
+ :param pulumi.Input[str] router_id: The router ID of the VPC.
1035
1231
  :param pulumi.Input[str] router_table_id: . Field 'router_table_id' has been deprecated from provider version 1.227.1. New field 'route_table_id' instead.
1036
1232
  :param pulumi.Input[Sequence[pulumi.Input[str]]] secondary_cidr_blocks: Field 'secondary_cidr_blocks' has been deprecated from provider version 1.185.0 and it will be removed in the future version. Please use the new resource 'alicloud_vpc_ipv4_cidr_block'. `secondary_cidr_blocks` attributes and `vpc.Ipv4CidrBlock` resource cannot be used at the same time.
1037
- :param pulumi.Input[str] status: The status of the VPC. `Pending`: The VPC is being configured. `Available`: The VPC is available.
1038
- :param pulumi.Input[str] system_route_table_description: The description of the route table. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
1039
- :param pulumi.Input[str] system_route_table_name: The name of the route table. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
1233
+ :param pulumi.Input[int] secondary_cidr_mask: Add an additional CIDR block from the IPAM address pool to the VPC by entering a mask.
1234
+
1235
+ > **NOTE:** Specify the IPAM address pool to add an additional CIDR block to the VPC. Enter at least one of the SecondaryCidrBlock or SecondaryCidrMask parameters.
1236
+ :param pulumi.Input[str] status: The status of the VPC.
1237
+ :param pulumi.Input[str] system_route_table_description: The description of the route table.
1238
+
1239
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
1240
+ :param pulumi.Input[str] system_route_table_name: The name of the route table.
1241
+
1242
+ The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
1040
1243
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The tags of Vpc.
1041
1244
  :param pulumi.Input[Sequence[pulumi.Input[str]]] user_cidrs: A list of user CIDRs.
1042
- :param pulumi.Input[str] vpc_name: The new name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
1245
+ :param pulumi.Input[str] vpc_name: The new name of the VPC.
1246
+
1247
+ The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
1043
1248
 
1044
1249
  The following arguments will be discarded. Please use new fields as soon as possible:
1045
1250
  """
@@ -1051,19 +1256,23 @@ class Network(pulumi.CustomResource):
1051
1256
  __props__.__dict__["classic_link_enabled"] = classic_link_enabled
1052
1257
  __props__.__dict__["create_time"] = create_time
1053
1258
  __props__.__dict__["description"] = description
1259
+ __props__.__dict__["dns_hostname_status"] = dns_hostname_status
1054
1260
  __props__.__dict__["dry_run"] = dry_run
1055
1261
  __props__.__dict__["enable_ipv6"] = enable_ipv6
1262
+ __props__.__dict__["ipv4_cidr_mask"] = ipv4_cidr_mask
1056
1263
  __props__.__dict__["ipv4_ipam_pool_id"] = ipv4_ipam_pool_id
1057
1264
  __props__.__dict__["ipv6_cidr_block"] = ipv6_cidr_block
1058
1265
  __props__.__dict__["ipv6_cidr_blocks"] = ipv6_cidr_blocks
1059
1266
  __props__.__dict__["ipv6_isp"] = ipv6_isp
1060
1267
  __props__.__dict__["is_default"] = is_default
1061
1268
  __props__.__dict__["name"] = name
1269
+ __props__.__dict__["region_id"] = region_id
1062
1270
  __props__.__dict__["resource_group_id"] = resource_group_id
1063
1271
  __props__.__dict__["route_table_id"] = route_table_id
1064
1272
  __props__.__dict__["router_id"] = router_id
1065
1273
  __props__.__dict__["router_table_id"] = router_table_id
1066
1274
  __props__.__dict__["secondary_cidr_blocks"] = secondary_cidr_blocks
1275
+ __props__.__dict__["secondary_cidr_mask"] = secondary_cidr_mask
1067
1276
  __props__.__dict__["status"] = status
1068
1277
  __props__.__dict__["system_route_table_description"] = system_route_table_description
1069
1278
  __props__.__dict__["system_route_table_name"] = system_route_table_name
@@ -1102,10 +1311,20 @@ class Network(pulumi.CustomResource):
1102
1311
  @pulumi.getter
1103
1312
  def description(self) -> pulumi.Output[Optional[str]]:
1104
1313
  """
1105
- The new description of the VPC. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
1314
+ The new description of the VPC.
1315
+
1316
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
1106
1317
  """
1107
1318
  return pulumi.get(self, "description")
1108
1319
 
1320
+ @property
1321
+ @pulumi.getter(name="dnsHostnameStatus")
1322
+ def dns_hostname_status(self) -> pulumi.Output[str]:
1323
+ """
1324
+ The status of VPC DNS Hostname. Valid values: `ENABLED`, `DISABLED`.
1325
+ """
1326
+ return pulumi.get(self, "dns_hostname_status")
1327
+
1109
1328
  @property
1110
1329
  @pulumi.getter(name="dryRun")
1111
1330
  def dry_run(self) -> pulumi.Output[Optional[bool]]:
@@ -1122,6 +1341,16 @@ class Network(pulumi.CustomResource):
1122
1341
  """
1123
1342
  return pulumi.get(self, "enable_ipv6")
1124
1343
 
1344
+ @property
1345
+ @pulumi.getter(name="ipv4CidrMask")
1346
+ def ipv4_cidr_mask(self) -> pulumi.Output[Optional[int]]:
1347
+ """
1348
+ Allocate VPC from The IPAM address pool by entering a mask.
1349
+
1350
+ > **NOTE:** when you specify the IPAM address pool to create a VPC, enter at least one of the CidrBlock or Ipv4CidrMask parameters.
1351
+ """
1352
+ return pulumi.get(self, "ipv4_cidr_mask")
1353
+
1125
1354
  @property
1126
1355
  @pulumi.getter(name="ipv4IpamPoolId")
1127
1356
  def ipv4_ipam_pool_id(self) -> pulumi.Output[Optional[str]]:
@@ -1179,6 +1408,14 @@ class Network(pulumi.CustomResource):
1179
1408
  """
1180
1409
  return pulumi.get(self, "name")
1181
1410
 
1411
+ @property
1412
+ @pulumi.getter(name="regionId")
1413
+ def region_id(self) -> pulumi.Output[str]:
1414
+ """
1415
+ (Available since v1.240.0) The region ID of the VPC to which the route table belongs.
1416
+ """
1417
+ return pulumi.get(self, "region_id")
1418
+
1182
1419
  @property
1183
1420
  @pulumi.getter(name="resourceGroupId")
1184
1421
  def resource_group_id(self) -> pulumi.Output[str]:
@@ -1201,7 +1438,7 @@ class Network(pulumi.CustomResource):
1201
1438
  @pulumi.getter(name="routerId")
1202
1439
  def router_id(self) -> pulumi.Output[str]:
1203
1440
  """
1204
- The region ID of the VPC to which the route table belongs. You can call the [DescribeRegions](https://www.alibabacloud.com/help/en/doc-detail/36063.html) operation to query the most recent region list.
1441
+ The router ID of the VPC.
1205
1442
  """
1206
1443
  return pulumi.get(self, "router_id")
1207
1444
 
@@ -1223,11 +1460,21 @@ class Network(pulumi.CustomResource):
1223
1460
  """
1224
1461
  return pulumi.get(self, "secondary_cidr_blocks")
1225
1462
 
1463
+ @property
1464
+ @pulumi.getter(name="secondaryCidrMask")
1465
+ def secondary_cidr_mask(self) -> pulumi.Output[Optional[int]]:
1466
+ """
1467
+ Add an additional CIDR block from the IPAM address pool to the VPC by entering a mask.
1468
+
1469
+ > **NOTE:** Specify the IPAM address pool to add an additional CIDR block to the VPC. Enter at least one of the SecondaryCidrBlock or SecondaryCidrMask parameters.
1470
+ """
1471
+ return pulumi.get(self, "secondary_cidr_mask")
1472
+
1226
1473
  @property
1227
1474
  @pulumi.getter
1228
1475
  def status(self) -> pulumi.Output[str]:
1229
1476
  """
1230
- The status of the VPC. `Pending`: The VPC is being configured. `Available`: The VPC is available.
1477
+ The status of the VPC.
1231
1478
  """
1232
1479
  return pulumi.get(self, "status")
1233
1480
 
@@ -1235,7 +1482,9 @@ class Network(pulumi.CustomResource):
1235
1482
  @pulumi.getter(name="systemRouteTableDescription")
1236
1483
  def system_route_table_description(self) -> pulumi.Output[Optional[str]]:
1237
1484
  """
1238
- The description of the route table. The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
1485
+ The description of the route table.
1486
+
1487
+ The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
1239
1488
  """
1240
1489
  return pulumi.get(self, "system_route_table_description")
1241
1490
 
@@ -1243,7 +1492,9 @@ class Network(pulumi.CustomResource):
1243
1492
  @pulumi.getter(name="systemRouteTableName")
1244
1493
  def system_route_table_name(self) -> pulumi.Output[Optional[str]]:
1245
1494
  """
1246
- The name of the route table. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
1495
+ The name of the route table.
1496
+
1497
+ The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
1247
1498
  """
1248
1499
  return pulumi.get(self, "system_route_table_name")
1249
1500
 
@@ -1267,7 +1518,9 @@ class Network(pulumi.CustomResource):
1267
1518
  @pulumi.getter(name="vpcName")
1268
1519
  def vpc_name(self) -> pulumi.Output[str]:
1269
1520
  """
1270
- The new name of the VPC. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
1521
+ The new name of the VPC.
1522
+
1523
+ The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
1271
1524
 
1272
1525
  The following arguments will be discarded. Please use new fields as soon as possible:
1273
1526
  """