alibabacloud-privatelink20200415 4.0.2__py3-none-any.whl → 4.0.3__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.
- alibabacloud_privatelink20200415/__init__.py +1 -1
- alibabacloud_privatelink20200415/client.py +320 -780
- alibabacloud_privatelink20200415/models.py +111 -29
- {alibabacloud_privatelink20200415-4.0.2.dist-info → alibabacloud_privatelink20200415-4.0.3.dist-info}/METADATA +3 -3
- alibabacloud_privatelink20200415-4.0.3.dist-info/RECORD +8 -0
- alibabacloud_privatelink20200415-4.0.2.dist-info/RECORD +0 -8
- {alibabacloud_privatelink20200415-4.0.2.dist-info → alibabacloud_privatelink20200415-4.0.3.dist-info}/LICENSE +0 -0
- {alibabacloud_privatelink20200415-4.0.2.dist-info → alibabacloud_privatelink20200415-4.0.3.dist-info}/WHEEL +0 -0
- {alibabacloud_privatelink20200415-4.0.2.dist-info → alibabacloud_privatelink20200415-4.0.3.dist-info}/top_level.txt +0 -0
|
@@ -170,6 +170,7 @@ class AddZoneToVpcEndpointRequest(TeaModel):
|
|
|
170
170
|
#
|
|
171
171
|
# This parameter is required.
|
|
172
172
|
self.endpoint_id = endpoint_id
|
|
173
|
+
# The IPv6 address of the endpoint ENI in the zone that you want to add.
|
|
173
174
|
self.ipv_6address = ipv_6address
|
|
174
175
|
# The region ID of the endpoint.
|
|
175
176
|
#
|
|
@@ -327,7 +328,7 @@ class AttachResourceToVpcEndpointServiceRequest(TeaModel):
|
|
|
327
328
|
self.dry_run = dry_run
|
|
328
329
|
# The region ID of the endpoint service to which you want to add the service resource.
|
|
329
330
|
#
|
|
330
|
-
# You can call the [DescribeRegions](https://help.aliyun.com/document_detail/
|
|
331
|
+
# You can call the [DescribeRegions](https://help.aliyun.com/document_detail/448570.html) operation to query the most recent region list.
|
|
331
332
|
#
|
|
332
333
|
# This parameter is required.
|
|
333
334
|
self.region_id = region_id
|
|
@@ -840,16 +841,17 @@ class CreateVpcEndpointRequestZone(TeaModel):
|
|
|
840
841
|
zone_id: str = None,
|
|
841
842
|
ip: str = None,
|
|
842
843
|
):
|
|
844
|
+
# The IPv6 address of the zone where the endpoint is deployed.
|
|
845
|
+
#
|
|
846
|
+
# > You can specify this parameter only if AddressIpVersion is set to DualStack.
|
|
843
847
|
self.ipv_6address = ipv_6address
|
|
844
|
-
# The ID of the vSwitch
|
|
848
|
+
# The ID of the vSwitch for which you want to create the endpoint elastic network interface (ENI) in the zone. You can specify up to 10 vSwitches.
|
|
845
849
|
self.v_switch_id = v_switch_id
|
|
846
|
-
# The ID of the zone
|
|
850
|
+
# The ID of the zone where the endpoint service is deployed.
|
|
847
851
|
#
|
|
848
|
-
# You can specify up to 10
|
|
852
|
+
# You can specify up to 10 zones.
|
|
849
853
|
self.zone_id = zone_id
|
|
850
|
-
# The IP address of the zone
|
|
851
|
-
#
|
|
852
|
-
# You can specify up to 10 IP addresses.
|
|
854
|
+
# The IP address of the zone where the endpoint is deployed.
|
|
853
855
|
self.ip = ip
|
|
854
856
|
|
|
855
857
|
def validate(self):
|
|
@@ -903,8 +905,15 @@ class CreateVpcEndpointRequest(TeaModel):
|
|
|
903
905
|
tag: List[CreateVpcEndpointRequestTag] = None,
|
|
904
906
|
vpc_id: str = None,
|
|
905
907
|
zone: List[CreateVpcEndpointRequestZone] = None,
|
|
908
|
+
zone_affinity_enabled: bool = None,
|
|
906
909
|
zone_private_ip_address_count: int = None,
|
|
907
910
|
):
|
|
911
|
+
# The protocol. Valid values:
|
|
912
|
+
#
|
|
913
|
+
# * **IPv4** (default)
|
|
914
|
+
# * **DualStack**\
|
|
915
|
+
#
|
|
916
|
+
# > An endpoint supports dual-stack if its associated endpoint service and VPC both support dual-stack.
|
|
908
917
|
self.address_ip_version = address_ip_version
|
|
909
918
|
# The client token that is used to ensure the idempotence of the request.
|
|
910
919
|
#
|
|
@@ -958,6 +967,7 @@ class CreateVpcEndpointRequest(TeaModel):
|
|
|
958
967
|
self.vpc_id = vpc_id
|
|
959
968
|
# The zones where the endpoint is deployed.
|
|
960
969
|
self.zone = zone
|
|
970
|
+
self.zone_affinity_enabled = zone_affinity_enabled
|
|
961
971
|
# The number of private IP addresses that are assigned to an elastic network interface (ENI) in each zone. Set the value to **1**.
|
|
962
972
|
self.zone_private_ip_address_count = zone_private_ip_address_count
|
|
963
973
|
|
|
@@ -1013,6 +1023,8 @@ class CreateVpcEndpointRequest(TeaModel):
|
|
|
1013
1023
|
if self.zone is not None:
|
|
1014
1024
|
for k in self.zone:
|
|
1015
1025
|
result['Zone'].append(k.to_map() if k else None)
|
|
1026
|
+
if self.zone_affinity_enabled is not None:
|
|
1027
|
+
result['ZoneAffinityEnabled'] = self.zone_affinity_enabled
|
|
1016
1028
|
if self.zone_private_ip_address_count is not None:
|
|
1017
1029
|
result['ZonePrivateIpAddressCount'] = self.zone_private_ip_address_count
|
|
1018
1030
|
return result
|
|
@@ -1057,6 +1069,8 @@ class CreateVpcEndpointRequest(TeaModel):
|
|
|
1057
1069
|
for k in m.get('Zone'):
|
|
1058
1070
|
temp_model = CreateVpcEndpointRequestZone()
|
|
1059
1071
|
self.zone.append(temp_model.from_map(k))
|
|
1072
|
+
if m.get('ZoneAffinityEnabled') is not None:
|
|
1073
|
+
self.zone_affinity_enabled = m.get('ZoneAffinityEnabled')
|
|
1060
1074
|
if m.get('ZonePrivateIpAddressCount') is not None:
|
|
1061
1075
|
self.zone_private_ip_address_count = m.get('ZonePrivateIpAddressCount')
|
|
1062
1076
|
return self
|
|
@@ -1079,7 +1093,12 @@ class CreateVpcEndpointResponseBody(TeaModel):
|
|
|
1079
1093
|
service_id: str = None,
|
|
1080
1094
|
service_name: str = None,
|
|
1081
1095
|
vpc_id: str = None,
|
|
1096
|
+
zone_affinity_enabled: bool = None,
|
|
1082
1097
|
):
|
|
1098
|
+
# The protocol. Valid values:
|
|
1099
|
+
#
|
|
1100
|
+
# * **IPv4** (default)
|
|
1101
|
+
# * **DualStack**\
|
|
1083
1102
|
self.address_ip_version = address_ip_version
|
|
1084
1103
|
# The bandwidth of the endpoint connection. Unit: Mbit/s.
|
|
1085
1104
|
self.bandwidth = bandwidth
|
|
@@ -1122,6 +1141,7 @@ class CreateVpcEndpointResponseBody(TeaModel):
|
|
|
1122
1141
|
self.service_name = service_name
|
|
1123
1142
|
# The ID of the VPC to which the endpoint belongs.
|
|
1124
1143
|
self.vpc_id = vpc_id
|
|
1144
|
+
self.zone_affinity_enabled = zone_affinity_enabled
|
|
1125
1145
|
|
|
1126
1146
|
def validate(self):
|
|
1127
1147
|
pass
|
|
@@ -1160,6 +1180,8 @@ class CreateVpcEndpointResponseBody(TeaModel):
|
|
|
1160
1180
|
result['ServiceName'] = self.service_name
|
|
1161
1181
|
if self.vpc_id is not None:
|
|
1162
1182
|
result['VpcId'] = self.vpc_id
|
|
1183
|
+
if self.zone_affinity_enabled is not None:
|
|
1184
|
+
result['ZoneAffinityEnabled'] = self.zone_affinity_enabled
|
|
1163
1185
|
return result
|
|
1164
1186
|
|
|
1165
1187
|
def from_map(self, m: dict = None):
|
|
@@ -1192,6 +1214,8 @@ class CreateVpcEndpointResponseBody(TeaModel):
|
|
|
1192
1214
|
self.service_name = m.get('ServiceName')
|
|
1193
1215
|
if m.get('VpcId') is not None:
|
|
1194
1216
|
self.vpc_id = m.get('VpcId')
|
|
1217
|
+
if m.get('ZoneAffinityEnabled') is not None:
|
|
1218
|
+
self.zone_affinity_enabled = m.get('ZoneAffinityEnabled')
|
|
1195
1219
|
return self
|
|
1196
1220
|
|
|
1197
1221
|
|
|
@@ -1243,7 +1267,7 @@ class CreateVpcEndpointServiceRequestResource(TeaModel):
|
|
|
1243
1267
|
resource_type: str = None,
|
|
1244
1268
|
zone_id: str = None,
|
|
1245
1269
|
):
|
|
1246
|
-
# The ID of the service resource that is added to the endpoint service.
|
|
1270
|
+
# The ID of the service resource that is added to the endpoint service.
|
|
1247
1271
|
self.resource_id = resource_id
|
|
1248
1272
|
# The type of the service resource that is added to the endpoint service. You can add up to 20 service resources to the endpoint service. Valid values:
|
|
1249
1273
|
#
|
|
@@ -1253,7 +1277,7 @@ class CreateVpcEndpointServiceRequestResource(TeaModel):
|
|
|
1253
1277
|
#
|
|
1254
1278
|
# > In regions where PrivateLink is supported, CLB instances deployed in virtual private clouds (VPCs) can serve as the service resources of the endpoint service. You cannot access TCP/SSL listeners configured for NLB instances.
|
|
1255
1279
|
self.resource_type = resource_type
|
|
1256
|
-
# The ID of the
|
|
1280
|
+
# The zone ID of the cluster.
|
|
1257
1281
|
self.zone_id = zone_id
|
|
1258
1282
|
|
|
1259
1283
|
def validate(self):
|
|
@@ -1340,6 +1364,12 @@ class CreateVpcEndpointServiceRequest(TeaModel):
|
|
|
1340
1364
|
tag: List[CreateVpcEndpointServiceRequestTag] = None,
|
|
1341
1365
|
zone_affinity_enabled: bool = None,
|
|
1342
1366
|
):
|
|
1367
|
+
# The protocol. Valid values:
|
|
1368
|
+
#
|
|
1369
|
+
# * **IPv4** (default)
|
|
1370
|
+
# * **DualStack**\
|
|
1371
|
+
#
|
|
1372
|
+
# > You can set the protocol to DualStack only for endpoint services whose backend resource type is NLB. An endpoint service supports dual-stack only if its backend resources support dual-stack.
|
|
1343
1373
|
self.address_ip_version = address_ip_version
|
|
1344
1374
|
# Specifies whether to automatically accept endpoint connection requests. Valid values:
|
|
1345
1375
|
#
|
|
@@ -1366,7 +1396,7 @@ class CreateVpcEndpointServiceRequest(TeaModel):
|
|
|
1366
1396
|
#
|
|
1367
1397
|
# This parameter is required.
|
|
1368
1398
|
self.region_id = region_id
|
|
1369
|
-
# The service resources of the endpoint service.
|
|
1399
|
+
# The service resources of the endpoint service. You can create at most 10 resources. After the resource is created, you can continue to add service resources to the endpoint.
|
|
1370
1400
|
self.resource = resource
|
|
1371
1401
|
# The resource group ID.
|
|
1372
1402
|
self.resource_group_id = resource_group_id
|
|
@@ -1495,6 +1525,10 @@ class CreateVpcEndpointServiceResponseBody(TeaModel):
|
|
|
1495
1525
|
service_support_ipv_6: bool = None,
|
|
1496
1526
|
zone_affinity_enabled: bool = None,
|
|
1497
1527
|
):
|
|
1528
|
+
# The protocol. Valid values:
|
|
1529
|
+
#
|
|
1530
|
+
# * **IPv4**\
|
|
1531
|
+
# * **DualStack**\
|
|
1498
1532
|
self.address_ip_version = address_ip_version
|
|
1499
1533
|
# Indicates whether the endpoint service automatically accepts endpoint connection requests. Valid values:
|
|
1500
1534
|
#
|
|
@@ -3199,7 +3233,7 @@ class GetVpcEndpointAttributeRequest(TeaModel):
|
|
|
3199
3233
|
self.endpoint_id = endpoint_id
|
|
3200
3234
|
# The region ID of the endpoint whose attributes you want to query.
|
|
3201
3235
|
#
|
|
3202
|
-
# You can call the [DescribeRegions](https://help.aliyun.com/document_detail/
|
|
3236
|
+
# You can call the [DescribeRegions](https://help.aliyun.com/document_detail/448570.html) operation to query the most recent region list.
|
|
3203
3237
|
#
|
|
3204
3238
|
# This parameter is required.
|
|
3205
3239
|
self.region_id = region_id
|
|
@@ -3538,6 +3572,10 @@ class GetVpcEndpointServiceAttributeResponseBody(TeaModel):
|
|
|
3538
3572
|
zone_affinity_enabled: bool = None,
|
|
3539
3573
|
zones: List[str] = None,
|
|
3540
3574
|
):
|
|
3575
|
+
# The protocol. Valid values:
|
|
3576
|
+
#
|
|
3577
|
+
# * **IPv4**\
|
|
3578
|
+
# * **DualStack**\
|
|
3541
3579
|
self.address_ip_version = address_ip_version
|
|
3542
3580
|
# Indicates whether endpoint connection requests are automatically accepted. Valid values:
|
|
3543
3581
|
#
|
|
@@ -5160,13 +5198,13 @@ class ListVpcEndpointServicesRequestTag(TeaModel):
|
|
|
5160
5198
|
key: str = None,
|
|
5161
5199
|
value: str = None,
|
|
5162
5200
|
):
|
|
5163
|
-
# The key
|
|
5201
|
+
# The tag key. You can specify at most 20 tag keys. The tag key cannot be an empty string.
|
|
5164
5202
|
#
|
|
5165
|
-
# The tag key
|
|
5203
|
+
# The tag key can be up to 64 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `aliyun` or `acs:`.
|
|
5166
5204
|
self.key = key
|
|
5167
|
-
# The value
|
|
5205
|
+
# The tag value. You can specify up to 20 tag values. The tag value can be an empty string.
|
|
5168
5206
|
#
|
|
5169
|
-
# The tag value can be up to 128 characters in length
|
|
5207
|
+
# The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
|
|
5170
5208
|
self.value = value
|
|
5171
5209
|
|
|
5172
5210
|
def validate(self):
|
|
@@ -5211,13 +5249,17 @@ class ListVpcEndpointServicesRequest(TeaModel):
|
|
|
5211
5249
|
tag: List[ListVpcEndpointServicesRequestTag] = None,
|
|
5212
5250
|
zone_affinity_enabled: bool = None,
|
|
5213
5251
|
):
|
|
5252
|
+
# The protocol. Valid values:
|
|
5253
|
+
#
|
|
5254
|
+
# * **IPv4**\
|
|
5255
|
+
# * **DualStack**\
|
|
5214
5256
|
self.address_ip_version = address_ip_version
|
|
5215
5257
|
# Specifies whether to automatically accept endpoint connection requests. Valid values:
|
|
5216
5258
|
#
|
|
5217
5259
|
# * **true**\
|
|
5218
5260
|
# * **false** (default)
|
|
5219
5261
|
self.auto_accept_enabled = auto_accept_enabled
|
|
5220
|
-
# The number of entries
|
|
5262
|
+
# The number of entries per page. Valid values: **1** to **1000**. Default value: **50**.
|
|
5221
5263
|
self.max_results = max_results
|
|
5222
5264
|
# The pagination token that is used in the next request to retrieve a new page of results. Valid values:
|
|
5223
5265
|
#
|
|
@@ -5255,7 +5297,7 @@ class ListVpcEndpointServicesRequest(TeaModel):
|
|
|
5255
5297
|
# * **Active**: The endpoint service is available.
|
|
5256
5298
|
# * **Deleting**: The endpoint service is being deleted
|
|
5257
5299
|
self.service_status = service_status
|
|
5258
|
-
# The
|
|
5300
|
+
# The tags.
|
|
5259
5301
|
self.tag = tag
|
|
5260
5302
|
# Specifies whether to first resolve the domain name of the nearest endpoint that is associated with the endpoint service. Valid values:
|
|
5261
5303
|
#
|
|
@@ -5402,6 +5444,10 @@ class ListVpcEndpointServicesResponseBodyServices(TeaModel):
|
|
|
5402
5444
|
tags: List[ListVpcEndpointServicesResponseBodyServicesTags] = None,
|
|
5403
5445
|
zone_affinity_enabled: bool = None,
|
|
5404
5446
|
):
|
|
5447
|
+
# The protocol. Valid values:
|
|
5448
|
+
#
|
|
5449
|
+
# * **IPv4**\
|
|
5450
|
+
# * **DualStack**\
|
|
5405
5451
|
self.address_ip_version = address_ip_version
|
|
5406
5452
|
# Indicates whether endpoint connection requests are automatically accepted. Valid values:
|
|
5407
5453
|
#
|
|
@@ -5686,13 +5732,13 @@ class ListVpcEndpointServicesByEndUserRequestTag(TeaModel):
|
|
|
5686
5732
|
key: str = None,
|
|
5687
5733
|
value: str = None,
|
|
5688
5734
|
):
|
|
5689
|
-
# The key
|
|
5735
|
+
# The tag key. You can specify at most 20 tag keys. The tag key cannot be an empty string.
|
|
5690
5736
|
#
|
|
5691
|
-
# The tag key
|
|
5737
|
+
# The tag key can be up to 64 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `aliyun` or `acs:`.
|
|
5692
5738
|
self.key = key
|
|
5693
|
-
# The value
|
|
5739
|
+
# The tag value. You can specify up to 20 tag values. The tag value can be an empty string.
|
|
5694
5740
|
#
|
|
5695
|
-
# The tag value can be up to 128 characters in length
|
|
5741
|
+
# The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
|
|
5696
5742
|
self.value = value
|
|
5697
5743
|
|
|
5698
5744
|
def validate(self):
|
|
@@ -5731,7 +5777,7 @@ class ListVpcEndpointServicesByEndUserRequest(TeaModel):
|
|
|
5731
5777
|
service_type: str = None,
|
|
5732
5778
|
tag: List[ListVpcEndpointServicesByEndUserRequestTag] = None,
|
|
5733
5779
|
):
|
|
5734
|
-
# The number of entries per page. Valid values: **1** to **
|
|
5780
|
+
# The number of entries per page. Valid values: **1** to **1000**. Default value: **50**.
|
|
5735
5781
|
self.max_results = max_results
|
|
5736
5782
|
# The pagination token that is used in the next request to retrieve a new page of results. Valid values:
|
|
5737
5783
|
#
|
|
@@ -5754,7 +5800,7 @@ class ListVpcEndpointServicesByEndUserRequest(TeaModel):
|
|
|
5754
5800
|
#
|
|
5755
5801
|
# Set the value to **Interface**. You can specify CLB and ALB instances as service resources for the endpoint service.
|
|
5756
5802
|
self.service_type = service_type
|
|
5757
|
-
# The
|
|
5803
|
+
# The tags.
|
|
5758
5804
|
self.tag = tag
|
|
5759
5805
|
|
|
5760
5806
|
def validate(self):
|
|
@@ -5861,8 +5907,13 @@ class ListVpcEndpointServicesByEndUserResponseBodyServices(TeaModel):
|
|
|
5861
5907
|
service_support_ipv_6: bool = None,
|
|
5862
5908
|
service_type: str = None,
|
|
5863
5909
|
tags: List[ListVpcEndpointServicesByEndUserResponseBodyServicesTags] = None,
|
|
5910
|
+
zone_affinity_enabled: bool = None,
|
|
5864
5911
|
zones: List[str] = None,
|
|
5865
5912
|
):
|
|
5913
|
+
# The protocol. Valid values:
|
|
5914
|
+
#
|
|
5915
|
+
# * **IPv4**\
|
|
5916
|
+
# * **DualStack**\
|
|
5866
5917
|
self.address_ip_version = address_ip_version
|
|
5867
5918
|
# The payer. Valid values:
|
|
5868
5919
|
#
|
|
@@ -5894,6 +5945,7 @@ class ListVpcEndpointServicesByEndUserResponseBodyServices(TeaModel):
|
|
|
5894
5945
|
self.service_type = service_type
|
|
5895
5946
|
# The list of tags.
|
|
5896
5947
|
self.tags = tags
|
|
5948
|
+
self.zone_affinity_enabled = zone_affinity_enabled
|
|
5897
5949
|
# The zones of the endpoint service that can be associated with the endpoint.
|
|
5898
5950
|
self.zones = zones
|
|
5899
5951
|
|
|
@@ -5931,6 +5983,8 @@ class ListVpcEndpointServicesByEndUserResponseBodyServices(TeaModel):
|
|
|
5931
5983
|
if self.tags is not None:
|
|
5932
5984
|
for k in self.tags:
|
|
5933
5985
|
result['Tags'].append(k.to_map() if k else None)
|
|
5986
|
+
if self.zone_affinity_enabled is not None:
|
|
5987
|
+
result['ZoneAffinityEnabled'] = self.zone_affinity_enabled
|
|
5934
5988
|
if self.zones is not None:
|
|
5935
5989
|
result['Zones'] = self.zones
|
|
5936
5990
|
return result
|
|
@@ -5960,6 +6014,8 @@ class ListVpcEndpointServicesByEndUserResponseBodyServices(TeaModel):
|
|
|
5960
6014
|
for k in m.get('Tags'):
|
|
5961
6015
|
temp_model = ListVpcEndpointServicesByEndUserResponseBodyServicesTags()
|
|
5962
6016
|
self.tags.append(temp_model.from_map(k))
|
|
6017
|
+
if m.get('ZoneAffinityEnabled') is not None:
|
|
6018
|
+
self.zone_affinity_enabled = m.get('ZoneAffinityEnabled')
|
|
5963
6019
|
if m.get('Zones') is not None:
|
|
5964
6020
|
self.zones = m.get('Zones')
|
|
5965
6021
|
return self
|
|
@@ -6337,13 +6393,13 @@ class ListVpcEndpointsRequestTag(TeaModel):
|
|
|
6337
6393
|
key: str = None,
|
|
6338
6394
|
value: str = None,
|
|
6339
6395
|
):
|
|
6340
|
-
# The key of the tag. You can specify
|
|
6396
|
+
# The key of the tag added to the resource. You can specify at most 20 tag keys. The tag key cannot be an empty string.
|
|
6341
6397
|
#
|
|
6342
|
-
# The tag key
|
|
6398
|
+
# The tag key can be up to 64 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `aliyun` or `acs:`.
|
|
6343
6399
|
self.key = key
|
|
6344
|
-
# The value
|
|
6400
|
+
# The tag value. You can specify up to 20 tag values. The tag value can be an empty string.
|
|
6345
6401
|
#
|
|
6346
|
-
# The tag value can be up to 128 characters in length
|
|
6402
|
+
# The tag value can be up to 128 characters in length. It cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
|
|
6347
6403
|
self.value = value
|
|
6348
6404
|
|
|
6349
6405
|
def validate(self):
|
|
@@ -6387,6 +6443,10 @@ class ListVpcEndpointsRequest(TeaModel):
|
|
|
6387
6443
|
tag: List[ListVpcEndpointsRequestTag] = None,
|
|
6388
6444
|
vpc_id: str = None,
|
|
6389
6445
|
):
|
|
6446
|
+
# The protocol. Valid values:
|
|
6447
|
+
#
|
|
6448
|
+
# * **IPv4**\
|
|
6449
|
+
# * **DualStack**\
|
|
6390
6450
|
self.address_ip_version = address_ip_version
|
|
6391
6451
|
# The state of the endpoint connection. Valid values:
|
|
6392
6452
|
#
|
|
@@ -6414,7 +6474,7 @@ class ListVpcEndpointsRequest(TeaModel):
|
|
|
6414
6474
|
# * **Interface**: interface endpoint
|
|
6415
6475
|
# * **Reverse**: reverse endpoint
|
|
6416
6476
|
self.endpoint_type = endpoint_type
|
|
6417
|
-
# The number of entries
|
|
6477
|
+
# The number of entries per page. Valid values: **1** to **1000**. Default value: **50**.
|
|
6418
6478
|
self.max_results = max_results
|
|
6419
6479
|
# The pagination token that is used in the next request to retrieve a new page of results. Valid values:
|
|
6420
6480
|
#
|
|
@@ -6431,7 +6491,7 @@ class ListVpcEndpointsRequest(TeaModel):
|
|
|
6431
6491
|
self.resource_group_id = resource_group_id
|
|
6432
6492
|
# The name of the endpoint service with which the endpoint is associated.
|
|
6433
6493
|
self.service_name = service_name
|
|
6434
|
-
# The
|
|
6494
|
+
# The tags.
|
|
6435
6495
|
self.tag = tag
|
|
6436
6496
|
# The ID of the VPC to which the endpoint belongs.
|
|
6437
6497
|
self.vpc_id = vpc_id
|
|
@@ -6571,6 +6631,10 @@ class ListVpcEndpointsResponseBodyEndpoints(TeaModel):
|
|
|
6571
6631
|
vpc_id: str = None,
|
|
6572
6632
|
zone_affinity_enabled: bool = None,
|
|
6573
6633
|
):
|
|
6634
|
+
# The protocol. Valid values:
|
|
6635
|
+
#
|
|
6636
|
+
# * **IPv4**\
|
|
6637
|
+
# * **DualStack**\
|
|
6574
6638
|
self.address_ip_version = address_ip_version
|
|
6575
6639
|
# The bandwidth of the endpoint connection. Unit: Mbit/s.
|
|
6576
6640
|
self.bandwidth = bandwidth
|
|
@@ -7602,7 +7666,14 @@ class UpdateVpcEndpointAttributeRequest(TeaModel):
|
|
|
7602
7666
|
endpoint_name: str = None,
|
|
7603
7667
|
policy_document: str = None,
|
|
7604
7668
|
region_id: str = None,
|
|
7669
|
+
zone_affinity_enabled: bool = None,
|
|
7605
7670
|
):
|
|
7671
|
+
# The protocol. Valid values:
|
|
7672
|
+
#
|
|
7673
|
+
# * **IPv4**\
|
|
7674
|
+
# * **DualStack**\
|
|
7675
|
+
#
|
|
7676
|
+
# > An endpoint supports dual-stack only if its associated endpoint service and VPC support dual-stack.
|
|
7606
7677
|
self.address_ip_version = address_ip_version
|
|
7607
7678
|
# The client token that is used to ensure the idempotence of the request.
|
|
7608
7679
|
#
|
|
@@ -7630,6 +7701,7 @@ class UpdateVpcEndpointAttributeRequest(TeaModel):
|
|
|
7630
7701
|
#
|
|
7631
7702
|
# This parameter is required.
|
|
7632
7703
|
self.region_id = region_id
|
|
7704
|
+
self.zone_affinity_enabled = zone_affinity_enabled
|
|
7633
7705
|
|
|
7634
7706
|
def validate(self):
|
|
7635
7707
|
pass
|
|
@@ -7656,6 +7728,8 @@ class UpdateVpcEndpointAttributeRequest(TeaModel):
|
|
|
7656
7728
|
result['PolicyDocument'] = self.policy_document
|
|
7657
7729
|
if self.region_id is not None:
|
|
7658
7730
|
result['RegionId'] = self.region_id
|
|
7731
|
+
if self.zone_affinity_enabled is not None:
|
|
7732
|
+
result['ZoneAffinityEnabled'] = self.zone_affinity_enabled
|
|
7659
7733
|
return result
|
|
7660
7734
|
|
|
7661
7735
|
def from_map(self, m: dict = None):
|
|
@@ -7676,6 +7750,8 @@ class UpdateVpcEndpointAttributeRequest(TeaModel):
|
|
|
7676
7750
|
self.policy_document = m.get('PolicyDocument')
|
|
7677
7751
|
if m.get('RegionId') is not None:
|
|
7678
7752
|
self.region_id = m.get('RegionId')
|
|
7753
|
+
if m.get('ZoneAffinityEnabled') is not None:
|
|
7754
|
+
self.zone_affinity_enabled = m.get('ZoneAffinityEnabled')
|
|
7679
7755
|
return self
|
|
7680
7756
|
|
|
7681
7757
|
|
|
@@ -7907,6 +7983,12 @@ class UpdateVpcEndpointServiceAttributeRequest(TeaModel):
|
|
|
7907
7983
|
service_support_ipv_6: bool = None,
|
|
7908
7984
|
zone_affinity_enabled: bool = None,
|
|
7909
7985
|
):
|
|
7986
|
+
# The protocol. Valid values:
|
|
7987
|
+
#
|
|
7988
|
+
# * **IPv4**\
|
|
7989
|
+
# * **DualStack**\
|
|
7990
|
+
#
|
|
7991
|
+
# > You can set the protocol to DualStack only for endpoint services whose backend resource type is NLB.
|
|
7910
7992
|
self.address_ip_version = address_ip_version
|
|
7911
7993
|
# Specifies whether to automatically accept endpoint connection requests. Valid values:
|
|
7912
7994
|
#
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: alibabacloud-privatelink20200415
|
|
3
|
-
Version: 4.0.
|
|
3
|
+
Version: 4.0.3
|
|
4
4
|
Summary: Alibaba Cloud Privatelink (20200415) SDK Library for Python
|
|
5
5
|
Home-page: https://github.com/aliyun/alibabacloud-python-sdk
|
|
6
6
|
Author: Alibaba Cloud SDK
|
|
@@ -21,9 +21,9 @@ Classifier: Topic :: Software Development
|
|
|
21
21
|
Requires-Python: >=3.6
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
|
-
Requires-Dist: alibabacloud-endpoint-util (<1.0.0,>=0.0.
|
|
24
|
+
Requires-Dist: alibabacloud-endpoint-util (<1.0.0,>=0.0.4)
|
|
25
25
|
Requires-Dist: alibabacloud-openapi-util (<1.0.0,>=0.2.2)
|
|
26
|
-
Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.3.
|
|
26
|
+
Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.3.16)
|
|
27
27
|
Requires-Dist: alibabacloud-tea-util (<1.0.0,>=0.3.13)
|
|
28
28
|
|
|
29
29
|
English | [简体中文](README-CN.md)
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_privatelink20200415/__init__.py,sha256=WVDh-CWReADU6VLpUNeW8EQnxCJUNqQrdVIoGVLRXxQ,21
|
|
2
|
+
alibabacloud_privatelink20200415/client.py,sha256=hXkOwiyD87PgF74kp7SeLk6RRGTb-b19Mf5OBGXlPrg,260785
|
|
3
|
+
alibabacloud_privatelink20200415/models.py,sha256=UDdi3r8K4gR4tgy4JoK-VAPbS7UzCbgdN1LhDlYyABo,324420
|
|
4
|
+
alibabacloud_privatelink20200415-4.0.3.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_privatelink20200415-4.0.3.dist-info/METADATA,sha256=ish9Gf53TdTbJbZQ5nNoDZaByH7H3-rjcSQrlb-RfoQ,2368
|
|
6
|
+
alibabacloud_privatelink20200415-4.0.3.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
+
alibabacloud_privatelink20200415-4.0.3.dist-info/top_level.txt,sha256=x36ApoZTLXE_uNbTug865lwkO2q6yfx1B2cIWKumUgk,33
|
|
8
|
+
alibabacloud_privatelink20200415-4.0.3.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_privatelink20200415/__init__.py,sha256=X2FSVyXfKfCh487cbRC3bWEH0TAFIoyQIus2dzhKa3U,21
|
|
2
|
-
alibabacloud_privatelink20200415/client.py,sha256=CCGaxyB-LLYRQAB9rHgweWO8Lqb6CVCUQP2RvqIvTTY,286655
|
|
3
|
-
alibabacloud_privatelink20200415/models.py,sha256=mo4VRkInwm-jJJn1kA9M7NUL3JbRNl_pmh7w02rA8F8,320847
|
|
4
|
-
alibabacloud_privatelink20200415-4.0.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_privatelink20200415-4.0.2.dist-info/METADATA,sha256=YOI8nOosioa7qK5Nq7xp3xrxN3auwMHs6a1LsVjSLbc,2368
|
|
6
|
-
alibabacloud_privatelink20200415-4.0.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
-
alibabacloud_privatelink20200415-4.0.2.dist-info/top_level.txt,sha256=x36ApoZTLXE_uNbTug865lwkO2q6yfx1B2cIWKumUgk,33
|
|
8
|
-
alibabacloud_privatelink20200415-4.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|