pulumi-alicloud 3.71.0__py3-none-any.whl → 3.71.0a1734498899__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,15 +19,14 @@ __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]]],
22
23
  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,
31
30
  service_id: Optional[pulumi.Input[str]] = None,
32
31
  service_name: Optional[pulumi.Input[str]] = None,
33
32
  tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -35,28 +34,26 @@ class VpcEndpointArgs:
35
34
  zone_private_ip_address_count: Optional[pulumi.Input[int]] = None):
36
35
  """
37
36
  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.
40
39
  :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.
41
42
  :param pulumi.Input[str] endpoint_description: The description of the endpoint.
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.
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.
46
45
  :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.
47
48
  :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.
51
49
  :param pulumi.Input[str] service_id: The ID of the endpoint service with which the endpoint is associated.
52
50
  :param pulumi.Input[str] service_name: The name of the endpoint service with which the endpoint is associated.
53
51
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The list of tags.
54
52
  :param pulumi.Input[str] vpc_endpoint_name: The name of the endpoint.
55
53
  :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.
56
54
  """
55
+ pulumi.set(__self__, "security_group_ids", security_group_ids)
57
56
  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)
60
57
  if dry_run is not None:
61
58
  pulumi.set(__self__, "dry_run", dry_run)
62
59
  if endpoint_description is not None:
@@ -69,8 +66,6 @@ class VpcEndpointArgs:
69
66
  pulumi.set(__self__, "protected_enabled", protected_enabled)
70
67
  if resource_group_id is not None:
71
68
  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)
74
69
  if service_id is not None:
75
70
  pulumi.set(__self__, "service_id", service_id)
76
71
  if service_name is not None:
@@ -82,6 +77,18 @@ class VpcEndpointArgs:
82
77
  if zone_private_ip_address_count is not None:
83
78
  pulumi.set(__self__, "zone_private_ip_address_count", zone_private_ip_address_count)
84
79
 
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
+
85
92
  @property
86
93
  @pulumi.getter(name="vpcId")
87
94
  def vpc_id(self) -> pulumi.Input[str]:
@@ -94,23 +101,13 @@ class VpcEndpointArgs:
94
101
  def vpc_id(self, value: pulumi.Input[str]):
95
102
  pulumi.set(self, "vpc_id", value)
96
103
 
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
-
109
104
  @property
110
105
  @pulumi.getter(name="dryRun")
111
106
  def dry_run(self) -> Optional[pulumi.Input[bool]]:
112
107
  """
113
108
  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.
114
111
  """
115
112
  return pulumi.get(self, "dry_run")
116
113
 
@@ -134,9 +131,7 @@ class VpcEndpointArgs:
134
131
  @pulumi.getter(name="endpointType")
135
132
  def endpoint_type(self) -> Optional[pulumi.Input[str]]:
136
133
  """
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).
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).
140
135
  """
141
136
  return pulumi.get(self, "endpoint_type")
142
137
 
@@ -148,7 +143,7 @@ class VpcEndpointArgs:
148
143
  @pulumi.getter(name="policyDocument")
149
144
  def policy_document(self) -> Optional[pulumi.Input[str]]:
150
145
  """
151
- RAM access policies. For more information about policy definitions, see Alibaba Cloud-access control (RAM) official guidance.
146
+ RAM access policies.
152
147
  """
153
148
  return pulumi.get(self, "policy_document")
154
149
 
@@ -161,6 +156,8 @@ class VpcEndpointArgs:
161
156
  def protected_enabled(self) -> Optional[pulumi.Input[bool]]:
162
157
  """
163
158
  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.
164
161
  """
165
162
  return pulumi.get(self, "protected_enabled")
166
163
 
@@ -180,20 +177,6 @@ class VpcEndpointArgs:
180
177
  def resource_group_id(self, value: Optional[pulumi.Input[str]]):
181
178
  pulumi.set(self, "resource_group_id", value)
182
179
 
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
-
197
180
  @property
198
181
  @pulumi.getter(name="serviceId")
199
182
  def service_id(self) -> Optional[pulumi.Input[str]]:
@@ -258,7 +241,6 @@ class VpcEndpointArgs:
258
241
  @pulumi.input_type
259
242
  class _VpcEndpointState:
260
243
  def __init__(__self__, *,
261
- address_ip_version: Optional[pulumi.Input[str]] = None,
262
244
  bandwidth: Optional[pulumi.Input[int]] = None,
263
245
  connection_status: Optional[pulumi.Input[str]] = None,
264
246
  create_time: Optional[pulumi.Input[str]] = None,
@@ -269,7 +251,6 @@ class _VpcEndpointState:
269
251
  endpoint_type: Optional[pulumi.Input[str]] = None,
270
252
  policy_document: Optional[pulumi.Input[str]] = None,
271
253
  protected_enabled: Optional[pulumi.Input[bool]] = None,
272
- region_id: Optional[pulumi.Input[str]] = None,
273
254
  resource_group_id: Optional[pulumi.Input[str]] = None,
274
255
  security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
275
256
  service_id: Optional[pulumi.Input[str]] = None,
@@ -281,24 +262,22 @@ class _VpcEndpointState:
281
262
  zone_private_ip_address_count: Optional[pulumi.Input[int]] = None):
282
263
  """
283
264
  Input properties used for looking up and filtering VpcEndpoint resources.
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.
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.
286
266
  :param pulumi.Input[str] connection_status: The state of the endpoint connection.
287
267
  :param pulumi.Input[str] create_time: The time when the endpoint was created.
288
268
  :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.
289
271
  :param pulumi.Input[str] endpoint_business_status: The service state of the endpoint.
290
272
  :param pulumi.Input[str] endpoint_description: The description of the endpoint.
291
273
  :param pulumi.Input[str] endpoint_domain: The domain name of the endpoint.
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.
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.
296
276
  :param pulumi.Input[bool] protected_enabled: Specifies whether to enable user authentication. This parameter is available in Security Token Service (STS) mode. Valid values:
297
- :param pulumi.Input[str] region_id: (Available since v1.239.0) The region ID of the endpoint.
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.
298
279
  :param pulumi.Input[str] resource_group_id: The resource group ID.
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.
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.
302
281
  :param pulumi.Input[str] service_id: The ID of the endpoint service with which the endpoint is associated.
303
282
  :param pulumi.Input[str] service_name: The name of the endpoint service with which the endpoint is associated.
304
283
  :param pulumi.Input[str] status: The state of the endpoint.
@@ -307,8 +286,6 @@ class _VpcEndpointState:
307
286
  :param pulumi.Input[str] vpc_id: The ID of the VPC to which the endpoint belongs.
308
287
  :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.
309
288
  """
310
- if address_ip_version is not None:
311
- pulumi.set(__self__, "address_ip_version", address_ip_version)
312
289
  if bandwidth is not None:
313
290
  pulumi.set(__self__, "bandwidth", bandwidth)
314
291
  if connection_status is not None:
@@ -329,8 +306,6 @@ class _VpcEndpointState:
329
306
  pulumi.set(__self__, "policy_document", policy_document)
330
307
  if protected_enabled is not None:
331
308
  pulumi.set(__self__, "protected_enabled", protected_enabled)
332
- if region_id is not None:
333
- pulumi.set(__self__, "region_id", region_id)
334
309
  if resource_group_id is not None:
335
310
  pulumi.set(__self__, "resource_group_id", resource_group_id)
336
311
  if security_group_ids is not None:
@@ -350,23 +325,11 @@ class _VpcEndpointState:
350
325
  if zone_private_ip_address_count is not None:
351
326
  pulumi.set(__self__, "zone_private_ip_address_count", zone_private_ip_address_count)
352
327
 
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
-
365
328
  @property
366
329
  @pulumi.getter
367
330
  def bandwidth(self) -> Optional[pulumi.Input[int]]:
368
331
  """
369
- The bandwidth of the endpoint connection. 1024 to 10240. Unit: Mbit/s.
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.
370
333
  """
371
334
  return pulumi.get(self, "bandwidth")
372
335
 
@@ -403,6 +366,8 @@ class _VpcEndpointState:
403
366
  def dry_run(self) -> Optional[pulumi.Input[bool]]:
404
367
  """
405
368
  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.
406
371
  """
407
372
  return pulumi.get(self, "dry_run")
408
373
 
@@ -450,9 +415,7 @@ class _VpcEndpointState:
450
415
  @pulumi.getter(name="endpointType")
451
416
  def endpoint_type(self) -> Optional[pulumi.Input[str]]:
452
417
  """
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).
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).
456
419
  """
457
420
  return pulumi.get(self, "endpoint_type")
458
421
 
@@ -464,7 +427,7 @@ class _VpcEndpointState:
464
427
  @pulumi.getter(name="policyDocument")
465
428
  def policy_document(self) -> Optional[pulumi.Input[str]]:
466
429
  """
467
- RAM access policies. For more information about policy definitions, see Alibaba Cloud-access control (RAM) official guidance.
430
+ RAM access policies.
468
431
  """
469
432
  return pulumi.get(self, "policy_document")
470
433
 
@@ -477,6 +440,8 @@ class _VpcEndpointState:
477
440
  def protected_enabled(self) -> Optional[pulumi.Input[bool]]:
478
441
  """
479
442
  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.
480
445
  """
481
446
  return pulumi.get(self, "protected_enabled")
482
447
 
@@ -484,18 +449,6 @@ class _VpcEndpointState:
484
449
  def protected_enabled(self, value: Optional[pulumi.Input[bool]]):
485
450
  pulumi.set(self, "protected_enabled", value)
486
451
 
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
-
499
452
  @property
500
453
  @pulumi.getter(name="resourceGroupId")
501
454
  def resource_group_id(self) -> Optional[pulumi.Input[str]]:
@@ -512,9 +465,7 @@ class _VpcEndpointState:
512
465
  @pulumi.getter(name="securityGroupIds")
513
466
  def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
514
467
  """
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.
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.
518
469
  """
519
470
  return pulumi.get(self, "security_group_ids")
520
471
 
@@ -612,7 +563,6 @@ class VpcEndpoint(pulumi.CustomResource):
612
563
  def __init__(__self__,
613
564
  resource_name: str,
614
565
  opts: Optional[pulumi.ResourceOptions] = None,
615
- address_ip_version: Optional[pulumi.Input[str]] = None,
616
566
  dry_run: Optional[pulumi.Input[bool]] = None,
617
567
  endpoint_description: Optional[pulumi.Input[str]] = None,
618
568
  endpoint_type: Optional[pulumi.Input[str]] = None,
@@ -691,18 +641,17 @@ class VpcEndpoint(pulumi.CustomResource):
691
641
 
692
642
  :param str resource_name: The name of the resource.
693
643
  :param pulumi.ResourceOptions opts: Options for the resource.
694
- :param pulumi.Input[str] address_ip_version: The IP address version.
695
644
  :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.
696
647
  :param pulumi.Input[str] endpoint_description: The description of the endpoint.
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.
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.
701
650
  :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.
702
653
  :param pulumi.Input[str] resource_group_id: The resource group ID.
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.
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.
706
655
  :param pulumi.Input[str] service_id: The ID of the endpoint service with which the endpoint is associated.
707
656
  :param pulumi.Input[str] service_name: The name of the endpoint service with which the endpoint is associated.
708
657
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: The list of tags.
@@ -793,7 +742,6 @@ class VpcEndpoint(pulumi.CustomResource):
793
742
  def _internal_init(__self__,
794
743
  resource_name: str,
795
744
  opts: Optional[pulumi.ResourceOptions] = None,
796
- address_ip_version: Optional[pulumi.Input[str]] = None,
797
745
  dry_run: Optional[pulumi.Input[bool]] = None,
798
746
  endpoint_description: Optional[pulumi.Input[str]] = None,
799
747
  endpoint_type: Optional[pulumi.Input[str]] = None,
@@ -816,13 +764,14 @@ class VpcEndpoint(pulumi.CustomResource):
816
764
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
817
765
  __props__ = VpcEndpointArgs.__new__(VpcEndpointArgs)
818
766
 
819
- __props__.__dict__["address_ip_version"] = address_ip_version
820
767
  __props__.__dict__["dry_run"] = dry_run
821
768
  __props__.__dict__["endpoint_description"] = endpoint_description
822
769
  __props__.__dict__["endpoint_type"] = endpoint_type
823
770
  __props__.__dict__["policy_document"] = policy_document
824
771
  __props__.__dict__["protected_enabled"] = protected_enabled
825
772
  __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'")
826
775
  __props__.__dict__["security_group_ids"] = security_group_ids
827
776
  __props__.__dict__["service_id"] = service_id
828
777
  __props__.__dict__["service_name"] = service_name
@@ -837,7 +786,6 @@ class VpcEndpoint(pulumi.CustomResource):
837
786
  __props__.__dict__["create_time"] = None
838
787
  __props__.__dict__["endpoint_business_status"] = None
839
788
  __props__.__dict__["endpoint_domain"] = None
840
- __props__.__dict__["region_id"] = None
841
789
  __props__.__dict__["status"] = None
842
790
  super(VpcEndpoint, __self__).__init__(
843
791
  'alicloud:privatelink/vpcEndpoint:VpcEndpoint',
@@ -849,7 +797,6 @@ class VpcEndpoint(pulumi.CustomResource):
849
797
  def get(resource_name: str,
850
798
  id: pulumi.Input[str],
851
799
  opts: Optional[pulumi.ResourceOptions] = None,
852
- address_ip_version: Optional[pulumi.Input[str]] = None,
853
800
  bandwidth: Optional[pulumi.Input[int]] = None,
854
801
  connection_status: Optional[pulumi.Input[str]] = None,
855
802
  create_time: Optional[pulumi.Input[str]] = None,
@@ -860,7 +807,6 @@ class VpcEndpoint(pulumi.CustomResource):
860
807
  endpoint_type: Optional[pulumi.Input[str]] = None,
861
808
  policy_document: Optional[pulumi.Input[str]] = None,
862
809
  protected_enabled: Optional[pulumi.Input[bool]] = None,
863
- region_id: Optional[pulumi.Input[str]] = None,
864
810
  resource_group_id: Optional[pulumi.Input[str]] = None,
865
811
  security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
866
812
  service_id: Optional[pulumi.Input[str]] = None,
@@ -877,24 +823,22 @@ class VpcEndpoint(pulumi.CustomResource):
877
823
  :param str resource_name: The unique name of the resulting resource.
878
824
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
879
825
  :param pulumi.ResourceOptions opts: Options for the resource.
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.
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.
882
827
  :param pulumi.Input[str] connection_status: The state of the endpoint connection.
883
828
  :param pulumi.Input[str] create_time: The time when the endpoint was created.
884
829
  :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.
885
832
  :param pulumi.Input[str] endpoint_business_status: The service state of the endpoint.
886
833
  :param pulumi.Input[str] endpoint_description: The description of the endpoint.
887
834
  :param pulumi.Input[str] endpoint_domain: The domain name of the endpoint.
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.
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.
892
837
  :param pulumi.Input[bool] protected_enabled: Specifies whether to enable user authentication. This parameter is available in Security Token Service (STS) mode. Valid values:
893
- :param pulumi.Input[str] region_id: (Available since v1.239.0) The region ID of the endpoint.
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.
894
840
  :param pulumi.Input[str] resource_group_id: The resource group ID.
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.
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.
898
842
  :param pulumi.Input[str] service_id: The ID of the endpoint service with which the endpoint is associated.
899
843
  :param pulumi.Input[str] service_name: The name of the endpoint service with which the endpoint is associated.
900
844
  :param pulumi.Input[str] status: The state of the endpoint.
@@ -907,7 +851,6 @@ class VpcEndpoint(pulumi.CustomResource):
907
851
 
908
852
  __props__ = _VpcEndpointState.__new__(_VpcEndpointState)
909
853
 
910
- __props__.__dict__["address_ip_version"] = address_ip_version
911
854
  __props__.__dict__["bandwidth"] = bandwidth
912
855
  __props__.__dict__["connection_status"] = connection_status
913
856
  __props__.__dict__["create_time"] = create_time
@@ -918,7 +861,6 @@ class VpcEndpoint(pulumi.CustomResource):
918
861
  __props__.__dict__["endpoint_type"] = endpoint_type
919
862
  __props__.__dict__["policy_document"] = policy_document
920
863
  __props__.__dict__["protected_enabled"] = protected_enabled
921
- __props__.__dict__["region_id"] = region_id
922
864
  __props__.__dict__["resource_group_id"] = resource_group_id
923
865
  __props__.__dict__["security_group_ids"] = security_group_ids
924
866
  __props__.__dict__["service_id"] = service_id
@@ -930,19 +872,11 @@ class VpcEndpoint(pulumi.CustomResource):
930
872
  __props__.__dict__["zone_private_ip_address_count"] = zone_private_ip_address_count
931
873
  return VpcEndpoint(resource_name, opts=opts, __props__=__props__)
932
874
 
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
-
941
875
  @property
942
876
  @pulumi.getter
943
877
  def bandwidth(self) -> pulumi.Output[int]:
944
878
  """
945
- The bandwidth of the endpoint connection. 1024 to 10240. Unit: Mbit/s.
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.
946
880
  """
947
881
  return pulumi.get(self, "bandwidth")
948
882
 
@@ -967,6 +901,8 @@ class VpcEndpoint(pulumi.CustomResource):
967
901
  def dry_run(self) -> pulumi.Output[Optional[bool]]:
968
902
  """
969
903
  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.
970
906
  """
971
907
  return pulumi.get(self, "dry_run")
972
908
 
@@ -998,9 +934,7 @@ class VpcEndpoint(pulumi.CustomResource):
998
934
  @pulumi.getter(name="endpointType")
999
935
  def endpoint_type(self) -> pulumi.Output[str]:
1000
936
  """
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).
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).
1004
938
  """
1005
939
  return pulumi.get(self, "endpoint_type")
1006
940
 
@@ -1008,7 +942,7 @@ class VpcEndpoint(pulumi.CustomResource):
1008
942
  @pulumi.getter(name="policyDocument")
1009
943
  def policy_document(self) -> pulumi.Output[str]:
1010
944
  """
1011
- RAM access policies. For more information about policy definitions, see Alibaba Cloud-access control (RAM) official guidance.
945
+ RAM access policies.
1012
946
  """
1013
947
  return pulumi.get(self, "policy_document")
1014
948
 
@@ -1017,17 +951,11 @@ class VpcEndpoint(pulumi.CustomResource):
1017
951
  def protected_enabled(self) -> pulumi.Output[Optional[bool]]:
1018
952
  """
1019
953
  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.
1020
956
  """
1021
957
  return pulumi.get(self, "protected_enabled")
1022
958
 
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
-
1031
959
  @property
1032
960
  @pulumi.getter(name="resourceGroupId")
1033
961
  def resource_group_id(self) -> pulumi.Output[str]:
@@ -1038,11 +966,9 @@ class VpcEndpoint(pulumi.CustomResource):
1038
966
 
1039
967
  @property
1040
968
  @pulumi.getter(name="securityGroupIds")
1041
- def security_group_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
969
+ def security_group_ids(self) -> pulumi.Output[Sequence[str]]:
1042
970
  """
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.
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.
1046
972
  """
1047
973
  return pulumi.get(self, "security_group_ids")
1048
974