alibabacloud-vpc20160428 6.4.0__py3-none-any.whl → 6.6.0__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_vpc20160428/__init__.py +1 -1
- alibabacloud_vpc20160428/client.py +1580 -100
- alibabacloud_vpc20160428/models.py +14748 -11681
- {alibabacloud_vpc20160428-6.4.0.dist-info → alibabacloud_vpc20160428-6.6.0.dist-info}/METADATA +1 -1
- alibabacloud_vpc20160428-6.6.0.dist-info/RECORD +8 -0
- {alibabacloud_vpc20160428-6.4.0.dist-info → alibabacloud_vpc20160428-6.6.0.dist-info}/WHEEL +1 -1
- alibabacloud_vpc20160428-6.4.0.dist-info/RECORD +0 -8
- {alibabacloud_vpc20160428-6.4.0.dist-info → alibabacloud_vpc20160428-6.6.0.dist-info}/LICENSE +0 -0
- {alibabacloud_vpc20160428-6.4.0.dist-info → alibabacloud_vpc20160428-6.6.0.dist-info}/top_level.txt +0 -0
|
@@ -6287,6 +6287,360 @@ class Client(OpenApiClient):
|
|
|
6287
6287
|
runtime = util_models.RuntimeOptions()
|
|
6288
6288
|
return await self.create_express_cloud_connection_with_options_async(request, runtime)
|
|
6289
6289
|
|
|
6290
|
+
def create_express_connect_traffic_qos_with_options(
|
|
6291
|
+
self,
|
|
6292
|
+
request: vpc_20160428_models.CreateExpressConnectTrafficQosRequest,
|
|
6293
|
+
runtime: util_models.RuntimeOptions,
|
|
6294
|
+
) -> vpc_20160428_models.CreateExpressConnectTrafficQosResponse:
|
|
6295
|
+
UtilClient.validate_model(request)
|
|
6296
|
+
query = {}
|
|
6297
|
+
if not UtilClient.is_unset(request.client_token):
|
|
6298
|
+
query['ClientToken'] = request.client_token
|
|
6299
|
+
if not UtilClient.is_unset(request.client_token):
|
|
6300
|
+
query['ClientToken'] = request.client_token
|
|
6301
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
6302
|
+
query['OwnerAccount'] = request.owner_account
|
|
6303
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
6304
|
+
query['OwnerId'] = request.owner_id
|
|
6305
|
+
if not UtilClient.is_unset(request.qos_description):
|
|
6306
|
+
query['QosDescription'] = request.qos_description
|
|
6307
|
+
if not UtilClient.is_unset(request.qos_name):
|
|
6308
|
+
query['QosName'] = request.qos_name
|
|
6309
|
+
if not UtilClient.is_unset(request.region_id):
|
|
6310
|
+
query['RegionId'] = request.region_id
|
|
6311
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
6312
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
6313
|
+
req = open_api_models.OpenApiRequest(
|
|
6314
|
+
query=OpenApiUtilClient.query(query)
|
|
6315
|
+
)
|
|
6316
|
+
params = open_api_models.Params(
|
|
6317
|
+
action='CreateExpressConnectTrafficQos',
|
|
6318
|
+
version='2016-04-28',
|
|
6319
|
+
protocol='HTTPS',
|
|
6320
|
+
pathname='/',
|
|
6321
|
+
method='POST',
|
|
6322
|
+
auth_type='AK',
|
|
6323
|
+
style='RPC',
|
|
6324
|
+
req_body_type='formData',
|
|
6325
|
+
body_type='json'
|
|
6326
|
+
)
|
|
6327
|
+
return TeaCore.from_map(
|
|
6328
|
+
vpc_20160428_models.CreateExpressConnectTrafficQosResponse(),
|
|
6329
|
+
self.call_api(params, req, runtime)
|
|
6330
|
+
)
|
|
6331
|
+
|
|
6332
|
+
async def create_express_connect_traffic_qos_with_options_async(
|
|
6333
|
+
self,
|
|
6334
|
+
request: vpc_20160428_models.CreateExpressConnectTrafficQosRequest,
|
|
6335
|
+
runtime: util_models.RuntimeOptions,
|
|
6336
|
+
) -> vpc_20160428_models.CreateExpressConnectTrafficQosResponse:
|
|
6337
|
+
UtilClient.validate_model(request)
|
|
6338
|
+
query = {}
|
|
6339
|
+
if not UtilClient.is_unset(request.client_token):
|
|
6340
|
+
query['ClientToken'] = request.client_token
|
|
6341
|
+
if not UtilClient.is_unset(request.client_token):
|
|
6342
|
+
query['ClientToken'] = request.client_token
|
|
6343
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
6344
|
+
query['OwnerAccount'] = request.owner_account
|
|
6345
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
6346
|
+
query['OwnerId'] = request.owner_id
|
|
6347
|
+
if not UtilClient.is_unset(request.qos_description):
|
|
6348
|
+
query['QosDescription'] = request.qos_description
|
|
6349
|
+
if not UtilClient.is_unset(request.qos_name):
|
|
6350
|
+
query['QosName'] = request.qos_name
|
|
6351
|
+
if not UtilClient.is_unset(request.region_id):
|
|
6352
|
+
query['RegionId'] = request.region_id
|
|
6353
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
6354
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
6355
|
+
req = open_api_models.OpenApiRequest(
|
|
6356
|
+
query=OpenApiUtilClient.query(query)
|
|
6357
|
+
)
|
|
6358
|
+
params = open_api_models.Params(
|
|
6359
|
+
action='CreateExpressConnectTrafficQos',
|
|
6360
|
+
version='2016-04-28',
|
|
6361
|
+
protocol='HTTPS',
|
|
6362
|
+
pathname='/',
|
|
6363
|
+
method='POST',
|
|
6364
|
+
auth_type='AK',
|
|
6365
|
+
style='RPC',
|
|
6366
|
+
req_body_type='formData',
|
|
6367
|
+
body_type='json'
|
|
6368
|
+
)
|
|
6369
|
+
return TeaCore.from_map(
|
|
6370
|
+
vpc_20160428_models.CreateExpressConnectTrafficQosResponse(),
|
|
6371
|
+
await self.call_api_async(params, req, runtime)
|
|
6372
|
+
)
|
|
6373
|
+
|
|
6374
|
+
def create_express_connect_traffic_qos(
|
|
6375
|
+
self,
|
|
6376
|
+
request: vpc_20160428_models.CreateExpressConnectTrafficQosRequest,
|
|
6377
|
+
) -> vpc_20160428_models.CreateExpressConnectTrafficQosResponse:
|
|
6378
|
+
runtime = util_models.RuntimeOptions()
|
|
6379
|
+
return self.create_express_connect_traffic_qos_with_options(request, runtime)
|
|
6380
|
+
|
|
6381
|
+
async def create_express_connect_traffic_qos_async(
|
|
6382
|
+
self,
|
|
6383
|
+
request: vpc_20160428_models.CreateExpressConnectTrafficQosRequest,
|
|
6384
|
+
) -> vpc_20160428_models.CreateExpressConnectTrafficQosResponse:
|
|
6385
|
+
runtime = util_models.RuntimeOptions()
|
|
6386
|
+
return await self.create_express_connect_traffic_qos_with_options_async(request, runtime)
|
|
6387
|
+
|
|
6388
|
+
def create_express_connect_traffic_qos_queue_with_options(
|
|
6389
|
+
self,
|
|
6390
|
+
request: vpc_20160428_models.CreateExpressConnectTrafficQosQueueRequest,
|
|
6391
|
+
runtime: util_models.RuntimeOptions,
|
|
6392
|
+
) -> vpc_20160428_models.CreateExpressConnectTrafficQosQueueResponse:
|
|
6393
|
+
UtilClient.validate_model(request)
|
|
6394
|
+
query = {}
|
|
6395
|
+
if not UtilClient.is_unset(request.bandwidth_percent):
|
|
6396
|
+
query['BandwidthPercent'] = request.bandwidth_percent
|
|
6397
|
+
if not UtilClient.is_unset(request.client_token):
|
|
6398
|
+
query['ClientToken'] = request.client_token
|
|
6399
|
+
if not UtilClient.is_unset(request.client_token):
|
|
6400
|
+
query['ClientToken'] = request.client_token
|
|
6401
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
6402
|
+
query['OwnerAccount'] = request.owner_account
|
|
6403
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
6404
|
+
query['OwnerId'] = request.owner_id
|
|
6405
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
6406
|
+
query['QosId'] = request.qos_id
|
|
6407
|
+
if not UtilClient.is_unset(request.queue_description):
|
|
6408
|
+
query['QueueDescription'] = request.queue_description
|
|
6409
|
+
if not UtilClient.is_unset(request.queue_name):
|
|
6410
|
+
query['QueueName'] = request.queue_name
|
|
6411
|
+
if not UtilClient.is_unset(request.queue_type):
|
|
6412
|
+
query['QueueType'] = request.queue_type
|
|
6413
|
+
if not UtilClient.is_unset(request.region_id):
|
|
6414
|
+
query['RegionId'] = request.region_id
|
|
6415
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
6416
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
6417
|
+
req = open_api_models.OpenApiRequest(
|
|
6418
|
+
query=OpenApiUtilClient.query(query)
|
|
6419
|
+
)
|
|
6420
|
+
params = open_api_models.Params(
|
|
6421
|
+
action='CreateExpressConnectTrafficQosQueue',
|
|
6422
|
+
version='2016-04-28',
|
|
6423
|
+
protocol='HTTPS',
|
|
6424
|
+
pathname='/',
|
|
6425
|
+
method='POST',
|
|
6426
|
+
auth_type='AK',
|
|
6427
|
+
style='RPC',
|
|
6428
|
+
req_body_type='formData',
|
|
6429
|
+
body_type='json'
|
|
6430
|
+
)
|
|
6431
|
+
return TeaCore.from_map(
|
|
6432
|
+
vpc_20160428_models.CreateExpressConnectTrafficQosQueueResponse(),
|
|
6433
|
+
self.call_api(params, req, runtime)
|
|
6434
|
+
)
|
|
6435
|
+
|
|
6436
|
+
async def create_express_connect_traffic_qos_queue_with_options_async(
|
|
6437
|
+
self,
|
|
6438
|
+
request: vpc_20160428_models.CreateExpressConnectTrafficQosQueueRequest,
|
|
6439
|
+
runtime: util_models.RuntimeOptions,
|
|
6440
|
+
) -> vpc_20160428_models.CreateExpressConnectTrafficQosQueueResponse:
|
|
6441
|
+
UtilClient.validate_model(request)
|
|
6442
|
+
query = {}
|
|
6443
|
+
if not UtilClient.is_unset(request.bandwidth_percent):
|
|
6444
|
+
query['BandwidthPercent'] = request.bandwidth_percent
|
|
6445
|
+
if not UtilClient.is_unset(request.client_token):
|
|
6446
|
+
query['ClientToken'] = request.client_token
|
|
6447
|
+
if not UtilClient.is_unset(request.client_token):
|
|
6448
|
+
query['ClientToken'] = request.client_token
|
|
6449
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
6450
|
+
query['OwnerAccount'] = request.owner_account
|
|
6451
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
6452
|
+
query['OwnerId'] = request.owner_id
|
|
6453
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
6454
|
+
query['QosId'] = request.qos_id
|
|
6455
|
+
if not UtilClient.is_unset(request.queue_description):
|
|
6456
|
+
query['QueueDescription'] = request.queue_description
|
|
6457
|
+
if not UtilClient.is_unset(request.queue_name):
|
|
6458
|
+
query['QueueName'] = request.queue_name
|
|
6459
|
+
if not UtilClient.is_unset(request.queue_type):
|
|
6460
|
+
query['QueueType'] = request.queue_type
|
|
6461
|
+
if not UtilClient.is_unset(request.region_id):
|
|
6462
|
+
query['RegionId'] = request.region_id
|
|
6463
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
6464
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
6465
|
+
req = open_api_models.OpenApiRequest(
|
|
6466
|
+
query=OpenApiUtilClient.query(query)
|
|
6467
|
+
)
|
|
6468
|
+
params = open_api_models.Params(
|
|
6469
|
+
action='CreateExpressConnectTrafficQosQueue',
|
|
6470
|
+
version='2016-04-28',
|
|
6471
|
+
protocol='HTTPS',
|
|
6472
|
+
pathname='/',
|
|
6473
|
+
method='POST',
|
|
6474
|
+
auth_type='AK',
|
|
6475
|
+
style='RPC',
|
|
6476
|
+
req_body_type='formData',
|
|
6477
|
+
body_type='json'
|
|
6478
|
+
)
|
|
6479
|
+
return TeaCore.from_map(
|
|
6480
|
+
vpc_20160428_models.CreateExpressConnectTrafficQosQueueResponse(),
|
|
6481
|
+
await self.call_api_async(params, req, runtime)
|
|
6482
|
+
)
|
|
6483
|
+
|
|
6484
|
+
def create_express_connect_traffic_qos_queue(
|
|
6485
|
+
self,
|
|
6486
|
+
request: vpc_20160428_models.CreateExpressConnectTrafficQosQueueRequest,
|
|
6487
|
+
) -> vpc_20160428_models.CreateExpressConnectTrafficQosQueueResponse:
|
|
6488
|
+
runtime = util_models.RuntimeOptions()
|
|
6489
|
+
return self.create_express_connect_traffic_qos_queue_with_options(request, runtime)
|
|
6490
|
+
|
|
6491
|
+
async def create_express_connect_traffic_qos_queue_async(
|
|
6492
|
+
self,
|
|
6493
|
+
request: vpc_20160428_models.CreateExpressConnectTrafficQosQueueRequest,
|
|
6494
|
+
) -> vpc_20160428_models.CreateExpressConnectTrafficQosQueueResponse:
|
|
6495
|
+
runtime = util_models.RuntimeOptions()
|
|
6496
|
+
return await self.create_express_connect_traffic_qos_queue_with_options_async(request, runtime)
|
|
6497
|
+
|
|
6498
|
+
def create_express_connect_traffic_qos_rule_with_options(
|
|
6499
|
+
self,
|
|
6500
|
+
request: vpc_20160428_models.CreateExpressConnectTrafficQosRuleRequest,
|
|
6501
|
+
runtime: util_models.RuntimeOptions,
|
|
6502
|
+
) -> vpc_20160428_models.CreateExpressConnectTrafficQosRuleResponse:
|
|
6503
|
+
UtilClient.validate_model(request)
|
|
6504
|
+
query = {}
|
|
6505
|
+
if not UtilClient.is_unset(request.client_token):
|
|
6506
|
+
query['ClientToken'] = request.client_token
|
|
6507
|
+
if not UtilClient.is_unset(request.client_token):
|
|
6508
|
+
query['ClientToken'] = request.client_token
|
|
6509
|
+
if not UtilClient.is_unset(request.dst_cidr):
|
|
6510
|
+
query['DstCidr'] = request.dst_cidr
|
|
6511
|
+
if not UtilClient.is_unset(request.dst_ipv_6cidr):
|
|
6512
|
+
query['DstIPv6Cidr'] = request.dst_ipv_6cidr
|
|
6513
|
+
if not UtilClient.is_unset(request.dst_port_range):
|
|
6514
|
+
query['DstPortRange'] = request.dst_port_range
|
|
6515
|
+
if not UtilClient.is_unset(request.match_dscp):
|
|
6516
|
+
query['MatchDscp'] = request.match_dscp
|
|
6517
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
6518
|
+
query['OwnerAccount'] = request.owner_account
|
|
6519
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
6520
|
+
query['OwnerId'] = request.owner_id
|
|
6521
|
+
if not UtilClient.is_unset(request.priority):
|
|
6522
|
+
query['Priority'] = request.priority
|
|
6523
|
+
if not UtilClient.is_unset(request.protocol):
|
|
6524
|
+
query['Protocol'] = request.protocol
|
|
6525
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
6526
|
+
query['QosId'] = request.qos_id
|
|
6527
|
+
if not UtilClient.is_unset(request.queue_id):
|
|
6528
|
+
query['QueueId'] = request.queue_id
|
|
6529
|
+
if not UtilClient.is_unset(request.region_id):
|
|
6530
|
+
query['RegionId'] = request.region_id
|
|
6531
|
+
if not UtilClient.is_unset(request.remarking_dscp):
|
|
6532
|
+
query['RemarkingDscp'] = request.remarking_dscp
|
|
6533
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
6534
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
6535
|
+
if not UtilClient.is_unset(request.rule_description):
|
|
6536
|
+
query['RuleDescription'] = request.rule_description
|
|
6537
|
+
if not UtilClient.is_unset(request.rule_name):
|
|
6538
|
+
query['RuleName'] = request.rule_name
|
|
6539
|
+
if not UtilClient.is_unset(request.src_cidr):
|
|
6540
|
+
query['SrcCidr'] = request.src_cidr
|
|
6541
|
+
if not UtilClient.is_unset(request.src_ipv_6cidr):
|
|
6542
|
+
query['SrcIPv6Cidr'] = request.src_ipv_6cidr
|
|
6543
|
+
if not UtilClient.is_unset(request.src_port_range):
|
|
6544
|
+
query['SrcPortRange'] = request.src_port_range
|
|
6545
|
+
req = open_api_models.OpenApiRequest(
|
|
6546
|
+
query=OpenApiUtilClient.query(query)
|
|
6547
|
+
)
|
|
6548
|
+
params = open_api_models.Params(
|
|
6549
|
+
action='CreateExpressConnectTrafficQosRule',
|
|
6550
|
+
version='2016-04-28',
|
|
6551
|
+
protocol='HTTPS',
|
|
6552
|
+
pathname='/',
|
|
6553
|
+
method='POST',
|
|
6554
|
+
auth_type='AK',
|
|
6555
|
+
style='RPC',
|
|
6556
|
+
req_body_type='formData',
|
|
6557
|
+
body_type='json'
|
|
6558
|
+
)
|
|
6559
|
+
return TeaCore.from_map(
|
|
6560
|
+
vpc_20160428_models.CreateExpressConnectTrafficQosRuleResponse(),
|
|
6561
|
+
self.call_api(params, req, runtime)
|
|
6562
|
+
)
|
|
6563
|
+
|
|
6564
|
+
async def create_express_connect_traffic_qos_rule_with_options_async(
|
|
6565
|
+
self,
|
|
6566
|
+
request: vpc_20160428_models.CreateExpressConnectTrafficQosRuleRequest,
|
|
6567
|
+
runtime: util_models.RuntimeOptions,
|
|
6568
|
+
) -> vpc_20160428_models.CreateExpressConnectTrafficQosRuleResponse:
|
|
6569
|
+
UtilClient.validate_model(request)
|
|
6570
|
+
query = {}
|
|
6571
|
+
if not UtilClient.is_unset(request.client_token):
|
|
6572
|
+
query['ClientToken'] = request.client_token
|
|
6573
|
+
if not UtilClient.is_unset(request.client_token):
|
|
6574
|
+
query['ClientToken'] = request.client_token
|
|
6575
|
+
if not UtilClient.is_unset(request.dst_cidr):
|
|
6576
|
+
query['DstCidr'] = request.dst_cidr
|
|
6577
|
+
if not UtilClient.is_unset(request.dst_ipv_6cidr):
|
|
6578
|
+
query['DstIPv6Cidr'] = request.dst_ipv_6cidr
|
|
6579
|
+
if not UtilClient.is_unset(request.dst_port_range):
|
|
6580
|
+
query['DstPortRange'] = request.dst_port_range
|
|
6581
|
+
if not UtilClient.is_unset(request.match_dscp):
|
|
6582
|
+
query['MatchDscp'] = request.match_dscp
|
|
6583
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
6584
|
+
query['OwnerAccount'] = request.owner_account
|
|
6585
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
6586
|
+
query['OwnerId'] = request.owner_id
|
|
6587
|
+
if not UtilClient.is_unset(request.priority):
|
|
6588
|
+
query['Priority'] = request.priority
|
|
6589
|
+
if not UtilClient.is_unset(request.protocol):
|
|
6590
|
+
query['Protocol'] = request.protocol
|
|
6591
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
6592
|
+
query['QosId'] = request.qos_id
|
|
6593
|
+
if not UtilClient.is_unset(request.queue_id):
|
|
6594
|
+
query['QueueId'] = request.queue_id
|
|
6595
|
+
if not UtilClient.is_unset(request.region_id):
|
|
6596
|
+
query['RegionId'] = request.region_id
|
|
6597
|
+
if not UtilClient.is_unset(request.remarking_dscp):
|
|
6598
|
+
query['RemarkingDscp'] = request.remarking_dscp
|
|
6599
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
6600
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
6601
|
+
if not UtilClient.is_unset(request.rule_description):
|
|
6602
|
+
query['RuleDescription'] = request.rule_description
|
|
6603
|
+
if not UtilClient.is_unset(request.rule_name):
|
|
6604
|
+
query['RuleName'] = request.rule_name
|
|
6605
|
+
if not UtilClient.is_unset(request.src_cidr):
|
|
6606
|
+
query['SrcCidr'] = request.src_cidr
|
|
6607
|
+
if not UtilClient.is_unset(request.src_ipv_6cidr):
|
|
6608
|
+
query['SrcIPv6Cidr'] = request.src_ipv_6cidr
|
|
6609
|
+
if not UtilClient.is_unset(request.src_port_range):
|
|
6610
|
+
query['SrcPortRange'] = request.src_port_range
|
|
6611
|
+
req = open_api_models.OpenApiRequest(
|
|
6612
|
+
query=OpenApiUtilClient.query(query)
|
|
6613
|
+
)
|
|
6614
|
+
params = open_api_models.Params(
|
|
6615
|
+
action='CreateExpressConnectTrafficQosRule',
|
|
6616
|
+
version='2016-04-28',
|
|
6617
|
+
protocol='HTTPS',
|
|
6618
|
+
pathname='/',
|
|
6619
|
+
method='POST',
|
|
6620
|
+
auth_type='AK',
|
|
6621
|
+
style='RPC',
|
|
6622
|
+
req_body_type='formData',
|
|
6623
|
+
body_type='json'
|
|
6624
|
+
)
|
|
6625
|
+
return TeaCore.from_map(
|
|
6626
|
+
vpc_20160428_models.CreateExpressConnectTrafficQosRuleResponse(),
|
|
6627
|
+
await self.call_api_async(params, req, runtime)
|
|
6628
|
+
)
|
|
6629
|
+
|
|
6630
|
+
def create_express_connect_traffic_qos_rule(
|
|
6631
|
+
self,
|
|
6632
|
+
request: vpc_20160428_models.CreateExpressConnectTrafficQosRuleRequest,
|
|
6633
|
+
) -> vpc_20160428_models.CreateExpressConnectTrafficQosRuleResponse:
|
|
6634
|
+
runtime = util_models.RuntimeOptions()
|
|
6635
|
+
return self.create_express_connect_traffic_qos_rule_with_options(request, runtime)
|
|
6636
|
+
|
|
6637
|
+
async def create_express_connect_traffic_qos_rule_async(
|
|
6638
|
+
self,
|
|
6639
|
+
request: vpc_20160428_models.CreateExpressConnectTrafficQosRuleRequest,
|
|
6640
|
+
) -> vpc_20160428_models.CreateExpressConnectTrafficQosRuleResponse:
|
|
6641
|
+
runtime = util_models.RuntimeOptions()
|
|
6642
|
+
return await self.create_express_connect_traffic_qos_rule_with_options_async(request, runtime)
|
|
6643
|
+
|
|
6290
6644
|
def create_failover_test_job_with_options(
|
|
6291
6645
|
self,
|
|
6292
6646
|
request: vpc_20160428_models.CreateFailoverTestJobRequest,
|
|
@@ -6407,7 +6761,7 @@ class Client(OpenApiClient):
|
|
|
6407
6761
|
runtime: util_models.RuntimeOptions,
|
|
6408
6762
|
) -> vpc_20160428_models.CreateFlowLogResponse:
|
|
6409
6763
|
"""
|
|
6410
|
-
*CreateFlowLog** is an asynchronous operation. After
|
|
6764
|
+
*CreateFlowLog** 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 [DescribeFlowLogs](~~87923~~) operation to query the status of the flow log.
|
|
6411
6765
|
* If the flow log is in the **Activating** state, the flow log is being created.
|
|
6412
6766
|
* If the flow log is in the **Active** state, the flow log is created and started.
|
|
6413
6767
|
|
|
@@ -6474,7 +6828,7 @@ class Client(OpenApiClient):
|
|
|
6474
6828
|
runtime: util_models.RuntimeOptions,
|
|
6475
6829
|
) -> vpc_20160428_models.CreateFlowLogResponse:
|
|
6476
6830
|
"""
|
|
6477
|
-
*CreateFlowLog** is an asynchronous operation. After
|
|
6831
|
+
*CreateFlowLog** 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 [DescribeFlowLogs](~~87923~~) operation to query the status of the flow log.
|
|
6478
6832
|
* If the flow log is in the **Activating** state, the flow log is being created.
|
|
6479
6833
|
* If the flow log is in the **Active** state, the flow log is created and started.
|
|
6480
6834
|
|
|
@@ -6540,7 +6894,7 @@ class Client(OpenApiClient):
|
|
|
6540
6894
|
request: vpc_20160428_models.CreateFlowLogRequest,
|
|
6541
6895
|
) -> vpc_20160428_models.CreateFlowLogResponse:
|
|
6542
6896
|
"""
|
|
6543
|
-
*CreateFlowLog** is an asynchronous operation. After
|
|
6897
|
+
*CreateFlowLog** 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 [DescribeFlowLogs](~~87923~~) operation to query the status of the flow log.
|
|
6544
6898
|
* If the flow log is in the **Activating** state, the flow log is being created.
|
|
6545
6899
|
* If the flow log is in the **Active** state, the flow log is created and started.
|
|
6546
6900
|
|
|
@@ -6555,7 +6909,7 @@ class Client(OpenApiClient):
|
|
|
6555
6909
|
request: vpc_20160428_models.CreateFlowLogRequest,
|
|
6556
6910
|
) -> vpc_20160428_models.CreateFlowLogResponse:
|
|
6557
6911
|
"""
|
|
6558
|
-
*CreateFlowLog** is an asynchronous operation. After
|
|
6912
|
+
*CreateFlowLog** 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 [DescribeFlowLogs](~~87923~~) operation to query the status of the flow log.
|
|
6559
6913
|
* If the flow log is in the **Activating** state, the flow log is being created.
|
|
6560
6914
|
* If the flow log is in the **Active** state, the flow log is created and started.
|
|
6561
6915
|
|
|
@@ -7786,10 +8140,11 @@ class Client(OpenApiClient):
|
|
|
7786
8140
|
) -> vpc_20160428_models.CreateIpsecServerResponse:
|
|
7787
8141
|
"""
|
|
7788
8142
|
Before you create an IPsec server, you must create a VPN gateway and enable the SSL-VPN feature for the VPN gateway. For more information, see [CreateVpnGateway](~~120363~~).
|
|
7789
|
-
*
|
|
8143
|
+
* Before you create an IPsec server, make sure that no IPsec-VPN connection exists on the VPN gateway. For more information, see [DeleteVpnConnection](~~2526948~~).
|
|
8144
|
+
* **CreateIpsecServer** 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 [DescribeVpnGateway](~~73720~~) to query the status of the task.
|
|
7790
8145
|
* If the VPN gateway is in the **updating** state, the IPsec server is being created.
|
|
7791
8146
|
* If the VPN gateway is in the **active** state, the IPsec server is created.
|
|
7792
|
-
* You cannot repeatedly call
|
|
8147
|
+
* You cannot repeatedly call **CreateIpsecServer** within the specified period of time.
|
|
7793
8148
|
|
|
7794
8149
|
@param request: CreateIpsecServerRequest
|
|
7795
8150
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -7847,10 +8202,11 @@ class Client(OpenApiClient):
|
|
|
7847
8202
|
) -> vpc_20160428_models.CreateIpsecServerResponse:
|
|
7848
8203
|
"""
|
|
7849
8204
|
Before you create an IPsec server, you must create a VPN gateway and enable the SSL-VPN feature for the VPN gateway. For more information, see [CreateVpnGateway](~~120363~~).
|
|
7850
|
-
*
|
|
8205
|
+
* Before you create an IPsec server, make sure that no IPsec-VPN connection exists on the VPN gateway. For more information, see [DeleteVpnConnection](~~2526948~~).
|
|
8206
|
+
* **CreateIpsecServer** 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 [DescribeVpnGateway](~~73720~~) to query the status of the task.
|
|
7851
8207
|
* If the VPN gateway is in the **updating** state, the IPsec server is being created.
|
|
7852
8208
|
* If the VPN gateway is in the **active** state, the IPsec server is created.
|
|
7853
|
-
* You cannot repeatedly call
|
|
8209
|
+
* You cannot repeatedly call **CreateIpsecServer** within the specified period of time.
|
|
7854
8210
|
|
|
7855
8211
|
@param request: CreateIpsecServerRequest
|
|
7856
8212
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -7907,10 +8263,11 @@ class Client(OpenApiClient):
|
|
|
7907
8263
|
) -> vpc_20160428_models.CreateIpsecServerResponse:
|
|
7908
8264
|
"""
|
|
7909
8265
|
Before you create an IPsec server, you must create a VPN gateway and enable the SSL-VPN feature for the VPN gateway. For more information, see [CreateVpnGateway](~~120363~~).
|
|
7910
|
-
*
|
|
8266
|
+
* Before you create an IPsec server, make sure that no IPsec-VPN connection exists on the VPN gateway. For more information, see [DeleteVpnConnection](~~2526948~~).
|
|
8267
|
+
* **CreateIpsecServer** 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 [DescribeVpnGateway](~~73720~~) to query the status of the task.
|
|
7911
8268
|
* If the VPN gateway is in the **updating** state, the IPsec server is being created.
|
|
7912
8269
|
* If the VPN gateway is in the **active** state, the IPsec server is created.
|
|
7913
|
-
* You cannot repeatedly call
|
|
8270
|
+
* You cannot repeatedly call **CreateIpsecServer** within the specified period of time.
|
|
7914
8271
|
|
|
7915
8272
|
@param request: CreateIpsecServerRequest
|
|
7916
8273
|
@return: CreateIpsecServerResponse
|
|
@@ -7924,10 +8281,11 @@ class Client(OpenApiClient):
|
|
|
7924
8281
|
) -> vpc_20160428_models.CreateIpsecServerResponse:
|
|
7925
8282
|
"""
|
|
7926
8283
|
Before you create an IPsec server, you must create a VPN gateway and enable the SSL-VPN feature for the VPN gateway. For more information, see [CreateVpnGateway](~~120363~~).
|
|
7927
|
-
*
|
|
8284
|
+
* Before you create an IPsec server, make sure that no IPsec-VPN connection exists on the VPN gateway. For more information, see [DeleteVpnConnection](~~2526948~~).
|
|
8285
|
+
* **CreateIpsecServer** 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 [DescribeVpnGateway](~~73720~~) to query the status of the task.
|
|
7928
8286
|
* If the VPN gateway is in the **updating** state, the IPsec server is being created.
|
|
7929
8287
|
* If the VPN gateway is in the **active** state, the IPsec server is created.
|
|
7930
|
-
* You cannot repeatedly call
|
|
8288
|
+
* You cannot repeatedly call **CreateIpsecServer** within the specified period of time.
|
|
7931
8289
|
|
|
7932
8290
|
@param request: CreateIpsecServerRequest
|
|
7933
8291
|
@return: CreateIpsecServerResponse
|
|
@@ -10177,7 +10535,6 @@ class Client(OpenApiClient):
|
|
|
10177
10535
|
runtime: util_models.RuntimeOptions,
|
|
10178
10536
|
) -> vpc_20160428_models.CreateRouterInterfaceResponse:
|
|
10179
10537
|
"""
|
|
10180
|
-
## [](#)
|
|
10181
10538
|
When you call this operation, take note of the following limits:
|
|
10182
10539
|
* You can create only one pair of interfaces to be connected between two routers.
|
|
10183
10540
|
* You can create a maximum of five router interfaces for a router.
|
|
@@ -10277,7 +10634,6 @@ class Client(OpenApiClient):
|
|
|
10277
10634
|
runtime: util_models.RuntimeOptions,
|
|
10278
10635
|
) -> vpc_20160428_models.CreateRouterInterfaceResponse:
|
|
10279
10636
|
"""
|
|
10280
|
-
## [](#)
|
|
10281
10637
|
When you call this operation, take note of the following limits:
|
|
10282
10638
|
* You can create only one pair of interfaces to be connected between two routers.
|
|
10283
10639
|
* You can create a maximum of five router interfaces for a router.
|
|
@@ -10376,7 +10732,6 @@ class Client(OpenApiClient):
|
|
|
10376
10732
|
request: vpc_20160428_models.CreateRouterInterfaceRequest,
|
|
10377
10733
|
) -> vpc_20160428_models.CreateRouterInterfaceResponse:
|
|
10378
10734
|
"""
|
|
10379
|
-
## [](#)
|
|
10380
10735
|
When you call this operation, take note of the following limits:
|
|
10381
10736
|
* You can create only one pair of interfaces to be connected between two routers.
|
|
10382
10737
|
* You can create a maximum of five router interfaces for a router.
|
|
@@ -10396,7 +10751,6 @@ class Client(OpenApiClient):
|
|
|
10396
10751
|
request: vpc_20160428_models.CreateRouterInterfaceRequest,
|
|
10397
10752
|
) -> vpc_20160428_models.CreateRouterInterfaceResponse:
|
|
10398
10753
|
"""
|
|
10399
|
-
## [](#)
|
|
10400
10754
|
When you call this operation, take note of the following limits:
|
|
10401
10755
|
* You can create only one pair of interfaces to be connected between two routers.
|
|
10402
10756
|
* You can create a maximum of five router interfaces for a router.
|
|
@@ -10690,7 +11044,9 @@ class Client(OpenApiClient):
|
|
|
10690
11044
|
**CreateSslVpnServer** 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 [DescribeVpnGateway](~~73720~~) operation to query the status of the task.
|
|
10691
11045
|
* If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
10692
11046
|
* If the VPN gateway is in the **active** state, the SSL server is created.
|
|
10693
|
-
* You cannot
|
|
11047
|
+
* You cannot call the **CreateSslVpnServer** operation to create multiple SSL servers at a time for the same VPN gateway.
|
|
11048
|
+
### [](#)Prerequisites
|
|
11049
|
+
A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](~~2526913~~).
|
|
10694
11050
|
|
|
10695
11051
|
@param request: CreateSslVpnServerRequest
|
|
10696
11052
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -10760,7 +11116,9 @@ class Client(OpenApiClient):
|
|
|
10760
11116
|
**CreateSslVpnServer** 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 [DescribeVpnGateway](~~73720~~) operation to query the status of the task.
|
|
10761
11117
|
* If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
10762
11118
|
* If the VPN gateway is in the **active** state, the SSL server is created.
|
|
10763
|
-
* You cannot
|
|
11119
|
+
* You cannot call the **CreateSslVpnServer** operation to create multiple SSL servers at a time for the same VPN gateway.
|
|
11120
|
+
### [](#)Prerequisites
|
|
11121
|
+
A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](~~2526913~~).
|
|
10764
11122
|
|
|
10765
11123
|
@param request: CreateSslVpnServerRequest
|
|
10766
11124
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -10829,7 +11187,9 @@ class Client(OpenApiClient):
|
|
|
10829
11187
|
**CreateSslVpnServer** 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 [DescribeVpnGateway](~~73720~~) operation to query the status of the task.
|
|
10830
11188
|
* If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
10831
11189
|
* If the VPN gateway is in the **active** state, the SSL server is created.
|
|
10832
|
-
* You cannot
|
|
11190
|
+
* You cannot call the **CreateSslVpnServer** operation to create multiple SSL servers at a time for the same VPN gateway.
|
|
11191
|
+
### [](#)Prerequisites
|
|
11192
|
+
A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](~~2526913~~).
|
|
10833
11193
|
|
|
10834
11194
|
@param request: CreateSslVpnServerRequest
|
|
10835
11195
|
@return: CreateSslVpnServerResponse
|
|
@@ -10845,7 +11205,9 @@ class Client(OpenApiClient):
|
|
|
10845
11205
|
**CreateSslVpnServer** 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 [DescribeVpnGateway](~~73720~~) operation to query the status of the task.
|
|
10846
11206
|
* If the VPN gateway is in the **updating** state, the SSL server is being created.
|
|
10847
11207
|
* If the VPN gateway is in the **active** state, the SSL server is created.
|
|
10848
|
-
* You cannot
|
|
11208
|
+
* You cannot call the **CreateSslVpnServer** operation to create multiple SSL servers at a time for the same VPN gateway.
|
|
11209
|
+
### [](#)Prerequisites
|
|
11210
|
+
A VPN gateway is created, and the SSL-VPN feature is enabled for the VPN gateway. For more information, see [CreateVpnGateway](~~2526913~~).
|
|
10849
11211
|
|
|
10850
11212
|
@param request: CreateSslVpnServerRequest
|
|
10851
11213
|
@return: CreateSslVpnServerResponse
|
|
@@ -11813,12 +12175,13 @@ class Client(OpenApiClient):
|
|
|
11813
12175
|
runtime: util_models.RuntimeOptions,
|
|
11814
12176
|
) -> vpc_20160428_models.CreateVcoRouteEntryResponse:
|
|
11815
12177
|
"""
|
|
11816
|
-
|
|
11817
|
-
*
|
|
11818
|
-
*
|
|
11819
|
-
*
|
|
11820
|
-
* If the IPsec-VPN connection is in the **
|
|
11821
|
-
*
|
|
12178
|
+
The IPsec-VPN connection must be associated with a transit router. For more information, see [CreateTransitRouterVpnAttachment](~~468249~~).
|
|
12179
|
+
* You cannot create a destination-based route whose destination CIDR block is 0.0.0.0/0.
|
|
12180
|
+
* Do not add a destination-based route whose destination CIDR block is 100.64.0.0/10, or a CIDR block that contains 100.64.0.0/10 or belongs to 100.64.0.0/10. Such a route will make the console fail to display the status of the IPsec-VPN connection or cause IPsec negotiation failures.
|
|
12181
|
+
* **CreateVcoRouteEntry** 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 [DescribeVpnConnection](~~53046~~) to query the status of the task.
|
|
12182
|
+
* If the IPsec-VPN connection is in the **updating** state, the destination-based route is being created.
|
|
12183
|
+
* If the IPsec-VPN connection is in the **attached** state, the destination-based route is created.
|
|
12184
|
+
* You cannot repeatedly call **CreateVcoRouteEntry** within the specified period of time.
|
|
11822
12185
|
|
|
11823
12186
|
@param request: CreateVcoRouteEntryRequest
|
|
11824
12187
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -11873,12 +12236,13 @@ class Client(OpenApiClient):
|
|
|
11873
12236
|
runtime: util_models.RuntimeOptions,
|
|
11874
12237
|
) -> vpc_20160428_models.CreateVcoRouteEntryResponse:
|
|
11875
12238
|
"""
|
|
11876
|
-
|
|
11877
|
-
*
|
|
11878
|
-
*
|
|
11879
|
-
*
|
|
11880
|
-
* If the IPsec-VPN connection is in the **
|
|
11881
|
-
*
|
|
12239
|
+
The IPsec-VPN connection must be associated with a transit router. For more information, see [CreateTransitRouterVpnAttachment](~~468249~~).
|
|
12240
|
+
* You cannot create a destination-based route whose destination CIDR block is 0.0.0.0/0.
|
|
12241
|
+
* Do not add a destination-based route whose destination CIDR block is 100.64.0.0/10, or a CIDR block that contains 100.64.0.0/10 or belongs to 100.64.0.0/10. Such a route will make the console fail to display the status of the IPsec-VPN connection or cause IPsec negotiation failures.
|
|
12242
|
+
* **CreateVcoRouteEntry** 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 [DescribeVpnConnection](~~53046~~) to query the status of the task.
|
|
12243
|
+
* If the IPsec-VPN connection is in the **updating** state, the destination-based route is being created.
|
|
12244
|
+
* If the IPsec-VPN connection is in the **attached** state, the destination-based route is created.
|
|
12245
|
+
* You cannot repeatedly call **CreateVcoRouteEntry** within the specified period of time.
|
|
11882
12246
|
|
|
11883
12247
|
@param request: CreateVcoRouteEntryRequest
|
|
11884
12248
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -11932,12 +12296,13 @@ class Client(OpenApiClient):
|
|
|
11932
12296
|
request: vpc_20160428_models.CreateVcoRouteEntryRequest,
|
|
11933
12297
|
) -> vpc_20160428_models.CreateVcoRouteEntryResponse:
|
|
11934
12298
|
"""
|
|
11935
|
-
|
|
11936
|
-
*
|
|
11937
|
-
*
|
|
11938
|
-
*
|
|
11939
|
-
* If the IPsec-VPN connection is in the **
|
|
11940
|
-
*
|
|
12299
|
+
The IPsec-VPN connection must be associated with a transit router. For more information, see [CreateTransitRouterVpnAttachment](~~468249~~).
|
|
12300
|
+
* You cannot create a destination-based route whose destination CIDR block is 0.0.0.0/0.
|
|
12301
|
+
* Do not add a destination-based route whose destination CIDR block is 100.64.0.0/10, or a CIDR block that contains 100.64.0.0/10 or belongs to 100.64.0.0/10. Such a route will make the console fail to display the status of the IPsec-VPN connection or cause IPsec negotiation failures.
|
|
12302
|
+
* **CreateVcoRouteEntry** 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 [DescribeVpnConnection](~~53046~~) to query the status of the task.
|
|
12303
|
+
* If the IPsec-VPN connection is in the **updating** state, the destination-based route is being created.
|
|
12304
|
+
* If the IPsec-VPN connection is in the **attached** state, the destination-based route is created.
|
|
12305
|
+
* You cannot repeatedly call **CreateVcoRouteEntry** within the specified period of time.
|
|
11941
12306
|
|
|
11942
12307
|
@param request: CreateVcoRouteEntryRequest
|
|
11943
12308
|
@return: CreateVcoRouteEntryResponse
|
|
@@ -11950,12 +12315,13 @@ class Client(OpenApiClient):
|
|
|
11950
12315
|
request: vpc_20160428_models.CreateVcoRouteEntryRequest,
|
|
11951
12316
|
) -> vpc_20160428_models.CreateVcoRouteEntryResponse:
|
|
11952
12317
|
"""
|
|
11953
|
-
|
|
11954
|
-
*
|
|
11955
|
-
*
|
|
11956
|
-
*
|
|
11957
|
-
* If the IPsec-VPN connection is in the **
|
|
11958
|
-
*
|
|
12318
|
+
The IPsec-VPN connection must be associated with a transit router. For more information, see [CreateTransitRouterVpnAttachment](~~468249~~).
|
|
12319
|
+
* You cannot create a destination-based route whose destination CIDR block is 0.0.0.0/0.
|
|
12320
|
+
* Do not add a destination-based route whose destination CIDR block is 100.64.0.0/10, or a CIDR block that contains 100.64.0.0/10 or belongs to 100.64.0.0/10. Such a route will make the console fail to display the status of the IPsec-VPN connection or cause IPsec negotiation failures.
|
|
12321
|
+
* **CreateVcoRouteEntry** 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 [DescribeVpnConnection](~~53046~~) to query the status of the task.
|
|
12322
|
+
* If the IPsec-VPN connection is in the **updating** state, the destination-based route is being created.
|
|
12323
|
+
* If the IPsec-VPN connection is in the **attached** state, the destination-based route is created.
|
|
12324
|
+
* You cannot repeatedly call **CreateVcoRouteEntry** within the specified period of time.
|
|
11959
12325
|
|
|
11960
12326
|
@param request: CreateVcoRouteEntryRequest
|
|
11961
12327
|
@return: CreateVcoRouteEntryResponse
|
|
@@ -11969,7 +12335,7 @@ class Client(OpenApiClient):
|
|
|
11969
12335
|
runtime: util_models.RuntimeOptions,
|
|
11970
12336
|
) -> vpc_20160428_models.CreateVirtualBorderRouterResponse:
|
|
11971
12337
|
"""
|
|
11972
|
-
|
|
12338
|
+
After you create a VBR, the VBR is in the *active** state.
|
|
11973
12339
|
|
|
11974
12340
|
@param request: CreateVirtualBorderRouterRequest
|
|
11975
12341
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -12046,7 +12412,7 @@ class Client(OpenApiClient):
|
|
|
12046
12412
|
runtime: util_models.RuntimeOptions,
|
|
12047
12413
|
) -> vpc_20160428_models.CreateVirtualBorderRouterResponse:
|
|
12048
12414
|
"""
|
|
12049
|
-
|
|
12415
|
+
After you create a VBR, the VBR is in the *active** state.
|
|
12050
12416
|
|
|
12051
12417
|
@param request: CreateVirtualBorderRouterRequest
|
|
12052
12418
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -12122,7 +12488,7 @@ class Client(OpenApiClient):
|
|
|
12122
12488
|
request: vpc_20160428_models.CreateVirtualBorderRouterRequest,
|
|
12123
12489
|
) -> vpc_20160428_models.CreateVirtualBorderRouterResponse:
|
|
12124
12490
|
"""
|
|
12125
|
-
|
|
12491
|
+
After you create a VBR, the VBR is in the *active** state.
|
|
12126
12492
|
|
|
12127
12493
|
@param request: CreateVirtualBorderRouterRequest
|
|
12128
12494
|
@return: CreateVirtualBorderRouterResponse
|
|
@@ -12135,7 +12501,7 @@ class Client(OpenApiClient):
|
|
|
12135
12501
|
request: vpc_20160428_models.CreateVirtualBorderRouterRequest,
|
|
12136
12502
|
) -> vpc_20160428_models.CreateVirtualBorderRouterResponse:
|
|
12137
12503
|
"""
|
|
12138
|
-
|
|
12504
|
+
After you create a VBR, the VBR is in the *active** state.
|
|
12139
12505
|
|
|
12140
12506
|
@param request: CreateVirtualBorderRouterRequest
|
|
12141
12507
|
@return: CreateVirtualBorderRouterResponse
|
|
@@ -12488,6 +12854,16 @@ class Client(OpenApiClient):
|
|
|
12488
12854
|
request: vpc_20160428_models.CreateVpcGatewayEndpointRequest,
|
|
12489
12855
|
runtime: util_models.RuntimeOptions,
|
|
12490
12856
|
) -> vpc_20160428_models.CreateVpcGatewayEndpointResponse:
|
|
12857
|
+
"""
|
|
12858
|
+
**CreateVpcGatewayEndpoint** is an asynchronous operation. After a request is sent, the system returns an **EndpointId** and runs the task in the background. You can call the [ListVpcGatewayEndpoints](~~448682~~) operation to query the status of the task.
|
|
12859
|
+
* If the gateway endpoint is in the **Creating** state, the gateway endpoint is being created.
|
|
12860
|
+
* If the gateway endpoint is in the **Created** state, the gateway endpoint is created.
|
|
12861
|
+
* You cannot repeatedly call the **CreateVpcGatewayEndpoint** operation for the same endpoint service within the specified period of time.
|
|
12862
|
+
|
|
12863
|
+
@param request: CreateVpcGatewayEndpointRequest
|
|
12864
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
12865
|
+
@return: CreateVpcGatewayEndpointResponse
|
|
12866
|
+
"""
|
|
12491
12867
|
UtilClient.validate_model(request)
|
|
12492
12868
|
query = {}
|
|
12493
12869
|
if not UtilClient.is_unset(request.client_token):
|
|
@@ -12542,6 +12918,16 @@ class Client(OpenApiClient):
|
|
|
12542
12918
|
request: vpc_20160428_models.CreateVpcGatewayEndpointRequest,
|
|
12543
12919
|
runtime: util_models.RuntimeOptions,
|
|
12544
12920
|
) -> vpc_20160428_models.CreateVpcGatewayEndpointResponse:
|
|
12921
|
+
"""
|
|
12922
|
+
**CreateVpcGatewayEndpoint** is an asynchronous operation. After a request is sent, the system returns an **EndpointId** and runs the task in the background. You can call the [ListVpcGatewayEndpoints](~~448682~~) operation to query the status of the task.
|
|
12923
|
+
* If the gateway endpoint is in the **Creating** state, the gateway endpoint is being created.
|
|
12924
|
+
* If the gateway endpoint is in the **Created** state, the gateway endpoint is created.
|
|
12925
|
+
* You cannot repeatedly call the **CreateVpcGatewayEndpoint** operation for the same endpoint service within the specified period of time.
|
|
12926
|
+
|
|
12927
|
+
@param request: CreateVpcGatewayEndpointRequest
|
|
12928
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
12929
|
+
@return: CreateVpcGatewayEndpointResponse
|
|
12930
|
+
"""
|
|
12545
12931
|
UtilClient.validate_model(request)
|
|
12546
12932
|
query = {}
|
|
12547
12933
|
if not UtilClient.is_unset(request.client_token):
|
|
@@ -12595,6 +12981,15 @@ class Client(OpenApiClient):
|
|
|
12595
12981
|
self,
|
|
12596
12982
|
request: vpc_20160428_models.CreateVpcGatewayEndpointRequest,
|
|
12597
12983
|
) -> vpc_20160428_models.CreateVpcGatewayEndpointResponse:
|
|
12984
|
+
"""
|
|
12985
|
+
**CreateVpcGatewayEndpoint** is an asynchronous operation. After a request is sent, the system returns an **EndpointId** and runs the task in the background. You can call the [ListVpcGatewayEndpoints](~~448682~~) operation to query the status of the task.
|
|
12986
|
+
* If the gateway endpoint is in the **Creating** state, the gateway endpoint is being created.
|
|
12987
|
+
* If the gateway endpoint is in the **Created** state, the gateway endpoint is created.
|
|
12988
|
+
* You cannot repeatedly call the **CreateVpcGatewayEndpoint** operation for the same endpoint service within the specified period of time.
|
|
12989
|
+
|
|
12990
|
+
@param request: CreateVpcGatewayEndpointRequest
|
|
12991
|
+
@return: CreateVpcGatewayEndpointResponse
|
|
12992
|
+
"""
|
|
12598
12993
|
runtime = util_models.RuntimeOptions()
|
|
12599
12994
|
return self.create_vpc_gateway_endpoint_with_options(request, runtime)
|
|
12600
12995
|
|
|
@@ -12602,6 +12997,15 @@ class Client(OpenApiClient):
|
|
|
12602
12997
|
self,
|
|
12603
12998
|
request: vpc_20160428_models.CreateVpcGatewayEndpointRequest,
|
|
12604
12999
|
) -> vpc_20160428_models.CreateVpcGatewayEndpointResponse:
|
|
13000
|
+
"""
|
|
13001
|
+
**CreateVpcGatewayEndpoint** is an asynchronous operation. After a request is sent, the system returns an **EndpointId** and runs the task in the background. You can call the [ListVpcGatewayEndpoints](~~448682~~) operation to query the status of the task.
|
|
13002
|
+
* If the gateway endpoint is in the **Creating** state, the gateway endpoint is being created.
|
|
13003
|
+
* If the gateway endpoint is in the **Created** state, the gateway endpoint is created.
|
|
13004
|
+
* You cannot repeatedly call the **CreateVpcGatewayEndpoint** operation for the same endpoint service within the specified period of time.
|
|
13005
|
+
|
|
13006
|
+
@param request: CreateVpcGatewayEndpointRequest
|
|
13007
|
+
@return: CreateVpcGatewayEndpointResponse
|
|
13008
|
+
"""
|
|
12605
13009
|
runtime = util_models.RuntimeOptions()
|
|
12606
13010
|
return await self.create_vpc_gateway_endpoint_with_options_async(request, runtime)
|
|
12607
13011
|
|
|
@@ -12611,7 +13015,7 @@ class Client(OpenApiClient):
|
|
|
12611
13015
|
runtime: util_models.RuntimeOptions,
|
|
12612
13016
|
) -> vpc_20160428_models.CreateVpcPrefixListResponse:
|
|
12613
13017
|
"""
|
|
12614
|
-
You cannot repeatedly call the *CreateVpcPrefixList** operation
|
|
13018
|
+
You cannot repeatedly call the *CreateVpcPrefixList** operation within the specified period of time.
|
|
12615
13019
|
|
|
12616
13020
|
@param request: CreateVpcPrefixListRequest
|
|
12617
13021
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -12672,7 +13076,7 @@ class Client(OpenApiClient):
|
|
|
12672
13076
|
runtime: util_models.RuntimeOptions,
|
|
12673
13077
|
) -> vpc_20160428_models.CreateVpcPrefixListResponse:
|
|
12674
13078
|
"""
|
|
12675
|
-
You cannot repeatedly call the *CreateVpcPrefixList** operation
|
|
13079
|
+
You cannot repeatedly call the *CreateVpcPrefixList** operation within the specified period of time.
|
|
12676
13080
|
|
|
12677
13081
|
@param request: CreateVpcPrefixListRequest
|
|
12678
13082
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -12732,7 +13136,7 @@ class Client(OpenApiClient):
|
|
|
12732
13136
|
request: vpc_20160428_models.CreateVpcPrefixListRequest,
|
|
12733
13137
|
) -> vpc_20160428_models.CreateVpcPrefixListResponse:
|
|
12734
13138
|
"""
|
|
12735
|
-
You cannot repeatedly call the *CreateVpcPrefixList** operation
|
|
13139
|
+
You cannot repeatedly call the *CreateVpcPrefixList** operation within the specified period of time.
|
|
12736
13140
|
|
|
12737
13141
|
@param request: CreateVpcPrefixListRequest
|
|
12738
13142
|
@return: CreateVpcPrefixListResponse
|
|
@@ -12745,7 +13149,7 @@ class Client(OpenApiClient):
|
|
|
12745
13149
|
request: vpc_20160428_models.CreateVpcPrefixListRequest,
|
|
12746
13150
|
) -> vpc_20160428_models.CreateVpcPrefixListResponse:
|
|
12747
13151
|
"""
|
|
12748
|
-
You cannot repeatedly call the *CreateVpcPrefixList** operation
|
|
13152
|
+
You cannot repeatedly call the *CreateVpcPrefixList** operation within the specified period of time.
|
|
12749
13153
|
|
|
12750
13154
|
@param request: CreateVpcPrefixListRequest
|
|
12751
13155
|
@return: CreateVpcPrefixListResponse
|
|
@@ -14669,23 +15073,23 @@ class Client(OpenApiClient):
|
|
|
14669
15073
|
runtime = util_models.RuntimeOptions()
|
|
14670
15074
|
return await self.delete_dhcp_options_set_with_options_async(request, runtime)
|
|
14671
15075
|
|
|
14672
|
-
def
|
|
15076
|
+
def delete_express_connect_traffic_qos_with_options(
|
|
14673
15077
|
self,
|
|
14674
|
-
request: vpc_20160428_models.
|
|
15078
|
+
request: vpc_20160428_models.DeleteExpressConnectTrafficQosRequest,
|
|
14675
15079
|
runtime: util_models.RuntimeOptions,
|
|
14676
|
-
) -> vpc_20160428_models.
|
|
15080
|
+
) -> vpc_20160428_models.DeleteExpressConnectTrafficQosResponse:
|
|
14677
15081
|
UtilClient.validate_model(request)
|
|
14678
15082
|
query = {}
|
|
14679
15083
|
if not UtilClient.is_unset(request.client_token):
|
|
14680
15084
|
query['ClientToken'] = request.client_token
|
|
14681
15085
|
if not UtilClient.is_unset(request.client_token):
|
|
14682
15086
|
query['ClientToken'] = request.client_token
|
|
14683
|
-
if not UtilClient.is_unset(request.job_id):
|
|
14684
|
-
query['JobId'] = request.job_id
|
|
14685
15087
|
if not UtilClient.is_unset(request.owner_account):
|
|
14686
15088
|
query['OwnerAccount'] = request.owner_account
|
|
14687
15089
|
if not UtilClient.is_unset(request.owner_id):
|
|
14688
15090
|
query['OwnerId'] = request.owner_id
|
|
15091
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
15092
|
+
query['QosId'] = request.qos_id
|
|
14689
15093
|
if not UtilClient.is_unset(request.region_id):
|
|
14690
15094
|
query['RegionId'] = request.region_id
|
|
14691
15095
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
@@ -14694,7 +15098,7 @@ class Client(OpenApiClient):
|
|
|
14694
15098
|
query=OpenApiUtilClient.query(query)
|
|
14695
15099
|
)
|
|
14696
15100
|
params = open_api_models.Params(
|
|
14697
|
-
action='
|
|
15101
|
+
action='DeleteExpressConnectTrafficQos',
|
|
14698
15102
|
version='2016-04-28',
|
|
14699
15103
|
protocol='HTTPS',
|
|
14700
15104
|
pathname='/',
|
|
@@ -14705,11 +15109,305 @@ class Client(OpenApiClient):
|
|
|
14705
15109
|
body_type='json'
|
|
14706
15110
|
)
|
|
14707
15111
|
return TeaCore.from_map(
|
|
14708
|
-
vpc_20160428_models.
|
|
15112
|
+
vpc_20160428_models.DeleteExpressConnectTrafficQosResponse(),
|
|
14709
15113
|
self.call_api(params, req, runtime)
|
|
14710
15114
|
)
|
|
14711
15115
|
|
|
14712
|
-
async def
|
|
15116
|
+
async def delete_express_connect_traffic_qos_with_options_async(
|
|
15117
|
+
self,
|
|
15118
|
+
request: vpc_20160428_models.DeleteExpressConnectTrafficQosRequest,
|
|
15119
|
+
runtime: util_models.RuntimeOptions,
|
|
15120
|
+
) -> vpc_20160428_models.DeleteExpressConnectTrafficQosResponse:
|
|
15121
|
+
UtilClient.validate_model(request)
|
|
15122
|
+
query = {}
|
|
15123
|
+
if not UtilClient.is_unset(request.client_token):
|
|
15124
|
+
query['ClientToken'] = request.client_token
|
|
15125
|
+
if not UtilClient.is_unset(request.client_token):
|
|
15126
|
+
query['ClientToken'] = request.client_token
|
|
15127
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
15128
|
+
query['OwnerAccount'] = request.owner_account
|
|
15129
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
15130
|
+
query['OwnerId'] = request.owner_id
|
|
15131
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
15132
|
+
query['QosId'] = request.qos_id
|
|
15133
|
+
if not UtilClient.is_unset(request.region_id):
|
|
15134
|
+
query['RegionId'] = request.region_id
|
|
15135
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
15136
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
15137
|
+
req = open_api_models.OpenApiRequest(
|
|
15138
|
+
query=OpenApiUtilClient.query(query)
|
|
15139
|
+
)
|
|
15140
|
+
params = open_api_models.Params(
|
|
15141
|
+
action='DeleteExpressConnectTrafficQos',
|
|
15142
|
+
version='2016-04-28',
|
|
15143
|
+
protocol='HTTPS',
|
|
15144
|
+
pathname='/',
|
|
15145
|
+
method='POST',
|
|
15146
|
+
auth_type='AK',
|
|
15147
|
+
style='RPC',
|
|
15148
|
+
req_body_type='formData',
|
|
15149
|
+
body_type='json'
|
|
15150
|
+
)
|
|
15151
|
+
return TeaCore.from_map(
|
|
15152
|
+
vpc_20160428_models.DeleteExpressConnectTrafficQosResponse(),
|
|
15153
|
+
await self.call_api_async(params, req, runtime)
|
|
15154
|
+
)
|
|
15155
|
+
|
|
15156
|
+
def delete_express_connect_traffic_qos(
|
|
15157
|
+
self,
|
|
15158
|
+
request: vpc_20160428_models.DeleteExpressConnectTrafficQosRequest,
|
|
15159
|
+
) -> vpc_20160428_models.DeleteExpressConnectTrafficQosResponse:
|
|
15160
|
+
runtime = util_models.RuntimeOptions()
|
|
15161
|
+
return self.delete_express_connect_traffic_qos_with_options(request, runtime)
|
|
15162
|
+
|
|
15163
|
+
async def delete_express_connect_traffic_qos_async(
|
|
15164
|
+
self,
|
|
15165
|
+
request: vpc_20160428_models.DeleteExpressConnectTrafficQosRequest,
|
|
15166
|
+
) -> vpc_20160428_models.DeleteExpressConnectTrafficQosResponse:
|
|
15167
|
+
runtime = util_models.RuntimeOptions()
|
|
15168
|
+
return await self.delete_express_connect_traffic_qos_with_options_async(request, runtime)
|
|
15169
|
+
|
|
15170
|
+
def delete_express_connect_traffic_qos_queue_with_options(
|
|
15171
|
+
self,
|
|
15172
|
+
request: vpc_20160428_models.DeleteExpressConnectTrafficQosQueueRequest,
|
|
15173
|
+
runtime: util_models.RuntimeOptions,
|
|
15174
|
+
) -> vpc_20160428_models.DeleteExpressConnectTrafficQosQueueResponse:
|
|
15175
|
+
UtilClient.validate_model(request)
|
|
15176
|
+
query = {}
|
|
15177
|
+
if not UtilClient.is_unset(request.client_token):
|
|
15178
|
+
query['ClientToken'] = request.client_token
|
|
15179
|
+
if not UtilClient.is_unset(request.client_token):
|
|
15180
|
+
query['ClientToken'] = request.client_token
|
|
15181
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
15182
|
+
query['OwnerAccount'] = request.owner_account
|
|
15183
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
15184
|
+
query['OwnerId'] = request.owner_id
|
|
15185
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
15186
|
+
query['QosId'] = request.qos_id
|
|
15187
|
+
if not UtilClient.is_unset(request.queue_id):
|
|
15188
|
+
query['QueueId'] = request.queue_id
|
|
15189
|
+
if not UtilClient.is_unset(request.region_id):
|
|
15190
|
+
query['RegionId'] = request.region_id
|
|
15191
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
15192
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
15193
|
+
req = open_api_models.OpenApiRequest(
|
|
15194
|
+
query=OpenApiUtilClient.query(query)
|
|
15195
|
+
)
|
|
15196
|
+
params = open_api_models.Params(
|
|
15197
|
+
action='DeleteExpressConnectTrafficQosQueue',
|
|
15198
|
+
version='2016-04-28',
|
|
15199
|
+
protocol='HTTPS',
|
|
15200
|
+
pathname='/',
|
|
15201
|
+
method='POST',
|
|
15202
|
+
auth_type='AK',
|
|
15203
|
+
style='RPC',
|
|
15204
|
+
req_body_type='formData',
|
|
15205
|
+
body_type='json'
|
|
15206
|
+
)
|
|
15207
|
+
return TeaCore.from_map(
|
|
15208
|
+
vpc_20160428_models.DeleteExpressConnectTrafficQosQueueResponse(),
|
|
15209
|
+
self.call_api(params, req, runtime)
|
|
15210
|
+
)
|
|
15211
|
+
|
|
15212
|
+
async def delete_express_connect_traffic_qos_queue_with_options_async(
|
|
15213
|
+
self,
|
|
15214
|
+
request: vpc_20160428_models.DeleteExpressConnectTrafficQosQueueRequest,
|
|
15215
|
+
runtime: util_models.RuntimeOptions,
|
|
15216
|
+
) -> vpc_20160428_models.DeleteExpressConnectTrafficQosQueueResponse:
|
|
15217
|
+
UtilClient.validate_model(request)
|
|
15218
|
+
query = {}
|
|
15219
|
+
if not UtilClient.is_unset(request.client_token):
|
|
15220
|
+
query['ClientToken'] = request.client_token
|
|
15221
|
+
if not UtilClient.is_unset(request.client_token):
|
|
15222
|
+
query['ClientToken'] = request.client_token
|
|
15223
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
15224
|
+
query['OwnerAccount'] = request.owner_account
|
|
15225
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
15226
|
+
query['OwnerId'] = request.owner_id
|
|
15227
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
15228
|
+
query['QosId'] = request.qos_id
|
|
15229
|
+
if not UtilClient.is_unset(request.queue_id):
|
|
15230
|
+
query['QueueId'] = request.queue_id
|
|
15231
|
+
if not UtilClient.is_unset(request.region_id):
|
|
15232
|
+
query['RegionId'] = request.region_id
|
|
15233
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
15234
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
15235
|
+
req = open_api_models.OpenApiRequest(
|
|
15236
|
+
query=OpenApiUtilClient.query(query)
|
|
15237
|
+
)
|
|
15238
|
+
params = open_api_models.Params(
|
|
15239
|
+
action='DeleteExpressConnectTrafficQosQueue',
|
|
15240
|
+
version='2016-04-28',
|
|
15241
|
+
protocol='HTTPS',
|
|
15242
|
+
pathname='/',
|
|
15243
|
+
method='POST',
|
|
15244
|
+
auth_type='AK',
|
|
15245
|
+
style='RPC',
|
|
15246
|
+
req_body_type='formData',
|
|
15247
|
+
body_type='json'
|
|
15248
|
+
)
|
|
15249
|
+
return TeaCore.from_map(
|
|
15250
|
+
vpc_20160428_models.DeleteExpressConnectTrafficQosQueueResponse(),
|
|
15251
|
+
await self.call_api_async(params, req, runtime)
|
|
15252
|
+
)
|
|
15253
|
+
|
|
15254
|
+
def delete_express_connect_traffic_qos_queue(
|
|
15255
|
+
self,
|
|
15256
|
+
request: vpc_20160428_models.DeleteExpressConnectTrafficQosQueueRequest,
|
|
15257
|
+
) -> vpc_20160428_models.DeleteExpressConnectTrafficQosQueueResponse:
|
|
15258
|
+
runtime = util_models.RuntimeOptions()
|
|
15259
|
+
return self.delete_express_connect_traffic_qos_queue_with_options(request, runtime)
|
|
15260
|
+
|
|
15261
|
+
async def delete_express_connect_traffic_qos_queue_async(
|
|
15262
|
+
self,
|
|
15263
|
+
request: vpc_20160428_models.DeleteExpressConnectTrafficQosQueueRequest,
|
|
15264
|
+
) -> vpc_20160428_models.DeleteExpressConnectTrafficQosQueueResponse:
|
|
15265
|
+
runtime = util_models.RuntimeOptions()
|
|
15266
|
+
return await self.delete_express_connect_traffic_qos_queue_with_options_async(request, runtime)
|
|
15267
|
+
|
|
15268
|
+
def delete_express_connect_traffic_qos_rule_with_options(
|
|
15269
|
+
self,
|
|
15270
|
+
request: vpc_20160428_models.DeleteExpressConnectTrafficQosRuleRequest,
|
|
15271
|
+
runtime: util_models.RuntimeOptions,
|
|
15272
|
+
) -> vpc_20160428_models.DeleteExpressConnectTrafficQosRuleResponse:
|
|
15273
|
+
UtilClient.validate_model(request)
|
|
15274
|
+
query = {}
|
|
15275
|
+
if not UtilClient.is_unset(request.client_token):
|
|
15276
|
+
query['ClientToken'] = request.client_token
|
|
15277
|
+
if not UtilClient.is_unset(request.client_token):
|
|
15278
|
+
query['ClientToken'] = request.client_token
|
|
15279
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
15280
|
+
query['OwnerAccount'] = request.owner_account
|
|
15281
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
15282
|
+
query['OwnerId'] = request.owner_id
|
|
15283
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
15284
|
+
query['QosId'] = request.qos_id
|
|
15285
|
+
if not UtilClient.is_unset(request.queue_id):
|
|
15286
|
+
query['QueueId'] = request.queue_id
|
|
15287
|
+
if not UtilClient.is_unset(request.region_id):
|
|
15288
|
+
query['RegionId'] = request.region_id
|
|
15289
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
15290
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
15291
|
+
if not UtilClient.is_unset(request.rule_id):
|
|
15292
|
+
query['RuleId'] = request.rule_id
|
|
15293
|
+
req = open_api_models.OpenApiRequest(
|
|
15294
|
+
query=OpenApiUtilClient.query(query)
|
|
15295
|
+
)
|
|
15296
|
+
params = open_api_models.Params(
|
|
15297
|
+
action='DeleteExpressConnectTrafficQosRule',
|
|
15298
|
+
version='2016-04-28',
|
|
15299
|
+
protocol='HTTPS',
|
|
15300
|
+
pathname='/',
|
|
15301
|
+
method='POST',
|
|
15302
|
+
auth_type='AK',
|
|
15303
|
+
style='RPC',
|
|
15304
|
+
req_body_type='formData',
|
|
15305
|
+
body_type='json'
|
|
15306
|
+
)
|
|
15307
|
+
return TeaCore.from_map(
|
|
15308
|
+
vpc_20160428_models.DeleteExpressConnectTrafficQosRuleResponse(),
|
|
15309
|
+
self.call_api(params, req, runtime)
|
|
15310
|
+
)
|
|
15311
|
+
|
|
15312
|
+
async def delete_express_connect_traffic_qos_rule_with_options_async(
|
|
15313
|
+
self,
|
|
15314
|
+
request: vpc_20160428_models.DeleteExpressConnectTrafficQosRuleRequest,
|
|
15315
|
+
runtime: util_models.RuntimeOptions,
|
|
15316
|
+
) -> vpc_20160428_models.DeleteExpressConnectTrafficQosRuleResponse:
|
|
15317
|
+
UtilClient.validate_model(request)
|
|
15318
|
+
query = {}
|
|
15319
|
+
if not UtilClient.is_unset(request.client_token):
|
|
15320
|
+
query['ClientToken'] = request.client_token
|
|
15321
|
+
if not UtilClient.is_unset(request.client_token):
|
|
15322
|
+
query['ClientToken'] = request.client_token
|
|
15323
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
15324
|
+
query['OwnerAccount'] = request.owner_account
|
|
15325
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
15326
|
+
query['OwnerId'] = request.owner_id
|
|
15327
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
15328
|
+
query['QosId'] = request.qos_id
|
|
15329
|
+
if not UtilClient.is_unset(request.queue_id):
|
|
15330
|
+
query['QueueId'] = request.queue_id
|
|
15331
|
+
if not UtilClient.is_unset(request.region_id):
|
|
15332
|
+
query['RegionId'] = request.region_id
|
|
15333
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
15334
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
15335
|
+
if not UtilClient.is_unset(request.rule_id):
|
|
15336
|
+
query['RuleId'] = request.rule_id
|
|
15337
|
+
req = open_api_models.OpenApiRequest(
|
|
15338
|
+
query=OpenApiUtilClient.query(query)
|
|
15339
|
+
)
|
|
15340
|
+
params = open_api_models.Params(
|
|
15341
|
+
action='DeleteExpressConnectTrafficQosRule',
|
|
15342
|
+
version='2016-04-28',
|
|
15343
|
+
protocol='HTTPS',
|
|
15344
|
+
pathname='/',
|
|
15345
|
+
method='POST',
|
|
15346
|
+
auth_type='AK',
|
|
15347
|
+
style='RPC',
|
|
15348
|
+
req_body_type='formData',
|
|
15349
|
+
body_type='json'
|
|
15350
|
+
)
|
|
15351
|
+
return TeaCore.from_map(
|
|
15352
|
+
vpc_20160428_models.DeleteExpressConnectTrafficQosRuleResponse(),
|
|
15353
|
+
await self.call_api_async(params, req, runtime)
|
|
15354
|
+
)
|
|
15355
|
+
|
|
15356
|
+
def delete_express_connect_traffic_qos_rule(
|
|
15357
|
+
self,
|
|
15358
|
+
request: vpc_20160428_models.DeleteExpressConnectTrafficQosRuleRequest,
|
|
15359
|
+
) -> vpc_20160428_models.DeleteExpressConnectTrafficQosRuleResponse:
|
|
15360
|
+
runtime = util_models.RuntimeOptions()
|
|
15361
|
+
return self.delete_express_connect_traffic_qos_rule_with_options(request, runtime)
|
|
15362
|
+
|
|
15363
|
+
async def delete_express_connect_traffic_qos_rule_async(
|
|
15364
|
+
self,
|
|
15365
|
+
request: vpc_20160428_models.DeleteExpressConnectTrafficQosRuleRequest,
|
|
15366
|
+
) -> vpc_20160428_models.DeleteExpressConnectTrafficQosRuleResponse:
|
|
15367
|
+
runtime = util_models.RuntimeOptions()
|
|
15368
|
+
return await self.delete_express_connect_traffic_qos_rule_with_options_async(request, runtime)
|
|
15369
|
+
|
|
15370
|
+
def delete_failover_test_job_with_options(
|
|
15371
|
+
self,
|
|
15372
|
+
request: vpc_20160428_models.DeleteFailoverTestJobRequest,
|
|
15373
|
+
runtime: util_models.RuntimeOptions,
|
|
15374
|
+
) -> vpc_20160428_models.DeleteFailoverTestJobResponse:
|
|
15375
|
+
UtilClient.validate_model(request)
|
|
15376
|
+
query = {}
|
|
15377
|
+
if not UtilClient.is_unset(request.client_token):
|
|
15378
|
+
query['ClientToken'] = request.client_token
|
|
15379
|
+
if not UtilClient.is_unset(request.client_token):
|
|
15380
|
+
query['ClientToken'] = request.client_token
|
|
15381
|
+
if not UtilClient.is_unset(request.job_id):
|
|
15382
|
+
query['JobId'] = request.job_id
|
|
15383
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
15384
|
+
query['OwnerAccount'] = request.owner_account
|
|
15385
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
15386
|
+
query['OwnerId'] = request.owner_id
|
|
15387
|
+
if not UtilClient.is_unset(request.region_id):
|
|
15388
|
+
query['RegionId'] = request.region_id
|
|
15389
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
15390
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
15391
|
+
req = open_api_models.OpenApiRequest(
|
|
15392
|
+
query=OpenApiUtilClient.query(query)
|
|
15393
|
+
)
|
|
15394
|
+
params = open_api_models.Params(
|
|
15395
|
+
action='DeleteFailoverTestJob',
|
|
15396
|
+
version='2016-04-28',
|
|
15397
|
+
protocol='HTTPS',
|
|
15398
|
+
pathname='/',
|
|
15399
|
+
method='POST',
|
|
15400
|
+
auth_type='AK',
|
|
15401
|
+
style='RPC',
|
|
15402
|
+
req_body_type='formData',
|
|
15403
|
+
body_type='json'
|
|
15404
|
+
)
|
|
15405
|
+
return TeaCore.from_map(
|
|
15406
|
+
vpc_20160428_models.DeleteFailoverTestJobResponse(),
|
|
15407
|
+
self.call_api(params, req, runtime)
|
|
15408
|
+
)
|
|
15409
|
+
|
|
15410
|
+
async def delete_failover_test_job_with_options_async(
|
|
14713
15411
|
self,
|
|
14714
15412
|
request: vpc_20160428_models.DeleteFailoverTestJobRequest,
|
|
14715
15413
|
runtime: util_models.RuntimeOptions,
|
|
@@ -19332,7 +20030,7 @@ class Client(OpenApiClient):
|
|
|
19332
20030
|
Before you call this operation, take note of the following limits:
|
|
19333
20031
|
* Before you delete a VBR, you must delete all router interfaces of the VBR.
|
|
19334
20032
|
* You can delete only a VBR in the **unconfirmed**, **active**, or **terminated** state.
|
|
19335
|
-
*
|
|
20033
|
+
* The owner of an Express Connect circuit can delete a VBR that belongs to another account only if the VBR is in the **unconfirmed** state.
|
|
19336
20034
|
|
|
19337
20035
|
@param request: DeleteVirtualBorderRouterRequest
|
|
19338
20036
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -19382,7 +20080,7 @@ class Client(OpenApiClient):
|
|
|
19382
20080
|
Before you call this operation, take note of the following limits:
|
|
19383
20081
|
* Before you delete a VBR, you must delete all router interfaces of the VBR.
|
|
19384
20082
|
* You can delete only a VBR in the **unconfirmed**, **active**, or **terminated** state.
|
|
19385
|
-
*
|
|
20083
|
+
* The owner of an Express Connect circuit can delete a VBR that belongs to another account only if the VBR is in the **unconfirmed** state.
|
|
19386
20084
|
|
|
19387
20085
|
@param request: DeleteVirtualBorderRouterRequest
|
|
19388
20086
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -19431,7 +20129,7 @@ class Client(OpenApiClient):
|
|
|
19431
20129
|
Before you call this operation, take note of the following limits:
|
|
19432
20130
|
* Before you delete a VBR, you must delete all router interfaces of the VBR.
|
|
19433
20131
|
* You can delete only a VBR in the **unconfirmed**, **active**, or **terminated** state.
|
|
19434
|
-
*
|
|
20132
|
+
* The owner of an Express Connect circuit can delete a VBR that belongs to another account only if the VBR is in the **unconfirmed** state.
|
|
19435
20133
|
|
|
19436
20134
|
@param request: DeleteVirtualBorderRouterRequest
|
|
19437
20135
|
@return: DeleteVirtualBorderRouterResponse
|
|
@@ -19447,7 +20145,7 @@ class Client(OpenApiClient):
|
|
|
19447
20145
|
Before you call this operation, take note of the following limits:
|
|
19448
20146
|
* Before you delete a VBR, you must delete all router interfaces of the VBR.
|
|
19449
20147
|
* You can delete only a VBR in the **unconfirmed**, **active**, or **terminated** state.
|
|
19450
|
-
*
|
|
20148
|
+
* The owner of an Express Connect circuit can delete a VBR that belongs to another account only if the VBR is in the **unconfirmed** state.
|
|
19451
20149
|
|
|
19452
20150
|
@param request: DeleteVirtualBorderRouterRequest
|
|
19453
20151
|
@return: DeleteVirtualBorderRouterResponse
|
|
@@ -19831,8 +20529,8 @@ class Client(OpenApiClient):
|
|
|
19831
20529
|
runtime: util_models.RuntimeOptions,
|
|
19832
20530
|
) -> vpc_20160428_models.DeleteVpnAttachmentResponse:
|
|
19833
20531
|
"""
|
|
19834
|
-
If
|
|
19835
|
-
* If
|
|
20532
|
+
If an IPsec-VPN connection is associated with a transit router, you must disassociate the transit router from the IPsec-VPN connection before you delete the IPsec-VPN connection. For more information, see [DeleteTransitRouterVpnAttachment](~~468251~~).
|
|
20533
|
+
* If an IPsec-VPN connection is not associated with a resource, you can call `DeleteVpnAttachment` to directly delete the IPsec-VPN connection.
|
|
19836
20534
|
|
|
19837
20535
|
@param request: DeleteVpnAttachmentRequest
|
|
19838
20536
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -19877,8 +20575,8 @@ class Client(OpenApiClient):
|
|
|
19877
20575
|
runtime: util_models.RuntimeOptions,
|
|
19878
20576
|
) -> vpc_20160428_models.DeleteVpnAttachmentResponse:
|
|
19879
20577
|
"""
|
|
19880
|
-
If
|
|
19881
|
-
* If
|
|
20578
|
+
If an IPsec-VPN connection is associated with a transit router, you must disassociate the transit router from the IPsec-VPN connection before you delete the IPsec-VPN connection. For more information, see [DeleteTransitRouterVpnAttachment](~~468251~~).
|
|
20579
|
+
* If an IPsec-VPN connection is not associated with a resource, you can call `DeleteVpnAttachment` to directly delete the IPsec-VPN connection.
|
|
19882
20580
|
|
|
19883
20581
|
@param request: DeleteVpnAttachmentRequest
|
|
19884
20582
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -19922,8 +20620,8 @@ class Client(OpenApiClient):
|
|
|
19922
20620
|
request: vpc_20160428_models.DeleteVpnAttachmentRequest,
|
|
19923
20621
|
) -> vpc_20160428_models.DeleteVpnAttachmentResponse:
|
|
19924
20622
|
"""
|
|
19925
|
-
If
|
|
19926
|
-
* If
|
|
20623
|
+
If an IPsec-VPN connection is associated with a transit router, you must disassociate the transit router from the IPsec-VPN connection before you delete the IPsec-VPN connection. For more information, see [DeleteTransitRouterVpnAttachment](~~468251~~).
|
|
20624
|
+
* If an IPsec-VPN connection is not associated with a resource, you can call `DeleteVpnAttachment` to directly delete the IPsec-VPN connection.
|
|
19927
20625
|
|
|
19928
20626
|
@param request: DeleteVpnAttachmentRequest
|
|
19929
20627
|
@return: DeleteVpnAttachmentResponse
|
|
@@ -19936,8 +20634,8 @@ class Client(OpenApiClient):
|
|
|
19936
20634
|
request: vpc_20160428_models.DeleteVpnAttachmentRequest,
|
|
19937
20635
|
) -> vpc_20160428_models.DeleteVpnAttachmentResponse:
|
|
19938
20636
|
"""
|
|
19939
|
-
If
|
|
19940
|
-
* If
|
|
20637
|
+
If an IPsec-VPN connection is associated with a transit router, you must disassociate the transit router from the IPsec-VPN connection before you delete the IPsec-VPN connection. For more information, see [DeleteTransitRouterVpnAttachment](~~468251~~).
|
|
20638
|
+
* If an IPsec-VPN connection is not associated with a resource, you can call `DeleteVpnAttachment` to directly delete the IPsec-VPN connection.
|
|
19941
20639
|
|
|
19942
20640
|
@param request: DeleteVpnAttachmentRequest
|
|
19943
20641
|
@return: DeleteVpnAttachmentResponse
|
|
@@ -20633,6 +21331,104 @@ class Client(OpenApiClient):
|
|
|
20633
21331
|
runtime = util_models.RuntimeOptions()
|
|
20634
21332
|
return await self.deletion_protection_with_options_async(request, runtime)
|
|
20635
21333
|
|
|
21334
|
+
def describe_95traffic_with_options(
|
|
21335
|
+
self,
|
|
21336
|
+
request: vpc_20160428_models.Describe95TrafficRequest,
|
|
21337
|
+
runtime: util_models.RuntimeOptions,
|
|
21338
|
+
) -> vpc_20160428_models.Describe95TrafficResponse:
|
|
21339
|
+
UtilClient.validate_model(request)
|
|
21340
|
+
query = {}
|
|
21341
|
+
if not UtilClient.is_unset(request.day):
|
|
21342
|
+
query['Day'] = request.day
|
|
21343
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
21344
|
+
query['InstanceId'] = request.instance_id
|
|
21345
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
21346
|
+
query['OwnerAccount'] = request.owner_account
|
|
21347
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
21348
|
+
query['OwnerId'] = request.owner_id
|
|
21349
|
+
if not UtilClient.is_unset(request.region_id):
|
|
21350
|
+
query['RegionId'] = request.region_id
|
|
21351
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
21352
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
21353
|
+
if not UtilClient.is_unset(request.resource_owner_id):
|
|
21354
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
21355
|
+
if not UtilClient.is_unset(request.resource_type):
|
|
21356
|
+
query['ResourceType'] = request.resource_type
|
|
21357
|
+
req = open_api_models.OpenApiRequest(
|
|
21358
|
+
query=OpenApiUtilClient.query(query)
|
|
21359
|
+
)
|
|
21360
|
+
params = open_api_models.Params(
|
|
21361
|
+
action='Describe95Traffic',
|
|
21362
|
+
version='2016-04-28',
|
|
21363
|
+
protocol='HTTPS',
|
|
21364
|
+
pathname='/',
|
|
21365
|
+
method='POST',
|
|
21366
|
+
auth_type='AK',
|
|
21367
|
+
style='RPC',
|
|
21368
|
+
req_body_type='formData',
|
|
21369
|
+
body_type='json'
|
|
21370
|
+
)
|
|
21371
|
+
return TeaCore.from_map(
|
|
21372
|
+
vpc_20160428_models.Describe95TrafficResponse(),
|
|
21373
|
+
self.call_api(params, req, runtime)
|
|
21374
|
+
)
|
|
21375
|
+
|
|
21376
|
+
async def describe_95traffic_with_options_async(
|
|
21377
|
+
self,
|
|
21378
|
+
request: vpc_20160428_models.Describe95TrafficRequest,
|
|
21379
|
+
runtime: util_models.RuntimeOptions,
|
|
21380
|
+
) -> vpc_20160428_models.Describe95TrafficResponse:
|
|
21381
|
+
UtilClient.validate_model(request)
|
|
21382
|
+
query = {}
|
|
21383
|
+
if not UtilClient.is_unset(request.day):
|
|
21384
|
+
query['Day'] = request.day
|
|
21385
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
21386
|
+
query['InstanceId'] = request.instance_id
|
|
21387
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
21388
|
+
query['OwnerAccount'] = request.owner_account
|
|
21389
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
21390
|
+
query['OwnerId'] = request.owner_id
|
|
21391
|
+
if not UtilClient.is_unset(request.region_id):
|
|
21392
|
+
query['RegionId'] = request.region_id
|
|
21393
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
21394
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
21395
|
+
if not UtilClient.is_unset(request.resource_owner_id):
|
|
21396
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
21397
|
+
if not UtilClient.is_unset(request.resource_type):
|
|
21398
|
+
query['ResourceType'] = request.resource_type
|
|
21399
|
+
req = open_api_models.OpenApiRequest(
|
|
21400
|
+
query=OpenApiUtilClient.query(query)
|
|
21401
|
+
)
|
|
21402
|
+
params = open_api_models.Params(
|
|
21403
|
+
action='Describe95Traffic',
|
|
21404
|
+
version='2016-04-28',
|
|
21405
|
+
protocol='HTTPS',
|
|
21406
|
+
pathname='/',
|
|
21407
|
+
method='POST',
|
|
21408
|
+
auth_type='AK',
|
|
21409
|
+
style='RPC',
|
|
21410
|
+
req_body_type='formData',
|
|
21411
|
+
body_type='json'
|
|
21412
|
+
)
|
|
21413
|
+
return TeaCore.from_map(
|
|
21414
|
+
vpc_20160428_models.Describe95TrafficResponse(),
|
|
21415
|
+
await self.call_api_async(params, req, runtime)
|
|
21416
|
+
)
|
|
21417
|
+
|
|
21418
|
+
def describe_95traffic(
|
|
21419
|
+
self,
|
|
21420
|
+
request: vpc_20160428_models.Describe95TrafficRequest,
|
|
21421
|
+
) -> vpc_20160428_models.Describe95TrafficResponse:
|
|
21422
|
+
runtime = util_models.RuntimeOptions()
|
|
21423
|
+
return self.describe_95traffic_with_options(request, runtime)
|
|
21424
|
+
|
|
21425
|
+
async def describe_95traffic_async(
|
|
21426
|
+
self,
|
|
21427
|
+
request: vpc_20160428_models.Describe95TrafficRequest,
|
|
21428
|
+
) -> vpc_20160428_models.Describe95TrafficResponse:
|
|
21429
|
+
runtime = util_models.RuntimeOptions()
|
|
21430
|
+
return await self.describe_95traffic_with_options_async(request, runtime)
|
|
21431
|
+
|
|
20636
21432
|
def describe_access_points_with_options(
|
|
20637
21433
|
self,
|
|
20638
21434
|
request: vpc_20160428_models.DescribeAccessPointsRequest,
|
|
@@ -21501,6 +22297,8 @@ class Client(OpenApiClient):
|
|
|
21501
22297
|
query['SecurityProtectionEnabled'] = request.security_protection_enabled
|
|
21502
22298
|
if not UtilClient.is_unset(request.segment_instance_id):
|
|
21503
22299
|
query['SegmentInstanceId'] = request.segment_instance_id
|
|
22300
|
+
if not UtilClient.is_unset(request.service_managed):
|
|
22301
|
+
query['ServiceManaged'] = request.service_managed
|
|
21504
22302
|
if not UtilClient.is_unset(request.status):
|
|
21505
22303
|
query['Status'] = request.status
|
|
21506
22304
|
if not UtilClient.is_unset(request.tag):
|
|
@@ -21582,6 +22380,8 @@ class Client(OpenApiClient):
|
|
|
21582
22380
|
query['SecurityProtectionEnabled'] = request.security_protection_enabled
|
|
21583
22381
|
if not UtilClient.is_unset(request.segment_instance_id):
|
|
21584
22382
|
query['SegmentInstanceId'] = request.segment_instance_id
|
|
22383
|
+
if not UtilClient.is_unset(request.service_managed):
|
|
22384
|
+
query['ServiceManaged'] = request.service_managed
|
|
21585
22385
|
if not UtilClient.is_unset(request.status):
|
|
21586
22386
|
query['Status'] = request.status
|
|
21587
22387
|
if not UtilClient.is_unset(request.tag):
|
|
@@ -21983,6 +22783,320 @@ class Client(OpenApiClient):
|
|
|
21983
22783
|
runtime = util_models.RuntimeOptions()
|
|
21984
22784
|
return await self.describe_eip_segment_with_options_async(request, runtime)
|
|
21985
22785
|
|
|
22786
|
+
def describe_express_connect_traffic_qos_with_options(
|
|
22787
|
+
self,
|
|
22788
|
+
request: vpc_20160428_models.DescribeExpressConnectTrafficQosRequest,
|
|
22789
|
+
runtime: util_models.RuntimeOptions,
|
|
22790
|
+
) -> vpc_20160428_models.DescribeExpressConnectTrafficQosResponse:
|
|
22791
|
+
UtilClient.validate_model(request)
|
|
22792
|
+
query = {}
|
|
22793
|
+
if not UtilClient.is_unset(request.client_token):
|
|
22794
|
+
query['ClientToken'] = request.client_token
|
|
22795
|
+
if not UtilClient.is_unset(request.client_token):
|
|
22796
|
+
query['ClientToken'] = request.client_token
|
|
22797
|
+
if not UtilClient.is_unset(request.max_results):
|
|
22798
|
+
query['MaxResults'] = request.max_results
|
|
22799
|
+
if not UtilClient.is_unset(request.next_token):
|
|
22800
|
+
query['NextToken'] = request.next_token
|
|
22801
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
22802
|
+
query['OwnerAccount'] = request.owner_account
|
|
22803
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
22804
|
+
query['OwnerId'] = request.owner_id
|
|
22805
|
+
if not UtilClient.is_unset(request.qos_id_list):
|
|
22806
|
+
query['QosIdList'] = request.qos_id_list
|
|
22807
|
+
if not UtilClient.is_unset(request.qos_name_list):
|
|
22808
|
+
query['QosNameList'] = request.qos_name_list
|
|
22809
|
+
if not UtilClient.is_unset(request.region_id):
|
|
22810
|
+
query['RegionId'] = request.region_id
|
|
22811
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
22812
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
22813
|
+
req = open_api_models.OpenApiRequest(
|
|
22814
|
+
query=OpenApiUtilClient.query(query)
|
|
22815
|
+
)
|
|
22816
|
+
params = open_api_models.Params(
|
|
22817
|
+
action='DescribeExpressConnectTrafficQos',
|
|
22818
|
+
version='2016-04-28',
|
|
22819
|
+
protocol='HTTPS',
|
|
22820
|
+
pathname='/',
|
|
22821
|
+
method='POST',
|
|
22822
|
+
auth_type='AK',
|
|
22823
|
+
style='RPC',
|
|
22824
|
+
req_body_type='formData',
|
|
22825
|
+
body_type='json'
|
|
22826
|
+
)
|
|
22827
|
+
return TeaCore.from_map(
|
|
22828
|
+
vpc_20160428_models.DescribeExpressConnectTrafficQosResponse(),
|
|
22829
|
+
self.call_api(params, req, runtime)
|
|
22830
|
+
)
|
|
22831
|
+
|
|
22832
|
+
async def describe_express_connect_traffic_qos_with_options_async(
|
|
22833
|
+
self,
|
|
22834
|
+
request: vpc_20160428_models.DescribeExpressConnectTrafficQosRequest,
|
|
22835
|
+
runtime: util_models.RuntimeOptions,
|
|
22836
|
+
) -> vpc_20160428_models.DescribeExpressConnectTrafficQosResponse:
|
|
22837
|
+
UtilClient.validate_model(request)
|
|
22838
|
+
query = {}
|
|
22839
|
+
if not UtilClient.is_unset(request.client_token):
|
|
22840
|
+
query['ClientToken'] = request.client_token
|
|
22841
|
+
if not UtilClient.is_unset(request.client_token):
|
|
22842
|
+
query['ClientToken'] = request.client_token
|
|
22843
|
+
if not UtilClient.is_unset(request.max_results):
|
|
22844
|
+
query['MaxResults'] = request.max_results
|
|
22845
|
+
if not UtilClient.is_unset(request.next_token):
|
|
22846
|
+
query['NextToken'] = request.next_token
|
|
22847
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
22848
|
+
query['OwnerAccount'] = request.owner_account
|
|
22849
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
22850
|
+
query['OwnerId'] = request.owner_id
|
|
22851
|
+
if not UtilClient.is_unset(request.qos_id_list):
|
|
22852
|
+
query['QosIdList'] = request.qos_id_list
|
|
22853
|
+
if not UtilClient.is_unset(request.qos_name_list):
|
|
22854
|
+
query['QosNameList'] = request.qos_name_list
|
|
22855
|
+
if not UtilClient.is_unset(request.region_id):
|
|
22856
|
+
query['RegionId'] = request.region_id
|
|
22857
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
22858
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
22859
|
+
req = open_api_models.OpenApiRequest(
|
|
22860
|
+
query=OpenApiUtilClient.query(query)
|
|
22861
|
+
)
|
|
22862
|
+
params = open_api_models.Params(
|
|
22863
|
+
action='DescribeExpressConnectTrafficQos',
|
|
22864
|
+
version='2016-04-28',
|
|
22865
|
+
protocol='HTTPS',
|
|
22866
|
+
pathname='/',
|
|
22867
|
+
method='POST',
|
|
22868
|
+
auth_type='AK',
|
|
22869
|
+
style='RPC',
|
|
22870
|
+
req_body_type='formData',
|
|
22871
|
+
body_type='json'
|
|
22872
|
+
)
|
|
22873
|
+
return TeaCore.from_map(
|
|
22874
|
+
vpc_20160428_models.DescribeExpressConnectTrafficQosResponse(),
|
|
22875
|
+
await self.call_api_async(params, req, runtime)
|
|
22876
|
+
)
|
|
22877
|
+
|
|
22878
|
+
def describe_express_connect_traffic_qos(
|
|
22879
|
+
self,
|
|
22880
|
+
request: vpc_20160428_models.DescribeExpressConnectTrafficQosRequest,
|
|
22881
|
+
) -> vpc_20160428_models.DescribeExpressConnectTrafficQosResponse:
|
|
22882
|
+
runtime = util_models.RuntimeOptions()
|
|
22883
|
+
return self.describe_express_connect_traffic_qos_with_options(request, runtime)
|
|
22884
|
+
|
|
22885
|
+
async def describe_express_connect_traffic_qos_async(
|
|
22886
|
+
self,
|
|
22887
|
+
request: vpc_20160428_models.DescribeExpressConnectTrafficQosRequest,
|
|
22888
|
+
) -> vpc_20160428_models.DescribeExpressConnectTrafficQosResponse:
|
|
22889
|
+
runtime = util_models.RuntimeOptions()
|
|
22890
|
+
return await self.describe_express_connect_traffic_qos_with_options_async(request, runtime)
|
|
22891
|
+
|
|
22892
|
+
def describe_express_connect_traffic_qos_queue_with_options(
|
|
22893
|
+
self,
|
|
22894
|
+
request: vpc_20160428_models.DescribeExpressConnectTrafficQosQueueRequest,
|
|
22895
|
+
runtime: util_models.RuntimeOptions,
|
|
22896
|
+
) -> vpc_20160428_models.DescribeExpressConnectTrafficQosQueueResponse:
|
|
22897
|
+
UtilClient.validate_model(request)
|
|
22898
|
+
query = {}
|
|
22899
|
+
if not UtilClient.is_unset(request.client_token):
|
|
22900
|
+
query['ClientToken'] = request.client_token
|
|
22901
|
+
if not UtilClient.is_unset(request.client_token):
|
|
22902
|
+
query['ClientToken'] = request.client_token
|
|
22903
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
22904
|
+
query['OwnerAccount'] = request.owner_account
|
|
22905
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
22906
|
+
query['OwnerId'] = request.owner_id
|
|
22907
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
22908
|
+
query['QosId'] = request.qos_id
|
|
22909
|
+
if not UtilClient.is_unset(request.queue_id_list):
|
|
22910
|
+
query['QueueIdList'] = request.queue_id_list
|
|
22911
|
+
if not UtilClient.is_unset(request.queue_name_list):
|
|
22912
|
+
query['QueueNameList'] = request.queue_name_list
|
|
22913
|
+
if not UtilClient.is_unset(request.region_id):
|
|
22914
|
+
query['RegionId'] = request.region_id
|
|
22915
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
22916
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
22917
|
+
req = open_api_models.OpenApiRequest(
|
|
22918
|
+
query=OpenApiUtilClient.query(query)
|
|
22919
|
+
)
|
|
22920
|
+
params = open_api_models.Params(
|
|
22921
|
+
action='DescribeExpressConnectTrafficQosQueue',
|
|
22922
|
+
version='2016-04-28',
|
|
22923
|
+
protocol='HTTPS',
|
|
22924
|
+
pathname='/',
|
|
22925
|
+
method='POST',
|
|
22926
|
+
auth_type='AK',
|
|
22927
|
+
style='RPC',
|
|
22928
|
+
req_body_type='formData',
|
|
22929
|
+
body_type='json'
|
|
22930
|
+
)
|
|
22931
|
+
return TeaCore.from_map(
|
|
22932
|
+
vpc_20160428_models.DescribeExpressConnectTrafficQosQueueResponse(),
|
|
22933
|
+
self.call_api(params, req, runtime)
|
|
22934
|
+
)
|
|
22935
|
+
|
|
22936
|
+
async def describe_express_connect_traffic_qos_queue_with_options_async(
|
|
22937
|
+
self,
|
|
22938
|
+
request: vpc_20160428_models.DescribeExpressConnectTrafficQosQueueRequest,
|
|
22939
|
+
runtime: util_models.RuntimeOptions,
|
|
22940
|
+
) -> vpc_20160428_models.DescribeExpressConnectTrafficQosQueueResponse:
|
|
22941
|
+
UtilClient.validate_model(request)
|
|
22942
|
+
query = {}
|
|
22943
|
+
if not UtilClient.is_unset(request.client_token):
|
|
22944
|
+
query['ClientToken'] = request.client_token
|
|
22945
|
+
if not UtilClient.is_unset(request.client_token):
|
|
22946
|
+
query['ClientToken'] = request.client_token
|
|
22947
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
22948
|
+
query['OwnerAccount'] = request.owner_account
|
|
22949
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
22950
|
+
query['OwnerId'] = request.owner_id
|
|
22951
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
22952
|
+
query['QosId'] = request.qos_id
|
|
22953
|
+
if not UtilClient.is_unset(request.queue_id_list):
|
|
22954
|
+
query['QueueIdList'] = request.queue_id_list
|
|
22955
|
+
if not UtilClient.is_unset(request.queue_name_list):
|
|
22956
|
+
query['QueueNameList'] = request.queue_name_list
|
|
22957
|
+
if not UtilClient.is_unset(request.region_id):
|
|
22958
|
+
query['RegionId'] = request.region_id
|
|
22959
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
22960
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
22961
|
+
req = open_api_models.OpenApiRequest(
|
|
22962
|
+
query=OpenApiUtilClient.query(query)
|
|
22963
|
+
)
|
|
22964
|
+
params = open_api_models.Params(
|
|
22965
|
+
action='DescribeExpressConnectTrafficQosQueue',
|
|
22966
|
+
version='2016-04-28',
|
|
22967
|
+
protocol='HTTPS',
|
|
22968
|
+
pathname='/',
|
|
22969
|
+
method='POST',
|
|
22970
|
+
auth_type='AK',
|
|
22971
|
+
style='RPC',
|
|
22972
|
+
req_body_type='formData',
|
|
22973
|
+
body_type='json'
|
|
22974
|
+
)
|
|
22975
|
+
return TeaCore.from_map(
|
|
22976
|
+
vpc_20160428_models.DescribeExpressConnectTrafficQosQueueResponse(),
|
|
22977
|
+
await self.call_api_async(params, req, runtime)
|
|
22978
|
+
)
|
|
22979
|
+
|
|
22980
|
+
def describe_express_connect_traffic_qos_queue(
|
|
22981
|
+
self,
|
|
22982
|
+
request: vpc_20160428_models.DescribeExpressConnectTrafficQosQueueRequest,
|
|
22983
|
+
) -> vpc_20160428_models.DescribeExpressConnectTrafficQosQueueResponse:
|
|
22984
|
+
runtime = util_models.RuntimeOptions()
|
|
22985
|
+
return self.describe_express_connect_traffic_qos_queue_with_options(request, runtime)
|
|
22986
|
+
|
|
22987
|
+
async def describe_express_connect_traffic_qos_queue_async(
|
|
22988
|
+
self,
|
|
22989
|
+
request: vpc_20160428_models.DescribeExpressConnectTrafficQosQueueRequest,
|
|
22990
|
+
) -> vpc_20160428_models.DescribeExpressConnectTrafficQosQueueResponse:
|
|
22991
|
+
runtime = util_models.RuntimeOptions()
|
|
22992
|
+
return await self.describe_express_connect_traffic_qos_queue_with_options_async(request, runtime)
|
|
22993
|
+
|
|
22994
|
+
def describe_express_connect_traffic_qos_rule_with_options(
|
|
22995
|
+
self,
|
|
22996
|
+
request: vpc_20160428_models.DescribeExpressConnectTrafficQosRuleRequest,
|
|
22997
|
+
runtime: util_models.RuntimeOptions,
|
|
22998
|
+
) -> vpc_20160428_models.DescribeExpressConnectTrafficQosRuleResponse:
|
|
22999
|
+
UtilClient.validate_model(request)
|
|
23000
|
+
query = {}
|
|
23001
|
+
if not UtilClient.is_unset(request.client_token):
|
|
23002
|
+
query['ClientToken'] = request.client_token
|
|
23003
|
+
if not UtilClient.is_unset(request.client_token):
|
|
23004
|
+
query['ClientToken'] = request.client_token
|
|
23005
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
23006
|
+
query['OwnerAccount'] = request.owner_account
|
|
23007
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
23008
|
+
query['OwnerId'] = request.owner_id
|
|
23009
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
23010
|
+
query['QosId'] = request.qos_id
|
|
23011
|
+
if not UtilClient.is_unset(request.queue_id):
|
|
23012
|
+
query['QueueId'] = request.queue_id
|
|
23013
|
+
if not UtilClient.is_unset(request.region_id):
|
|
23014
|
+
query['RegionId'] = request.region_id
|
|
23015
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
23016
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
23017
|
+
if not UtilClient.is_unset(request.rule_id_list):
|
|
23018
|
+
query['RuleIdList'] = request.rule_id_list
|
|
23019
|
+
if not UtilClient.is_unset(request.rule_name_list):
|
|
23020
|
+
query['RuleNameList'] = request.rule_name_list
|
|
23021
|
+
req = open_api_models.OpenApiRequest(
|
|
23022
|
+
query=OpenApiUtilClient.query(query)
|
|
23023
|
+
)
|
|
23024
|
+
params = open_api_models.Params(
|
|
23025
|
+
action='DescribeExpressConnectTrafficQosRule',
|
|
23026
|
+
version='2016-04-28',
|
|
23027
|
+
protocol='HTTPS',
|
|
23028
|
+
pathname='/',
|
|
23029
|
+
method='POST',
|
|
23030
|
+
auth_type='AK',
|
|
23031
|
+
style='RPC',
|
|
23032
|
+
req_body_type='formData',
|
|
23033
|
+
body_type='json'
|
|
23034
|
+
)
|
|
23035
|
+
return TeaCore.from_map(
|
|
23036
|
+
vpc_20160428_models.DescribeExpressConnectTrafficQosRuleResponse(),
|
|
23037
|
+
self.call_api(params, req, runtime)
|
|
23038
|
+
)
|
|
23039
|
+
|
|
23040
|
+
async def describe_express_connect_traffic_qos_rule_with_options_async(
|
|
23041
|
+
self,
|
|
23042
|
+
request: vpc_20160428_models.DescribeExpressConnectTrafficQosRuleRequest,
|
|
23043
|
+
runtime: util_models.RuntimeOptions,
|
|
23044
|
+
) -> vpc_20160428_models.DescribeExpressConnectTrafficQosRuleResponse:
|
|
23045
|
+
UtilClient.validate_model(request)
|
|
23046
|
+
query = {}
|
|
23047
|
+
if not UtilClient.is_unset(request.client_token):
|
|
23048
|
+
query['ClientToken'] = request.client_token
|
|
23049
|
+
if not UtilClient.is_unset(request.client_token):
|
|
23050
|
+
query['ClientToken'] = request.client_token
|
|
23051
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
23052
|
+
query['OwnerAccount'] = request.owner_account
|
|
23053
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
23054
|
+
query['OwnerId'] = request.owner_id
|
|
23055
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
23056
|
+
query['QosId'] = request.qos_id
|
|
23057
|
+
if not UtilClient.is_unset(request.queue_id):
|
|
23058
|
+
query['QueueId'] = request.queue_id
|
|
23059
|
+
if not UtilClient.is_unset(request.region_id):
|
|
23060
|
+
query['RegionId'] = request.region_id
|
|
23061
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
23062
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
23063
|
+
if not UtilClient.is_unset(request.rule_id_list):
|
|
23064
|
+
query['RuleIdList'] = request.rule_id_list
|
|
23065
|
+
if not UtilClient.is_unset(request.rule_name_list):
|
|
23066
|
+
query['RuleNameList'] = request.rule_name_list
|
|
23067
|
+
req = open_api_models.OpenApiRequest(
|
|
23068
|
+
query=OpenApiUtilClient.query(query)
|
|
23069
|
+
)
|
|
23070
|
+
params = open_api_models.Params(
|
|
23071
|
+
action='DescribeExpressConnectTrafficQosRule',
|
|
23072
|
+
version='2016-04-28',
|
|
23073
|
+
protocol='HTTPS',
|
|
23074
|
+
pathname='/',
|
|
23075
|
+
method='POST',
|
|
23076
|
+
auth_type='AK',
|
|
23077
|
+
style='RPC',
|
|
23078
|
+
req_body_type='formData',
|
|
23079
|
+
body_type='json'
|
|
23080
|
+
)
|
|
23081
|
+
return TeaCore.from_map(
|
|
23082
|
+
vpc_20160428_models.DescribeExpressConnectTrafficQosRuleResponse(),
|
|
23083
|
+
await self.call_api_async(params, req, runtime)
|
|
23084
|
+
)
|
|
23085
|
+
|
|
23086
|
+
def describe_express_connect_traffic_qos_rule(
|
|
23087
|
+
self,
|
|
23088
|
+
request: vpc_20160428_models.DescribeExpressConnectTrafficQosRuleRequest,
|
|
23089
|
+
) -> vpc_20160428_models.DescribeExpressConnectTrafficQosRuleResponse:
|
|
23090
|
+
runtime = util_models.RuntimeOptions()
|
|
23091
|
+
return self.describe_express_connect_traffic_qos_rule_with_options(request, runtime)
|
|
23092
|
+
|
|
23093
|
+
async def describe_express_connect_traffic_qos_rule_async(
|
|
23094
|
+
self,
|
|
23095
|
+
request: vpc_20160428_models.DescribeExpressConnectTrafficQosRuleRequest,
|
|
23096
|
+
) -> vpc_20160428_models.DescribeExpressConnectTrafficQosRuleResponse:
|
|
23097
|
+
runtime = util_models.RuntimeOptions()
|
|
23098
|
+
return await self.describe_express_connect_traffic_qos_rule_with_options_async(request, runtime)
|
|
23099
|
+
|
|
21986
23100
|
def describe_failover_test_job_with_options(
|
|
21987
23101
|
self,
|
|
21988
23102
|
request: vpc_20160428_models.DescribeFailoverTestJobRequest,
|
|
@@ -23486,6 +24600,8 @@ class Client(OpenApiClient):
|
|
|
23486
24600
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
23487
24601
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
23488
24602
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
24603
|
+
if not UtilClient.is_unset(request.service_managed):
|
|
24604
|
+
query['ServiceManaged'] = request.service_managed
|
|
23489
24605
|
if not UtilClient.is_unset(request.tag):
|
|
23490
24606
|
query['Tag'] = request.tag
|
|
23491
24607
|
if not UtilClient.is_unset(request.v_switch_id):
|
|
@@ -23552,6 +24668,8 @@ class Client(OpenApiClient):
|
|
|
23552
24668
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
23553
24669
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
23554
24670
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
24671
|
+
if not UtilClient.is_unset(request.service_managed):
|
|
24672
|
+
query['ServiceManaged'] = request.service_managed
|
|
23555
24673
|
if not UtilClient.is_unset(request.tag):
|
|
23556
24674
|
query['Tag'] = request.tag
|
|
23557
24675
|
if not UtilClient.is_unset(request.v_switch_id):
|
|
@@ -24767,7 +25885,6 @@ class Client(OpenApiClient):
|
|
|
24767
25885
|
runtime: util_models.RuntimeOptions,
|
|
24768
25886
|
) -> vpc_20160428_models.DescribeRouteEntryListResponse:
|
|
24769
25887
|
"""
|
|
24770
|
-
## [](#)References
|
|
24771
25888
|
Before you call the [DeleteRouteEntry](~~36013~~) operation to delete a route, you can call this operation to query the next hop of the route that you want to delete.
|
|
24772
25889
|
|
|
24773
25890
|
@param request: DescribeRouteEntryListRequest
|
|
@@ -24837,7 +25954,6 @@ class Client(OpenApiClient):
|
|
|
24837
25954
|
runtime: util_models.RuntimeOptions,
|
|
24838
25955
|
) -> vpc_20160428_models.DescribeRouteEntryListResponse:
|
|
24839
25956
|
"""
|
|
24840
|
-
## [](#)References
|
|
24841
25957
|
Before you call the [DeleteRouteEntry](~~36013~~) operation to delete a route, you can call this operation to query the next hop of the route that you want to delete.
|
|
24842
25958
|
|
|
24843
25959
|
@param request: DescribeRouteEntryListRequest
|
|
@@ -24906,7 +26022,6 @@ class Client(OpenApiClient):
|
|
|
24906
26022
|
request: vpc_20160428_models.DescribeRouteEntryListRequest,
|
|
24907
26023
|
) -> vpc_20160428_models.DescribeRouteEntryListResponse:
|
|
24908
26024
|
"""
|
|
24909
|
-
## [](#)References
|
|
24910
26025
|
Before you call the [DeleteRouteEntry](~~36013~~) operation to delete a route, you can call this operation to query the next hop of the route that you want to delete.
|
|
24911
26026
|
|
|
24912
26027
|
@param request: DescribeRouteEntryListRequest
|
|
@@ -24920,7 +26035,6 @@ class Client(OpenApiClient):
|
|
|
24920
26035
|
request: vpc_20160428_models.DescribeRouteEntryListRequest,
|
|
24921
26036
|
) -> vpc_20160428_models.DescribeRouteEntryListResponse:
|
|
24922
26037
|
"""
|
|
24923
|
-
## [](#)References
|
|
24924
26038
|
Before you call the [DeleteRouteEntry](~~36013~~) operation to delete a route, you can call this operation to query the next hop of the route that you want to delete.
|
|
24925
26039
|
|
|
24926
26040
|
@param request: DescribeRouteEntryListRequest
|
|
@@ -35135,6 +36249,376 @@ class Client(OpenApiClient):
|
|
|
35135
36249
|
runtime = util_models.RuntimeOptions()
|
|
35136
36250
|
return await self.modify_express_cloud_connection_bandwidth_with_options_async(request, runtime)
|
|
35137
36251
|
|
|
36252
|
+
def modify_express_connect_traffic_qos_with_options(
|
|
36253
|
+
self,
|
|
36254
|
+
request: vpc_20160428_models.ModifyExpressConnectTrafficQosRequest,
|
|
36255
|
+
runtime: util_models.RuntimeOptions,
|
|
36256
|
+
) -> vpc_20160428_models.ModifyExpressConnectTrafficQosResponse:
|
|
36257
|
+
UtilClient.validate_model(request)
|
|
36258
|
+
query = {}
|
|
36259
|
+
if not UtilClient.is_unset(request.add_instance_list):
|
|
36260
|
+
query['AddInstanceList'] = request.add_instance_list
|
|
36261
|
+
if not UtilClient.is_unset(request.client_token):
|
|
36262
|
+
query['ClientToken'] = request.client_token
|
|
36263
|
+
if not UtilClient.is_unset(request.client_token):
|
|
36264
|
+
query['ClientToken'] = request.client_token
|
|
36265
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
36266
|
+
query['OwnerAccount'] = request.owner_account
|
|
36267
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
36268
|
+
query['OwnerId'] = request.owner_id
|
|
36269
|
+
if not UtilClient.is_unset(request.qos_description):
|
|
36270
|
+
query['QosDescription'] = request.qos_description
|
|
36271
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
36272
|
+
query['QosId'] = request.qos_id
|
|
36273
|
+
if not UtilClient.is_unset(request.qos_name):
|
|
36274
|
+
query['QosName'] = request.qos_name
|
|
36275
|
+
if not UtilClient.is_unset(request.region_id):
|
|
36276
|
+
query['RegionId'] = request.region_id
|
|
36277
|
+
if not UtilClient.is_unset(request.remove_instance_list):
|
|
36278
|
+
query['RemoveInstanceList'] = request.remove_instance_list
|
|
36279
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
36280
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
36281
|
+
req = open_api_models.OpenApiRequest(
|
|
36282
|
+
query=OpenApiUtilClient.query(query)
|
|
36283
|
+
)
|
|
36284
|
+
params = open_api_models.Params(
|
|
36285
|
+
action='ModifyExpressConnectTrafficQos',
|
|
36286
|
+
version='2016-04-28',
|
|
36287
|
+
protocol='HTTPS',
|
|
36288
|
+
pathname='/',
|
|
36289
|
+
method='POST',
|
|
36290
|
+
auth_type='AK',
|
|
36291
|
+
style='RPC',
|
|
36292
|
+
req_body_type='formData',
|
|
36293
|
+
body_type='json'
|
|
36294
|
+
)
|
|
36295
|
+
return TeaCore.from_map(
|
|
36296
|
+
vpc_20160428_models.ModifyExpressConnectTrafficQosResponse(),
|
|
36297
|
+
self.call_api(params, req, runtime)
|
|
36298
|
+
)
|
|
36299
|
+
|
|
36300
|
+
async def modify_express_connect_traffic_qos_with_options_async(
|
|
36301
|
+
self,
|
|
36302
|
+
request: vpc_20160428_models.ModifyExpressConnectTrafficQosRequest,
|
|
36303
|
+
runtime: util_models.RuntimeOptions,
|
|
36304
|
+
) -> vpc_20160428_models.ModifyExpressConnectTrafficQosResponse:
|
|
36305
|
+
UtilClient.validate_model(request)
|
|
36306
|
+
query = {}
|
|
36307
|
+
if not UtilClient.is_unset(request.add_instance_list):
|
|
36308
|
+
query['AddInstanceList'] = request.add_instance_list
|
|
36309
|
+
if not UtilClient.is_unset(request.client_token):
|
|
36310
|
+
query['ClientToken'] = request.client_token
|
|
36311
|
+
if not UtilClient.is_unset(request.client_token):
|
|
36312
|
+
query['ClientToken'] = request.client_token
|
|
36313
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
36314
|
+
query['OwnerAccount'] = request.owner_account
|
|
36315
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
36316
|
+
query['OwnerId'] = request.owner_id
|
|
36317
|
+
if not UtilClient.is_unset(request.qos_description):
|
|
36318
|
+
query['QosDescription'] = request.qos_description
|
|
36319
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
36320
|
+
query['QosId'] = request.qos_id
|
|
36321
|
+
if not UtilClient.is_unset(request.qos_name):
|
|
36322
|
+
query['QosName'] = request.qos_name
|
|
36323
|
+
if not UtilClient.is_unset(request.region_id):
|
|
36324
|
+
query['RegionId'] = request.region_id
|
|
36325
|
+
if not UtilClient.is_unset(request.remove_instance_list):
|
|
36326
|
+
query['RemoveInstanceList'] = request.remove_instance_list
|
|
36327
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
36328
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
36329
|
+
req = open_api_models.OpenApiRequest(
|
|
36330
|
+
query=OpenApiUtilClient.query(query)
|
|
36331
|
+
)
|
|
36332
|
+
params = open_api_models.Params(
|
|
36333
|
+
action='ModifyExpressConnectTrafficQos',
|
|
36334
|
+
version='2016-04-28',
|
|
36335
|
+
protocol='HTTPS',
|
|
36336
|
+
pathname='/',
|
|
36337
|
+
method='POST',
|
|
36338
|
+
auth_type='AK',
|
|
36339
|
+
style='RPC',
|
|
36340
|
+
req_body_type='formData',
|
|
36341
|
+
body_type='json'
|
|
36342
|
+
)
|
|
36343
|
+
return TeaCore.from_map(
|
|
36344
|
+
vpc_20160428_models.ModifyExpressConnectTrafficQosResponse(),
|
|
36345
|
+
await self.call_api_async(params, req, runtime)
|
|
36346
|
+
)
|
|
36347
|
+
|
|
36348
|
+
def modify_express_connect_traffic_qos(
|
|
36349
|
+
self,
|
|
36350
|
+
request: vpc_20160428_models.ModifyExpressConnectTrafficQosRequest,
|
|
36351
|
+
) -> vpc_20160428_models.ModifyExpressConnectTrafficQosResponse:
|
|
36352
|
+
runtime = util_models.RuntimeOptions()
|
|
36353
|
+
return self.modify_express_connect_traffic_qos_with_options(request, runtime)
|
|
36354
|
+
|
|
36355
|
+
async def modify_express_connect_traffic_qos_async(
|
|
36356
|
+
self,
|
|
36357
|
+
request: vpc_20160428_models.ModifyExpressConnectTrafficQosRequest,
|
|
36358
|
+
) -> vpc_20160428_models.ModifyExpressConnectTrafficQosResponse:
|
|
36359
|
+
runtime = util_models.RuntimeOptions()
|
|
36360
|
+
return await self.modify_express_connect_traffic_qos_with_options_async(request, runtime)
|
|
36361
|
+
|
|
36362
|
+
def modify_express_connect_traffic_qos_queue_with_options(
|
|
36363
|
+
self,
|
|
36364
|
+
request: vpc_20160428_models.ModifyExpressConnectTrafficQosQueueRequest,
|
|
36365
|
+
runtime: util_models.RuntimeOptions,
|
|
36366
|
+
) -> vpc_20160428_models.ModifyExpressConnectTrafficQosQueueResponse:
|
|
36367
|
+
UtilClient.validate_model(request)
|
|
36368
|
+
query = {}
|
|
36369
|
+
if not UtilClient.is_unset(request.bandwidth_percent):
|
|
36370
|
+
query['BandwidthPercent'] = request.bandwidth_percent
|
|
36371
|
+
if not UtilClient.is_unset(request.client_token):
|
|
36372
|
+
query['ClientToken'] = request.client_token
|
|
36373
|
+
if not UtilClient.is_unset(request.client_token):
|
|
36374
|
+
query['ClientToken'] = request.client_token
|
|
36375
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
36376
|
+
query['OwnerAccount'] = request.owner_account
|
|
36377
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
36378
|
+
query['OwnerId'] = request.owner_id
|
|
36379
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
36380
|
+
query['QosId'] = request.qos_id
|
|
36381
|
+
if not UtilClient.is_unset(request.queue_description):
|
|
36382
|
+
query['QueueDescription'] = request.queue_description
|
|
36383
|
+
if not UtilClient.is_unset(request.queue_id):
|
|
36384
|
+
query['QueueId'] = request.queue_id
|
|
36385
|
+
if not UtilClient.is_unset(request.queue_name):
|
|
36386
|
+
query['QueueName'] = request.queue_name
|
|
36387
|
+
if not UtilClient.is_unset(request.region_id):
|
|
36388
|
+
query['RegionId'] = request.region_id
|
|
36389
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
36390
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
36391
|
+
req = open_api_models.OpenApiRequest(
|
|
36392
|
+
query=OpenApiUtilClient.query(query)
|
|
36393
|
+
)
|
|
36394
|
+
params = open_api_models.Params(
|
|
36395
|
+
action='ModifyExpressConnectTrafficQosQueue',
|
|
36396
|
+
version='2016-04-28',
|
|
36397
|
+
protocol='HTTPS',
|
|
36398
|
+
pathname='/',
|
|
36399
|
+
method='POST',
|
|
36400
|
+
auth_type='AK',
|
|
36401
|
+
style='RPC',
|
|
36402
|
+
req_body_type='formData',
|
|
36403
|
+
body_type='json'
|
|
36404
|
+
)
|
|
36405
|
+
return TeaCore.from_map(
|
|
36406
|
+
vpc_20160428_models.ModifyExpressConnectTrafficQosQueueResponse(),
|
|
36407
|
+
self.call_api(params, req, runtime)
|
|
36408
|
+
)
|
|
36409
|
+
|
|
36410
|
+
async def modify_express_connect_traffic_qos_queue_with_options_async(
|
|
36411
|
+
self,
|
|
36412
|
+
request: vpc_20160428_models.ModifyExpressConnectTrafficQosQueueRequest,
|
|
36413
|
+
runtime: util_models.RuntimeOptions,
|
|
36414
|
+
) -> vpc_20160428_models.ModifyExpressConnectTrafficQosQueueResponse:
|
|
36415
|
+
UtilClient.validate_model(request)
|
|
36416
|
+
query = {}
|
|
36417
|
+
if not UtilClient.is_unset(request.bandwidth_percent):
|
|
36418
|
+
query['BandwidthPercent'] = request.bandwidth_percent
|
|
36419
|
+
if not UtilClient.is_unset(request.client_token):
|
|
36420
|
+
query['ClientToken'] = request.client_token
|
|
36421
|
+
if not UtilClient.is_unset(request.client_token):
|
|
36422
|
+
query['ClientToken'] = request.client_token
|
|
36423
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
36424
|
+
query['OwnerAccount'] = request.owner_account
|
|
36425
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
36426
|
+
query['OwnerId'] = request.owner_id
|
|
36427
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
36428
|
+
query['QosId'] = request.qos_id
|
|
36429
|
+
if not UtilClient.is_unset(request.queue_description):
|
|
36430
|
+
query['QueueDescription'] = request.queue_description
|
|
36431
|
+
if not UtilClient.is_unset(request.queue_id):
|
|
36432
|
+
query['QueueId'] = request.queue_id
|
|
36433
|
+
if not UtilClient.is_unset(request.queue_name):
|
|
36434
|
+
query['QueueName'] = request.queue_name
|
|
36435
|
+
if not UtilClient.is_unset(request.region_id):
|
|
36436
|
+
query['RegionId'] = request.region_id
|
|
36437
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
36438
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
36439
|
+
req = open_api_models.OpenApiRequest(
|
|
36440
|
+
query=OpenApiUtilClient.query(query)
|
|
36441
|
+
)
|
|
36442
|
+
params = open_api_models.Params(
|
|
36443
|
+
action='ModifyExpressConnectTrafficQosQueue',
|
|
36444
|
+
version='2016-04-28',
|
|
36445
|
+
protocol='HTTPS',
|
|
36446
|
+
pathname='/',
|
|
36447
|
+
method='POST',
|
|
36448
|
+
auth_type='AK',
|
|
36449
|
+
style='RPC',
|
|
36450
|
+
req_body_type='formData',
|
|
36451
|
+
body_type='json'
|
|
36452
|
+
)
|
|
36453
|
+
return TeaCore.from_map(
|
|
36454
|
+
vpc_20160428_models.ModifyExpressConnectTrafficQosQueueResponse(),
|
|
36455
|
+
await self.call_api_async(params, req, runtime)
|
|
36456
|
+
)
|
|
36457
|
+
|
|
36458
|
+
def modify_express_connect_traffic_qos_queue(
|
|
36459
|
+
self,
|
|
36460
|
+
request: vpc_20160428_models.ModifyExpressConnectTrafficQosQueueRequest,
|
|
36461
|
+
) -> vpc_20160428_models.ModifyExpressConnectTrafficQosQueueResponse:
|
|
36462
|
+
runtime = util_models.RuntimeOptions()
|
|
36463
|
+
return self.modify_express_connect_traffic_qos_queue_with_options(request, runtime)
|
|
36464
|
+
|
|
36465
|
+
async def modify_express_connect_traffic_qos_queue_async(
|
|
36466
|
+
self,
|
|
36467
|
+
request: vpc_20160428_models.ModifyExpressConnectTrafficQosQueueRequest,
|
|
36468
|
+
) -> vpc_20160428_models.ModifyExpressConnectTrafficQosQueueResponse:
|
|
36469
|
+
runtime = util_models.RuntimeOptions()
|
|
36470
|
+
return await self.modify_express_connect_traffic_qos_queue_with_options_async(request, runtime)
|
|
36471
|
+
|
|
36472
|
+
def modify_express_connect_traffic_qos_rule_with_options(
|
|
36473
|
+
self,
|
|
36474
|
+
request: vpc_20160428_models.ModifyExpressConnectTrafficQosRuleRequest,
|
|
36475
|
+
runtime: util_models.RuntimeOptions,
|
|
36476
|
+
) -> vpc_20160428_models.ModifyExpressConnectTrafficQosRuleResponse:
|
|
36477
|
+
UtilClient.validate_model(request)
|
|
36478
|
+
query = {}
|
|
36479
|
+
if not UtilClient.is_unset(request.client_token):
|
|
36480
|
+
query['ClientToken'] = request.client_token
|
|
36481
|
+
if not UtilClient.is_unset(request.client_token):
|
|
36482
|
+
query['ClientToken'] = request.client_token
|
|
36483
|
+
if not UtilClient.is_unset(request.dst_cidr):
|
|
36484
|
+
query['DstCidr'] = request.dst_cidr
|
|
36485
|
+
if not UtilClient.is_unset(request.dst_ipv_6cidr):
|
|
36486
|
+
query['DstIPv6Cidr'] = request.dst_ipv_6cidr
|
|
36487
|
+
if not UtilClient.is_unset(request.dst_port_range):
|
|
36488
|
+
query['DstPortRange'] = request.dst_port_range
|
|
36489
|
+
if not UtilClient.is_unset(request.match_dscp):
|
|
36490
|
+
query['MatchDscp'] = request.match_dscp
|
|
36491
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
36492
|
+
query['OwnerAccount'] = request.owner_account
|
|
36493
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
36494
|
+
query['OwnerId'] = request.owner_id
|
|
36495
|
+
if not UtilClient.is_unset(request.priority):
|
|
36496
|
+
query['Priority'] = request.priority
|
|
36497
|
+
if not UtilClient.is_unset(request.protocol):
|
|
36498
|
+
query['Protocol'] = request.protocol
|
|
36499
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
36500
|
+
query['QosId'] = request.qos_id
|
|
36501
|
+
if not UtilClient.is_unset(request.queue_id):
|
|
36502
|
+
query['QueueId'] = request.queue_id
|
|
36503
|
+
if not UtilClient.is_unset(request.region_id):
|
|
36504
|
+
query['RegionId'] = request.region_id
|
|
36505
|
+
if not UtilClient.is_unset(request.remarking_dscp):
|
|
36506
|
+
query['RemarkingDscp'] = request.remarking_dscp
|
|
36507
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
36508
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
36509
|
+
if not UtilClient.is_unset(request.rule_description):
|
|
36510
|
+
query['RuleDescription'] = request.rule_description
|
|
36511
|
+
if not UtilClient.is_unset(request.rule_id):
|
|
36512
|
+
query['RuleId'] = request.rule_id
|
|
36513
|
+
if not UtilClient.is_unset(request.rule_name):
|
|
36514
|
+
query['RuleName'] = request.rule_name
|
|
36515
|
+
if not UtilClient.is_unset(request.src_cidr):
|
|
36516
|
+
query['SrcCidr'] = request.src_cidr
|
|
36517
|
+
if not UtilClient.is_unset(request.src_ipv_6cidr):
|
|
36518
|
+
query['SrcIPv6Cidr'] = request.src_ipv_6cidr
|
|
36519
|
+
if not UtilClient.is_unset(request.src_port_range):
|
|
36520
|
+
query['SrcPortRange'] = request.src_port_range
|
|
36521
|
+
req = open_api_models.OpenApiRequest(
|
|
36522
|
+
query=OpenApiUtilClient.query(query)
|
|
36523
|
+
)
|
|
36524
|
+
params = open_api_models.Params(
|
|
36525
|
+
action='ModifyExpressConnectTrafficQosRule',
|
|
36526
|
+
version='2016-04-28',
|
|
36527
|
+
protocol='HTTPS',
|
|
36528
|
+
pathname='/',
|
|
36529
|
+
method='POST',
|
|
36530
|
+
auth_type='AK',
|
|
36531
|
+
style='RPC',
|
|
36532
|
+
req_body_type='formData',
|
|
36533
|
+
body_type='json'
|
|
36534
|
+
)
|
|
36535
|
+
return TeaCore.from_map(
|
|
36536
|
+
vpc_20160428_models.ModifyExpressConnectTrafficQosRuleResponse(),
|
|
36537
|
+
self.call_api(params, req, runtime)
|
|
36538
|
+
)
|
|
36539
|
+
|
|
36540
|
+
async def modify_express_connect_traffic_qos_rule_with_options_async(
|
|
36541
|
+
self,
|
|
36542
|
+
request: vpc_20160428_models.ModifyExpressConnectTrafficQosRuleRequest,
|
|
36543
|
+
runtime: util_models.RuntimeOptions,
|
|
36544
|
+
) -> vpc_20160428_models.ModifyExpressConnectTrafficQosRuleResponse:
|
|
36545
|
+
UtilClient.validate_model(request)
|
|
36546
|
+
query = {}
|
|
36547
|
+
if not UtilClient.is_unset(request.client_token):
|
|
36548
|
+
query['ClientToken'] = request.client_token
|
|
36549
|
+
if not UtilClient.is_unset(request.client_token):
|
|
36550
|
+
query['ClientToken'] = request.client_token
|
|
36551
|
+
if not UtilClient.is_unset(request.dst_cidr):
|
|
36552
|
+
query['DstCidr'] = request.dst_cidr
|
|
36553
|
+
if not UtilClient.is_unset(request.dst_ipv_6cidr):
|
|
36554
|
+
query['DstIPv6Cidr'] = request.dst_ipv_6cidr
|
|
36555
|
+
if not UtilClient.is_unset(request.dst_port_range):
|
|
36556
|
+
query['DstPortRange'] = request.dst_port_range
|
|
36557
|
+
if not UtilClient.is_unset(request.match_dscp):
|
|
36558
|
+
query['MatchDscp'] = request.match_dscp
|
|
36559
|
+
if not UtilClient.is_unset(request.owner_account):
|
|
36560
|
+
query['OwnerAccount'] = request.owner_account
|
|
36561
|
+
if not UtilClient.is_unset(request.owner_id):
|
|
36562
|
+
query['OwnerId'] = request.owner_id
|
|
36563
|
+
if not UtilClient.is_unset(request.priority):
|
|
36564
|
+
query['Priority'] = request.priority
|
|
36565
|
+
if not UtilClient.is_unset(request.protocol):
|
|
36566
|
+
query['Protocol'] = request.protocol
|
|
36567
|
+
if not UtilClient.is_unset(request.qos_id):
|
|
36568
|
+
query['QosId'] = request.qos_id
|
|
36569
|
+
if not UtilClient.is_unset(request.queue_id):
|
|
36570
|
+
query['QueueId'] = request.queue_id
|
|
36571
|
+
if not UtilClient.is_unset(request.region_id):
|
|
36572
|
+
query['RegionId'] = request.region_id
|
|
36573
|
+
if not UtilClient.is_unset(request.remarking_dscp):
|
|
36574
|
+
query['RemarkingDscp'] = request.remarking_dscp
|
|
36575
|
+
if not UtilClient.is_unset(request.resource_owner_account):
|
|
36576
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
36577
|
+
if not UtilClient.is_unset(request.rule_description):
|
|
36578
|
+
query['RuleDescription'] = request.rule_description
|
|
36579
|
+
if not UtilClient.is_unset(request.rule_id):
|
|
36580
|
+
query['RuleId'] = request.rule_id
|
|
36581
|
+
if not UtilClient.is_unset(request.rule_name):
|
|
36582
|
+
query['RuleName'] = request.rule_name
|
|
36583
|
+
if not UtilClient.is_unset(request.src_cidr):
|
|
36584
|
+
query['SrcCidr'] = request.src_cidr
|
|
36585
|
+
if not UtilClient.is_unset(request.src_ipv_6cidr):
|
|
36586
|
+
query['SrcIPv6Cidr'] = request.src_ipv_6cidr
|
|
36587
|
+
if not UtilClient.is_unset(request.src_port_range):
|
|
36588
|
+
query['SrcPortRange'] = request.src_port_range
|
|
36589
|
+
req = open_api_models.OpenApiRequest(
|
|
36590
|
+
query=OpenApiUtilClient.query(query)
|
|
36591
|
+
)
|
|
36592
|
+
params = open_api_models.Params(
|
|
36593
|
+
action='ModifyExpressConnectTrafficQosRule',
|
|
36594
|
+
version='2016-04-28',
|
|
36595
|
+
protocol='HTTPS',
|
|
36596
|
+
pathname='/',
|
|
36597
|
+
method='POST',
|
|
36598
|
+
auth_type='AK',
|
|
36599
|
+
style='RPC',
|
|
36600
|
+
req_body_type='formData',
|
|
36601
|
+
body_type='json'
|
|
36602
|
+
)
|
|
36603
|
+
return TeaCore.from_map(
|
|
36604
|
+
vpc_20160428_models.ModifyExpressConnectTrafficQosRuleResponse(),
|
|
36605
|
+
await self.call_api_async(params, req, runtime)
|
|
36606
|
+
)
|
|
36607
|
+
|
|
36608
|
+
def modify_express_connect_traffic_qos_rule(
|
|
36609
|
+
self,
|
|
36610
|
+
request: vpc_20160428_models.ModifyExpressConnectTrafficQosRuleRequest,
|
|
36611
|
+
) -> vpc_20160428_models.ModifyExpressConnectTrafficQosRuleResponse:
|
|
36612
|
+
runtime = util_models.RuntimeOptions()
|
|
36613
|
+
return self.modify_express_connect_traffic_qos_rule_with_options(request, runtime)
|
|
36614
|
+
|
|
36615
|
+
async def modify_express_connect_traffic_qos_rule_async(
|
|
36616
|
+
self,
|
|
36617
|
+
request: vpc_20160428_models.ModifyExpressConnectTrafficQosRuleRequest,
|
|
36618
|
+
) -> vpc_20160428_models.ModifyExpressConnectTrafficQosRuleResponse:
|
|
36619
|
+
runtime = util_models.RuntimeOptions()
|
|
36620
|
+
return await self.modify_express_connect_traffic_qos_rule_with_options_async(request, runtime)
|
|
36621
|
+
|
|
35138
36622
|
def modify_flow_log_attribute_with_options(
|
|
35139
36623
|
self,
|
|
35140
36624
|
request: vpc_20160428_models.ModifyFlowLogAttributeRequest,
|
|
@@ -38119,8 +39603,7 @@ class Client(OpenApiClient):
|
|
|
38119
39603
|
runtime: util_models.RuntimeOptions,
|
|
38120
39604
|
) -> vpc_20160428_models.ModifyRouterInterfaceSpecResponse:
|
|
38121
39605
|
"""
|
|
38122
|
-
|
|
38123
|
-
After you call this operation, the router interface enters the **Activating** state. After the router interface is activated, the router interface enters the **Active** state.
|
|
39606
|
+
After you call this operation, the router interface enters the *Activating** state. After the router interface is activated, the router interface enters the **Active** state.
|
|
38124
39607
|
> You cannot modify the specification of a router interface that has overdue payments.
|
|
38125
39608
|
|
|
38126
39609
|
@param request: ModifyRouterInterfaceSpecRequest
|
|
@@ -38170,8 +39653,7 @@ class Client(OpenApiClient):
|
|
|
38170
39653
|
runtime: util_models.RuntimeOptions,
|
|
38171
39654
|
) -> vpc_20160428_models.ModifyRouterInterfaceSpecResponse:
|
|
38172
39655
|
"""
|
|
38173
|
-
|
|
38174
|
-
After you call this operation, the router interface enters the **Activating** state. After the router interface is activated, the router interface enters the **Active** state.
|
|
39656
|
+
After you call this operation, the router interface enters the *Activating** state. After the router interface is activated, the router interface enters the **Active** state.
|
|
38175
39657
|
> You cannot modify the specification of a router interface that has overdue payments.
|
|
38176
39658
|
|
|
38177
39659
|
@param request: ModifyRouterInterfaceSpecRequest
|
|
@@ -38220,8 +39702,7 @@ class Client(OpenApiClient):
|
|
|
38220
39702
|
request: vpc_20160428_models.ModifyRouterInterfaceSpecRequest,
|
|
38221
39703
|
) -> vpc_20160428_models.ModifyRouterInterfaceSpecResponse:
|
|
38222
39704
|
"""
|
|
38223
|
-
|
|
38224
|
-
After you call this operation, the router interface enters the **Activating** state. After the router interface is activated, the router interface enters the **Active** state.
|
|
39705
|
+
After you call this operation, the router interface enters the *Activating** state. After the router interface is activated, the router interface enters the **Active** state.
|
|
38225
39706
|
> You cannot modify the specification of a router interface that has overdue payments.
|
|
38226
39707
|
|
|
38227
39708
|
@param request: ModifyRouterInterfaceSpecRequest
|
|
@@ -38235,8 +39716,7 @@ class Client(OpenApiClient):
|
|
|
38235
39716
|
request: vpc_20160428_models.ModifyRouterInterfaceSpecRequest,
|
|
38236
39717
|
) -> vpc_20160428_models.ModifyRouterInterfaceSpecResponse:
|
|
38237
39718
|
"""
|
|
38238
|
-
|
|
38239
|
-
After you call this operation, the router interface enters the **Activating** state. After the router interface is activated, the router interface enters the **Active** state.
|
|
39719
|
+
After you call this operation, the router interface enters the *Activating** state. After the router interface is activated, the router interface enters the **Active** state.
|
|
38240
39720
|
> You cannot modify the specification of a router interface that has overdue payments.
|
|
38241
39721
|
|
|
38242
39722
|
@param request: ModifyRouterInterfaceSpecRequest
|
|
@@ -39683,10 +41163,10 @@ class Client(OpenApiClient):
|
|
|
39683
41163
|
runtime: util_models.RuntimeOptions,
|
|
39684
41164
|
) -> vpc_20160428_models.ModifyVpcPrefixListResponse:
|
|
39685
41165
|
"""
|
|
39686
|
-
|
|
41166
|
+
**ModifyVpcPrefixList** 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 [ListPrefixLists](~~311535~~) to query the status of the task.
|
|
39687
41167
|
* If the prefix list is in the **Modifying** state, the configuration of the prefix list is being modified.
|
|
39688
41168
|
* If the prefix list is in the **Created** state, the configuration of the prefix list is modified.
|
|
39689
|
-
* After the configuration of the prefix list is modified, you can call the [GetVpcPrefixListAssociations](~~445478~~) operation to query information about the network instances that are associated with the prefix list and determine whether the associated network instances use the new CIDR blocks. If the association **status** of the prefix list is **Created**, the new CIDR blocks are used by the network instances that are associated with the prefix list.
|
|
41169
|
+
* After the configuration of the prefix list is modified, you can call the [GetVpcPrefixListAssociations](~~445478~~) operation to query the information about the network instances that are associated with the prefix list and determine whether the associated network instances use the new CIDR blocks. If the association **status** of the prefix list is **Created**, the new CIDR blocks are used by the network instances that are associated with the prefix list.
|
|
39690
41170
|
* You cannot repeatedly call **ModifyVpcPrefixList** to modify the configuration of a prefix list within the specified period of time.
|
|
39691
41171
|
|
|
39692
41172
|
@param request: ModifyVpcPrefixListRequest
|
|
@@ -39746,10 +41226,10 @@ class Client(OpenApiClient):
|
|
|
39746
41226
|
runtime: util_models.RuntimeOptions,
|
|
39747
41227
|
) -> vpc_20160428_models.ModifyVpcPrefixListResponse:
|
|
39748
41228
|
"""
|
|
39749
|
-
|
|
41229
|
+
**ModifyVpcPrefixList** 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 [ListPrefixLists](~~311535~~) to query the status of the task.
|
|
39750
41230
|
* If the prefix list is in the **Modifying** state, the configuration of the prefix list is being modified.
|
|
39751
41231
|
* If the prefix list is in the **Created** state, the configuration of the prefix list is modified.
|
|
39752
|
-
* After the configuration of the prefix list is modified, you can call the [GetVpcPrefixListAssociations](~~445478~~) operation to query information about the network instances that are associated with the prefix list and determine whether the associated network instances use the new CIDR blocks. If the association **status** of the prefix list is **Created**, the new CIDR blocks are used by the network instances that are associated with the prefix list.
|
|
41232
|
+
* After the configuration of the prefix list is modified, you can call the [GetVpcPrefixListAssociations](~~445478~~) operation to query the information about the network instances that are associated with the prefix list and determine whether the associated network instances use the new CIDR blocks. If the association **status** of the prefix list is **Created**, the new CIDR blocks are used by the network instances that are associated with the prefix list.
|
|
39753
41233
|
* You cannot repeatedly call **ModifyVpcPrefixList** to modify the configuration of a prefix list within the specified period of time.
|
|
39754
41234
|
|
|
39755
41235
|
@param request: ModifyVpcPrefixListRequest
|
|
@@ -39808,10 +41288,10 @@ class Client(OpenApiClient):
|
|
|
39808
41288
|
request: vpc_20160428_models.ModifyVpcPrefixListRequest,
|
|
39809
41289
|
) -> vpc_20160428_models.ModifyVpcPrefixListResponse:
|
|
39810
41290
|
"""
|
|
39811
|
-
|
|
41291
|
+
**ModifyVpcPrefixList** 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 [ListPrefixLists](~~311535~~) to query the status of the task.
|
|
39812
41292
|
* If the prefix list is in the **Modifying** state, the configuration of the prefix list is being modified.
|
|
39813
41293
|
* If the prefix list is in the **Created** state, the configuration of the prefix list is modified.
|
|
39814
|
-
* After the configuration of the prefix list is modified, you can call the [GetVpcPrefixListAssociations](~~445478~~) operation to query information about the network instances that are associated with the prefix list and determine whether the associated network instances use the new CIDR blocks. If the association **status** of the prefix list is **Created**, the new CIDR blocks are used by the network instances that are associated with the prefix list.
|
|
41294
|
+
* After the configuration of the prefix list is modified, you can call the [GetVpcPrefixListAssociations](~~445478~~) operation to query the information about the network instances that are associated with the prefix list and determine whether the associated network instances use the new CIDR blocks. If the association **status** of the prefix list is **Created**, the new CIDR blocks are used by the network instances that are associated with the prefix list.
|
|
39815
41295
|
* You cannot repeatedly call **ModifyVpcPrefixList** to modify the configuration of a prefix list within the specified period of time.
|
|
39816
41296
|
|
|
39817
41297
|
@param request: ModifyVpcPrefixListRequest
|
|
@@ -39825,10 +41305,10 @@ class Client(OpenApiClient):
|
|
|
39825
41305
|
request: vpc_20160428_models.ModifyVpcPrefixListRequest,
|
|
39826
41306
|
) -> vpc_20160428_models.ModifyVpcPrefixListResponse:
|
|
39827
41307
|
"""
|
|
39828
|
-
|
|
41308
|
+
**ModifyVpcPrefixList** 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 [ListPrefixLists](~~311535~~) to query the status of the task.
|
|
39829
41309
|
* If the prefix list is in the **Modifying** state, the configuration of the prefix list is being modified.
|
|
39830
41310
|
* If the prefix list is in the **Created** state, the configuration of the prefix list is modified.
|
|
39831
|
-
* After the configuration of the prefix list is modified, you can call the [GetVpcPrefixListAssociations](~~445478~~) operation to query information about the network instances that are associated with the prefix list and determine whether the associated network instances use the new CIDR blocks. If the association **status** of the prefix list is **Created**, the new CIDR blocks are used by the network instances that are associated with the prefix list.
|
|
41311
|
+
* After the configuration of the prefix list is modified, you can call the [GetVpcPrefixListAssociations](~~445478~~) operation to query the information about the network instances that are associated with the prefix list and determine whether the associated network instances use the new CIDR blocks. If the association **status** of the prefix list is **Created**, the new CIDR blocks are used by the network instances that are associated with the prefix list.
|
|
39832
41312
|
* You cannot repeatedly call **ModifyVpcPrefixList** to modify the configuration of a prefix list within the specified period of time.
|
|
39833
41313
|
|
|
39834
41314
|
@param request: ModifyVpcPrefixListRequest
|
|
@@ -41793,7 +43273,7 @@ class Client(OpenApiClient):
|
|
|
41793
43273
|
runtime: util_models.RuntimeOptions,
|
|
41794
43274
|
) -> vpc_20160428_models.RecoverVirtualBorderRouterResponse:
|
|
41795
43275
|
"""
|
|
41796
|
-
After
|
|
43276
|
+
After you call this operation, the VBR changes from the *terminated** state to the **recovering** state. After the operation is performed, the VBR enters the **active** state.
|
|
41797
43277
|
When you call this operation, take note of the following items:
|
|
41798
43278
|
* Only the owner of the Express Connect circuit can call this operation.
|
|
41799
43279
|
* The Express Connect circuit to which the VBR connects must be in the **Enabled** state.
|
|
@@ -41843,7 +43323,7 @@ class Client(OpenApiClient):
|
|
|
41843
43323
|
runtime: util_models.RuntimeOptions,
|
|
41844
43324
|
) -> vpc_20160428_models.RecoverVirtualBorderRouterResponse:
|
|
41845
43325
|
"""
|
|
41846
|
-
After
|
|
43326
|
+
After you call this operation, the VBR changes from the *terminated** state to the **recovering** state. After the operation is performed, the VBR enters the **active** state.
|
|
41847
43327
|
When you call this operation, take note of the following items:
|
|
41848
43328
|
* Only the owner of the Express Connect circuit can call this operation.
|
|
41849
43329
|
* The Express Connect circuit to which the VBR connects must be in the **Enabled** state.
|
|
@@ -41892,7 +43372,7 @@ class Client(OpenApiClient):
|
|
|
41892
43372
|
request: vpc_20160428_models.RecoverVirtualBorderRouterRequest,
|
|
41893
43373
|
) -> vpc_20160428_models.RecoverVirtualBorderRouterResponse:
|
|
41894
43374
|
"""
|
|
41895
|
-
After
|
|
43375
|
+
After you call this operation, the VBR changes from the *terminated** state to the **recovering** state. After the operation is performed, the VBR enters the **active** state.
|
|
41896
43376
|
When you call this operation, take note of the following items:
|
|
41897
43377
|
* Only the owner of the Express Connect circuit can call this operation.
|
|
41898
43378
|
* The Express Connect circuit to which the VBR connects must be in the **Enabled** state.
|
|
@@ -41908,7 +43388,7 @@ class Client(OpenApiClient):
|
|
|
41908
43388
|
request: vpc_20160428_models.RecoverVirtualBorderRouterRequest,
|
|
41909
43389
|
) -> vpc_20160428_models.RecoverVirtualBorderRouterResponse:
|
|
41910
43390
|
"""
|
|
41911
|
-
After
|
|
43391
|
+
After you call this operation, the VBR changes from the *terminated** state to the **recovering** state. After the operation is performed, the VBR enters the **active** state.
|
|
41912
43392
|
When you call this operation, take note of the following items:
|
|
41913
43393
|
* Only the owner of the Express Connect circuit can call this operation.
|
|
41914
43394
|
* The Express Connect circuit to which the VBR connects must be in the **Enabled** state.
|
|
@@ -44137,7 +45617,7 @@ class Client(OpenApiClient):
|
|
|
44137
45617
|
runtime: util_models.RuntimeOptions,
|
|
44138
45618
|
) -> vpc_20160428_models.TerminateVirtualBorderRouterResponse:
|
|
44139
45619
|
"""
|
|
44140
|
-
After
|
|
45620
|
+
After you call this operation, the VBR enters the *terminating** state from the **active** state. After the VBR is terminated, the VBR enters the **terminated** state.
|
|
44141
45621
|
> Only the owner of an Express Connect circuit can call this operation.
|
|
44142
45622
|
|
|
44143
45623
|
@param request: TerminateVirtualBorderRouterRequest
|
|
@@ -44185,7 +45665,7 @@ class Client(OpenApiClient):
|
|
|
44185
45665
|
runtime: util_models.RuntimeOptions,
|
|
44186
45666
|
) -> vpc_20160428_models.TerminateVirtualBorderRouterResponse:
|
|
44187
45667
|
"""
|
|
44188
|
-
After
|
|
45668
|
+
After you call this operation, the VBR enters the *terminating** state from the **active** state. After the VBR is terminated, the VBR enters the **terminated** state.
|
|
44189
45669
|
> Only the owner of an Express Connect circuit can call this operation.
|
|
44190
45670
|
|
|
44191
45671
|
@param request: TerminateVirtualBorderRouterRequest
|
|
@@ -44232,7 +45712,7 @@ class Client(OpenApiClient):
|
|
|
44232
45712
|
request: vpc_20160428_models.TerminateVirtualBorderRouterRequest,
|
|
44233
45713
|
) -> vpc_20160428_models.TerminateVirtualBorderRouterResponse:
|
|
44234
45714
|
"""
|
|
44235
|
-
After
|
|
45715
|
+
After you call this operation, the VBR enters the *terminating** state from the **active** state. After the VBR is terminated, the VBR enters the **terminated** state.
|
|
44236
45716
|
> Only the owner of an Express Connect circuit can call this operation.
|
|
44237
45717
|
|
|
44238
45718
|
@param request: TerminateVirtualBorderRouterRequest
|
|
@@ -44246,7 +45726,7 @@ class Client(OpenApiClient):
|
|
|
44246
45726
|
request: vpc_20160428_models.TerminateVirtualBorderRouterRequest,
|
|
44247
45727
|
) -> vpc_20160428_models.TerminateVirtualBorderRouterResponse:
|
|
44248
45728
|
"""
|
|
44249
|
-
After
|
|
45729
|
+
After you call this operation, the VBR enters the *terminating** state from the **active** state. After the VBR is terminated, the VBR enters the **terminated** state.
|
|
44250
45730
|
> Only the owner of an Express Connect circuit can call this operation.
|
|
44251
45731
|
|
|
44252
45732
|
@param request: TerminateVirtualBorderRouterRequest
|