pulumi-alicloud 3.71.0a1735362939__py3-none-any.whl → 3.71.0a1735584773__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.

@@ -19,14 +19,15 @@ __all__ = ['VpcEndpointArgs', 'VpcEndpoint']
19
19
  @pulumi.input_type
20
20
  class VpcEndpointArgs:
21
21
  def __init__(__self__, *,
22
- security_group_ids: pulumi.Input[Sequence[pulumi.Input[str]]],
23
22
  vpc_id: pulumi.Input[str],
23
+ address_ip_version: Optional[pulumi.Input[str]] = None,
24
24
  dry_run: Optional[pulumi.Input[bool]] = None,
25
25
  endpoint_description: Optional[pulumi.Input[str]] = None,
26
26
  endpoint_type: Optional[pulumi.Input[str]] = None,
27
27
  policy_document: Optional[pulumi.Input[str]] = None,
28
28
  protected_enabled: Optional[pulumi.Input[bool]] = None,
29
29
  resource_group_id: Optional[pulumi.Input[str]] = None,
30
+ security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
30
31
  service_id: Optional[pulumi.Input[str]] = None,
31
32
  service_name: Optional[pulumi.Input[str]] = None,
32
33
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -34,26 +35,28 @@ class VpcEndpointArgs:
34
35
  zone_private_ip_address_count: Optional[pulumi.Input[int]] = None):
35
36
  """
36
37
  The set of arguments for constructing a VpcEndpoint resource.
37
- :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The ID of the security group that is associated with the endpoint ENI. The security group can be used to control data transfer between the VPC and the endpoint ENI.The endpoint can be associated with up to 10 security groups.
38
38
  :param pulumi.Input[str] vpc_id: The ID of the VPC to which the endpoint belongs.
39
+ :param pulumi.Input[str] address_ip_version: The IP address version.
39
40
  :param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
40
- - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
41
- - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
42
41
  :param pulumi.Input[str] endpoint_description: The description of the endpoint.
43
- :param pulumi.Input[str] endpoint_type: The endpoint type. Only the value: Interface, indicating the Interface endpoint. You can add the service resource types of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB).
44
- :param pulumi.Input[str] policy_document: RAM access policies.
42
+ :param pulumi.Input[str] endpoint_type: The endpoint type.
43
+
44
+ Only the value: Interface, indicating the Interface endpoint. You can add the service resource types of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB).
45
+ :param pulumi.Input[str] policy_document: RAM access policies. For more information about policy definitions, see Alibaba Cloud-access control (RAM) official guidance.
45
46
  :param pulumi.Input[bool] protected_enabled: Specifies whether to enable user authentication. This parameter is available in Security Token Service (STS) mode. Valid values:
46
- - **true**: enables user authentication. After user authentication is enabled, only the user who creates the endpoint can modify or delete the endpoint in STS mode.
47
- - **false (default)**: disables user authentication.
48
47
  :param pulumi.Input[str] resource_group_id: The resource group ID.
48
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The ID of the security group that is associated with the endpoint ENI. The security group can be used to control data transfer between the VPC and the endpoint ENI.
49
+
50
+ The endpoint can be associated with up to 10 security groups.
49
51
  :param pulumi.Input[str] service_id: The ID of the endpoint service with which the endpoint is associated.
50
52
  :param pulumi.Input[str] service_name: The name of the endpoint service with which the endpoint is associated.
51
53
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The list of tags.
52
54
  :param pulumi.Input[str] vpc_endpoint_name: The name of the endpoint.
53
55
  :param pulumi.Input[int] zone_private_ip_address_count: The number of private IP addresses that are assigned to an elastic network interface (ENI) in each zone. Only 1 is returned.
54
56
  """
55
- pulumi.set(__self__, "security_group_ids", security_group_ids)
56
57
  pulumi.set(__self__, "vpc_id", vpc_id)
58
+ if address_ip_version is not None:
59
+ pulumi.set(__self__, "address_ip_version", address_ip_version)
57
60
  if dry_run is not None:
58
61
  pulumi.set(__self__, "dry_run", dry_run)
59
62
  if endpoint_description is not None:
@@ -66,6 +69,8 @@ class VpcEndpointArgs:
66
69
  pulumi.set(__self__, "protected_enabled", protected_enabled)
67
70
  if resource_group_id is not None:
68
71
  pulumi.set(__self__, "resource_group_id", resource_group_id)
72
+ if security_group_ids is not None:
73
+ pulumi.set(__self__, "security_group_ids", security_group_ids)
69
74
  if service_id is not None:
70
75
  pulumi.set(__self__, "service_id", service_id)
71
76
  if service_name is not None:
@@ -77,18 +82,6 @@ class VpcEndpointArgs:
77
82
  if zone_private_ip_address_count is not None:
78
83
  pulumi.set(__self__, "zone_private_ip_address_count", zone_private_ip_address_count)
79
84
 
80
- @property
81
- @pulumi.getter(name="securityGroupIds")
82
- def security_group_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
83
- """
84
- The ID of the security group that is associated with the endpoint ENI. The security group can be used to control data transfer between the VPC and the endpoint ENI.The endpoint can be associated with up to 10 security groups.
85
- """
86
- return pulumi.get(self, "security_group_ids")
87
-
88
- @security_group_ids.setter
89
- def security_group_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
90
- pulumi.set(self, "security_group_ids", value)
91
-
92
85
  @property
93
86
  @pulumi.getter(name="vpcId")
94
87
  def vpc_id(self) -> pulumi.Input[str]:
@@ -101,13 +94,23 @@ class VpcEndpointArgs:
101
94
  def vpc_id(self, value: pulumi.Input[str]):
102
95
  pulumi.set(self, "vpc_id", value)
103
96
 
97
+ @property
98
+ @pulumi.getter(name="addressIpVersion")
99
+ def address_ip_version(self) -> Optional[pulumi.Input[str]]:
100
+ """
101
+ The IP address version.
102
+ """
103
+ return pulumi.get(self, "address_ip_version")
104
+
105
+ @address_ip_version.setter
106
+ def address_ip_version(self, value: Optional[pulumi.Input[str]]):
107
+ pulumi.set(self, "address_ip_version", value)
108
+
104
109
  @property
105
110
  @pulumi.getter(name="dryRun")
106
111
  def dry_run(self) -> Optional[pulumi.Input[bool]]:
107
112
  """
108
113
  Specifies whether to perform only a dry run, without performing the actual request. Valid values:
109
- - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
110
- - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
111
114
  """
112
115
  return pulumi.get(self, "dry_run")
113
116
 
@@ -131,7 +134,9 @@ class VpcEndpointArgs:
131
134
  @pulumi.getter(name="endpointType")
132
135
  def endpoint_type(self) -> Optional[pulumi.Input[str]]:
133
136
  """
134
- The endpoint type. Only the value: Interface, indicating the Interface endpoint. You can add the service resource types of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB).
137
+ The endpoint type.
138
+
139
+ Only the value: Interface, indicating the Interface endpoint. You can add the service resource types of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB).
135
140
  """
136
141
  return pulumi.get(self, "endpoint_type")
137
142
 
@@ -143,7 +148,7 @@ class VpcEndpointArgs:
143
148
  @pulumi.getter(name="policyDocument")
144
149
  def policy_document(self) -> Optional[pulumi.Input[str]]:
145
150
  """
146
- RAM access policies.
151
+ RAM access policies. For more information about policy definitions, see Alibaba Cloud-access control (RAM) official guidance.
147
152
  """
148
153
  return pulumi.get(self, "policy_document")
149
154
 
@@ -156,8 +161,6 @@ class VpcEndpointArgs:
156
161
  def protected_enabled(self) -> Optional[pulumi.Input[bool]]:
157
162
  """
158
163
  Specifies whether to enable user authentication. This parameter is available in Security Token Service (STS) mode. Valid values:
159
- - **true**: enables user authentication. After user authentication is enabled, only the user who creates the endpoint can modify or delete the endpoint in STS mode.
160
- - **false (default)**: disables user authentication.
161
164
  """
162
165
  return pulumi.get(self, "protected_enabled")
163
166
 
@@ -177,6 +180,20 @@ class VpcEndpointArgs:
177
180
  def resource_group_id(self, value: Optional[pulumi.Input[str]]):
178
181
  pulumi.set(self, "resource_group_id", value)
179
182
 
183
+ @property
184
+ @pulumi.getter(name="securityGroupIds")
185
+ def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
186
+ """
187
+ The ID of the security group that is associated with the endpoint ENI. The security group can be used to control data transfer between the VPC and the endpoint ENI.
188
+
189
+ The endpoint can be associated with up to 10 security groups.
190
+ """
191
+ return pulumi.get(self, "security_group_ids")
192
+
193
+ @security_group_ids.setter
194
+ def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
195
+ pulumi.set(self, "security_group_ids", value)
196
+
180
197
  @property
181
198
  @pulumi.getter(name="serviceId")
182
199
  def service_id(self) -> Optional[pulumi.Input[str]]:
@@ -241,6 +258,7 @@ class VpcEndpointArgs:
241
258
  @pulumi.input_type
242
259
  class _VpcEndpointState:
243
260
  def __init__(__self__, *,
261
+ address_ip_version: Optional[pulumi.Input[str]] = None,
244
262
  bandwidth: Optional[pulumi.Input[int]] = None,
245
263
  connection_status: Optional[pulumi.Input[str]] = None,
246
264
  create_time: Optional[pulumi.Input[str]] = None,
@@ -251,6 +269,7 @@ class _VpcEndpointState:
251
269
  endpoint_type: Optional[pulumi.Input[str]] = None,
252
270
  policy_document: Optional[pulumi.Input[str]] = None,
253
271
  protected_enabled: Optional[pulumi.Input[bool]] = None,
272
+ region_id: Optional[pulumi.Input[str]] = None,
254
273
  resource_group_id: Optional[pulumi.Input[str]] = None,
255
274
  security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
256
275
  service_id: Optional[pulumi.Input[str]] = None,
@@ -262,22 +281,24 @@ class _VpcEndpointState:
262
281
  zone_private_ip_address_count: Optional[pulumi.Input[int]] = None):
263
282
  """
264
283
  Input properties used for looking up and filtering VpcEndpoint resources.
265
- :param pulumi.Input[int] bandwidth: The bandwidth of the endpoint connection. 1024 to 10240. Unit: Mbit/s. Note: The bandwidth of an endpoint connection is in the range of 100 to 10,240 Mbit/s. The default bandwidth is 1,024 Mbit/s. When the endpoint is connected to the endpoint service, the default bandwidth is the minimum bandwidth. In this case, the connection bandwidth range is 1,024 to 10,240 Mbit/s.
284
+ :param pulumi.Input[str] address_ip_version: The IP address version.
285
+ :param pulumi.Input[int] bandwidth: The bandwidth of the endpoint connection. 1024 to 10240. Unit: Mbit/s.
266
286
  :param pulumi.Input[str] connection_status: The state of the endpoint connection.
267
287
  :param pulumi.Input[str] create_time: The time when the endpoint was created.
268
288
  :param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
269
- - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
270
- - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
271
289
  :param pulumi.Input[str] endpoint_business_status: The service state of the endpoint.
272
290
  :param pulumi.Input[str] endpoint_description: The description of the endpoint.
273
291
  :param pulumi.Input[str] endpoint_domain: The domain name of the endpoint.
274
- :param pulumi.Input[str] endpoint_type: The endpoint type. Only the value: Interface, indicating the Interface endpoint. You can add the service resource types of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB).
275
- :param pulumi.Input[str] policy_document: RAM access policies.
292
+ :param pulumi.Input[str] endpoint_type: The endpoint type.
293
+
294
+ Only the value: Interface, indicating the Interface endpoint. You can add the service resource types of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB).
295
+ :param pulumi.Input[str] policy_document: RAM access policies. For more information about policy definitions, see Alibaba Cloud-access control (RAM) official guidance.
276
296
  :param pulumi.Input[bool] protected_enabled: Specifies whether to enable user authentication. This parameter is available in Security Token Service (STS) mode. Valid values:
277
- - **true**: enables user authentication. After user authentication is enabled, only the user who creates the endpoint can modify or delete the endpoint in STS mode.
278
- - **false (default)**: disables user authentication.
297
+ :param pulumi.Input[str] region_id: (Available since v1.239.0) The region ID of the endpoint.
279
298
  :param pulumi.Input[str] resource_group_id: The resource group ID.
280
- :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The ID of the security group that is associated with the endpoint ENI. The security group can be used to control data transfer between the VPC and the endpoint ENI.The endpoint can be associated with up to 10 security groups.
299
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The ID of the security group that is associated with the endpoint ENI. The security group can be used to control data transfer between the VPC and the endpoint ENI.
300
+
301
+ The endpoint can be associated with up to 10 security groups.
281
302
  :param pulumi.Input[str] service_id: The ID of the endpoint service with which the endpoint is associated.
282
303
  :param pulumi.Input[str] service_name: The name of the endpoint service with which the endpoint is associated.
283
304
  :param pulumi.Input[str] status: The state of the endpoint.
@@ -286,6 +307,8 @@ class _VpcEndpointState:
286
307
  :param pulumi.Input[str] vpc_id: The ID of the VPC to which the endpoint belongs.
287
308
  :param pulumi.Input[int] zone_private_ip_address_count: The number of private IP addresses that are assigned to an elastic network interface (ENI) in each zone. Only 1 is returned.
288
309
  """
310
+ if address_ip_version is not None:
311
+ pulumi.set(__self__, "address_ip_version", address_ip_version)
289
312
  if bandwidth is not None:
290
313
  pulumi.set(__self__, "bandwidth", bandwidth)
291
314
  if connection_status is not None:
@@ -306,6 +329,8 @@ class _VpcEndpointState:
306
329
  pulumi.set(__self__, "policy_document", policy_document)
307
330
  if protected_enabled is not None:
308
331
  pulumi.set(__self__, "protected_enabled", protected_enabled)
332
+ if region_id is not None:
333
+ pulumi.set(__self__, "region_id", region_id)
309
334
  if resource_group_id is not None:
310
335
  pulumi.set(__self__, "resource_group_id", resource_group_id)
311
336
  if security_group_ids is not None:
@@ -325,11 +350,23 @@ class _VpcEndpointState:
325
350
  if zone_private_ip_address_count is not None:
326
351
  pulumi.set(__self__, "zone_private_ip_address_count", zone_private_ip_address_count)
327
352
 
353
+ @property
354
+ @pulumi.getter(name="addressIpVersion")
355
+ def address_ip_version(self) -> Optional[pulumi.Input[str]]:
356
+ """
357
+ The IP address version.
358
+ """
359
+ return pulumi.get(self, "address_ip_version")
360
+
361
+ @address_ip_version.setter
362
+ def address_ip_version(self, value: Optional[pulumi.Input[str]]):
363
+ pulumi.set(self, "address_ip_version", value)
364
+
328
365
  @property
329
366
  @pulumi.getter
330
367
  def bandwidth(self) -> Optional[pulumi.Input[int]]:
331
368
  """
332
- The bandwidth of the endpoint connection. 1024 to 10240. Unit: Mbit/s. Note: The bandwidth of an endpoint connection is in the range of 100 to 10,240 Mbit/s. The default bandwidth is 1,024 Mbit/s. When the endpoint is connected to the endpoint service, the default bandwidth is the minimum bandwidth. In this case, the connection bandwidth range is 1,024 to 10,240 Mbit/s.
369
+ The bandwidth of the endpoint connection. 1024 to 10240. Unit: Mbit/s.
333
370
  """
334
371
  return pulumi.get(self, "bandwidth")
335
372
 
@@ -366,8 +403,6 @@ class _VpcEndpointState:
366
403
  def dry_run(self) -> Optional[pulumi.Input[bool]]:
367
404
  """
368
405
  Specifies whether to perform only a dry run, without performing the actual request. Valid values:
369
- - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
370
- - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
371
406
  """
372
407
  return pulumi.get(self, "dry_run")
373
408
 
@@ -415,7 +450,9 @@ class _VpcEndpointState:
415
450
  @pulumi.getter(name="endpointType")
416
451
  def endpoint_type(self) -> Optional[pulumi.Input[str]]:
417
452
  """
418
- The endpoint type. Only the value: Interface, indicating the Interface endpoint. You can add the service resource types of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB).
453
+ The endpoint type.
454
+
455
+ Only the value: Interface, indicating the Interface endpoint. You can add the service resource types of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB).
419
456
  """
420
457
  return pulumi.get(self, "endpoint_type")
421
458
 
@@ -427,7 +464,7 @@ class _VpcEndpointState:
427
464
  @pulumi.getter(name="policyDocument")
428
465
  def policy_document(self) -> Optional[pulumi.Input[str]]:
429
466
  """
430
- RAM access policies.
467
+ RAM access policies. For more information about policy definitions, see Alibaba Cloud-access control (RAM) official guidance.
431
468
  """
432
469
  return pulumi.get(self, "policy_document")
433
470
 
@@ -440,8 +477,6 @@ class _VpcEndpointState:
440
477
  def protected_enabled(self) -> Optional[pulumi.Input[bool]]:
441
478
  """
442
479
  Specifies whether to enable user authentication. This parameter is available in Security Token Service (STS) mode. Valid values:
443
- - **true**: enables user authentication. After user authentication is enabled, only the user who creates the endpoint can modify or delete the endpoint in STS mode.
444
- - **false (default)**: disables user authentication.
445
480
  """
446
481
  return pulumi.get(self, "protected_enabled")
447
482
 
@@ -449,6 +484,18 @@ class _VpcEndpointState:
449
484
  def protected_enabled(self, value: Optional[pulumi.Input[bool]]):
450
485
  pulumi.set(self, "protected_enabled", value)
451
486
 
487
+ @property
488
+ @pulumi.getter(name="regionId")
489
+ def region_id(self) -> Optional[pulumi.Input[str]]:
490
+ """
491
+ (Available since v1.239.0) The region ID of the endpoint.
492
+ """
493
+ return pulumi.get(self, "region_id")
494
+
495
+ @region_id.setter
496
+ def region_id(self, value: Optional[pulumi.Input[str]]):
497
+ pulumi.set(self, "region_id", value)
498
+
452
499
  @property
453
500
  @pulumi.getter(name="resourceGroupId")
454
501
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
@@ -465,7 +512,9 @@ class _VpcEndpointState:
465
512
  @pulumi.getter(name="securityGroupIds")
466
513
  def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
467
514
  """
468
- The ID of the security group that is associated with the endpoint ENI. The security group can be used to control data transfer between the VPC and the endpoint ENI.The endpoint can be associated with up to 10 security groups.
515
+ The ID of the security group that is associated with the endpoint ENI. The security group can be used to control data transfer between the VPC and the endpoint ENI.
516
+
517
+ The endpoint can be associated with up to 10 security groups.
469
518
  """
470
519
  return pulumi.get(self, "security_group_ids")
471
520
 
@@ -563,6 +612,7 @@ class VpcEndpoint(pulumi.CustomResource):
563
612
  def __init__(__self__,
564
613
  resource_name: str,
565
614
  opts: Optional[pulumi.ResourceOptions] = None,
615
+ address_ip_version: Optional[pulumi.Input[str]] = None,
566
616
  dry_run: Optional[pulumi.Input[bool]] = None,
567
617
  endpoint_description: Optional[pulumi.Input[str]] = None,
568
618
  endpoint_type: Optional[pulumi.Input[str]] = None,
@@ -641,17 +691,18 @@ class VpcEndpoint(pulumi.CustomResource):
641
691
 
642
692
  :param str resource_name: The name of the resource.
643
693
  :param pulumi.ResourceOptions opts: Options for the resource.
694
+ :param pulumi.Input[str] address_ip_version: The IP address version.
644
695
  :param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
645
- - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
646
- - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
647
696
  :param pulumi.Input[str] endpoint_description: The description of the endpoint.
648
- :param pulumi.Input[str] endpoint_type: The endpoint type. Only the value: Interface, indicating the Interface endpoint. You can add the service resource types of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB).
649
- :param pulumi.Input[str] policy_document: RAM access policies.
697
+ :param pulumi.Input[str] endpoint_type: The endpoint type.
698
+
699
+ Only the value: Interface, indicating the Interface endpoint. You can add the service resource types of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB).
700
+ :param pulumi.Input[str] policy_document: RAM access policies. For more information about policy definitions, see Alibaba Cloud-access control (RAM) official guidance.
650
701
  :param pulumi.Input[bool] protected_enabled: Specifies whether to enable user authentication. This parameter is available in Security Token Service (STS) mode. Valid values:
651
- - **true**: enables user authentication. After user authentication is enabled, only the user who creates the endpoint can modify or delete the endpoint in STS mode.
652
- - **false (default)**: disables user authentication.
653
702
  :param pulumi.Input[str] resource_group_id: The resource group ID.
654
- :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The ID of the security group that is associated with the endpoint ENI. The security group can be used to control data transfer between the VPC and the endpoint ENI.The endpoint can be associated with up to 10 security groups.
703
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The ID of the security group that is associated with the endpoint ENI. The security group can be used to control data transfer between the VPC and the endpoint ENI.
704
+
705
+ The endpoint can be associated with up to 10 security groups.
655
706
  :param pulumi.Input[str] service_id: The ID of the endpoint service with which the endpoint is associated.
656
707
  :param pulumi.Input[str] service_name: The name of the endpoint service with which the endpoint is associated.
657
708
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The list of tags.
@@ -742,6 +793,7 @@ class VpcEndpoint(pulumi.CustomResource):
742
793
  def _internal_init(__self__,
743
794
  resource_name: str,
744
795
  opts: Optional[pulumi.ResourceOptions] = None,
796
+ address_ip_version: Optional[pulumi.Input[str]] = None,
745
797
  dry_run: Optional[pulumi.Input[bool]] = None,
746
798
  endpoint_description: Optional[pulumi.Input[str]] = None,
747
799
  endpoint_type: Optional[pulumi.Input[str]] = None,
@@ -764,14 +816,13 @@ class VpcEndpoint(pulumi.CustomResource):
764
816
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
765
817
  __props__ = VpcEndpointArgs.__new__(VpcEndpointArgs)
766
818
 
819
+ __props__.__dict__["address_ip_version"] = address_ip_version
767
820
  __props__.__dict__["dry_run"] = dry_run
768
821
  __props__.__dict__["endpoint_description"] = endpoint_description
769
822
  __props__.__dict__["endpoint_type"] = endpoint_type
770
823
  __props__.__dict__["policy_document"] = policy_document
771
824
  __props__.__dict__["protected_enabled"] = protected_enabled
772
825
  __props__.__dict__["resource_group_id"] = resource_group_id
773
- if security_group_ids is None and not opts.urn:
774
- raise TypeError("Missing required property 'security_group_ids'")
775
826
  __props__.__dict__["security_group_ids"] = security_group_ids
776
827
  __props__.__dict__["service_id"] = service_id
777
828
  __props__.__dict__["service_name"] = service_name
@@ -786,6 +837,7 @@ class VpcEndpoint(pulumi.CustomResource):
786
837
  __props__.__dict__["create_time"] = None
787
838
  __props__.__dict__["endpoint_business_status"] = None
788
839
  __props__.__dict__["endpoint_domain"] = None
840
+ __props__.__dict__["region_id"] = None
789
841
  __props__.__dict__["status"] = None
790
842
  super(VpcEndpoint, __self__).__init__(
791
843
  'alicloud:privatelink/vpcEndpoint:VpcEndpoint',
@@ -797,6 +849,7 @@ class VpcEndpoint(pulumi.CustomResource):
797
849
  def get(resource_name: str,
798
850
  id: pulumi.Input[str],
799
851
  opts: Optional[pulumi.ResourceOptions] = None,
852
+ address_ip_version: Optional[pulumi.Input[str]] = None,
800
853
  bandwidth: Optional[pulumi.Input[int]] = None,
801
854
  connection_status: Optional[pulumi.Input[str]] = None,
802
855
  create_time: Optional[pulumi.Input[str]] = None,
@@ -807,6 +860,7 @@ class VpcEndpoint(pulumi.CustomResource):
807
860
  endpoint_type: Optional[pulumi.Input[str]] = None,
808
861
  policy_document: Optional[pulumi.Input[str]] = None,
809
862
  protected_enabled: Optional[pulumi.Input[bool]] = None,
863
+ region_id: Optional[pulumi.Input[str]] = None,
810
864
  resource_group_id: Optional[pulumi.Input[str]] = None,
811
865
  security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
812
866
  service_id: Optional[pulumi.Input[str]] = None,
@@ -823,22 +877,24 @@ class VpcEndpoint(pulumi.CustomResource):
823
877
  :param str resource_name: The unique name of the resulting resource.
824
878
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
825
879
  :param pulumi.ResourceOptions opts: Options for the resource.
826
- :param pulumi.Input[int] bandwidth: The bandwidth of the endpoint connection. 1024 to 10240. Unit: Mbit/s. Note: The bandwidth of an endpoint connection is in the range of 100 to 10,240 Mbit/s. The default bandwidth is 1,024 Mbit/s. When the endpoint is connected to the endpoint service, the default bandwidth is the minimum bandwidth. In this case, the connection bandwidth range is 1,024 to 10,240 Mbit/s.
880
+ :param pulumi.Input[str] address_ip_version: The IP address version.
881
+ :param pulumi.Input[int] bandwidth: The bandwidth of the endpoint connection. 1024 to 10240. Unit: Mbit/s.
827
882
  :param pulumi.Input[str] connection_status: The state of the endpoint connection.
828
883
  :param pulumi.Input[str] create_time: The time when the endpoint was created.
829
884
  :param pulumi.Input[bool] dry_run: Specifies whether to perform only a dry run, without performing the actual request. Valid values:
830
- - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
831
- - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
832
885
  :param pulumi.Input[str] endpoint_business_status: The service state of the endpoint.
833
886
  :param pulumi.Input[str] endpoint_description: The description of the endpoint.
834
887
  :param pulumi.Input[str] endpoint_domain: The domain name of the endpoint.
835
- :param pulumi.Input[str] endpoint_type: The endpoint type. Only the value: Interface, indicating the Interface endpoint. You can add the service resource types of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB).
836
- :param pulumi.Input[str] policy_document: RAM access policies.
888
+ :param pulumi.Input[str] endpoint_type: The endpoint type.
889
+
890
+ Only the value: Interface, indicating the Interface endpoint. You can add the service resource types of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB).
891
+ :param pulumi.Input[str] policy_document: RAM access policies. For more information about policy definitions, see Alibaba Cloud-access control (RAM) official guidance.
837
892
  :param pulumi.Input[bool] protected_enabled: Specifies whether to enable user authentication. This parameter is available in Security Token Service (STS) mode. Valid values:
838
- - **true**: enables user authentication. After user authentication is enabled, only the user who creates the endpoint can modify or delete the endpoint in STS mode.
839
- - **false (default)**: disables user authentication.
893
+ :param pulumi.Input[str] region_id: (Available since v1.239.0) The region ID of the endpoint.
840
894
  :param pulumi.Input[str] resource_group_id: The resource group ID.
841
- :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The ID of the security group that is associated with the endpoint ENI. The security group can be used to control data transfer between the VPC and the endpoint ENI.The endpoint can be associated with up to 10 security groups.
895
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: The ID of the security group that is associated with the endpoint ENI. The security group can be used to control data transfer between the VPC and the endpoint ENI.
896
+
897
+ The endpoint can be associated with up to 10 security groups.
842
898
  :param pulumi.Input[str] service_id: The ID of the endpoint service with which the endpoint is associated.
843
899
  :param pulumi.Input[str] service_name: The name of the endpoint service with which the endpoint is associated.
844
900
  :param pulumi.Input[str] status: The state of the endpoint.
@@ -851,6 +907,7 @@ class VpcEndpoint(pulumi.CustomResource):
851
907
 
852
908
  __props__ = _VpcEndpointState.__new__(_VpcEndpointState)
853
909
 
910
+ __props__.__dict__["address_ip_version"] = address_ip_version
854
911
  __props__.__dict__["bandwidth"] = bandwidth
855
912
  __props__.__dict__["connection_status"] = connection_status
856
913
  __props__.__dict__["create_time"] = create_time
@@ -861,6 +918,7 @@ class VpcEndpoint(pulumi.CustomResource):
861
918
  __props__.__dict__["endpoint_type"] = endpoint_type
862
919
  __props__.__dict__["policy_document"] = policy_document
863
920
  __props__.__dict__["protected_enabled"] = protected_enabled
921
+ __props__.__dict__["region_id"] = region_id
864
922
  __props__.__dict__["resource_group_id"] = resource_group_id
865
923
  __props__.__dict__["security_group_ids"] = security_group_ids
866
924
  __props__.__dict__["service_id"] = service_id
@@ -872,11 +930,19 @@ class VpcEndpoint(pulumi.CustomResource):
872
930
  __props__.__dict__["zone_private_ip_address_count"] = zone_private_ip_address_count
873
931
  return VpcEndpoint(resource_name, opts=opts, __props__=__props__)
874
932
 
933
+ @property
934
+ @pulumi.getter(name="addressIpVersion")
935
+ def address_ip_version(self) -> pulumi.Output[str]:
936
+ """
937
+ The IP address version.
938
+ """
939
+ return pulumi.get(self, "address_ip_version")
940
+
875
941
  @property
876
942
  @pulumi.getter
877
943
  def bandwidth(self) -> pulumi.Output[int]:
878
944
  """
879
- The bandwidth of the endpoint connection. 1024 to 10240. Unit: Mbit/s. Note: The bandwidth of an endpoint connection is in the range of 100 to 10,240 Mbit/s. The default bandwidth is 1,024 Mbit/s. When the endpoint is connected to the endpoint service, the default bandwidth is the minimum bandwidth. In this case, the connection bandwidth range is 1,024 to 10,240 Mbit/s.
945
+ The bandwidth of the endpoint connection. 1024 to 10240. Unit: Mbit/s.
880
946
  """
881
947
  return pulumi.get(self, "bandwidth")
882
948
 
@@ -901,8 +967,6 @@ class VpcEndpoint(pulumi.CustomResource):
901
967
  def dry_run(self) -> pulumi.Output[Optional[bool]]:
902
968
  """
903
969
  Specifies whether to perform only a dry run, without performing the actual request. Valid values:
904
- - **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.
905
- - **false (default)**: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
906
970
  """
907
971
  return pulumi.get(self, "dry_run")
908
972
 
@@ -934,7 +998,9 @@ class VpcEndpoint(pulumi.CustomResource):
934
998
  @pulumi.getter(name="endpointType")
935
999
  def endpoint_type(self) -> pulumi.Output[str]:
936
1000
  """
937
- The endpoint type. Only the value: Interface, indicating the Interface endpoint. You can add the service resource types of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB).
1001
+ The endpoint type.
1002
+
1003
+ Only the value: Interface, indicating the Interface endpoint. You can add the service resource types of Application Load Balancer (ALB), Classic Load Balancer (CLB), and Network Load Balancer (NLB).
938
1004
  """
939
1005
  return pulumi.get(self, "endpoint_type")
940
1006
 
@@ -942,7 +1008,7 @@ class VpcEndpoint(pulumi.CustomResource):
942
1008
  @pulumi.getter(name="policyDocument")
943
1009
  def policy_document(self) -> pulumi.Output[str]:
944
1010
  """
945
- RAM access policies.
1011
+ RAM access policies. For more information about policy definitions, see Alibaba Cloud-access control (RAM) official guidance.
946
1012
  """
947
1013
  return pulumi.get(self, "policy_document")
948
1014
 
@@ -951,11 +1017,17 @@ class VpcEndpoint(pulumi.CustomResource):
951
1017
  def protected_enabled(self) -> pulumi.Output[Optional[bool]]:
952
1018
  """
953
1019
  Specifies whether to enable user authentication. This parameter is available in Security Token Service (STS) mode. Valid values:
954
- - **true**: enables user authentication. After user authentication is enabled, only the user who creates the endpoint can modify or delete the endpoint in STS mode.
955
- - **false (default)**: disables user authentication.
956
1020
  """
957
1021
  return pulumi.get(self, "protected_enabled")
958
1022
 
1023
+ @property
1024
+ @pulumi.getter(name="regionId")
1025
+ def region_id(self) -> pulumi.Output[str]:
1026
+ """
1027
+ (Available since v1.239.0) The region ID of the endpoint.
1028
+ """
1029
+ return pulumi.get(self, "region_id")
1030
+
959
1031
  @property
960
1032
  @pulumi.getter(name="resourceGroupId")
961
1033
  def resource_group_id(self) -> pulumi.Output[str]:
@@ -966,9 +1038,11 @@ class VpcEndpoint(pulumi.CustomResource):
966
1038
 
967
1039
  @property
968
1040
  @pulumi.getter(name="securityGroupIds")
969
- def security_group_ids(self) -> pulumi.Output[Sequence[str]]:
1041
+ def security_group_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
970
1042
  """
971
- The ID of the security group that is associated with the endpoint ENI. The security group can be used to control data transfer between the VPC and the endpoint ENI.The endpoint can be associated with up to 10 security groups.
1043
+ The ID of the security group that is associated with the endpoint ENI. The security group can be used to control data transfer between the VPC and the endpoint ENI.
1044
+
1045
+ The endpoint can be associated with up to 10 security groups.
972
1046
  """
973
1047
  return pulumi.get(self, "security_group_ids")
974
1048