alibabacloud-privatelink20200415 4.0.2__py3-none-any.whl → 4.0.4__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 +328 -780
- alibabacloud_privatelink20200415/models.py +129 -29
- {alibabacloud_privatelink20200415-4.0.2.dist-info → alibabacloud_privatelink20200415-4.0.4.dist-info}/METADATA +3 -3
- alibabacloud_privatelink20200415-4.0.4.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.4.dist-info}/LICENSE +0 -0
- {alibabacloud_privatelink20200415-4.0.2.dist-info → alibabacloud_privatelink20200415-4.0.4.dist-info}/WHEEL +0 -0
- {alibabacloud_privatelink20200415-4.0.2.dist-info → alibabacloud_privatelink20200415-4.0.4.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
|
#
|
|
@@ -2904,6 +2938,7 @@ class EnableVpcEndpointConnectionRequest(TeaModel):
|
|
|
2904
2938
|
endpoint_id: str = None,
|
|
2905
2939
|
region_id: str = None,
|
|
2906
2940
|
service_id: str = None,
|
|
2941
|
+
traffic_control_mode: str = None,
|
|
2907
2942
|
):
|
|
2908
2943
|
# The bandwidth of the endpoint connection. Unit: Mbit/s. Valid values: **3072 to 10240**.
|
|
2909
2944
|
#
|
|
@@ -2932,6 +2967,7 @@ class EnableVpcEndpointConnectionRequest(TeaModel):
|
|
|
2932
2967
|
#
|
|
2933
2968
|
# This parameter is required.
|
|
2934
2969
|
self.service_id = service_id
|
|
2970
|
+
self.traffic_control_mode = traffic_control_mode
|
|
2935
2971
|
|
|
2936
2972
|
def validate(self):
|
|
2937
2973
|
pass
|
|
@@ -2954,6 +2990,8 @@ class EnableVpcEndpointConnectionRequest(TeaModel):
|
|
|
2954
2990
|
result['RegionId'] = self.region_id
|
|
2955
2991
|
if self.service_id is not None:
|
|
2956
2992
|
result['ServiceId'] = self.service_id
|
|
2993
|
+
if self.traffic_control_mode is not None:
|
|
2994
|
+
result['TrafficControlMode'] = self.traffic_control_mode
|
|
2957
2995
|
return result
|
|
2958
2996
|
|
|
2959
2997
|
def from_map(self, m: dict = None):
|
|
@@ -2970,6 +3008,8 @@ class EnableVpcEndpointConnectionRequest(TeaModel):
|
|
|
2970
3008
|
self.region_id = m.get('RegionId')
|
|
2971
3009
|
if m.get('ServiceId') is not None:
|
|
2972
3010
|
self.service_id = m.get('ServiceId')
|
|
3011
|
+
if m.get('TrafficControlMode') is not None:
|
|
3012
|
+
self.traffic_control_mode = m.get('TrafficControlMode')
|
|
2973
3013
|
return self
|
|
2974
3014
|
|
|
2975
3015
|
|
|
@@ -3199,7 +3239,7 @@ class GetVpcEndpointAttributeRequest(TeaModel):
|
|
|
3199
3239
|
self.endpoint_id = endpoint_id
|
|
3200
3240
|
# The region ID of the endpoint whose attributes you want to query.
|
|
3201
3241
|
#
|
|
3202
|
-
# You can call the [DescribeRegions](https://help.aliyun.com/document_detail/
|
|
3242
|
+
# You can call the [DescribeRegions](https://help.aliyun.com/document_detail/448570.html) operation to query the most recent region list.
|
|
3203
3243
|
#
|
|
3204
3244
|
# This parameter is required.
|
|
3205
3245
|
self.region_id = region_id
|
|
@@ -3538,6 +3578,10 @@ class GetVpcEndpointServiceAttributeResponseBody(TeaModel):
|
|
|
3538
3578
|
zone_affinity_enabled: bool = None,
|
|
3539
3579
|
zones: List[str] = None,
|
|
3540
3580
|
):
|
|
3581
|
+
# The protocol. Valid values:
|
|
3582
|
+
#
|
|
3583
|
+
# * **IPv4**\
|
|
3584
|
+
# * **DualStack**\
|
|
3541
3585
|
self.address_ip_version = address_ip_version
|
|
3542
3586
|
# Indicates whether endpoint connection requests are automatically accepted. Valid values:
|
|
3543
3587
|
#
|
|
@@ -4227,6 +4271,7 @@ class ListVpcEndpointConnectionsResponseBodyConnections(TeaModel):
|
|
|
4227
4271
|
resource_group_id: str = None,
|
|
4228
4272
|
resource_owner: bool = None,
|
|
4229
4273
|
service_id: str = None,
|
|
4274
|
+
traffic_control_mode: str = None,
|
|
4230
4275
|
zones: List[ListVpcEndpointConnectionsResponseBodyConnectionsZones] = None,
|
|
4231
4276
|
):
|
|
4232
4277
|
# The bandwidth of the endpoint connection. Valid values: **1024 to 10240**. Unit: Mbit/s.
|
|
@@ -4258,6 +4303,7 @@ class ListVpcEndpointConnectionsResponseBodyConnections(TeaModel):
|
|
|
4258
4303
|
self.resource_owner = resource_owner
|
|
4259
4304
|
# The endpoint service ID.
|
|
4260
4305
|
self.service_id = service_id
|
|
4306
|
+
self.traffic_control_mode = traffic_control_mode
|
|
4261
4307
|
# The zones.
|
|
4262
4308
|
self.zones = zones
|
|
4263
4309
|
|
|
@@ -4291,6 +4337,8 @@ class ListVpcEndpointConnectionsResponseBodyConnections(TeaModel):
|
|
|
4291
4337
|
result['ResourceOwner'] = self.resource_owner
|
|
4292
4338
|
if self.service_id is not None:
|
|
4293
4339
|
result['ServiceId'] = self.service_id
|
|
4340
|
+
if self.traffic_control_mode is not None:
|
|
4341
|
+
result['TrafficControlMode'] = self.traffic_control_mode
|
|
4294
4342
|
result['Zones'] = []
|
|
4295
4343
|
if self.zones is not None:
|
|
4296
4344
|
for k in self.zones:
|
|
@@ -4317,6 +4365,8 @@ class ListVpcEndpointConnectionsResponseBodyConnections(TeaModel):
|
|
|
4317
4365
|
self.resource_owner = m.get('ResourceOwner')
|
|
4318
4366
|
if m.get('ServiceId') is not None:
|
|
4319
4367
|
self.service_id = m.get('ServiceId')
|
|
4368
|
+
if m.get('TrafficControlMode') is not None:
|
|
4369
|
+
self.traffic_control_mode = m.get('TrafficControlMode')
|
|
4320
4370
|
self.zones = []
|
|
4321
4371
|
if m.get('Zones') is not None:
|
|
4322
4372
|
for k in m.get('Zones'):
|
|
@@ -5160,13 +5210,13 @@ class ListVpcEndpointServicesRequestTag(TeaModel):
|
|
|
5160
5210
|
key: str = None,
|
|
5161
5211
|
value: str = None,
|
|
5162
5212
|
):
|
|
5163
|
-
# The key
|
|
5213
|
+
# The tag key. You can specify at most 20 tag keys. The tag key cannot be an empty string.
|
|
5164
5214
|
#
|
|
5165
|
-
# The tag key
|
|
5215
|
+
# 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
5216
|
self.key = key
|
|
5167
|
-
# The value
|
|
5217
|
+
# The tag value. You can specify up to 20 tag values. The tag value can be an empty string.
|
|
5168
5218
|
#
|
|
5169
|
-
# The tag value can be up to 128 characters in length
|
|
5219
|
+
# 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
5220
|
self.value = value
|
|
5171
5221
|
|
|
5172
5222
|
def validate(self):
|
|
@@ -5211,13 +5261,17 @@ class ListVpcEndpointServicesRequest(TeaModel):
|
|
|
5211
5261
|
tag: List[ListVpcEndpointServicesRequestTag] = None,
|
|
5212
5262
|
zone_affinity_enabled: bool = None,
|
|
5213
5263
|
):
|
|
5264
|
+
# The protocol. Valid values:
|
|
5265
|
+
#
|
|
5266
|
+
# * **IPv4**\
|
|
5267
|
+
# * **DualStack**\
|
|
5214
5268
|
self.address_ip_version = address_ip_version
|
|
5215
5269
|
# Specifies whether to automatically accept endpoint connection requests. Valid values:
|
|
5216
5270
|
#
|
|
5217
5271
|
# * **true**\
|
|
5218
5272
|
# * **false** (default)
|
|
5219
5273
|
self.auto_accept_enabled = auto_accept_enabled
|
|
5220
|
-
# The number of entries
|
|
5274
|
+
# The number of entries per page. Valid values: **1** to **1000**. Default value: **50**.
|
|
5221
5275
|
self.max_results = max_results
|
|
5222
5276
|
# The pagination token that is used in the next request to retrieve a new page of results. Valid values:
|
|
5223
5277
|
#
|
|
@@ -5255,7 +5309,7 @@ class ListVpcEndpointServicesRequest(TeaModel):
|
|
|
5255
5309
|
# * **Active**: The endpoint service is available.
|
|
5256
5310
|
# * **Deleting**: The endpoint service is being deleted
|
|
5257
5311
|
self.service_status = service_status
|
|
5258
|
-
# The
|
|
5312
|
+
# The tags.
|
|
5259
5313
|
self.tag = tag
|
|
5260
5314
|
# Specifies whether to first resolve the domain name of the nearest endpoint that is associated with the endpoint service. Valid values:
|
|
5261
5315
|
#
|
|
@@ -5402,6 +5456,10 @@ class ListVpcEndpointServicesResponseBodyServices(TeaModel):
|
|
|
5402
5456
|
tags: List[ListVpcEndpointServicesResponseBodyServicesTags] = None,
|
|
5403
5457
|
zone_affinity_enabled: bool = None,
|
|
5404
5458
|
):
|
|
5459
|
+
# The protocol. Valid values:
|
|
5460
|
+
#
|
|
5461
|
+
# * **IPv4**\
|
|
5462
|
+
# * **DualStack**\
|
|
5405
5463
|
self.address_ip_version = address_ip_version
|
|
5406
5464
|
# Indicates whether endpoint connection requests are automatically accepted. Valid values:
|
|
5407
5465
|
#
|
|
@@ -5686,13 +5744,13 @@ class ListVpcEndpointServicesByEndUserRequestTag(TeaModel):
|
|
|
5686
5744
|
key: str = None,
|
|
5687
5745
|
value: str = None,
|
|
5688
5746
|
):
|
|
5689
|
-
# The key
|
|
5747
|
+
# The tag key. You can specify at most 20 tag keys. The tag key cannot be an empty string.
|
|
5690
5748
|
#
|
|
5691
|
-
# The tag key
|
|
5749
|
+
# 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
5750
|
self.key = key
|
|
5693
|
-
# The value
|
|
5751
|
+
# The tag value. You can specify up to 20 tag values. The tag value can be an empty string.
|
|
5694
5752
|
#
|
|
5695
|
-
# The tag value can be up to 128 characters in length
|
|
5753
|
+
# 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
5754
|
self.value = value
|
|
5697
5755
|
|
|
5698
5756
|
def validate(self):
|
|
@@ -5731,7 +5789,7 @@ class ListVpcEndpointServicesByEndUserRequest(TeaModel):
|
|
|
5731
5789
|
service_type: str = None,
|
|
5732
5790
|
tag: List[ListVpcEndpointServicesByEndUserRequestTag] = None,
|
|
5733
5791
|
):
|
|
5734
|
-
# The number of entries per page. Valid values: **1** to **
|
|
5792
|
+
# The number of entries per page. Valid values: **1** to **1000**. Default value: **50**.
|
|
5735
5793
|
self.max_results = max_results
|
|
5736
5794
|
# The pagination token that is used in the next request to retrieve a new page of results. Valid values:
|
|
5737
5795
|
#
|
|
@@ -5754,7 +5812,7 @@ class ListVpcEndpointServicesByEndUserRequest(TeaModel):
|
|
|
5754
5812
|
#
|
|
5755
5813
|
# Set the value to **Interface**. You can specify CLB and ALB instances as service resources for the endpoint service.
|
|
5756
5814
|
self.service_type = service_type
|
|
5757
|
-
# The
|
|
5815
|
+
# The tags.
|
|
5758
5816
|
self.tag = tag
|
|
5759
5817
|
|
|
5760
5818
|
def validate(self):
|
|
@@ -5861,8 +5919,13 @@ class ListVpcEndpointServicesByEndUserResponseBodyServices(TeaModel):
|
|
|
5861
5919
|
service_support_ipv_6: bool = None,
|
|
5862
5920
|
service_type: str = None,
|
|
5863
5921
|
tags: List[ListVpcEndpointServicesByEndUserResponseBodyServicesTags] = None,
|
|
5922
|
+
zone_affinity_enabled: bool = None,
|
|
5864
5923
|
zones: List[str] = None,
|
|
5865
5924
|
):
|
|
5925
|
+
# The protocol. Valid values:
|
|
5926
|
+
#
|
|
5927
|
+
# * **IPv4**\
|
|
5928
|
+
# * **DualStack**\
|
|
5866
5929
|
self.address_ip_version = address_ip_version
|
|
5867
5930
|
# The payer. Valid values:
|
|
5868
5931
|
#
|
|
@@ -5894,6 +5957,7 @@ class ListVpcEndpointServicesByEndUserResponseBodyServices(TeaModel):
|
|
|
5894
5957
|
self.service_type = service_type
|
|
5895
5958
|
# The list of tags.
|
|
5896
5959
|
self.tags = tags
|
|
5960
|
+
self.zone_affinity_enabled = zone_affinity_enabled
|
|
5897
5961
|
# The zones of the endpoint service that can be associated with the endpoint.
|
|
5898
5962
|
self.zones = zones
|
|
5899
5963
|
|
|
@@ -5931,6 +5995,8 @@ class ListVpcEndpointServicesByEndUserResponseBodyServices(TeaModel):
|
|
|
5931
5995
|
if self.tags is not None:
|
|
5932
5996
|
for k in self.tags:
|
|
5933
5997
|
result['Tags'].append(k.to_map() if k else None)
|
|
5998
|
+
if self.zone_affinity_enabled is not None:
|
|
5999
|
+
result['ZoneAffinityEnabled'] = self.zone_affinity_enabled
|
|
5934
6000
|
if self.zones is not None:
|
|
5935
6001
|
result['Zones'] = self.zones
|
|
5936
6002
|
return result
|
|
@@ -5960,6 +6026,8 @@ class ListVpcEndpointServicesByEndUserResponseBodyServices(TeaModel):
|
|
|
5960
6026
|
for k in m.get('Tags'):
|
|
5961
6027
|
temp_model = ListVpcEndpointServicesByEndUserResponseBodyServicesTags()
|
|
5962
6028
|
self.tags.append(temp_model.from_map(k))
|
|
6029
|
+
if m.get('ZoneAffinityEnabled') is not None:
|
|
6030
|
+
self.zone_affinity_enabled = m.get('ZoneAffinityEnabled')
|
|
5963
6031
|
if m.get('Zones') is not None:
|
|
5964
6032
|
self.zones = m.get('Zones')
|
|
5965
6033
|
return self
|
|
@@ -6337,13 +6405,13 @@ class ListVpcEndpointsRequestTag(TeaModel):
|
|
|
6337
6405
|
key: str = None,
|
|
6338
6406
|
value: str = None,
|
|
6339
6407
|
):
|
|
6340
|
-
# The key of the tag. You can specify
|
|
6408
|
+
# 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
6409
|
#
|
|
6342
|
-
# The tag key
|
|
6410
|
+
# 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
6411
|
self.key = key
|
|
6344
|
-
# The value
|
|
6412
|
+
# The tag value. You can specify up to 20 tag values. The tag value can be an empty string.
|
|
6345
6413
|
#
|
|
6346
|
-
# The tag value can be up to 128 characters in length
|
|
6414
|
+
# 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
6415
|
self.value = value
|
|
6348
6416
|
|
|
6349
6417
|
def validate(self):
|
|
@@ -6387,6 +6455,10 @@ class ListVpcEndpointsRequest(TeaModel):
|
|
|
6387
6455
|
tag: List[ListVpcEndpointsRequestTag] = None,
|
|
6388
6456
|
vpc_id: str = None,
|
|
6389
6457
|
):
|
|
6458
|
+
# The protocol. Valid values:
|
|
6459
|
+
#
|
|
6460
|
+
# * **IPv4**\
|
|
6461
|
+
# * **DualStack**\
|
|
6390
6462
|
self.address_ip_version = address_ip_version
|
|
6391
6463
|
# The state of the endpoint connection. Valid values:
|
|
6392
6464
|
#
|
|
@@ -6414,7 +6486,7 @@ class ListVpcEndpointsRequest(TeaModel):
|
|
|
6414
6486
|
# * **Interface**: interface endpoint
|
|
6415
6487
|
# * **Reverse**: reverse endpoint
|
|
6416
6488
|
self.endpoint_type = endpoint_type
|
|
6417
|
-
# The number of entries
|
|
6489
|
+
# The number of entries per page. Valid values: **1** to **1000**. Default value: **50**.
|
|
6418
6490
|
self.max_results = max_results
|
|
6419
6491
|
# The pagination token that is used in the next request to retrieve a new page of results. Valid values:
|
|
6420
6492
|
#
|
|
@@ -6431,7 +6503,7 @@ class ListVpcEndpointsRequest(TeaModel):
|
|
|
6431
6503
|
self.resource_group_id = resource_group_id
|
|
6432
6504
|
# The name of the endpoint service with which the endpoint is associated.
|
|
6433
6505
|
self.service_name = service_name
|
|
6434
|
-
# The
|
|
6506
|
+
# The tags.
|
|
6435
6507
|
self.tag = tag
|
|
6436
6508
|
# The ID of the VPC to which the endpoint belongs.
|
|
6437
6509
|
self.vpc_id = vpc_id
|
|
@@ -6571,6 +6643,10 @@ class ListVpcEndpointsResponseBodyEndpoints(TeaModel):
|
|
|
6571
6643
|
vpc_id: str = None,
|
|
6572
6644
|
zone_affinity_enabled: bool = None,
|
|
6573
6645
|
):
|
|
6646
|
+
# The protocol. Valid values:
|
|
6647
|
+
#
|
|
6648
|
+
# * **IPv4**\
|
|
6649
|
+
# * **DualStack**\
|
|
6574
6650
|
self.address_ip_version = address_ip_version
|
|
6575
6651
|
# The bandwidth of the endpoint connection. Unit: Mbit/s.
|
|
6576
6652
|
self.bandwidth = bandwidth
|
|
@@ -7602,7 +7678,14 @@ class UpdateVpcEndpointAttributeRequest(TeaModel):
|
|
|
7602
7678
|
endpoint_name: str = None,
|
|
7603
7679
|
policy_document: str = None,
|
|
7604
7680
|
region_id: str = None,
|
|
7681
|
+
zone_affinity_enabled: bool = None,
|
|
7605
7682
|
):
|
|
7683
|
+
# The protocol. Valid values:
|
|
7684
|
+
#
|
|
7685
|
+
# * **IPv4**\
|
|
7686
|
+
# * **DualStack**\
|
|
7687
|
+
#
|
|
7688
|
+
# > An endpoint supports dual-stack only if its associated endpoint service and VPC support dual-stack.
|
|
7606
7689
|
self.address_ip_version = address_ip_version
|
|
7607
7690
|
# The client token that is used to ensure the idempotence of the request.
|
|
7608
7691
|
#
|
|
@@ -7630,6 +7713,7 @@ class UpdateVpcEndpointAttributeRequest(TeaModel):
|
|
|
7630
7713
|
#
|
|
7631
7714
|
# This parameter is required.
|
|
7632
7715
|
self.region_id = region_id
|
|
7716
|
+
self.zone_affinity_enabled = zone_affinity_enabled
|
|
7633
7717
|
|
|
7634
7718
|
def validate(self):
|
|
7635
7719
|
pass
|
|
@@ -7656,6 +7740,8 @@ class UpdateVpcEndpointAttributeRequest(TeaModel):
|
|
|
7656
7740
|
result['PolicyDocument'] = self.policy_document
|
|
7657
7741
|
if self.region_id is not None:
|
|
7658
7742
|
result['RegionId'] = self.region_id
|
|
7743
|
+
if self.zone_affinity_enabled is not None:
|
|
7744
|
+
result['ZoneAffinityEnabled'] = self.zone_affinity_enabled
|
|
7659
7745
|
return result
|
|
7660
7746
|
|
|
7661
7747
|
def from_map(self, m: dict = None):
|
|
@@ -7676,6 +7762,8 @@ class UpdateVpcEndpointAttributeRequest(TeaModel):
|
|
|
7676
7762
|
self.policy_document = m.get('PolicyDocument')
|
|
7677
7763
|
if m.get('RegionId') is not None:
|
|
7678
7764
|
self.region_id = m.get('RegionId')
|
|
7765
|
+
if m.get('ZoneAffinityEnabled') is not None:
|
|
7766
|
+
self.zone_affinity_enabled = m.get('ZoneAffinityEnabled')
|
|
7679
7767
|
return self
|
|
7680
7768
|
|
|
7681
7769
|
|
|
@@ -7757,6 +7845,7 @@ class UpdateVpcEndpointConnectionAttributeRequest(TeaModel):
|
|
|
7757
7845
|
endpoint_id: str = None,
|
|
7758
7846
|
region_id: str = None,
|
|
7759
7847
|
service_id: str = None,
|
|
7848
|
+
traffic_control_mode: str = None,
|
|
7760
7849
|
):
|
|
7761
7850
|
# The bandwidth of the endpoint connection that you want to modify. Unit: Mbit/s. Valid values: **3072** to **10240**.
|
|
7762
7851
|
#
|
|
@@ -7783,6 +7872,7 @@ class UpdateVpcEndpointConnectionAttributeRequest(TeaModel):
|
|
|
7783
7872
|
#
|
|
7784
7873
|
# This parameter is required.
|
|
7785
7874
|
self.service_id = service_id
|
|
7875
|
+
self.traffic_control_mode = traffic_control_mode
|
|
7786
7876
|
|
|
7787
7877
|
def validate(self):
|
|
7788
7878
|
pass
|
|
@@ -7805,6 +7895,8 @@ class UpdateVpcEndpointConnectionAttributeRequest(TeaModel):
|
|
|
7805
7895
|
result['RegionId'] = self.region_id
|
|
7806
7896
|
if self.service_id is not None:
|
|
7807
7897
|
result['ServiceId'] = self.service_id
|
|
7898
|
+
if self.traffic_control_mode is not None:
|
|
7899
|
+
result['TrafficControlMode'] = self.traffic_control_mode
|
|
7808
7900
|
return result
|
|
7809
7901
|
|
|
7810
7902
|
def from_map(self, m: dict = None):
|
|
@@ -7821,6 +7913,8 @@ class UpdateVpcEndpointConnectionAttributeRequest(TeaModel):
|
|
|
7821
7913
|
self.region_id = m.get('RegionId')
|
|
7822
7914
|
if m.get('ServiceId') is not None:
|
|
7823
7915
|
self.service_id = m.get('ServiceId')
|
|
7916
|
+
if m.get('TrafficControlMode') is not None:
|
|
7917
|
+
self.traffic_control_mode = m.get('TrafficControlMode')
|
|
7824
7918
|
return self
|
|
7825
7919
|
|
|
7826
7920
|
|
|
@@ -7907,6 +8001,12 @@ class UpdateVpcEndpointServiceAttributeRequest(TeaModel):
|
|
|
7907
8001
|
service_support_ipv_6: bool = None,
|
|
7908
8002
|
zone_affinity_enabled: bool = None,
|
|
7909
8003
|
):
|
|
8004
|
+
# The protocol. Valid values:
|
|
8005
|
+
#
|
|
8006
|
+
# * **IPv4**\
|
|
8007
|
+
# * **DualStack**\
|
|
8008
|
+
#
|
|
8009
|
+
# > You can set the protocol to DualStack only for endpoint services whose backend resource type is NLB.
|
|
7910
8010
|
self.address_ip_version = address_ip_version
|
|
7911
8011
|
# Specifies whether to automatically accept endpoint connection requests. Valid values:
|
|
7912
8012
|
#
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: alibabacloud-privatelink20200415
|
|
3
|
-
Version: 4.0.
|
|
3
|
+
Version: 4.0.4
|
|
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=TXO21JcOVblzJws1XOoQzR8vKDD4ktx7VTUgJTYbUOA,21
|
|
2
|
+
alibabacloud_privatelink20200415/client.py,sha256=4eYk7e4T3gLmAYSNHiVGmQ2pGq4blln-aKewgRgZF18,261333
|
|
3
|
+
alibabacloud_privatelink20200415/models.py,sha256=Eg251-Ggfoned5MhLFGyntnS-XzMkOc_xuuM3WY1Tgo,325434
|
|
4
|
+
alibabacloud_privatelink20200415-4.0.4.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_privatelink20200415-4.0.4.dist-info/METADATA,sha256=CRabZEDRnP5zXFhnX24GazKIDox-0k84IUjWEDrKodc,2368
|
|
6
|
+
alibabacloud_privatelink20200415-4.0.4.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
+
alibabacloud_privatelink20200415-4.0.4.dist-info/top_level.txt,sha256=x36ApoZTLXE_uNbTug865lwkO2q6yfx1B2cIWKumUgk,33
|
|
8
|
+
alibabacloud_privatelink20200415-4.0.4.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
|