alibabacloud-privatelink20200415 4.0.1__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.
@@ -1 +1 @@
1
- __version__ = '4.0.1'
1
+ __version__ = '4.0.3'
@@ -198,6 +198,8 @@ class Client(OpenApiClient):
198
198
  query['DryRun'] = request.dry_run
199
199
  if not UtilClient.is_unset(request.endpoint_id):
200
200
  query['EndpointId'] = request.endpoint_id
201
+ if not UtilClient.is_unset(request.ipv_6address):
202
+ query['Ipv6Address'] = request.ipv_6address
201
203
  if not UtilClient.is_unset(request.region_id):
202
204
  query['RegionId'] = request.region_id
203
205
  if not UtilClient.is_unset(request.region_id):
@@ -252,6 +254,8 @@ class Client(OpenApiClient):
252
254
  query['DryRun'] = request.dry_run
253
255
  if not UtilClient.is_unset(request.endpoint_id):
254
256
  query['EndpointId'] = request.endpoint_id
257
+ if not UtilClient.is_unset(request.ipv_6address):
258
+ query['Ipv6Address'] = request.ipv_6address
255
259
  if not UtilClient.is_unset(request.region_id):
256
260
  query['RegionId'] = request.region_id
257
261
  if not UtilClient.is_unset(request.region_id):
@@ -785,6 +789,8 @@ class Client(OpenApiClient):
785
789
  """
786
790
  UtilClient.validate_model(request)
787
791
  query = {}
792
+ if not UtilClient.is_unset(request.address_ip_version):
793
+ query['AddressIpVersion'] = request.address_ip_version
788
794
  if not UtilClient.is_unset(request.client_token):
789
795
  query['ClientToken'] = request.client_token
790
796
  if not UtilClient.is_unset(request.dry_run):
@@ -817,6 +823,8 @@ class Client(OpenApiClient):
817
823
  query['VpcId'] = request.vpc_id
818
824
  if not UtilClient.is_unset(request.zone):
819
825
  query['Zone'] = request.zone
826
+ if not UtilClient.is_unset(request.zone_affinity_enabled):
827
+ query['ZoneAffinityEnabled'] = request.zone_affinity_enabled
820
828
  if not UtilClient.is_unset(request.zone_private_ip_address_count):
821
829
  query['ZonePrivateIpAddressCount'] = request.zone_private_ip_address_count
822
830
  req = open_api_models.OpenApiRequest(
@@ -856,6 +864,8 @@ class Client(OpenApiClient):
856
864
  """
857
865
  UtilClient.validate_model(request)
858
866
  query = {}
867
+ if not UtilClient.is_unset(request.address_ip_version):
868
+ query['AddressIpVersion'] = request.address_ip_version
859
869
  if not UtilClient.is_unset(request.client_token):
860
870
  query['ClientToken'] = request.client_token
861
871
  if not UtilClient.is_unset(request.dry_run):
@@ -888,6 +898,8 @@ class Client(OpenApiClient):
888
898
  query['VpcId'] = request.vpc_id
889
899
  if not UtilClient.is_unset(request.zone):
890
900
  query['Zone'] = request.zone
901
+ if not UtilClient.is_unset(request.zone_affinity_enabled):
902
+ query['ZoneAffinityEnabled'] = request.zone_affinity_enabled
891
903
  if not UtilClient.is_unset(request.zone_private_ip_address_count):
892
904
  query['ZonePrivateIpAddressCount'] = request.zone_private_ip_address_count
893
905
  req = open_api_models.OpenApiRequest(
@@ -962,6 +974,8 @@ class Client(OpenApiClient):
962
974
  """
963
975
  UtilClient.validate_model(request)
964
976
  query = {}
977
+ if not UtilClient.is_unset(request.address_ip_version):
978
+ query['AddressIpVersion'] = request.address_ip_version
965
979
  if not UtilClient.is_unset(request.auto_accept_enabled):
966
980
  query['AutoAcceptEnabled'] = request.auto_accept_enabled
967
981
  if not UtilClient.is_unset(request.client_token):
@@ -1026,6 +1040,8 @@ class Client(OpenApiClient):
1026
1040
  """
1027
1041
  UtilClient.validate_model(request)
1028
1042
  query = {}
1043
+ if not UtilClient.is_unset(request.address_ip_version):
1044
+ query['AddressIpVersion'] = request.address_ip_version
1029
1045
  if not UtilClient.is_unset(request.auto_accept_enabled):
1030
1046
  query['AutoAcceptEnabled'] = request.auto_accept_enabled
1031
1047
  if not UtilClient.is_unset(request.client_token):
@@ -1393,6 +1409,8 @@ class Client(OpenApiClient):
1393
1409
  query['RegionId'] = request.region_id
1394
1410
  if not UtilClient.is_unset(request.region_id):
1395
1411
  query['RegionId'] = request.region_id
1412
+ if not UtilClient.is_unset(request.service_resource_type):
1413
+ query['ServiceResourceType'] = request.service_resource_type
1396
1414
  req = open_api_models.OpenApiRequest(
1397
1415
  query=OpenApiUtilClient.query(query)
1398
1416
  )
@@ -1430,6 +1448,8 @@ class Client(OpenApiClient):
1430
1448
  query['RegionId'] = request.region_id
1431
1449
  if not UtilClient.is_unset(request.region_id):
1432
1450
  query['RegionId'] = request.region_id
1451
+ if not UtilClient.is_unset(request.service_resource_type):
1452
+ query['ServiceResourceType'] = request.service_resource_type
1433
1453
  req = open_api_models.OpenApiRequest(
1434
1454
  query=OpenApiUtilClient.query(query)
1435
1455
  )
@@ -1493,6 +1513,8 @@ class Client(OpenApiClient):
1493
1513
  query['RegionId'] = request.region_id
1494
1514
  if not UtilClient.is_unset(request.region_id):
1495
1515
  query['RegionId'] = request.region_id
1516
+ if not UtilClient.is_unset(request.service_resource_type):
1517
+ query['ServiceResourceType'] = request.service_resource_type
1496
1518
  req = open_api_models.OpenApiRequest(
1497
1519
  query=OpenApiUtilClient.query(query)
1498
1520
  )
@@ -1530,6 +1552,8 @@ class Client(OpenApiClient):
1530
1552
  query['RegionId'] = request.region_id
1531
1553
  if not UtilClient.is_unset(request.region_id):
1532
1554
  query['RegionId'] = request.region_id
1555
+ if not UtilClient.is_unset(request.service_resource_type):
1556
+ query['ServiceResourceType'] = request.service_resource_type
1533
1557
  req = open_api_models.OpenApiRequest(
1534
1558
  query=OpenApiUtilClient.query(query)
1535
1559
  )
@@ -1989,7 +2013,7 @@ class Client(OpenApiClient):
1989
2013
  runtime: util_models.RuntimeOptions,
1990
2014
  ) -> privatelink_20200415_models.DisableVpcEndpointZoneConnectionResponse:
1991
2015
  """
1992
- @summary Disconnects an endpoint from a connection in the specified zone.
2016
+ @summary Closes connections in an endpoint zone.
1993
2017
 
1994
2018
  @description You can call this operation only when the state of the endpoint is **Connected** and the state of the zone associated with the endpoint is **Connected** or **Migrated**.
1995
2019
  **DisableVpcEndpointZoneConnection** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListVpcEndpointZones](https://help.aliyun.com/document_detail/183560.html) operation to query the status of the task.
@@ -2044,7 +2068,7 @@ class Client(OpenApiClient):
2044
2068
  runtime: util_models.RuntimeOptions,
2045
2069
  ) -> privatelink_20200415_models.DisableVpcEndpointZoneConnectionResponse:
2046
2070
  """
2047
- @summary Disconnects an endpoint from a connection in the specified zone.
2071
+ @summary Closes connections in an endpoint zone.
2048
2072
 
2049
2073
  @description You can call this operation only when the state of the endpoint is **Connected** and the state of the zone associated with the endpoint is **Connected** or **Migrated**.
2050
2074
  **DisableVpcEndpointZoneConnection** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListVpcEndpointZones](https://help.aliyun.com/document_detail/183560.html) operation to query the status of the task.
@@ -2098,7 +2122,7 @@ class Client(OpenApiClient):
2098
2122
  request: privatelink_20200415_models.DisableVpcEndpointZoneConnectionRequest,
2099
2123
  ) -> privatelink_20200415_models.DisableVpcEndpointZoneConnectionResponse:
2100
2124
  """
2101
- @summary Disconnects an endpoint from a connection in the specified zone.
2125
+ @summary Closes connections in an endpoint zone.
2102
2126
 
2103
2127
  @description You can call this operation only when the state of the endpoint is **Connected** and the state of the zone associated with the endpoint is **Connected** or **Migrated**.
2104
2128
  **DisableVpcEndpointZoneConnection** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListVpcEndpointZones](https://help.aliyun.com/document_detail/183560.html) operation to query the status of the task.
@@ -2117,7 +2141,7 @@ class Client(OpenApiClient):
2117
2141
  request: privatelink_20200415_models.DisableVpcEndpointZoneConnectionRequest,
2118
2142
  ) -> privatelink_20200415_models.DisableVpcEndpointZoneConnectionResponse:
2119
2143
  """
2120
- @summary Disconnects an endpoint from a connection in the specified zone.
2144
+ @summary Closes connections in an endpoint zone.
2121
2145
 
2122
2146
  @description You can call this operation only when the state of the endpoint is **Connected** and the state of the zone associated with the endpoint is **Connected** or **Migrated**.
2123
2147
  **DisableVpcEndpointZoneConnection** is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the [ListVpcEndpointZones](https://help.aliyun.com/document_detail/183560.html) operation to query the status of the task.
@@ -2277,7 +2301,7 @@ class Client(OpenApiClient):
2277
2301
  runtime: util_models.RuntimeOptions,
2278
2302
  ) -> privatelink_20200415_models.EnableVpcEndpointZoneConnectionResponse:
2279
2303
  """
2280
- @summary Accepts a connection request from an endpoint in the specified zone.
2304
+ @summary Allows connections to endpoint zones.
2281
2305
 
2282
2306
  @description You can call this operation only when the state of the endpoint is **Connected** and the state of the associated zone is **Disconnected**.
2283
2307
  **EnableVpcEndpointZoneConnection** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [ListVpcEndpointZones](https://help.aliyun.com/document_detail/183560.html) operation to check whether the endpoint service accepts a connection request from the endpoint in the associated zone.
@@ -2330,7 +2354,7 @@ class Client(OpenApiClient):
2330
2354
  runtime: util_models.RuntimeOptions,
2331
2355
  ) -> privatelink_20200415_models.EnableVpcEndpointZoneConnectionResponse:
2332
2356
  """
2333
- @summary Accepts a connection request from an endpoint in the specified zone.
2357
+ @summary Allows connections to endpoint zones.
2334
2358
 
2335
2359
  @description You can call this operation only when the state of the endpoint is **Connected** and the state of the associated zone is **Disconnected**.
2336
2360
  **EnableVpcEndpointZoneConnection** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [ListVpcEndpointZones](https://help.aliyun.com/document_detail/183560.html) operation to check whether the endpoint service accepts a connection request from the endpoint in the associated zone.
@@ -2382,7 +2406,7 @@ class Client(OpenApiClient):
2382
2406
  request: privatelink_20200415_models.EnableVpcEndpointZoneConnectionRequest,
2383
2407
  ) -> privatelink_20200415_models.EnableVpcEndpointZoneConnectionResponse:
2384
2408
  """
2385
- @summary Accepts a connection request from an endpoint in the specified zone.
2409
+ @summary Allows connections to endpoint zones.
2386
2410
 
2387
2411
  @description You can call this operation only when the state of the endpoint is **Connected** and the state of the associated zone is **Disconnected**.
2388
2412
  **EnableVpcEndpointZoneConnection** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [ListVpcEndpointZones](https://help.aliyun.com/document_detail/183560.html) operation to check whether the endpoint service accepts a connection request from the endpoint in the associated zone.
@@ -2401,7 +2425,7 @@ class Client(OpenApiClient):
2401
2425
  request: privatelink_20200415_models.EnableVpcEndpointZoneConnectionRequest,
2402
2426
  ) -> privatelink_20200415_models.EnableVpcEndpointZoneConnectionResponse:
2403
2427
  """
2404
- @summary Accepts a connection request from an endpoint in the specified zone.
2428
+ @summary Allows connections to endpoint zones.
2405
2429
 
2406
2430
  @description You can call this operation only when the state of the endpoint is **Connected** and the state of the associated zone is **Disconnected**.
2407
2431
  **EnableVpcEndpointZoneConnection** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [ListVpcEndpointZones](https://help.aliyun.com/document_detail/183560.html) operation to check whether the endpoint service accepts a connection request from the endpoint in the associated zone.
@@ -3257,6 +3281,8 @@ class Client(OpenApiClient):
3257
3281
  """
3258
3282
  UtilClient.validate_model(request)
3259
3283
  query = {}
3284
+ if not UtilClient.is_unset(request.address_ip_version):
3285
+ query['AddressIpVersion'] = request.address_ip_version
3260
3286
  if not UtilClient.is_unset(request.auto_accept_enabled):
3261
3287
  query['AutoAcceptEnabled'] = request.auto_accept_enabled
3262
3288
  if not UtilClient.is_unset(request.max_results):
@@ -3318,6 +3344,8 @@ class Client(OpenApiClient):
3318
3344
  """
3319
3345
  UtilClient.validate_model(request)
3320
3346
  query = {}
3347
+ if not UtilClient.is_unset(request.address_ip_version):
3348
+ query['AddressIpVersion'] = request.address_ip_version
3321
3349
  if not UtilClient.is_unset(request.auto_accept_enabled):
3322
3350
  query['AutoAcceptEnabled'] = request.auto_accept_enabled
3323
3351
  if not UtilClient.is_unset(request.max_results):
@@ -3645,6 +3673,8 @@ class Client(OpenApiClient):
3645
3673
  """
3646
3674
  UtilClient.validate_model(request)
3647
3675
  query = {}
3676
+ if not UtilClient.is_unset(request.address_ip_version):
3677
+ query['AddressIpVersion'] = request.address_ip_version
3648
3678
  if not UtilClient.is_unset(request.connection_status):
3649
3679
  query['ConnectionStatus'] = request.connection_status
3650
3680
  if not UtilClient.is_unset(request.endpoint_id):
@@ -3704,6 +3734,8 @@ class Client(OpenApiClient):
3704
3734
  """
3705
3735
  UtilClient.validate_model(request)
3706
3736
  query = {}
3737
+ if not UtilClient.is_unset(request.address_ip_version):
3738
+ query['AddressIpVersion'] = request.address_ip_version
3707
3739
  if not UtilClient.is_unset(request.connection_status):
3708
3740
  query['ConnectionStatus'] = request.connection_status
3709
3741
  if not UtilClient.is_unset(request.endpoint_id):
@@ -4275,7 +4307,7 @@ class Client(OpenApiClient):
4275
4307
  runtime: util_models.RuntimeOptions,
4276
4308
  ) -> privatelink_20200415_models.UntagResourcesResponse:
4277
4309
  """
4278
- @summary Removes tags from resources. You can call the UntagResources operation to remove tags from one or more endpoints or endpoint services.
4310
+ @summary Removes tags from one or more endpoints or endpoint services at a time.
4279
4311
 
4280
4312
  @param request: UntagResourcesRequest
4281
4313
  @param runtime: runtime options for this request RuntimeOptions
@@ -4327,7 +4359,7 @@ class Client(OpenApiClient):
4327
4359
  runtime: util_models.RuntimeOptions,
4328
4360
  ) -> privatelink_20200415_models.UntagResourcesResponse:
4329
4361
  """
4330
- @summary Removes tags from resources. You can call the UntagResources operation to remove tags from one or more endpoints or endpoint services.
4362
+ @summary Removes tags from one or more endpoints or endpoint services at a time.
4331
4363
 
4332
4364
  @param request: UntagResourcesRequest
4333
4365
  @param runtime: runtime options for this request RuntimeOptions
@@ -4378,7 +4410,7 @@ class Client(OpenApiClient):
4378
4410
  request: privatelink_20200415_models.UntagResourcesRequest,
4379
4411
  ) -> privatelink_20200415_models.UntagResourcesResponse:
4380
4412
  """
4381
- @summary Removes tags from resources. You can call the UntagResources operation to remove tags from one or more endpoints or endpoint services.
4413
+ @summary Removes tags from one or more endpoints or endpoint services at a time.
4382
4414
 
4383
4415
  @param request: UntagResourcesRequest
4384
4416
  @return: UntagResourcesResponse
@@ -4391,7 +4423,7 @@ class Client(OpenApiClient):
4391
4423
  request: privatelink_20200415_models.UntagResourcesRequest,
4392
4424
  ) -> privatelink_20200415_models.UntagResourcesResponse:
4393
4425
  """
4394
- @summary Removes tags from resources. You can call the UntagResources operation to remove tags from one or more endpoints or endpoint services.
4426
+ @summary Removes tags from one or more endpoints or endpoint services at a time.
4395
4427
 
4396
4428
  @param request: UntagResourcesRequest
4397
4429
  @return: UntagResourcesResponse
@@ -4415,6 +4447,8 @@ class Client(OpenApiClient):
4415
4447
  """
4416
4448
  UtilClient.validate_model(request)
4417
4449
  query = {}
4450
+ if not UtilClient.is_unset(request.address_ip_version):
4451
+ query['AddressIpVersion'] = request.address_ip_version
4418
4452
  if not UtilClient.is_unset(request.client_token):
4419
4453
  query['ClientToken'] = request.client_token
4420
4454
  if not UtilClient.is_unset(request.dry_run):
@@ -4431,6 +4465,8 @@ class Client(OpenApiClient):
4431
4465
  query['RegionId'] = request.region_id
4432
4466
  if not UtilClient.is_unset(request.region_id):
4433
4467
  query['RegionId'] = request.region_id
4468
+ if not UtilClient.is_unset(request.zone_affinity_enabled):
4469
+ query['ZoneAffinityEnabled'] = request.zone_affinity_enabled
4434
4470
  req = open_api_models.OpenApiRequest(
4435
4471
  query=OpenApiUtilClient.query(query)
4436
4472
  )
@@ -4466,6 +4502,8 @@ class Client(OpenApiClient):
4466
4502
  """
4467
4503
  UtilClient.validate_model(request)
4468
4504
  query = {}
4505
+ if not UtilClient.is_unset(request.address_ip_version):
4506
+ query['AddressIpVersion'] = request.address_ip_version
4469
4507
  if not UtilClient.is_unset(request.client_token):
4470
4508
  query['ClientToken'] = request.client_token
4471
4509
  if not UtilClient.is_unset(request.dry_run):
@@ -4482,6 +4520,8 @@ class Client(OpenApiClient):
4482
4520
  query['RegionId'] = request.region_id
4483
4521
  if not UtilClient.is_unset(request.region_id):
4484
4522
  query['RegionId'] = request.region_id
4523
+ if not UtilClient.is_unset(request.zone_affinity_enabled):
4524
+ query['ZoneAffinityEnabled'] = request.zone_affinity_enabled
4485
4525
  req = open_api_models.OpenApiRequest(
4486
4526
  query=OpenApiUtilClient.query(query)
4487
4527
  )
@@ -4675,6 +4715,8 @@ class Client(OpenApiClient):
4675
4715
  """
4676
4716
  UtilClient.validate_model(request)
4677
4717
  query = {}
4718
+ if not UtilClient.is_unset(request.address_ip_version):
4719
+ query['AddressIpVersion'] = request.address_ip_version
4678
4720
  if not UtilClient.is_unset(request.auto_accept_enabled):
4679
4721
  query['AutoAcceptEnabled'] = request.auto_accept_enabled
4680
4722
  if not UtilClient.is_unset(request.client_token):
@@ -4730,6 +4772,8 @@ class Client(OpenApiClient):
4730
4772
  """
4731
4773
  UtilClient.validate_model(request)
4732
4774
  query = {}
4775
+ if not UtilClient.is_unset(request.address_ip_version):
4776
+ query['AddressIpVersion'] = request.address_ip_version
4733
4777
  if not UtilClient.is_unset(request.auto_accept_enabled):
4734
4778
  query['AutoAcceptEnabled'] = request.auto_accept_enabled
4735
4779
  if not UtilClient.is_unset(request.client_token):