@alicloud/vpc20160428 6.0.1 → 6.1.0

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.
package/dist/client.js CHANGED
@@ -1552,6 +1552,7 @@ class AssociateRouteTableWithGatewayRequest extends $tea.Model {
1552
1552
  clientToken: 'ClientToken',
1553
1553
  dryRun: 'DryRun',
1554
1554
  gatewayId: 'GatewayId',
1555
+ gatewayType: 'GatewayType',
1555
1556
  ownerAccount: 'OwnerAccount',
1556
1557
  ownerId: 'OwnerId',
1557
1558
  regionId: 'RegionId',
@@ -1565,6 +1566,7 @@ class AssociateRouteTableWithGatewayRequest extends $tea.Model {
1565
1566
  clientToken: 'string',
1566
1567
  dryRun: 'boolean',
1567
1568
  gatewayId: 'string',
1569
+ gatewayType: 'string',
1568
1570
  ownerAccount: 'string',
1569
1571
  ownerId: 'number',
1570
1572
  regionId: 'string',
@@ -3221,6 +3223,80 @@ class CreateExpressCloudConnectionResponse extends $tea.Model {
3221
3223
  }
3222
3224
  }
3223
3225
  exports.CreateExpressCloudConnectionResponse = CreateExpressCloudConnectionResponse;
3226
+ class CreateFailoverTestJobRequest extends $tea.Model {
3227
+ constructor(map) {
3228
+ super(map);
3229
+ }
3230
+ static names() {
3231
+ return {
3232
+ clientToken: 'ClientToken',
3233
+ description: 'Description',
3234
+ jobDuration: 'JobDuration',
3235
+ jobType: 'JobType',
3236
+ name: 'Name',
3237
+ ownerAccount: 'OwnerAccount',
3238
+ ownerId: 'OwnerId',
3239
+ regionId: 'RegionId',
3240
+ resourceId: 'ResourceId',
3241
+ resourceOwnerAccount: 'ResourceOwnerAccount',
3242
+ resourceType: 'ResourceType',
3243
+ };
3244
+ }
3245
+ static types() {
3246
+ return {
3247
+ clientToken: 'string',
3248
+ description: 'string',
3249
+ jobDuration: 'number',
3250
+ jobType: 'string',
3251
+ name: 'string',
3252
+ ownerAccount: 'string',
3253
+ ownerId: 'number',
3254
+ regionId: 'string',
3255
+ resourceId: { 'type': 'array', 'itemType': 'string' },
3256
+ resourceOwnerAccount: 'string',
3257
+ resourceType: 'string',
3258
+ };
3259
+ }
3260
+ }
3261
+ exports.CreateFailoverTestJobRequest = CreateFailoverTestJobRequest;
3262
+ class CreateFailoverTestJobResponseBody extends $tea.Model {
3263
+ constructor(map) {
3264
+ super(map);
3265
+ }
3266
+ static names() {
3267
+ return {
3268
+ jobId: 'JobId',
3269
+ requestId: 'RequestId',
3270
+ };
3271
+ }
3272
+ static types() {
3273
+ return {
3274
+ jobId: 'string',
3275
+ requestId: 'string',
3276
+ };
3277
+ }
3278
+ }
3279
+ exports.CreateFailoverTestJobResponseBody = CreateFailoverTestJobResponseBody;
3280
+ class CreateFailoverTestJobResponse extends $tea.Model {
3281
+ constructor(map) {
3282
+ super(map);
3283
+ }
3284
+ static names() {
3285
+ return {
3286
+ headers: 'headers',
3287
+ statusCode: 'statusCode',
3288
+ body: 'body',
3289
+ };
3290
+ }
3291
+ static types() {
3292
+ return {
3293
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3294
+ statusCode: 'number',
3295
+ body: CreateFailoverTestJobResponseBody,
3296
+ };
3297
+ }
3298
+ }
3299
+ exports.CreateFailoverTestJobResponse = CreateFailoverTestJobResponse;
3224
3300
  class CreateFlowLogRequest extends $tea.Model {
3225
3301
  constructor(map) {
3226
3302
  super(map);
@@ -5797,6 +5873,88 @@ class CreateVSwitchResponse extends $tea.Model {
5797
5873
  }
5798
5874
  }
5799
5875
  exports.CreateVSwitchResponse = CreateVSwitchResponse;
5876
+ class CreateVSwitchCidrReservationRequest extends $tea.Model {
5877
+ constructor(map) {
5878
+ super(map);
5879
+ }
5880
+ static names() {
5881
+ return {
5882
+ clientToken: 'ClientToken',
5883
+ dryRun: 'DryRun',
5884
+ ipVersion: 'IpVersion',
5885
+ ownerAccount: 'OwnerAccount',
5886
+ ownerId: 'OwnerId',
5887
+ regionId: 'RegionId',
5888
+ resourceOwnerAccount: 'ResourceOwnerAccount',
5889
+ resourceOwnerId: 'ResourceOwnerId',
5890
+ tag: 'Tag',
5891
+ vSwitchCidrReservationCidr: 'VSwitchCidrReservationCidr',
5892
+ vSwitchCidrReservationDescription: 'VSwitchCidrReservationDescription',
5893
+ vSwitchCidrReservationMask: 'VSwitchCidrReservationMask',
5894
+ vSwitchCidrReservationName: 'VSwitchCidrReservationName',
5895
+ vSwitchCidrReservationType: 'VSwitchCidrReservationType',
5896
+ vSwitchId: 'VSwitchId',
5897
+ };
5898
+ }
5899
+ static types() {
5900
+ return {
5901
+ clientToken: 'string',
5902
+ dryRun: 'boolean',
5903
+ ipVersion: 'string',
5904
+ ownerAccount: 'string',
5905
+ ownerId: 'number',
5906
+ regionId: 'string',
5907
+ resourceOwnerAccount: 'string',
5908
+ resourceOwnerId: 'number',
5909
+ tag: { 'type': 'array', 'itemType': CreateVSwitchCidrReservationRequestTag },
5910
+ vSwitchCidrReservationCidr: 'string',
5911
+ vSwitchCidrReservationDescription: 'string',
5912
+ vSwitchCidrReservationMask: 'string',
5913
+ vSwitchCidrReservationName: 'string',
5914
+ vSwitchCidrReservationType: 'string',
5915
+ vSwitchId: 'string',
5916
+ };
5917
+ }
5918
+ }
5919
+ exports.CreateVSwitchCidrReservationRequest = CreateVSwitchCidrReservationRequest;
5920
+ class CreateVSwitchCidrReservationResponseBody extends $tea.Model {
5921
+ constructor(map) {
5922
+ super(map);
5923
+ }
5924
+ static names() {
5925
+ return {
5926
+ requestId: 'RequestId',
5927
+ vSwitchCidrReservationId: 'VSwitchCidrReservationId',
5928
+ };
5929
+ }
5930
+ static types() {
5931
+ return {
5932
+ requestId: 'string',
5933
+ vSwitchCidrReservationId: 'string',
5934
+ };
5935
+ }
5936
+ }
5937
+ exports.CreateVSwitchCidrReservationResponseBody = CreateVSwitchCidrReservationResponseBody;
5938
+ class CreateVSwitchCidrReservationResponse extends $tea.Model {
5939
+ constructor(map) {
5940
+ super(map);
5941
+ }
5942
+ static names() {
5943
+ return {
5944
+ headers: 'headers',
5945
+ statusCode: 'statusCode',
5946
+ body: 'body',
5947
+ };
5948
+ }
5949
+ static types() {
5950
+ return {
5951
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5952
+ statusCode: 'number',
5953
+ body: CreateVSwitchCidrReservationResponseBody,
5954
+ };
5955
+ }
5956
+ }
5957
+ exports.CreateVSwitchCidrReservationResponse = CreateVSwitchCidrReservationResponse;
5800
5958
  class CreateVbrHaRequest extends $tea.Model {
5801
5959
  constructor(map) {
5802
5960
  super(map);
@@ -7461,6 +7619,68 @@ class DeleteDhcpOptionsSetResponse extends $tea.Model {
7461
7619
  }
7462
7620
  }
7463
7621
  exports.DeleteDhcpOptionsSetResponse = DeleteDhcpOptionsSetResponse;
7622
+ class DeleteFailoverTestJobRequest extends $tea.Model {
7623
+ constructor(map) {
7624
+ super(map);
7625
+ }
7626
+ static names() {
7627
+ return {
7628
+ clientToken: 'ClientToken',
7629
+ jobId: 'JobId',
7630
+ ownerAccount: 'OwnerAccount',
7631
+ ownerId: 'OwnerId',
7632
+ regionId: 'RegionId',
7633
+ resourceOwnerAccount: 'ResourceOwnerAccount',
7634
+ };
7635
+ }
7636
+ static types() {
7637
+ return {
7638
+ clientToken: 'string',
7639
+ jobId: 'string',
7640
+ ownerAccount: 'string',
7641
+ ownerId: 'number',
7642
+ regionId: 'string',
7643
+ resourceOwnerAccount: 'string',
7644
+ };
7645
+ }
7646
+ }
7647
+ exports.DeleteFailoverTestJobRequest = DeleteFailoverTestJobRequest;
7648
+ class DeleteFailoverTestJobResponseBody extends $tea.Model {
7649
+ constructor(map) {
7650
+ super(map);
7651
+ }
7652
+ static names() {
7653
+ return {
7654
+ requestId: 'RequestId',
7655
+ };
7656
+ }
7657
+ static types() {
7658
+ return {
7659
+ requestId: 'string',
7660
+ };
7661
+ }
7662
+ }
7663
+ exports.DeleteFailoverTestJobResponseBody = DeleteFailoverTestJobResponseBody;
7664
+ class DeleteFailoverTestJobResponse extends $tea.Model {
7665
+ constructor(map) {
7666
+ super(map);
7667
+ }
7668
+ static names() {
7669
+ return {
7670
+ headers: 'headers',
7671
+ statusCode: 'statusCode',
7672
+ body: 'body',
7673
+ };
7674
+ }
7675
+ static types() {
7676
+ return {
7677
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7678
+ statusCode: 'number',
7679
+ body: DeleteFailoverTestJobResponseBody,
7680
+ };
7681
+ }
7682
+ }
7683
+ exports.DeleteFailoverTestJobResponse = DeleteFailoverTestJobResponse;
7464
7684
  class DeleteFlowLogRequest extends $tea.Model {
7465
7685
  constructor(map) {
7466
7686
  super(map);
@@ -11277,6 +11497,146 @@ class DescribeEipSegmentResponse extends $tea.Model {
11277
11497
  }
11278
11498
  }
11279
11499
  exports.DescribeEipSegmentResponse = DescribeEipSegmentResponse;
11500
+ class DescribeFailoverTestJobRequest extends $tea.Model {
11501
+ constructor(map) {
11502
+ super(map);
11503
+ }
11504
+ static names() {
11505
+ return {
11506
+ clientToken: 'ClientToken',
11507
+ jobId: 'JobId',
11508
+ ownerAccount: 'OwnerAccount',
11509
+ ownerId: 'OwnerId',
11510
+ regionId: 'RegionId',
11511
+ resourceOwnerAccount: 'ResourceOwnerAccount',
11512
+ };
11513
+ }
11514
+ static types() {
11515
+ return {
11516
+ clientToken: 'string',
11517
+ jobId: 'string',
11518
+ ownerAccount: 'string',
11519
+ ownerId: 'number',
11520
+ regionId: 'string',
11521
+ resourceOwnerAccount: 'string',
11522
+ };
11523
+ }
11524
+ }
11525
+ exports.DescribeFailoverTestJobRequest = DescribeFailoverTestJobRequest;
11526
+ class DescribeFailoverTestJobResponseBody extends $tea.Model {
11527
+ constructor(map) {
11528
+ super(map);
11529
+ }
11530
+ static names() {
11531
+ return {
11532
+ failoverTestJobModel: 'FailoverTestJobModel',
11533
+ requestId: 'RequestId',
11534
+ };
11535
+ }
11536
+ static types() {
11537
+ return {
11538
+ failoverTestJobModel: DescribeFailoverTestJobResponseBodyFailoverTestJobModel,
11539
+ requestId: 'string',
11540
+ };
11541
+ }
11542
+ }
11543
+ exports.DescribeFailoverTestJobResponseBody = DescribeFailoverTestJobResponseBody;
11544
+ class DescribeFailoverTestJobResponse extends $tea.Model {
11545
+ constructor(map) {
11546
+ super(map);
11547
+ }
11548
+ static names() {
11549
+ return {
11550
+ headers: 'headers',
11551
+ statusCode: 'statusCode',
11552
+ body: 'body',
11553
+ };
11554
+ }
11555
+ static types() {
11556
+ return {
11557
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11558
+ statusCode: 'number',
11559
+ body: DescribeFailoverTestJobResponseBody,
11560
+ };
11561
+ }
11562
+ }
11563
+ exports.DescribeFailoverTestJobResponse = DescribeFailoverTestJobResponse;
11564
+ class DescribeFailoverTestJobsRequest extends $tea.Model {
11565
+ constructor(map) {
11566
+ super(map);
11567
+ }
11568
+ static names() {
11569
+ return {
11570
+ clientToken: 'ClientToken',
11571
+ filter: 'Filter',
11572
+ maxResults: 'MaxResults',
11573
+ nextToken: 'NextToken',
11574
+ ownerAccount: 'OwnerAccount',
11575
+ ownerId: 'OwnerId',
11576
+ regionId: 'RegionId',
11577
+ resourceOwnerAccount: 'ResourceOwnerAccount',
11578
+ };
11579
+ }
11580
+ static types() {
11581
+ return {
11582
+ clientToken: 'string',
11583
+ filter: { 'type': 'array', 'itemType': DescribeFailoverTestJobsRequestFilter },
11584
+ maxResults: 'number',
11585
+ nextToken: 'string',
11586
+ ownerAccount: 'string',
11587
+ ownerId: 'number',
11588
+ regionId: 'string',
11589
+ resourceOwnerAccount: 'string',
11590
+ };
11591
+ }
11592
+ }
11593
+ exports.DescribeFailoverTestJobsRequest = DescribeFailoverTestJobsRequest;
11594
+ class DescribeFailoverTestJobsResponseBody extends $tea.Model {
11595
+ constructor(map) {
11596
+ super(map);
11597
+ }
11598
+ static names() {
11599
+ return {
11600
+ count: 'Count',
11601
+ failoverTestJobList: 'FailoverTestJobList',
11602
+ maxResults: 'MaxResults',
11603
+ nextToken: 'NextToken',
11604
+ requestId: 'RequestId',
11605
+ totalCount: 'TotalCount',
11606
+ };
11607
+ }
11608
+ static types() {
11609
+ return {
11610
+ count: 'number',
11611
+ failoverTestJobList: { 'type': 'array', 'itemType': DescribeFailoverTestJobsResponseBodyFailoverTestJobList },
11612
+ maxResults: 'number',
11613
+ nextToken: 'string',
11614
+ requestId: 'string',
11615
+ totalCount: 'number',
11616
+ };
11617
+ }
11618
+ }
11619
+ exports.DescribeFailoverTestJobsResponseBody = DescribeFailoverTestJobsResponseBody;
11620
+ class DescribeFailoverTestJobsResponse extends $tea.Model {
11621
+ constructor(map) {
11622
+ super(map);
11623
+ }
11624
+ static names() {
11625
+ return {
11626
+ headers: 'headers',
11627
+ statusCode: 'statusCode',
11628
+ body: 'body',
11629
+ };
11630
+ }
11631
+ static types() {
11632
+ return {
11633
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11634
+ statusCode: 'number',
11635
+ body: DescribeFailoverTestJobsResponseBody,
11636
+ };
11637
+ }
11638
+ }
11639
+ exports.DescribeFailoverTestJobsResponse = DescribeFailoverTestJobsResponse;
11280
11640
  class DescribeFlowLogsRequest extends $tea.Model {
11281
11641
  constructor(map) {
11282
11642
  super(map);
@@ -12142,8 +12502,10 @@ class DescribeIpv6AddressesRequest extends $tea.Model {
12142
12502
  pageNumber: 'PageNumber',
12143
12503
  pageSize: 'PageSize',
12144
12504
  regionId: 'RegionId',
12505
+ resourceGroupId: 'ResourceGroupId',
12145
12506
  resourceOwnerAccount: 'ResourceOwnerAccount',
12146
12507
  resourceOwnerId: 'ResourceOwnerId',
12508
+ tag: 'Tag',
12147
12509
  vSwitchId: 'VSwitchId',
12148
12510
  vpcId: 'VpcId',
12149
12511
  };
@@ -12163,8 +12525,10 @@ class DescribeIpv6AddressesRequest extends $tea.Model {
12163
12525
  pageNumber: 'number',
12164
12526
  pageSize: 'number',
12165
12527
  regionId: 'string',
12528
+ resourceGroupId: 'string',
12166
12529
  resourceOwnerAccount: 'string',
12167
12530
  resourceOwnerId: 'number',
12531
+ tag: { 'type': 'array', 'itemType': DescribeIpv6AddressesRequestTag },
12168
12532
  vSwitchId: 'string',
12169
12533
  vpcId: 'string',
12170
12534
  };
@@ -12333,6 +12697,7 @@ class DescribeIpv6GatewayAttributeResponseBody extends $tea.Model {
12333
12697
  creationTime: 'CreationTime',
12334
12698
  description: 'Description',
12335
12699
  expiredTime: 'ExpiredTime',
12700
+ gatewayRouteTableId: 'GatewayRouteTableId',
12336
12701
  instanceChargeType: 'InstanceChargeType',
12337
12702
  ipv6GatewayId: 'Ipv6GatewayId',
12338
12703
  name: 'Name',
@@ -12350,6 +12715,7 @@ class DescribeIpv6GatewayAttributeResponseBody extends $tea.Model {
12350
12715
  creationTime: 'string',
12351
12716
  description: 'string',
12352
12717
  expiredTime: 'string',
12718
+ gatewayRouteTableId: 'string',
12353
12719
  instanceChargeType: 'string',
12354
12720
  ipv6GatewayId: 'string',
12355
12721
  name: 'string',
@@ -16168,6 +16534,7 @@ class DissociateRouteTableFromGatewayRequest extends $tea.Model {
16168
16534
  clientToken: 'ClientToken',
16169
16535
  dryRun: 'DryRun',
16170
16536
  gatewayId: 'GatewayId',
16537
+ gatewayType: 'GatewayType',
16171
16538
  ownerAccount: 'OwnerAccount',
16172
16539
  ownerId: 'OwnerId',
16173
16540
  regionId: 'RegionId',
@@ -16181,6 +16548,7 @@ class DissociateRouteTableFromGatewayRequest extends $tea.Model {
16181
16548
  clientToken: 'string',
16182
16549
  dryRun: 'boolean',
16183
16550
  gatewayId: 'string',
16551
+ gatewayType: 'string',
16184
16552
  ownerAccount: 'string',
16185
16553
  ownerId: 'number',
16186
16554
  regionId: 'string',
@@ -17133,6 +17501,80 @@ class GetTrafficMirrorServiceStatusResponse extends $tea.Model {
17133
17501
  }
17134
17502
  }
17135
17503
  exports.GetTrafficMirrorServiceStatusResponse = GetTrafficMirrorServiceStatusResponse;
17504
+ class GetVSwitchCidrReservationUsageRequest extends $tea.Model {
17505
+ constructor(map) {
17506
+ super(map);
17507
+ }
17508
+ static names() {
17509
+ return {
17510
+ maxResults: 'MaxResults',
17511
+ nextToken: 'NextToken',
17512
+ ownerAccount: 'OwnerAccount',
17513
+ ownerId: 'OwnerId',
17514
+ regionId: 'RegionId',
17515
+ resourceOwnerAccount: 'ResourceOwnerAccount',
17516
+ resourceOwnerId: 'ResourceOwnerId',
17517
+ vSwitchCidrReservationId: 'VSwitchCidrReservationId',
17518
+ };
17519
+ }
17520
+ static types() {
17521
+ return {
17522
+ maxResults: 'number',
17523
+ nextToken: 'string',
17524
+ ownerAccount: 'string',
17525
+ ownerId: 'number',
17526
+ regionId: 'string',
17527
+ resourceOwnerAccount: 'string',
17528
+ resourceOwnerId: 'number',
17529
+ vSwitchCidrReservationId: 'string',
17530
+ };
17531
+ }
17532
+ }
17533
+ exports.GetVSwitchCidrReservationUsageRequest = GetVSwitchCidrReservationUsageRequest;
17534
+ class GetVSwitchCidrReservationUsageResponseBody extends $tea.Model {
17535
+ constructor(map) {
17536
+ super(map);
17537
+ }
17538
+ static names() {
17539
+ return {
17540
+ cidrReservationUsages: 'CidrReservationUsages',
17541
+ maxResults: 'MaxResults',
17542
+ nextToken: 'NextToken',
17543
+ requestId: 'RequestId',
17544
+ totalCount: 'TotalCount',
17545
+ };
17546
+ }
17547
+ static types() {
17548
+ return {
17549
+ cidrReservationUsages: { 'type': 'array', 'itemType': GetVSwitchCidrReservationUsageResponseBodyCidrReservationUsages },
17550
+ maxResults: 'number',
17551
+ nextToken: 'string',
17552
+ requestId: 'string',
17553
+ totalCount: 'number',
17554
+ };
17555
+ }
17556
+ }
17557
+ exports.GetVSwitchCidrReservationUsageResponseBody = GetVSwitchCidrReservationUsageResponseBody;
17558
+ class GetVSwitchCidrReservationUsageResponse extends $tea.Model {
17559
+ constructor(map) {
17560
+ super(map);
17561
+ }
17562
+ static names() {
17563
+ return {
17564
+ headers: 'headers',
17565
+ statusCode: 'statusCode',
17566
+ body: 'body',
17567
+ };
17568
+ }
17569
+ static types() {
17570
+ return {
17571
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
17572
+ statusCode: 'number',
17573
+ body: GetVSwitchCidrReservationUsageResponseBody,
17574
+ };
17575
+ }
17576
+ }
17577
+ exports.GetVSwitchCidrReservationUsageResponse = GetVSwitchCidrReservationUsageResponse;
17136
17578
  class GetVpcGatewayEndpointAttributeRequest extends $tea.Model {
17137
17579
  constructor(map) {
17138
17580
  super(map);
@@ -19023,6 +19465,88 @@ class ListTrafficMirrorSessionsResponse extends $tea.Model {
19023
19465
  }
19024
19466
  }
19025
19467
  exports.ListTrafficMirrorSessionsResponse = ListTrafficMirrorSessionsResponse;
19468
+ class ListVSwitchCidrReservationsRequest extends $tea.Model {
19469
+ constructor(map) {
19470
+ super(map);
19471
+ }
19472
+ static names() {
19473
+ return {
19474
+ ipVersion: 'IpVersion',
19475
+ maxResults: 'MaxResults',
19476
+ nextToken: 'NextToken',
19477
+ ownerAccount: 'OwnerAccount',
19478
+ ownerId: 'OwnerId',
19479
+ regionId: 'RegionId',
19480
+ resourceOwnerAccount: 'ResourceOwnerAccount',
19481
+ resourceOwnerId: 'ResourceOwnerId',
19482
+ tags: 'Tags',
19483
+ vSwitchCidrReservationIds: 'VSwitchCidrReservationIds',
19484
+ vSwitchCidrReservationType: 'VSwitchCidrReservationType',
19485
+ vSwitchId: 'VSwitchId',
19486
+ };
19487
+ }
19488
+ static types() {
19489
+ return {
19490
+ ipVersion: 'string',
19491
+ maxResults: 'number',
19492
+ nextToken: 'string',
19493
+ ownerAccount: 'string',
19494
+ ownerId: 'number',
19495
+ regionId: 'string',
19496
+ resourceOwnerAccount: 'string',
19497
+ resourceOwnerId: 'number',
19498
+ tags: { 'type': 'array', 'itemType': ListVSwitchCidrReservationsRequestTags },
19499
+ vSwitchCidrReservationIds: { 'type': 'array', 'itemType': 'string' },
19500
+ vSwitchCidrReservationType: 'string',
19501
+ vSwitchId: 'string',
19502
+ };
19503
+ }
19504
+ }
19505
+ exports.ListVSwitchCidrReservationsRequest = ListVSwitchCidrReservationsRequest;
19506
+ class ListVSwitchCidrReservationsResponseBody extends $tea.Model {
19507
+ constructor(map) {
19508
+ super(map);
19509
+ }
19510
+ static names() {
19511
+ return {
19512
+ maxResults: 'MaxResults',
19513
+ nextToken: 'NextToken',
19514
+ requestId: 'RequestId',
19515
+ totalCount: 'TotalCount',
19516
+ vSwitchCidrReservations: 'VSwitchCidrReservations',
19517
+ };
19518
+ }
19519
+ static types() {
19520
+ return {
19521
+ maxResults: 'number',
19522
+ nextToken: 'string',
19523
+ requestId: 'string',
19524
+ totalCount: 'number',
19525
+ vSwitchCidrReservations: { 'type': 'array', 'itemType': ListVSwitchCidrReservationsResponseBodyVSwitchCidrReservations },
19526
+ };
19527
+ }
19528
+ }
19529
+ exports.ListVSwitchCidrReservationsResponseBody = ListVSwitchCidrReservationsResponseBody;
19530
+ class ListVSwitchCidrReservationsResponse extends $tea.Model {
19531
+ constructor(map) {
19532
+ super(map);
19533
+ }
19534
+ static names() {
19535
+ return {
19536
+ headers: 'headers',
19537
+ statusCode: 'statusCode',
19538
+ body: 'body',
19539
+ };
19540
+ }
19541
+ static types() {
19542
+ return {
19543
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
19544
+ statusCode: 'number',
19545
+ body: ListVSwitchCidrReservationsResponseBody,
19546
+ };
19547
+ }
19548
+ }
19549
+ exports.ListVSwitchCidrReservationsResponse = ListVSwitchCidrReservationsResponse;
19026
19550
  class ListVirtualPhysicalConnectionsRequest extends $tea.Model {
19027
19551
  constructor(map) {
19028
19552
  super(map);
@@ -22149,6 +22673,72 @@ class ModifyVSwitchAttributeResponse extends $tea.Model {
22149
22673
  }
22150
22674
  }
22151
22675
  exports.ModifyVSwitchAttributeResponse = ModifyVSwitchAttributeResponse;
22676
+ class ModifyVSwitchCidrReservationAttributeRequest extends $tea.Model {
22677
+ constructor(map) {
22678
+ super(map);
22679
+ }
22680
+ static names() {
22681
+ return {
22682
+ ownerAccount: 'OwnerAccount',
22683
+ ownerId: 'OwnerId',
22684
+ regionId: 'RegionId',
22685
+ resourceOwnerAccount: 'ResourceOwnerAccount',
22686
+ resourceOwnerId: 'ResourceOwnerId',
22687
+ vSwitchCidrReservationDescription: 'VSwitchCidrReservationDescription',
22688
+ vSwitchCidrReservationId: 'VSwitchCidrReservationId',
22689
+ vSwitchCidrReservationName: 'VSwitchCidrReservationName',
22690
+ };
22691
+ }
22692
+ static types() {
22693
+ return {
22694
+ ownerAccount: 'string',
22695
+ ownerId: 'number',
22696
+ regionId: 'string',
22697
+ resourceOwnerAccount: 'string',
22698
+ resourceOwnerId: 'number',
22699
+ vSwitchCidrReservationDescription: 'string',
22700
+ vSwitchCidrReservationId: 'string',
22701
+ vSwitchCidrReservationName: 'string',
22702
+ };
22703
+ }
22704
+ }
22705
+ exports.ModifyVSwitchCidrReservationAttributeRequest = ModifyVSwitchCidrReservationAttributeRequest;
22706
+ class ModifyVSwitchCidrReservationAttributeResponseBody extends $tea.Model {
22707
+ constructor(map) {
22708
+ super(map);
22709
+ }
22710
+ static names() {
22711
+ return {
22712
+ requestId: 'RequestId',
22713
+ };
22714
+ }
22715
+ static types() {
22716
+ return {
22717
+ requestId: 'string',
22718
+ };
22719
+ }
22720
+ }
22721
+ exports.ModifyVSwitchCidrReservationAttributeResponseBody = ModifyVSwitchCidrReservationAttributeResponseBody;
22722
+ class ModifyVSwitchCidrReservationAttributeResponse extends $tea.Model {
22723
+ constructor(map) {
22724
+ super(map);
22725
+ }
22726
+ static names() {
22727
+ return {
22728
+ headers: 'headers',
22729
+ statusCode: 'statusCode',
22730
+ body: 'body',
22731
+ };
22732
+ }
22733
+ static types() {
22734
+ return {
22735
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
22736
+ statusCode: 'number',
22737
+ body: ModifyVSwitchCidrReservationAttributeResponseBody,
22738
+ };
22739
+ }
22740
+ }
22741
+ exports.ModifyVSwitchCidrReservationAttributeResponse = ModifyVSwitchCidrReservationAttributeResponse;
22152
22742
  class ModifyVcoRouteEntryWeightRequest extends $tea.Model {
22153
22743
  constructor(map) {
22154
22744
  super(map);
@@ -23207,6 +23797,72 @@ class MoveResourceGroupResponse extends $tea.Model {
23207
23797
  }
23208
23798
  }
23209
23799
  exports.MoveResourceGroupResponse = MoveResourceGroupResponse;
23800
+ class MoveVpnResourceGroupRequest extends $tea.Model {
23801
+ constructor(map) {
23802
+ super(map);
23803
+ }
23804
+ static names() {
23805
+ return {
23806
+ instanceId: 'InstanceId',
23807
+ newResourceGroupId: 'NewResourceGroupId',
23808
+ ownerAccount: 'OwnerAccount',
23809
+ ownerId: 'OwnerId',
23810
+ regionId: 'RegionId',
23811
+ resourceOwnerAccount: 'ResourceOwnerAccount',
23812
+ resourceOwnerId: 'ResourceOwnerId',
23813
+ resourceType: 'ResourceType',
23814
+ };
23815
+ }
23816
+ static types() {
23817
+ return {
23818
+ instanceId: 'string',
23819
+ newResourceGroupId: 'string',
23820
+ ownerAccount: 'string',
23821
+ ownerId: 'number',
23822
+ regionId: 'string',
23823
+ resourceOwnerAccount: 'string',
23824
+ resourceOwnerId: 'number',
23825
+ resourceType: 'string',
23826
+ };
23827
+ }
23828
+ }
23829
+ exports.MoveVpnResourceGroupRequest = MoveVpnResourceGroupRequest;
23830
+ class MoveVpnResourceGroupResponseBody extends $tea.Model {
23831
+ constructor(map) {
23832
+ super(map);
23833
+ }
23834
+ static names() {
23835
+ return {
23836
+ requestId: 'RequestId',
23837
+ };
23838
+ }
23839
+ static types() {
23840
+ return {
23841
+ requestId: 'string',
23842
+ };
23843
+ }
23844
+ }
23845
+ exports.MoveVpnResourceGroupResponseBody = MoveVpnResourceGroupResponseBody;
23846
+ class MoveVpnResourceGroupResponse extends $tea.Model {
23847
+ constructor(map) {
23848
+ super(map);
23849
+ }
23850
+ static names() {
23851
+ return {
23852
+ headers: 'headers',
23853
+ statusCode: 'statusCode',
23854
+ body: 'body',
23855
+ };
23856
+ }
23857
+ static types() {
23858
+ return {
23859
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
23860
+ statusCode: 'number',
23861
+ body: MoveVpnResourceGroupResponseBody,
23862
+ };
23863
+ }
23864
+ }
23865
+ exports.MoveVpnResourceGroupResponse = MoveVpnResourceGroupResponse;
23210
23866
  class OpenFlowLogServiceRequest extends $tea.Model {
23211
23867
  constructor(map) {
23212
23868
  super(map);
@@ -24429,6 +25085,130 @@ class SetHighDefinitionMonitorLogStatusResponse extends $tea.Model {
24429
25085
  }
24430
25086
  }
24431
25087
  exports.SetHighDefinitionMonitorLogStatusResponse = SetHighDefinitionMonitorLogStatusResponse;
25088
+ class StartFailoverTestJobRequest extends $tea.Model {
25089
+ constructor(map) {
25090
+ super(map);
25091
+ }
25092
+ static names() {
25093
+ return {
25094
+ clientToken: 'ClientToken',
25095
+ jobId: 'JobId',
25096
+ ownerAccount: 'OwnerAccount',
25097
+ ownerId: 'OwnerId',
25098
+ regionId: 'RegionId',
25099
+ resourceOwnerAccount: 'ResourceOwnerAccount',
25100
+ };
25101
+ }
25102
+ static types() {
25103
+ return {
25104
+ clientToken: 'string',
25105
+ jobId: 'string',
25106
+ ownerAccount: 'string',
25107
+ ownerId: 'number',
25108
+ regionId: 'string',
25109
+ resourceOwnerAccount: 'string',
25110
+ };
25111
+ }
25112
+ }
25113
+ exports.StartFailoverTestJobRequest = StartFailoverTestJobRequest;
25114
+ class StartFailoverTestJobResponseBody extends $tea.Model {
25115
+ constructor(map) {
25116
+ super(map);
25117
+ }
25118
+ static names() {
25119
+ return {
25120
+ requestId: 'RequestId',
25121
+ };
25122
+ }
25123
+ static types() {
25124
+ return {
25125
+ requestId: 'string',
25126
+ };
25127
+ }
25128
+ }
25129
+ exports.StartFailoverTestJobResponseBody = StartFailoverTestJobResponseBody;
25130
+ class StartFailoverTestJobResponse extends $tea.Model {
25131
+ constructor(map) {
25132
+ super(map);
25133
+ }
25134
+ static names() {
25135
+ return {
25136
+ headers: 'headers',
25137
+ statusCode: 'statusCode',
25138
+ body: 'body',
25139
+ };
25140
+ }
25141
+ static types() {
25142
+ return {
25143
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
25144
+ statusCode: 'number',
25145
+ body: StartFailoverTestJobResponseBody,
25146
+ };
25147
+ }
25148
+ }
25149
+ exports.StartFailoverTestJobResponse = StartFailoverTestJobResponse;
25150
+ class StopFailoverTestJobRequest extends $tea.Model {
25151
+ constructor(map) {
25152
+ super(map);
25153
+ }
25154
+ static names() {
25155
+ return {
25156
+ clientToken: 'ClientToken',
25157
+ jobId: 'JobId',
25158
+ ownerAccount: 'OwnerAccount',
25159
+ ownerId: 'OwnerId',
25160
+ regionId: 'RegionId',
25161
+ resourceOwnerAccount: 'ResourceOwnerAccount',
25162
+ };
25163
+ }
25164
+ static types() {
25165
+ return {
25166
+ clientToken: 'string',
25167
+ jobId: 'string',
25168
+ ownerAccount: 'string',
25169
+ ownerId: 'number',
25170
+ regionId: 'string',
25171
+ resourceOwnerAccount: 'string',
25172
+ };
25173
+ }
25174
+ }
25175
+ exports.StopFailoverTestJobRequest = StopFailoverTestJobRequest;
25176
+ class StopFailoverTestJobResponseBody extends $tea.Model {
25177
+ constructor(map) {
25178
+ super(map);
25179
+ }
25180
+ static names() {
25181
+ return {
25182
+ requestId: 'RequestId',
25183
+ };
25184
+ }
25185
+ static types() {
25186
+ return {
25187
+ requestId: 'string',
25188
+ };
25189
+ }
25190
+ }
25191
+ exports.StopFailoverTestJobResponseBody = StopFailoverTestJobResponseBody;
25192
+ class StopFailoverTestJobResponse extends $tea.Model {
25193
+ constructor(map) {
25194
+ super(map);
25195
+ }
25196
+ static names() {
25197
+ return {
25198
+ headers: 'headers',
25199
+ statusCode: 'statusCode',
25200
+ body: 'body',
25201
+ };
25202
+ }
25203
+ static types() {
25204
+ return {
25205
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
25206
+ statusCode: 'number',
25207
+ body: StopFailoverTestJobResponseBody,
25208
+ };
25209
+ }
25210
+ }
25211
+ exports.StopFailoverTestJobResponse = StopFailoverTestJobResponse;
24432
25212
  class TagResourcesRequest extends $tea.Model {
24433
25213
  constructor(map) {
24434
25214
  super(map);
@@ -25371,6 +26151,76 @@ class UpdateDhcpOptionsSetAttributeResponse extends $tea.Model {
25371
26151
  }
25372
26152
  }
25373
26153
  exports.UpdateDhcpOptionsSetAttributeResponse = UpdateDhcpOptionsSetAttributeResponse;
26154
+ class UpdateFailoverTestJobRequest extends $tea.Model {
26155
+ constructor(map) {
26156
+ super(map);
26157
+ }
26158
+ static names() {
26159
+ return {
26160
+ clientToken: 'ClientToken',
26161
+ description: 'Description',
26162
+ jobDuration: 'JobDuration',
26163
+ jobId: 'JobId',
26164
+ name: 'Name',
26165
+ ownerAccount: 'OwnerAccount',
26166
+ ownerId: 'OwnerId',
26167
+ regionId: 'RegionId',
26168
+ resourceId: 'ResourceId',
26169
+ resourceOwnerAccount: 'ResourceOwnerAccount',
26170
+ };
26171
+ }
26172
+ static types() {
26173
+ return {
26174
+ clientToken: 'string',
26175
+ description: 'string',
26176
+ jobDuration: 'number',
26177
+ jobId: 'string',
26178
+ name: 'string',
26179
+ ownerAccount: 'string',
26180
+ ownerId: 'number',
26181
+ regionId: 'string',
26182
+ resourceId: { 'type': 'array', 'itemType': 'string' },
26183
+ resourceOwnerAccount: 'string',
26184
+ };
26185
+ }
26186
+ }
26187
+ exports.UpdateFailoverTestJobRequest = UpdateFailoverTestJobRequest;
26188
+ class UpdateFailoverTestJobResponseBody extends $tea.Model {
26189
+ constructor(map) {
26190
+ super(map);
26191
+ }
26192
+ static names() {
26193
+ return {
26194
+ requestId: 'RequestId',
26195
+ };
26196
+ }
26197
+ static types() {
26198
+ return {
26199
+ requestId: 'string',
26200
+ };
26201
+ }
26202
+ }
26203
+ exports.UpdateFailoverTestJobResponseBody = UpdateFailoverTestJobResponseBody;
26204
+ class UpdateFailoverTestJobResponse extends $tea.Model {
26205
+ constructor(map) {
26206
+ super(map);
26207
+ }
26208
+ static names() {
26209
+ return {
26210
+ headers: 'headers',
26211
+ statusCode: 'statusCode',
26212
+ body: 'body',
26213
+ };
26214
+ }
26215
+ static types() {
26216
+ return {
26217
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
26218
+ statusCode: 'number',
26219
+ body: UpdateFailoverTestJobResponseBody,
26220
+ };
26221
+ }
26222
+ }
26223
+ exports.UpdateFailoverTestJobResponse = UpdateFailoverTestJobResponse;
25374
26224
  class UpdateGatewayRouteTableEntryAttributeRequest extends $tea.Model {
25375
26225
  constructor(map) {
25376
26226
  super(map);
@@ -25381,6 +26231,7 @@ class UpdateGatewayRouteTableEntryAttributeRequest extends $tea.Model {
25381
26231
  description: 'Description',
25382
26232
  destinationCidrBlock: 'DestinationCidrBlock',
25383
26233
  dryRun: 'DryRun',
26234
+ gatewayRouteTableId: 'GatewayRouteTableId',
25384
26235
  IPv4GatewayRouteTableId: 'IPv4GatewayRouteTableId',
25385
26236
  name: 'Name',
25386
26237
  nextHopId: 'NextHopId',
@@ -25398,6 +26249,7 @@ class UpdateGatewayRouteTableEntryAttributeRequest extends $tea.Model {
25398
26249
  description: 'string',
25399
26250
  destinationCidrBlock: 'string',
25400
26251
  dryRun: 'boolean',
26252
+ gatewayRouteTableId: 'string',
25401
26253
  IPv4GatewayRouteTableId: 'string',
25402
26254
  name: 'string',
25403
26255
  nextHopId: 'string',
@@ -27183,6 +28035,24 @@ class CreateVSwitchRequestTag extends $tea.Model {
27183
28035
  }
27184
28036
  }
27185
28037
  exports.CreateVSwitchRequestTag = CreateVSwitchRequestTag;
28038
+ class CreateVSwitchCidrReservationRequestTag extends $tea.Model {
28039
+ constructor(map) {
28040
+ super(map);
28041
+ }
28042
+ static names() {
28043
+ return {
28044
+ key: 'Key',
28045
+ value: 'Value',
28046
+ };
28047
+ }
28048
+ static types() {
28049
+ return {
28050
+ key: 'string',
28051
+ value: 'string',
28052
+ };
28053
+ }
28054
+ }
28055
+ exports.CreateVSwitchCidrReservationRequestTag = CreateVSwitchCidrReservationRequestTag;
27186
28056
  class CreateVirtualBorderRouterRequestTags extends $tea.Model {
27187
28057
  constructor(map) {
27188
28058
  super(map);
@@ -28455,6 +29325,92 @@ class DescribeEipSegmentResponseBodyEipSegments extends $tea.Model {
28455
29325
  }
28456
29326
  }
28457
29327
  exports.DescribeEipSegmentResponseBodyEipSegments = DescribeEipSegmentResponseBodyEipSegments;
29328
+ class DescribeFailoverTestJobResponseBodyFailoverTestJobModel extends $tea.Model {
29329
+ constructor(map) {
29330
+ super(map);
29331
+ }
29332
+ static names() {
29333
+ return {
29334
+ description: 'Description',
29335
+ jobDuration: 'JobDuration',
29336
+ jobId: 'JobId',
29337
+ jobType: 'JobType',
29338
+ name: 'Name',
29339
+ resourceId: 'ResourceId',
29340
+ resourceType: 'ResourceType',
29341
+ startTime: 'StartTime',
29342
+ status: 'Status',
29343
+ stopTime: 'StopTime',
29344
+ };
29345
+ }
29346
+ static types() {
29347
+ return {
29348
+ description: 'string',
29349
+ jobDuration: 'string',
29350
+ jobId: 'string',
29351
+ jobType: 'string',
29352
+ name: 'string',
29353
+ resourceId: { 'type': 'array', 'itemType': 'string' },
29354
+ resourceType: 'string',
29355
+ startTime: 'string',
29356
+ status: 'string',
29357
+ stopTime: 'string',
29358
+ };
29359
+ }
29360
+ }
29361
+ exports.DescribeFailoverTestJobResponseBodyFailoverTestJobModel = DescribeFailoverTestJobResponseBodyFailoverTestJobModel;
29362
+ class DescribeFailoverTestJobsRequestFilter extends $tea.Model {
29363
+ constructor(map) {
29364
+ super(map);
29365
+ }
29366
+ static names() {
29367
+ return {
29368
+ key: 'Key',
29369
+ value: 'Value',
29370
+ };
29371
+ }
29372
+ static types() {
29373
+ return {
29374
+ key: 'string',
29375
+ value: { 'type': 'array', 'itemType': 'string' },
29376
+ };
29377
+ }
29378
+ }
29379
+ exports.DescribeFailoverTestJobsRequestFilter = DescribeFailoverTestJobsRequestFilter;
29380
+ class DescribeFailoverTestJobsResponseBodyFailoverTestJobList extends $tea.Model {
29381
+ constructor(map) {
29382
+ super(map);
29383
+ }
29384
+ static names() {
29385
+ return {
29386
+ description: 'Description',
29387
+ jobDuration: 'JobDuration',
29388
+ jobId: 'JobId',
29389
+ jobType: 'JobType',
29390
+ name: 'Name',
29391
+ resourceId: 'ResourceId',
29392
+ resourceType: 'ResourceType',
29393
+ startTime: 'StartTime',
29394
+ status: 'Status',
29395
+ stopTime: 'StopTime',
29396
+ };
29397
+ }
29398
+ static types() {
29399
+ return {
29400
+ description: 'string',
29401
+ jobDuration: 'string',
29402
+ jobId: 'string',
29403
+ jobType: 'string',
29404
+ name: 'string',
29405
+ resourceId: { 'type': 'array', 'itemType': 'string' },
29406
+ resourceType: 'string',
29407
+ startTime: 'string',
29408
+ status: 'string',
29409
+ stopTime: 'string',
29410
+ };
29411
+ }
29412
+ }
29413
+ exports.DescribeFailoverTestJobsResponseBodyFailoverTestJobList = DescribeFailoverTestJobsResponseBodyFailoverTestJobList;
28458
29414
  class DescribeFlowLogsRequestTags extends $tea.Model {
28459
29415
  constructor(map) {
28460
29416
  super(map);
@@ -29181,6 +30137,24 @@ class DescribeIPv6TranslatorsResponseBodyIpv6Translators extends $tea.Model {
29181
30137
  }
29182
30138
  }
29183
30139
  exports.DescribeIPv6TranslatorsResponseBodyIpv6Translators = DescribeIPv6TranslatorsResponseBodyIpv6Translators;
30140
+ class DescribeIpv6AddressesRequestTag extends $tea.Model {
30141
+ constructor(map) {
30142
+ super(map);
30143
+ }
30144
+ static names() {
30145
+ return {
30146
+ key: 'Key',
30147
+ value: 'Value',
30148
+ };
30149
+ }
30150
+ static types() {
30151
+ return {
30152
+ key: 'string',
30153
+ value: 'string',
30154
+ };
30155
+ }
30156
+ }
30157
+ exports.DescribeIpv6AddressesRequestTag = DescribeIpv6AddressesRequestTag;
29184
30158
  class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6AddressIpv6InternetBandwidth extends $tea.Model {
29185
30159
  constructor(map) {
29186
30160
  super(map);
@@ -29215,6 +30189,40 @@ class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6AddressIpv6InternetBandw
29215
30189
  }
29216
30190
  }
29217
30191
  exports.DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6AddressIpv6InternetBandwidth = DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6AddressIpv6InternetBandwidth;
30192
+ class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6AddressTagsTag extends $tea.Model {
30193
+ constructor(map) {
30194
+ super(map);
30195
+ }
30196
+ static names() {
30197
+ return {
30198
+ key: 'Key',
30199
+ value: 'Value',
30200
+ };
30201
+ }
30202
+ static types() {
30203
+ return {
30204
+ key: 'string',
30205
+ value: 'string',
30206
+ };
30207
+ }
30208
+ }
30209
+ exports.DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6AddressTagsTag = DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6AddressTagsTag;
30210
+ class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6AddressTags extends $tea.Model {
30211
+ constructor(map) {
30212
+ super(map);
30213
+ }
30214
+ static names() {
30215
+ return {
30216
+ tag: 'Tag',
30217
+ };
30218
+ }
30219
+ static types() {
30220
+ return {
30221
+ tag: { 'type': 'array', 'itemType': DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6AddressTagsTag },
30222
+ };
30223
+ }
30224
+ }
30225
+ exports.DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6AddressTags = DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6AddressTags;
29218
30226
  class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address extends $tea.Model {
29219
30227
  constructor(map) {
29220
30228
  super(map);
@@ -29225,6 +30233,7 @@ class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address extends $tea.Mod
29225
30233
  associatedInstanceId: 'AssociatedInstanceId',
29226
30234
  associatedInstanceType: 'AssociatedInstanceType',
29227
30235
  ipv6Address: 'Ipv6Address',
30236
+ ipv6AddressDescription: 'Ipv6AddressDescription',
29228
30237
  ipv6AddressId: 'Ipv6AddressId',
29229
30238
  ipv6AddressName: 'Ipv6AddressName',
29230
30239
  ipv6GatewayId: 'Ipv6GatewayId',
@@ -29232,7 +30241,9 @@ class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address extends $tea.Mod
29232
30241
  ipv6Isp: 'Ipv6Isp',
29233
30242
  networkType: 'NetworkType',
29234
30243
  realBandwidth: 'RealBandwidth',
30244
+ resourceGroupId: 'ResourceGroupId',
29235
30245
  status: 'Status',
30246
+ tags: 'Tags',
29236
30247
  vSwitchId: 'VSwitchId',
29237
30248
  vpcId: 'VpcId',
29238
30249
  };
@@ -29243,6 +30254,7 @@ class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address extends $tea.Mod
29243
30254
  associatedInstanceId: 'string',
29244
30255
  associatedInstanceType: 'string',
29245
30256
  ipv6Address: 'string',
30257
+ ipv6AddressDescription: 'string',
29246
30258
  ipv6AddressId: 'string',
29247
30259
  ipv6AddressName: 'string',
29248
30260
  ipv6GatewayId: 'string',
@@ -29250,7 +30262,9 @@ class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address extends $tea.Mod
29250
30262
  ipv6Isp: 'string',
29251
30263
  networkType: 'string',
29252
30264
  realBandwidth: 'number',
30265
+ resourceGroupId: 'string',
29253
30266
  status: 'string',
30267
+ tags: DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6AddressTags,
29254
30268
  vSwitchId: 'string',
29255
30269
  vpcId: 'string',
29256
30270
  };
@@ -33973,6 +34987,32 @@ class GetNatGatewayAttributeResponseBodySnatTable extends $tea.Model {
33973
34987
  }
33974
34988
  }
33975
34989
  exports.GetNatGatewayAttributeResponseBodySnatTable = GetNatGatewayAttributeResponseBodySnatTable;
34990
+ class GetVSwitchCidrReservationUsageResponseBodyCidrReservationUsages extends $tea.Model {
34991
+ constructor(map) {
34992
+ super(map);
34993
+ }
34994
+ static names() {
34995
+ return {
34996
+ ipPrefixCidr: 'IpPrefixCidr',
34997
+ ipPrefixId: 'IpPrefixId',
34998
+ resourceId: 'ResourceId',
34999
+ resourceType: 'ResourceType',
35000
+ vSwitchCidrReservationId: 'VSwitchCidrReservationId',
35001
+ vSwitchId: 'VSwitchId',
35002
+ };
35003
+ }
35004
+ static types() {
35005
+ return {
35006
+ ipPrefixCidr: 'string',
35007
+ ipPrefixId: 'string',
35008
+ resourceId: 'string',
35009
+ resourceType: 'string',
35010
+ vSwitchCidrReservationId: 'string',
35011
+ vSwitchId: 'string',
35012
+ };
35013
+ }
35014
+ }
35015
+ exports.GetVSwitchCidrReservationUsageResponseBodyCidrReservationUsages = GetVSwitchCidrReservationUsageResponseBodyCidrReservationUsages;
33976
35016
  class GetVpcGatewayEndpointAttributeResponseBodyTags extends $tea.Model {
33977
35017
  constructor(map) {
33978
35018
  super(map);
@@ -35075,6 +36115,82 @@ class ListTrafficMirrorSessionsResponseBodyTrafficMirrorSessions extends $tea.Mo
35075
36115
  }
35076
36116
  }
35077
36117
  exports.ListTrafficMirrorSessionsResponseBodyTrafficMirrorSessions = ListTrafficMirrorSessionsResponseBodyTrafficMirrorSessions;
36118
+ class ListVSwitchCidrReservationsRequestTags extends $tea.Model {
36119
+ constructor(map) {
36120
+ super(map);
36121
+ }
36122
+ static names() {
36123
+ return {
36124
+ key: 'Key',
36125
+ value: 'Value',
36126
+ };
36127
+ }
36128
+ static types() {
36129
+ return {
36130
+ key: 'string',
36131
+ value: 'string',
36132
+ };
36133
+ }
36134
+ }
36135
+ exports.ListVSwitchCidrReservationsRequestTags = ListVSwitchCidrReservationsRequestTags;
36136
+ class ListVSwitchCidrReservationsResponseBodyVSwitchCidrReservationsTags extends $tea.Model {
36137
+ constructor(map) {
36138
+ super(map);
36139
+ }
36140
+ static names() {
36141
+ return {
36142
+ key: 'Key',
36143
+ value: 'Value',
36144
+ };
36145
+ }
36146
+ static types() {
36147
+ return {
36148
+ key: 'string',
36149
+ value: 'string',
36150
+ };
36151
+ }
36152
+ }
36153
+ exports.ListVSwitchCidrReservationsResponseBodyVSwitchCidrReservationsTags = ListVSwitchCidrReservationsResponseBodyVSwitchCidrReservationsTags;
36154
+ class ListVSwitchCidrReservationsResponseBodyVSwitchCidrReservations extends $tea.Model {
36155
+ constructor(map) {
36156
+ super(map);
36157
+ }
36158
+ static names() {
36159
+ return {
36160
+ assignedCidrCount: 'AssignedCidrCount',
36161
+ availableCidrCount: 'AvailableCidrCount',
36162
+ creationTime: 'CreationTime',
36163
+ ipVersion: 'IpVersion',
36164
+ status: 'Status',
36165
+ tags: 'Tags',
36166
+ type: 'Type',
36167
+ vSwitchCidrReservationCidr: 'VSwitchCidrReservationCidr',
36168
+ vSwitchCidrReservationDescription: 'VSwitchCidrReservationDescription',
36169
+ vSwitchCidrReservationId: 'VSwitchCidrReservationId',
36170
+ vSwitchCidrReservationName: 'VSwitchCidrReservationName',
36171
+ vSwitchId: 'VSwitchId',
36172
+ vpcId: 'VpcId',
36173
+ };
36174
+ }
36175
+ static types() {
36176
+ return {
36177
+ assignedCidrCount: 'number',
36178
+ availableCidrCount: 'number',
36179
+ creationTime: 'string',
36180
+ ipVersion: 'string',
36181
+ status: 'string',
36182
+ tags: { 'type': 'array', 'itemType': ListVSwitchCidrReservationsResponseBodyVSwitchCidrReservationsTags },
36183
+ type: 'string',
36184
+ vSwitchCidrReservationCidr: 'string',
36185
+ vSwitchCidrReservationDescription: 'string',
36186
+ vSwitchCidrReservationId: 'string',
36187
+ vSwitchCidrReservationName: 'string',
36188
+ vSwitchId: 'string',
36189
+ vpcId: 'string',
36190
+ };
36191
+ }
36192
+ }
36193
+ exports.ListVSwitchCidrReservationsResponseBodyVSwitchCidrReservations = ListVSwitchCidrReservationsResponseBodyVSwitchCidrReservations;
35078
36194
  class ListVirtualPhysicalConnectionsRequestTags extends $tea.Model {
35079
36195
  constructor(map) {
35080
36196
  super(map);
@@ -37077,9 +38193,10 @@ class Client extends openapi_client_1.default {
37077
38193
  return await this.allocateIpv6InternetBandwidthWithOptions(request, runtime);
37078
38194
  }
37079
38195
  /**
38196
+ * # [](#)
37080
38197
  * The following section describes how to allocate an IPv6 CIDR block to a virtual private cloud (VPC):
37081
- * 1\\. Call the AllocateVpcIpv6Cidr operation to reserve an IPv6 CIDR block.
37082
- * 2\\. If you want to allocate the reserved IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](~~146745~~) operation, specify the **RegionId** and **VpcId** parameters, and set the **IPv6CidrBlock** parameter to the reserved IPv6 CIDR block and the **IpVersion** parameter to **IPV6**. If you want to allocate the reserved IPv6 CIDR block to a new VPC, call the [CreateVpc](~~35737~~) operation, specify the **RegionId** parameter, and set the **Ipv6CidrBlock** parameter to the reserved IPv6 CIDR block and the **EnableIpv6** parameter to **true**.
38198
+ * 1. Call the AllocateVpcIpv6Cidr operation to reserve the IPv6 CIDR block.
38199
+ * 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](~~146745~~) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR bock, and set **IpVersion** to **ipv6**. To allocate an IPv6 CIDR block when you create a VPC, call the [CreateVpc](~~35737~~) operation. Set **RegionId** and **Ipv6CidrBlock** to the IPv6 CIDR block, and set **EnableIpv6** to **true**.
37083
38200
  *
37084
38201
  * @param request AllocateVpcIpv6CidrRequest
37085
38202
  * @param runtime runtime options for this request RuntimeOptions
@@ -37135,9 +38252,10 @@ class Client extends openapi_client_1.default {
37135
38252
  return $tea.cast(await this.callApi(params, req, runtime), new AllocateVpcIpv6CidrResponse({}));
37136
38253
  }
37137
38254
  /**
38255
+ * # [](#)
37138
38256
  * The following section describes how to allocate an IPv6 CIDR block to a virtual private cloud (VPC):
37139
- * 1\\. Call the AllocateVpcIpv6Cidr operation to reserve an IPv6 CIDR block.
37140
- * 2\\. If you want to allocate the reserved IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](~~146745~~) operation, specify the **RegionId** and **VpcId** parameters, and set the **IPv6CidrBlock** parameter to the reserved IPv6 CIDR block and the **IpVersion** parameter to **IPV6**. If you want to allocate the reserved IPv6 CIDR block to a new VPC, call the [CreateVpc](~~35737~~) operation, specify the **RegionId** parameter, and set the **Ipv6CidrBlock** parameter to the reserved IPv6 CIDR block and the **EnableIpv6** parameter to **true**.
38257
+ * 1. Call the AllocateVpcIpv6Cidr operation to reserve the IPv6 CIDR block.
38258
+ * 2. To allocate an IPv6 CIDR block to an existing VPC, call the [AssociateVpcCidrBlock](~~146745~~) operation. Set **RegionId**, **VpcId**, and **IPv6CidrBlock** to the IPv6 CIDR bock, and set **IpVersion** to **ipv6**. To allocate an IPv6 CIDR block when you create a VPC, call the [CreateVpc](~~35737~~) operation. Set **RegionId** and **Ipv6CidrBlock** to the IPv6 CIDR block, and set **EnableIpv6** to **true**.
37141
38259
  *
37142
38260
  * @param request AllocateVpcIpv6CidrRequest
37143
38261
  * @return AllocateVpcIpv6CidrResponse
@@ -37453,7 +38571,8 @@ class Client extends openapi_client_1.default {
37453
38571
  return await this.associateHaVipWithOptions(request, runtime);
37454
38572
  }
37455
38573
  /**
37456
- * * The **AssociateNetworkAcl** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of a network ACL:
38574
+ * ## [](#)Description
38575
+ * * **AssociateNetworkAcl** 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 [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of the task.
37457
38576
  * * If the network ACL is in the **BINDING** state, the network ACL is being associated.
37458
38577
  * * If the network ACL is in the **BINDED** state, the network ACL is associated.
37459
38578
  * * You cannot repeatedly call the **AssociateNetworkAcl** operation to associate a network ACL within the specified period of time.
@@ -37506,7 +38625,8 @@ class Client extends openapi_client_1.default {
37506
38625
  return $tea.cast(await this.callApi(params, req, runtime), new AssociateNetworkAclResponse({}));
37507
38626
  }
37508
38627
  /**
37509
- * * The **AssociateNetworkAcl** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of a network ACL:
38628
+ * ## [](#)Description
38629
+ * * **AssociateNetworkAcl** 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 [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of the task.
37510
38630
  * * If the network ACL is in the **BINDING** state, the network ACL is being associated.
37511
38631
  * * If the network ACL is in the **BINDED** state, the network ACL is associated.
37512
38632
  * * You cannot repeatedly call the **AssociateNetworkAcl** operation to associate a network ACL within the specified period of time.
@@ -37671,6 +38791,9 @@ class Client extends openapi_client_1.default {
37671
38791
  if (!tea_util_1.default.isUnset(request.gatewayId)) {
37672
38792
  query["GatewayId"] = request.gatewayId;
37673
38793
  }
38794
+ if (!tea_util_1.default.isUnset(request.gatewayType)) {
38795
+ query["GatewayType"] = request.gatewayType;
38796
+ }
37674
38797
  if (!tea_util_1.default.isUnset(request.ownerAccount)) {
37675
38798
  query["OwnerAccount"] = request.ownerAccount;
37676
38799
  }
@@ -37884,7 +39007,7 @@ class Client extends openapi_client_1.default {
37884
39007
  * * If the VPN gateway is in the **updating** state, the SSL certificate is being associated.
37885
39008
  * * If the VPN gateway is in the **active** state, the SSL certificate is being associated.
37886
39009
  * * You cannot call **AssociateVpnGatewayWithCertificate** within a specific period of time.
37887
- * ## [](#)Prerequisites
39010
+ * ### [](#)Prerequisites
37888
39011
  * Make sure that you have two SSL certificates that use the SM algorithm in the Certificate Management Service console. For more information about SSL certificates, see [What is Certificate Management Service?](~~28535~~).
37889
39012
  *
37890
39013
  * @param request AssociateVpnGatewayWithCertificateRequest
@@ -37937,7 +39060,7 @@ class Client extends openapi_client_1.default {
37937
39060
  * * If the VPN gateway is in the **updating** state, the SSL certificate is being associated.
37938
39061
  * * If the VPN gateway is in the **active** state, the SSL certificate is being associated.
37939
39062
  * * You cannot call **AssociateVpnGatewayWithCertificate** within a specific period of time.
37940
- * ## [](#)Prerequisites
39063
+ * ### [](#)Prerequisites
37941
39064
  * Make sure that you have two SSL certificates that use the SM algorithm in the Certificate Management Service console. For more information about SSL certificates, see [What is Certificate Management Service?](~~28535~~).
37942
39065
  *
37943
39066
  * @param request AssociateVpnGatewayWithCertificateRequest
@@ -38116,7 +39239,6 @@ class Client extends openapi_client_1.default {
38116
39239
  return await this.cancelCommonBandwidthPackageIpBandwidthWithOptions(request, runtime);
38117
39240
  }
38118
39241
  /**
38119
- * ## Limits
38120
39242
  * You can cancel only an Express Connect circuit that is in the **Initial**, **Approved**, **Allocated**, or **Confirmed** state.
38121
39243
  *
38122
39244
  * @param request CancelPhysicalConnectionRequest
@@ -38164,7 +39286,6 @@ class Client extends openapi_client_1.default {
38164
39286
  return $tea.cast(await this.callApi(params, req, runtime), new CancelPhysicalConnectionResponse({}));
38165
39287
  }
38166
39288
  /**
38167
- * ## Limits
38168
39289
  * You can cancel only an Express Connect circuit that is in the **Initial**, **Approved**, **Allocated**, or **Confirmed** state.
38169
39290
  *
38170
39291
  * @param request CancelPhysicalConnectionRequest
@@ -38175,7 +39296,8 @@ class Client extends openapi_client_1.default {
38175
39296
  return await this.cancelPhysicalConnectionWithOptions(request, runtime);
38176
39297
  }
38177
39298
  /**
38178
- * You cannot repeatedly call the **ChangeResourceGroup** operation within the specified period of time.
39299
+ * ## [](#)
39300
+ * You cannot repeatedly call the **ChangeResourceGroup** operation to modify the resource group of the same Express Connect circuit.
38179
39301
  *
38180
39302
  * @param request ChangeResourceGroupRequest
38181
39303
  * @param runtime runtime options for this request RuntimeOptions
@@ -38213,7 +39335,8 @@ class Client extends openapi_client_1.default {
38213
39335
  return $tea.cast(await this.callApi(params, req, runtime), new ChangeResourceGroupResponse({}));
38214
39336
  }
38215
39337
  /**
38216
- * You cannot repeatedly call the **ChangeResourceGroup** operation within the specified period of time.
39338
+ * ## [](#)
39339
+ * You cannot repeatedly call the **ChangeResourceGroup** operation to modify the resource group of the same Express Connect circuit.
38217
39340
  *
38218
39341
  * @param request ChangeResourceGroupRequest
38219
39342
  * @return ChangeResourceGroupResponse
@@ -38473,10 +39596,10 @@ class Client extends openapi_client_1.default {
38473
39596
  return await this.connectRouterInterfaceWithOptions(request, runtime);
38474
39597
  }
38475
39598
  /**
38476
- * Before you convert a NAT bandwidth package to an Internet Shared Bandwidth instance, make sure you are aware of the following:
38477
- * * The conversion does not incur any additional fees.
38478
- * * The conversion does not affect the SNAT or DNAT entries of the NAT Gateway, and has no impact on the running services. However, we recommend that you perform the conversion during off-peak hours.
38479
- * * After the conversion, the public IP address in the NAT bandwidth package is converted to an EIP. The peak bandwidth and billing method of the Internet Shared Bandwidth instance are consistent with those of the original NAT bandwidth package.
39599
+ * Before you convert a NAT service plan to an Internet Shared Bandwidth instance, take note of the following limits:
39600
+ * * You are not charged for the conversion.
39601
+ * * When you convert a NAT service plan to an Internet Shared Bandwidth instance, you can continue to use the SNAT and DNAT features of the NAT gateway, and your workloads are not affected. However, we recommend that you convert your NAT service plan during off-peak hours.
39602
+ * * After the NAT service plan is converted to an Internet Shared Bandwidth instance, the public IP addresses in the NAT service plan are converted to elastic IP addresses (EIPs). The maximum bandwidth and billing method of the Internet Shared Bandwidth instance are the same as those of the NAT service plan.
38480
39603
  *
38481
39604
  * @param request ConvertBandwidthPackageRequest
38482
39605
  * @param runtime runtime options for this request RuntimeOptions
@@ -38523,10 +39646,10 @@ class Client extends openapi_client_1.default {
38523
39646
  return $tea.cast(await this.callApi(params, req, runtime), new ConvertBandwidthPackageResponse({}));
38524
39647
  }
38525
39648
  /**
38526
- * Before you convert a NAT bandwidth package to an Internet Shared Bandwidth instance, make sure you are aware of the following:
38527
- * * The conversion does not incur any additional fees.
38528
- * * The conversion does not affect the SNAT or DNAT entries of the NAT Gateway, and has no impact on the running services. However, we recommend that you perform the conversion during off-peak hours.
38529
- * * After the conversion, the public IP address in the NAT bandwidth package is converted to an EIP. The peak bandwidth and billing method of the Internet Shared Bandwidth instance are consistent with those of the original NAT bandwidth package.
39649
+ * Before you convert a NAT service plan to an Internet Shared Bandwidth instance, take note of the following limits:
39650
+ * * You are not charged for the conversion.
39651
+ * * When you convert a NAT service plan to an Internet Shared Bandwidth instance, you can continue to use the SNAT and DNAT features of the NAT gateway, and your workloads are not affected. However, we recommend that you convert your NAT service plan during off-peak hours.
39652
+ * * After the NAT service plan is converted to an Internet Shared Bandwidth instance, the public IP addresses in the NAT service plan are converted to elastic IP addresses (EIPs). The maximum bandwidth and billing method of the Internet Shared Bandwidth instance are the same as those of the NAT service plan.
38530
39653
  *
38531
39654
  * @param request ConvertBandwidthPackageRequest
38532
39655
  * @return ConvertBandwidthPackageResponse
@@ -38602,7 +39725,7 @@ class Client extends openapi_client_1.default {
38602
39725
  return await this.copyNetworkAclEntriesWithOptions(request, runtime);
38603
39726
  }
38604
39727
  /**
38605
- * You can use BGP to connect a VBR to a data center. Each BGP group is associated with a VBR. You can add a BGP peer that needs to communicate with a VBR to a BGP group and advertise the BGP network in the VBR.
39728
+ * You can connect a VBR to a data center through BGP. Each BGP group is associated with a VBR. You can add a BGP peer that needs to communicate with a VBR to a BGP group and advertise the BGP network in the VBR.
38606
39729
  * BGP groups are used to simplify BGP configurations. You can add BGP peers that use the same configurations to one BGP group. Before you start, you must create a BGP group with the requested autonomous system number (ASN).
38607
39730
  * When you call this operation, take note of the following limits:
38608
39731
  * * You can specify only the data center that is connected to the VBR through an Express Connect circuit as a BGP peer.
@@ -38680,7 +39803,7 @@ class Client extends openapi_client_1.default {
38680
39803
  return $tea.cast(await this.callApi(params, req, runtime), new CreateBgpGroupResponse({}));
38681
39804
  }
38682
39805
  /**
38683
- * You can use BGP to connect a VBR to a data center. Each BGP group is associated with a VBR. You can add a BGP peer that needs to communicate with a VBR to a BGP group and advertise the BGP network in the VBR.
39806
+ * You can connect a VBR to a data center through BGP. Each BGP group is associated with a VBR. You can add a BGP peer that needs to communicate with a VBR to a BGP group and advertise the BGP network in the VBR.
38684
39807
  * BGP groups are used to simplify BGP configurations. You can add BGP peers that use the same configurations to one BGP group. Before you start, you must create a BGP group with the requested autonomous system number (ASN).
38685
39808
  * When you call this operation, take note of the following limits:
38686
39809
  * * You can specify only the data center that is connected to the VBR through an Express Connect circuit as a BGP peer.
@@ -39045,6 +40168,15 @@ class Client extends openapi_client_1.default {
39045
40168
  let runtime = new $Util.RuntimeOptions({});
39046
40169
  return await this.createDefaultVpcWithOptions(request, runtime);
39047
40170
  }
40171
+ /**
40172
+ * * **CreateDhcpOptionsSet** 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 [GetDhcpOptionsSet](~~448820~~) to query the status of the task.
40173
+ * * If the vSwitch is in the **Pending** state, the DHCP options set is being configured.
40174
+ * * If the vSwitch is in the **Available** state, the DHCP options set is available.
40175
+ *
40176
+ * @param request CreateDhcpOptionsSetRequest
40177
+ * @param runtime runtime options for this request RuntimeOptions
40178
+ * @return CreateDhcpOptionsSetResponse
40179
+ */
39048
40180
  async createDhcpOptionsSetWithOptions(request, runtime) {
39049
40181
  tea_util_1.default.validateModel(request);
39050
40182
  let query = {};
@@ -39109,6 +40241,14 @@ class Client extends openapi_client_1.default {
39109
40241
  });
39110
40242
  return $tea.cast(await this.callApi(params, req, runtime), new CreateDhcpOptionsSetResponse({}));
39111
40243
  }
40244
+ /**
40245
+ * * **CreateDhcpOptionsSet** 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 [GetDhcpOptionsSet](~~448820~~) to query the status of the task.
40246
+ * * If the vSwitch is in the **Pending** state, the DHCP options set is being configured.
40247
+ * * If the vSwitch is in the **Available** state, the DHCP options set is available.
40248
+ *
40249
+ * @param request CreateDhcpOptionsSetRequest
40250
+ * @return CreateDhcpOptionsSetResponse
40251
+ */
39112
40252
  async createDhcpOptionsSet(request) {
39113
40253
  let runtime = new $Util.RuntimeOptions({});
39114
40254
  return await this.createDhcpOptionsSetWithOptions(request, runtime);
@@ -39184,6 +40324,65 @@ class Client extends openapi_client_1.default {
39184
40324
  let runtime = new $Util.RuntimeOptions({});
39185
40325
  return await this.createExpressCloudConnectionWithOptions(request, runtime);
39186
40326
  }
40327
+ async createFailoverTestJobWithOptions(request, runtime) {
40328
+ tea_util_1.default.validateModel(request);
40329
+ let query = {};
40330
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
40331
+ query["ClientToken"] = request.clientToken;
40332
+ }
40333
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
40334
+ query["ClientToken"] = request.clientToken;
40335
+ }
40336
+ if (!tea_util_1.default.isUnset(request.description)) {
40337
+ query["Description"] = request.description;
40338
+ }
40339
+ if (!tea_util_1.default.isUnset(request.jobDuration)) {
40340
+ query["JobDuration"] = request.jobDuration;
40341
+ }
40342
+ if (!tea_util_1.default.isUnset(request.jobType)) {
40343
+ query["JobType"] = request.jobType;
40344
+ }
40345
+ if (!tea_util_1.default.isUnset(request.name)) {
40346
+ query["Name"] = request.name;
40347
+ }
40348
+ if (!tea_util_1.default.isUnset(request.ownerAccount)) {
40349
+ query["OwnerAccount"] = request.ownerAccount;
40350
+ }
40351
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
40352
+ query["OwnerId"] = request.ownerId;
40353
+ }
40354
+ if (!tea_util_1.default.isUnset(request.regionId)) {
40355
+ query["RegionId"] = request.regionId;
40356
+ }
40357
+ if (!tea_util_1.default.isUnset(request.resourceId)) {
40358
+ query["ResourceId"] = request.resourceId;
40359
+ }
40360
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
40361
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
40362
+ }
40363
+ if (!tea_util_1.default.isUnset(request.resourceType)) {
40364
+ query["ResourceType"] = request.resourceType;
40365
+ }
40366
+ let req = new $OpenApi.OpenApiRequest({
40367
+ query: openapi_util_1.default.query(query),
40368
+ });
40369
+ let params = new $OpenApi.Params({
40370
+ action: "CreateFailoverTestJob",
40371
+ version: "2016-04-28",
40372
+ protocol: "HTTPS",
40373
+ pathname: "/",
40374
+ method: "POST",
40375
+ authType: "AK",
40376
+ style: "RPC",
40377
+ reqBodyType: "formData",
40378
+ bodyType: "json",
40379
+ });
40380
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateFailoverTestJobResponse({}));
40381
+ }
40382
+ async createFailoverTestJob(request) {
40383
+ let runtime = new $Util.RuntimeOptions({});
40384
+ return await this.createFailoverTestJobWithOptions(request, runtime);
40385
+ }
39187
40386
  /**
39188
40387
  * **CreateFlowLog** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeFlowLogs](~~87923~~) operation to query the status of a flow log:
39189
40388
  * * If the flow log is in the **Activating** state, the flow log is being created.
@@ -39273,12 +40472,13 @@ class Client extends openapi_client_1.default {
39273
40472
  return await this.createFlowLogWithOptions(request, runtime);
39274
40473
  }
39275
40474
  /**
39276
- * Each DNAT entry consists of the following parameters: **ExternalIp**, **ExternalPort**, **IpProtocol**, **InternalIp**, and **InternalPort**. After you add a DNAT entry, the NAT gateway forwards packets of the specified protocol from **ExternalIp:ExternalPort** to **InternalIp:InternalPort** and sends responses back through the same route.
40475
+ * ## [](#)
40476
+ * Each DNAT entry consists of the following parameters: **ExternalIp**, **ExternalPort**, **IpProtocol**, **InternalIp**, and **InternalPort**. After you add a DNAT entry, the NAT gateway forwards packets over the specified protocol from **ExternalIp:ExternalPort** to **InternalIp:InternalPort** and sends responses back through the same route.
39277
40477
  * When you call this operation, take note of the following limits:
39278
- * * **CreateForwardEntry** is an asynchronous operation. After you make a request, a DNAT entry ID is returned but the specified DNAT entry is not added. The system adds the entry in the background. You can call the [DescribeForwardTableEntries](~~36053~~) operation to query the status of a DNAT entry.
39279
- * * If the DNAT entry is in the **Pending** state, the system is adding the DNAT entry. You can only query the status of the DNAT entry, but cannot perform other operations.
40478
+ * * **CreateForwardEntry** 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 [DescribeForwardTableEntries](~~36053~~) operation to query the status of the task.
40479
+ * * If the DNAT entry is in the **Pending** state, the system is adding the DNAT entry. You can only query the DNAT entry, but cannot perform other operations.
39280
40480
  * * If the DNAT entry is in the **Available** state, the DNAT entry is added.
39281
- * * You cannot repeatedly call the **CreateForwardEntry** operation to add a DNAT entry within the specified period of time.
40481
+ * * You cannot repeatedly call the **CreateForwardEntry** operation to add a DNAT entry within a specific period of time.
39282
40482
  * * All combinations of **ExternalIp**, **ExternalPort**, and **IpProtocol** used in DNAT entries must be unique. You cannot distribute requests to more than one Elastic Compute Service (ECS) instance if these requests are initiated from the same source IP address, received on the same port, and use the same protocol.
39283
40483
  * * The combinations of **IpProtocol**, **InternalIp**, and **InternalPort** must be unique.
39284
40484
  * * If one or more DNAT entries in the DNAT table are in the **Pending** or **Modifying** state, you cannot add DNAT entries to the DNAT table.
@@ -39351,12 +40551,13 @@ class Client extends openapi_client_1.default {
39351
40551
  return $tea.cast(await this.callApi(params, req, runtime), new CreateForwardEntryResponse({}));
39352
40552
  }
39353
40553
  /**
39354
- * Each DNAT entry consists of the following parameters: **ExternalIp**, **ExternalPort**, **IpProtocol**, **InternalIp**, and **InternalPort**. After you add a DNAT entry, the NAT gateway forwards packets of the specified protocol from **ExternalIp:ExternalPort** to **InternalIp:InternalPort** and sends responses back through the same route.
40554
+ * ## [](#)
40555
+ * Each DNAT entry consists of the following parameters: **ExternalIp**, **ExternalPort**, **IpProtocol**, **InternalIp**, and **InternalPort**. After you add a DNAT entry, the NAT gateway forwards packets over the specified protocol from **ExternalIp:ExternalPort** to **InternalIp:InternalPort** and sends responses back through the same route.
39355
40556
  * When you call this operation, take note of the following limits:
39356
- * * **CreateForwardEntry** is an asynchronous operation. After you make a request, a DNAT entry ID is returned but the specified DNAT entry is not added. The system adds the entry in the background. You can call the [DescribeForwardTableEntries](~~36053~~) operation to query the status of a DNAT entry.
39357
- * * If the DNAT entry is in the **Pending** state, the system is adding the DNAT entry. You can only query the status of the DNAT entry, but cannot perform other operations.
40557
+ * * **CreateForwardEntry** 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 [DescribeForwardTableEntries](~~36053~~) operation to query the status of the task.
40558
+ * * If the DNAT entry is in the **Pending** state, the system is adding the DNAT entry. You can only query the DNAT entry, but cannot perform other operations.
39358
40559
  * * If the DNAT entry is in the **Available** state, the DNAT entry is added.
39359
- * * You cannot repeatedly call the **CreateForwardEntry** operation to add a DNAT entry within the specified period of time.
40560
+ * * You cannot repeatedly call the **CreateForwardEntry** operation to add a DNAT entry within a specific period of time.
39360
40561
  * * All combinations of **ExternalIp**, **ExternalPort**, and **IpProtocol** used in DNAT entries must be unique. You cannot distribute requests to more than one Elastic Compute Service (ECS) instance if these requests are initiated from the same source IP address, received on the same port, and use the same protocol.
39361
40562
  * * The combinations of **IpProtocol**, **InternalIp**, and **InternalPort** must be unique.
39362
40563
  * * If one or more DNAT entries in the DNAT table are in the **Pending** or **Modifying** state, you cannot add DNAT entries to the DNAT table.
@@ -39899,7 +41100,7 @@ class Client extends openapi_client_1.default {
39899
41100
  }
39900
41101
  /**
39901
41102
  * * 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~~).
39902
- * * **CreateIpsecServer** is an asynchronous operation. After you send a request to call this operation, the system returns a request ID and the IPsec server is being created in the backend. You can call [DescribeVpnGateway](~~73720~~) to query the status of a VPN gateway.
41103
+ * * **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:
39903
41104
  * * If the VPN gateway is in the **updating** state, the IPsec server is being created.
39904
41105
  * * If the VPN gateway is in the **active** state, the IPsec server is created.
39905
41106
  * * You cannot repeatedly call the **CreateIpsecServer** operation for the same VPN gateway within the specified period of time.
@@ -39965,7 +41166,7 @@ class Client extends openapi_client_1.default {
39965
41166
  }
39966
41167
  /**
39967
41168
  * * 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~~).
39968
- * * **CreateIpsecServer** is an asynchronous operation. After you send a request to call this operation, the system returns a request ID and the IPsec server is being created in the backend. You can call [DescribeVpnGateway](~~73720~~) to query the status of a VPN gateway.
41169
+ * * **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:
39969
41170
  * * If the VPN gateway is in the **updating** state, the IPsec server is being created.
39970
41171
  * * If the VPN gateway is in the **active** state, the IPsec server is created.
39971
41172
  * * You cannot repeatedly call the **CreateIpsecServer** operation for the same VPN gateway within the specified period of time.
@@ -40137,10 +41338,10 @@ class Client extends openapi_client_1.default {
40137
41338
  return await this.createIpv6EgressOnlyRuleWithOptions(request, runtime);
40138
41339
  }
40139
41340
  /**
40140
- * * **CreateIpv6Gateway** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeIpv6GatewayAttribute](~~102226~~) operation to query the state of an IPv6 gateway.
41341
+ * * **CreateIpv6Gateway** 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 [DescribeIpv6GatewayAttribute](~~102226~~) operation to query the status of the task.
40141
41342
  * * If the IPv6 gateway is in the **Creating** state, the IPv6 gateway is being created.
40142
41343
  * * If the IPv6 gateway is in the **Created** state, the IPv6 gateway is created.
40143
- * * You cannot call the **CreateIpv6Gateway** operation to create multiple IPv6 gateways in a virtual private cloud (VPC) at the same time.
41344
+ * * You cannot repeatedly call the **CreateIpv6Gateway** operation within a specific time period.
40144
41345
  *
40145
41346
  * @param request CreateIpv6GatewayRequest
40146
41347
  * @param runtime runtime options for this request RuntimeOptions
@@ -40202,10 +41403,10 @@ class Client extends openapi_client_1.default {
40202
41403
  return $tea.cast(await this.callApi(params, req, runtime), new CreateIpv6GatewayResponse({}));
40203
41404
  }
40204
41405
  /**
40205
- * * **CreateIpv6Gateway** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeIpv6GatewayAttribute](~~102226~~) operation to query the state of an IPv6 gateway.
41406
+ * * **CreateIpv6Gateway** 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 [DescribeIpv6GatewayAttribute](~~102226~~) operation to query the status of the task.
40206
41407
  * * If the IPv6 gateway is in the **Creating** state, the IPv6 gateway is being created.
40207
41408
  * * If the IPv6 gateway is in the **Created** state, the IPv6 gateway is created.
40208
- * * You cannot call the **CreateIpv6Gateway** operation to create multiple IPv6 gateways in a virtual private cloud (VPC) at the same time.
41409
+ * * You cannot repeatedly call the **CreateIpv6Gateway** operation within a specific time period.
40209
41410
  *
40210
41411
  * @param request CreateIpv6GatewayRequest
40211
41412
  * @return CreateIpv6GatewayResponse
@@ -40215,14 +41416,15 @@ class Client extends openapi_client_1.default {
40215
41416
  return await this.createIpv6GatewayWithOptions(request, runtime);
40216
41417
  }
40217
41418
  /**
41419
+ * ## [](#)
40218
41420
  * Before you call this operation, take note of the following items:
40219
- * * When you create an enhanced NAT gateway for the first time, the system automatically creates the service-linked role AliyunServiceRoleForNatgw. Then, the system attaches the permission policy AliyunServiceRolePolicyForNatgw to the role. This allows the NAT gateway to access other resources on Alibaba Cloud. For more information, see [Service-linked roles](~~174251~~).
41421
+ * * The first time you create a NAT gateway, the system automatically creates the service-linked role AliyunServiceRoleForNatgw. Then, the system attaches the permission policy AliyunServiceRolePolicyForNatgw to the role. This allows the NAT gateway to access other resources on Alibaba Cloud. For more information, see [Service-linked roles](~~174251~~).
40220
41422
  * * After you create an enhanced Internet NAT gateway, a route entry is automatically added to the route table of the VPC. The destination CIDR block of the route entry is 0.0.0.0/0 and the next hop is the NAT gateway. This ensures that traffic is routed to the NAT gateway.
40221
- * * **CreateNatGateway** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeNatGateways](~~36054~~) operation to query the status of a NAT gateway.
41423
+ * * **CreateNatGateway** 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 [DescribeNatGateways](~~36054~~) operation to query the status of the task.
40222
41424
  * * If a NAT gateway is in the **Creating** state, the NAT gateway is being created. In this case, you can query the NAT gateway but cannot perform other operations.
40223
41425
  * * If a NAT gateway is in the **Available** state, the NAT gateway is created.
40224
- * It takes 1 to 3 minutes to create a NAT gateway.
40225
- * * You cannot repeatedly call the **CreateNatGateway** operation to create a VPC NAT gateway or an Internet NAT gateway within the specified period of time.
41426
+ * It takes 1 to 3 minutes to create a NAT gateway.
41427
+ * * You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
40226
41428
  *
40227
41429
  * @param request CreateNatGatewayRequest
40228
41430
  * @param runtime runtime options for this request RuntimeOptions
@@ -40314,14 +41516,15 @@ class Client extends openapi_client_1.default {
40314
41516
  return $tea.cast(await this.callApi(params, req, runtime), new CreateNatGatewayResponse({}));
40315
41517
  }
40316
41518
  /**
41519
+ * ## [](#)
40317
41520
  * Before you call this operation, take note of the following items:
40318
- * * When you create an enhanced NAT gateway for the first time, the system automatically creates the service-linked role AliyunServiceRoleForNatgw. Then, the system attaches the permission policy AliyunServiceRolePolicyForNatgw to the role. This allows the NAT gateway to access other resources on Alibaba Cloud. For more information, see [Service-linked roles](~~174251~~).
41521
+ * * The first time you create a NAT gateway, the system automatically creates the service-linked role AliyunServiceRoleForNatgw. Then, the system attaches the permission policy AliyunServiceRolePolicyForNatgw to the role. This allows the NAT gateway to access other resources on Alibaba Cloud. For more information, see [Service-linked roles](~~174251~~).
40319
41522
  * * After you create an enhanced Internet NAT gateway, a route entry is automatically added to the route table of the VPC. The destination CIDR block of the route entry is 0.0.0.0/0 and the next hop is the NAT gateway. This ensures that traffic is routed to the NAT gateway.
40320
- * * **CreateNatGateway** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeNatGateways](~~36054~~) operation to query the status of a NAT gateway.
41523
+ * * **CreateNatGateway** 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 [DescribeNatGateways](~~36054~~) operation to query the status of the task.
40321
41524
  * * If a NAT gateway is in the **Creating** state, the NAT gateway is being created. In this case, you can query the NAT gateway but cannot perform other operations.
40322
41525
  * * If a NAT gateway is in the **Available** state, the NAT gateway is created.
40323
- * It takes 1 to 3 minutes to create a NAT gateway.
40324
- * * You cannot repeatedly call the **CreateNatGateway** operation to create a VPC NAT gateway or an Internet NAT gateway within the specified period of time.
41526
+ * It takes 1 to 3 minutes to create a NAT gateway.
41527
+ * * You cannot repeatedly call the **CreateNatGateway** operation within a specific period of time.
40325
41528
  *
40326
41529
  * @param request CreateNatGatewayRequest
40327
41530
  * @return CreateNatGatewayResponse
@@ -40331,10 +41534,11 @@ class Client extends openapi_client_1.default {
40331
41534
  return await this.createNatGatewayWithOptions(request, runtime);
40332
41535
  }
40333
41536
  /**
40334
- * **CreateNatIp** is an asynchronous operation. After you make a request, the ID of the request is returned but the NAT IP address is not created. The system creates the NAT IP address in the background. You can call the [ListNatIps](~~287000~~) operation to query the status of a NAT IP address.
40335
- * * If a NAT IP address is in the **Creating** state, the NAT IP address is being created. In this case, you can only query the NAT IP address but cannot perform other operations.
41537
+ * ## [](#)
41538
+ * **CreateNatIp** 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 [ListNatIps](~~287000~~) operation to query the status of the task.
41539
+ * * If a NAT IP address is in the **Creating** state, the NAT IP address is being created. In this case, you can only query the NAT IP address and cannot perform other operations.
40336
41540
  * * If a NAT IP address is in the **Available** state, the NAT IP address is created.
40337
- * You cannot repeatedly call the **CreateNatIp** operation to create a NAT IP address within the specified period of time.
41541
+ * You cannot repeatedly call the **CreateNatIp** operation to create a NAT IP address within a specific period of time.
40338
41542
  *
40339
41543
  * @param request CreateNatIpRequest
40340
41544
  * @param runtime runtime options for this request RuntimeOptions
@@ -40399,10 +41603,11 @@ class Client extends openapi_client_1.default {
40399
41603
  return $tea.cast(await this.callApi(params, req, runtime), new CreateNatIpResponse({}));
40400
41604
  }
40401
41605
  /**
40402
- * **CreateNatIp** is an asynchronous operation. After you make a request, the ID of the request is returned but the NAT IP address is not created. The system creates the NAT IP address in the background. You can call the [ListNatIps](~~287000~~) operation to query the status of a NAT IP address.
40403
- * * If a NAT IP address is in the **Creating** state, the NAT IP address is being created. In this case, you can only query the NAT IP address but cannot perform other operations.
41606
+ * ## [](#)
41607
+ * **CreateNatIp** 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 [ListNatIps](~~287000~~) operation to query the status of the task.
41608
+ * * If a NAT IP address is in the **Creating** state, the NAT IP address is being created. In this case, you can only query the NAT IP address and cannot perform other operations.
40404
41609
  * * If a NAT IP address is in the **Available** state, the NAT IP address is created.
40405
- * You cannot repeatedly call the **CreateNatIp** operation to create a NAT IP address within the specified period of time.
41610
+ * You cannot repeatedly call the **CreateNatIp** operation to create a NAT IP address within a specific period of time.
40406
41611
  *
40407
41612
  * @param request CreateNatIpRequest
40408
41613
  * @return CreateNatIpResponse
@@ -40412,6 +41617,7 @@ class Client extends openapi_client_1.default {
40412
41617
  return await this.createNatIpWithOptions(request, runtime);
40413
41618
  }
40414
41619
  /**
41620
+ * ## [](#)Description
40415
41621
  * You cannot repeatedly call the **CreateNatIpCidr** operation to create a NAT CIDR block within the specified period of time.
40416
41622
  *
40417
41623
  * @param request CreateNatIpCidrRequest
@@ -40474,6 +41680,7 @@ class Client extends openapi_client_1.default {
40474
41680
  return $tea.cast(await this.callApi(params, req, runtime), new CreateNatIpCidrResponse({}));
40475
41681
  }
40476
41682
  /**
41683
+ * ## [](#)Description
40477
41684
  * You cannot repeatedly call the **CreateNatIpCidr** operation to create a NAT CIDR block within the specified period of time.
40478
41685
  *
40479
41686
  * @param request CreateNatIpCidrRequest
@@ -40845,13 +42052,14 @@ class Client extends openapi_client_1.default {
40845
42052
  return await this.createPublicIpAddressPoolWithOptions(request, runtime);
40846
42053
  }
40847
42054
  /**
40848
- * * **CreateRouteEntries** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeRouteEntryList](~~138148~~) operation to query the status of a route entry:
42055
+ * ## [](#)References
42056
+ * * **CreateRouteEntries** 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 [DescribeRouteEntryList](~~138148~~) operation to query the status of the task.
40849
42057
  * * If the route entry is in the **Creating** state, the route entry is being created.
40850
42058
  * * If the route entry is in the **Created** state, the route entry is created.
40851
42059
  * * You cannot repeatedly call the **CreateRouteEntries** operation to create the same route entry within the specified period of time.
40852
42060
  * **When you call this operation to add custom route entries to the route table of a vRouter, take note of the following items:**
40853
42061
  * * A route table can contain up to 200 custom route entries.
40854
- * * The destination CIDR block (**DstCidrBlock**) of a custom route entry cannot be the same as or overlap with the CIDR block of a vSwitch in the virtual private cloud (VPC).
42062
+ * * The destination CIDR block (**DstCidrBlock**) of a custom route entry cannot be the same as or overlap with the CIDR block of a vSwitch in the VPC.
40855
42063
  * * The destination CIDR block (**DstCidrBlock**) of a custom route entry cannot be 100.64.0.0/10 or its subnets.
40856
42064
  * * The destination CIDR blocks (**DstCidrBlock**) of route entries in the same route table must be unique.
40857
42065
  * * If you do not include the mask length when you specify the destination CIDR block (**DstCidrBlock**), the destination CIDR block is considered a host IP address whose mask length is 32 bits.
@@ -40903,13 +42111,14 @@ class Client extends openapi_client_1.default {
40903
42111
  return $tea.cast(await this.callApi(params, req, runtime), new CreateRouteEntriesResponse({}));
40904
42112
  }
40905
42113
  /**
40906
- * * **CreateRouteEntries** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeRouteEntryList](~~138148~~) operation to query the status of a route entry:
42114
+ * ## [](#)References
42115
+ * * **CreateRouteEntries** 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 [DescribeRouteEntryList](~~138148~~) operation to query the status of the task.
40907
42116
  * * If the route entry is in the **Creating** state, the route entry is being created.
40908
42117
  * * If the route entry is in the **Created** state, the route entry is created.
40909
42118
  * * You cannot repeatedly call the **CreateRouteEntries** operation to create the same route entry within the specified period of time.
40910
42119
  * **When you call this operation to add custom route entries to the route table of a vRouter, take note of the following items:**
40911
42120
  * * A route table can contain up to 200 custom route entries.
40912
- * * The destination CIDR block (**DstCidrBlock**) of a custom route entry cannot be the same as or overlap with the CIDR block of a vSwitch in the virtual private cloud (VPC).
42121
+ * * The destination CIDR block (**DstCidrBlock**) of a custom route entry cannot be the same as or overlap with the CIDR block of a vSwitch in the VPC.
40913
42122
  * * The destination CIDR block (**DstCidrBlock**) of a custom route entry cannot be 100.64.0.0/10 or its subnets.
40914
42123
  * * The destination CIDR blocks (**DstCidrBlock**) of route entries in the same route table must be unique.
40915
42124
  * * If you do not include the mask length when you specify the destination CIDR block (**DstCidrBlock**), the destination CIDR block is considered a host IP address whose mask length is 32 bits.
@@ -40924,24 +42133,25 @@ class Client extends openapi_client_1.default {
40924
42133
  return await this.createRouteEntriesWithOptions(request, runtime);
40925
42134
  }
40926
42135
  /**
40927
- * * **CreateRouteEntry** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeRouteEntryList](~~138148~~) operation to query the status of a route entry.
40928
- * * If the route entry is in the **Creating** state, the route entry is being created.
40929
- * * If the route entry is in the **Created** state, the route entry is created.
40930
- * * You cannot repeatedly call the **CreateRouteEntry** operation to add a custom route entry to the route table of a vRouter or a VBR within the specified period of time.
42136
+ * * **CreateRouteEntry** 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 [DescribeRouteEntryList](~~138148~~) operation to query the status of the task:
42137
+ * * If a route is in the **Creating** state, the route is being added.
42138
+ * * If a route is in the **Created** state, the route is added.
42139
+ * * You cannot repeatedly call **CreateRouteEntry** within a specific period of time.
40931
42140
  * **When you call this operation to add a custom route entry to the route table of a vRouter, take note of the following limits:**
42141
+ * > When you add a route entry from a prefix list, the quota usage is calculated by adding the number of existing route entries and the maximum number of route entries of the prefix list.
40932
42142
  * * A route table can contain up to 200 custom route entries.
40933
- * * The destination CIDR block (**DestinationCidrBlock**) of a custom route entry cannot be the same as or overlap with the CIDR block of a vSwitch in the virtual private cloud (VPC).
42143
+ * * The destination CIDR block (**DestinationCidrBlock**) of a custom route entry cannot be the same as or be a subset of the CIDR block of a vSwitch in the virtual private cloud (VPC). The destination CIDR block can contain the CIDR block of a vSwitch.
40934
42144
  * * The destination CIDR block (**DestinationCidrBlock**) of a custom route entry cannot be 100.64.0.0/10 or a subset of it.
40935
42145
  * * The destination CIDR blocks (**DestinationCidrBlock**) of route entries in the same route table must be unique.
40936
42146
  * * If you do not include the mask length when you specify the destination CIDR block (**DestinationCidrBlock**), the destination CIDR block is considered a host IP address whose mask length is 32 bits.
40937
42147
  * * Multiple custom route entries can point to the same next hop (**NextHopId**).
40938
- * * The next hop (**NextHopId**) of a custom route entry must belong to the same VPC as the route table.
42148
+ * * The next hop (**NextHopId**) of a custom route entry must in the same VPC as the route table.
40939
42149
  * * Equal-cost multi-path (ECMP) routing can be configured by specifying the **NextHopList** parameter.
40940
42150
  * * When you add non-ECMP route entries, you must specify **DestinationCidrBlock**, **NextHopType**, and **NextHopId**, and you must not specify **NextHopList**.
40941
42151
  * * When you add route entries for ECMP routing, you must specify **DestinationCidrBlock** and **NextHopList**, and you must not specify **NextHopType** or **NextHopId**.
40942
42152
  * **When you call this operation to add a custom route entry to the route table of a VBR, take note of the following limits:**
40943
42153
  * * A route table can contain up to 200 custom route entries.
40944
- * * The **NextHopList** parameter is not supported.
42154
+ * * **NextHopList** is not supported.
40945
42155
  * * The destination CIDR block (**DestinationCidrBlock**) of a custom route entry cannot be 100.64.0.0/10 or a subset of it.
40946
42156
  * * The destination CIDR blocks (**DestinationCidrBlock**) of route entries in the same route table must be unique.
40947
42157
  * * If you do not include the mask length when you specify the destination CIDR block (**DestinationCidrBlock**), the destination CIDR block is considered a host IP address whose mask length is 32 bits.
@@ -41013,24 +42223,25 @@ class Client extends openapi_client_1.default {
41013
42223
  return $tea.cast(await this.callApi(params, req, runtime), new CreateRouteEntryResponse({}));
41014
42224
  }
41015
42225
  /**
41016
- * * **CreateRouteEntry** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeRouteEntryList](~~138148~~) operation to query the status of a route entry.
41017
- * * If the route entry is in the **Creating** state, the route entry is being created.
41018
- * * If the route entry is in the **Created** state, the route entry is created.
41019
- * * You cannot repeatedly call the **CreateRouteEntry** operation to add a custom route entry to the route table of a vRouter or a VBR within the specified period of time.
42226
+ * * **CreateRouteEntry** 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 [DescribeRouteEntryList](~~138148~~) operation to query the status of the task:
42227
+ * * If a route is in the **Creating** state, the route is being added.
42228
+ * * If a route is in the **Created** state, the route is added.
42229
+ * * You cannot repeatedly call **CreateRouteEntry** within a specific period of time.
41020
42230
  * **When you call this operation to add a custom route entry to the route table of a vRouter, take note of the following limits:**
42231
+ * > When you add a route entry from a prefix list, the quota usage is calculated by adding the number of existing route entries and the maximum number of route entries of the prefix list.
41021
42232
  * * A route table can contain up to 200 custom route entries.
41022
- * * The destination CIDR block (**DestinationCidrBlock**) of a custom route entry cannot be the same as or overlap with the CIDR block of a vSwitch in the virtual private cloud (VPC).
42233
+ * * The destination CIDR block (**DestinationCidrBlock**) of a custom route entry cannot be the same as or be a subset of the CIDR block of a vSwitch in the virtual private cloud (VPC). The destination CIDR block can contain the CIDR block of a vSwitch.
41023
42234
  * * The destination CIDR block (**DestinationCidrBlock**) of a custom route entry cannot be 100.64.0.0/10 or a subset of it.
41024
42235
  * * The destination CIDR blocks (**DestinationCidrBlock**) of route entries in the same route table must be unique.
41025
42236
  * * If you do not include the mask length when you specify the destination CIDR block (**DestinationCidrBlock**), the destination CIDR block is considered a host IP address whose mask length is 32 bits.
41026
42237
  * * Multiple custom route entries can point to the same next hop (**NextHopId**).
41027
- * * The next hop (**NextHopId**) of a custom route entry must belong to the same VPC as the route table.
42238
+ * * The next hop (**NextHopId**) of a custom route entry must in the same VPC as the route table.
41028
42239
  * * Equal-cost multi-path (ECMP) routing can be configured by specifying the **NextHopList** parameter.
41029
42240
  * * When you add non-ECMP route entries, you must specify **DestinationCidrBlock**, **NextHopType**, and **NextHopId**, and you must not specify **NextHopList**.
41030
42241
  * * When you add route entries for ECMP routing, you must specify **DestinationCidrBlock** and **NextHopList**, and you must not specify **NextHopType** or **NextHopId**.
41031
42242
  * **When you call this operation to add a custom route entry to the route table of a VBR, take note of the following limits:**
41032
42243
  * * A route table can contain up to 200 custom route entries.
41033
- * * The **NextHopList** parameter is not supported.
42244
+ * * **NextHopList** is not supported.
41034
42245
  * * The destination CIDR block (**DestinationCidrBlock**) of a custom route entry cannot be 100.64.0.0/10 or a subset of it.
41035
42246
  * * The destination CIDR blocks (**DestinationCidrBlock**) of route entries in the same route table must be unique.
41036
42247
  * * If you do not include the mask length when you specify the destination CIDR block (**DestinationCidrBlock**), the destination CIDR block is considered a host IP address whose mask length is 32 bits.
@@ -41125,6 +42336,7 @@ class Client extends openapi_client_1.default {
41125
42336
  return await this.createRouteTableWithOptions(request, runtime);
41126
42337
  }
41127
42338
  /**
42339
+ * ## [](#)
41128
42340
  * When you call this operation, take note of the following limits:
41129
42341
  * * You can create only one pair of interfaces to be connected between two routers.
41130
42342
  * * You can create a maximum of five router interfaces for a router.
@@ -41247,6 +42459,7 @@ class Client extends openapi_client_1.default {
41247
42459
  return $tea.cast(await this.callApi(params, req, runtime), new CreateRouterInterfaceResponse({}));
41248
42460
  }
41249
42461
  /**
42462
+ * ## [](#)
41250
42463
  * When you call this operation, take note of the following limits:
41251
42464
  * * You can create only one pair of interfaces to be connected between two routers.
41252
42465
  * * You can create a maximum of five router interfaces for a router.
@@ -41398,7 +42611,7 @@ class Client extends openapi_client_1.default {
41398
42611
  return await this.createSslVpnClientCertWithOptions(request, runtime);
41399
42612
  }
41400
42613
  /**
41401
- * * **CreateSslVpnServer** is an asynchronous operation. After you send a request to call this operation, the system returns a request ID and the SSL server is still being created in the backend. You can call the [DescribeVpnGateway](~~73720~~) operation to query the status of a VPN gateway.
42614
+ * * **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.
41402
42615
  * * If the VPN gateway is in the **updating** state, the SSL server is being created.
41403
42616
  * * If the VPN gateway is in the **active** state, the SSL server is created.
41404
42617
  * * You cannot repeatedly call the **CreateSslVpnServer** operation for the same VPN gateway within the specified period of time.
@@ -41478,7 +42691,7 @@ class Client extends openapi_client_1.default {
41478
42691
  return $tea.cast(await this.callApi(params, req, runtime), new CreateSslVpnServerResponse({}));
41479
42692
  }
41480
42693
  /**
41481
- * * **CreateSslVpnServer** is an asynchronous operation. After you send a request to call this operation, the system returns a request ID and the SSL server is still being created in the backend. You can call the [DescribeVpnGateway](~~73720~~) operation to query the status of a VPN gateway.
42694
+ * * **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.
41482
42695
  * * If the VPN gateway is in the **updating** state, the SSL server is being created.
41483
42696
  * * If the VPN gateway is in the **active** state, the SSL server is created.
41484
42697
  * * You cannot repeatedly call the **CreateSslVpnServer** operation for the same VPN gateway within the specified period of time.
@@ -41836,6 +43049,103 @@ class Client extends openapi_client_1.default {
41836
43049
  let runtime = new $Util.RuntimeOptions({});
41837
43050
  return await this.createVSwitchWithOptions(request, runtime);
41838
43051
  }
43052
+ /**
43053
+ * ## [](#)Description
43054
+ * Take note of the following items:
43055
+ * * You can create at most 10 reserved IPv4 CIDR blocks and 10 reserved IPv6 CIDR blocks for each vSwitch in a virtual private cloud (VPC).
43056
+ * * After you create a reserved CIDR block for a vSwitch, the CIDR block cannot contain the IP address of the subnet gateway of the VPC to which the vSwitch belongs.
43057
+ * * **CreateVSwitchCidrReservation** 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 [ListVSwitchCidrReservations](~~610155~~) to query the status of the task:
43058
+ * * If the vSwitch is in the **Assigning** state, the reserved CIDR block is being created.
43059
+ * * If the vSwitch is in the **Assigned** state, the reserved CIDR block is created.
43060
+ * * When you create a reserved IPv4 CIDR block for a vSwitch, the first IP address and the last three IP addresses of the vSwitch are reserved by the system. The four IP addresses will not be allocated.
43061
+ * * When you create a reserved IPv6 CIDR block for a vSwitch, the first IP address and the last nine IP addresses of the vSwitch are reserved by the system. The 10 IP addresses will not be allocated. For example, if you create a reserved IPv4 CIDR block for a vSwitch whose CIDR block is 192.168.1.0/24, the reserved CIDR block cannot contain the following IP addresses: 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255.
43062
+ *
43063
+ * @param request CreateVSwitchCidrReservationRequest
43064
+ * @param runtime runtime options for this request RuntimeOptions
43065
+ * @return CreateVSwitchCidrReservationResponse
43066
+ */
43067
+ async createVSwitchCidrReservationWithOptions(request, runtime) {
43068
+ tea_util_1.default.validateModel(request);
43069
+ let query = {};
43070
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
43071
+ query["ClientToken"] = request.clientToken;
43072
+ }
43073
+ if (!tea_util_1.default.isUnset(request.dryRun)) {
43074
+ query["DryRun"] = request.dryRun;
43075
+ }
43076
+ if (!tea_util_1.default.isUnset(request.ipVersion)) {
43077
+ query["IpVersion"] = request.ipVersion;
43078
+ }
43079
+ if (!tea_util_1.default.isUnset(request.ownerAccount)) {
43080
+ query["OwnerAccount"] = request.ownerAccount;
43081
+ }
43082
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
43083
+ query["OwnerId"] = request.ownerId;
43084
+ }
43085
+ if (!tea_util_1.default.isUnset(request.regionId)) {
43086
+ query["RegionId"] = request.regionId;
43087
+ }
43088
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
43089
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
43090
+ }
43091
+ if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
43092
+ query["ResourceOwnerId"] = request.resourceOwnerId;
43093
+ }
43094
+ if (!tea_util_1.default.isUnset(request.tag)) {
43095
+ query["Tag"] = request.tag;
43096
+ }
43097
+ if (!tea_util_1.default.isUnset(request.vSwitchCidrReservationCidr)) {
43098
+ query["VSwitchCidrReservationCidr"] = request.vSwitchCidrReservationCidr;
43099
+ }
43100
+ if (!tea_util_1.default.isUnset(request.vSwitchCidrReservationDescription)) {
43101
+ query["VSwitchCidrReservationDescription"] = request.vSwitchCidrReservationDescription;
43102
+ }
43103
+ if (!tea_util_1.default.isUnset(request.vSwitchCidrReservationMask)) {
43104
+ query["VSwitchCidrReservationMask"] = request.vSwitchCidrReservationMask;
43105
+ }
43106
+ if (!tea_util_1.default.isUnset(request.vSwitchCidrReservationName)) {
43107
+ query["VSwitchCidrReservationName"] = request.vSwitchCidrReservationName;
43108
+ }
43109
+ if (!tea_util_1.default.isUnset(request.vSwitchCidrReservationType)) {
43110
+ query["VSwitchCidrReservationType"] = request.vSwitchCidrReservationType;
43111
+ }
43112
+ if (!tea_util_1.default.isUnset(request.vSwitchId)) {
43113
+ query["VSwitchId"] = request.vSwitchId;
43114
+ }
43115
+ let req = new $OpenApi.OpenApiRequest({
43116
+ query: openapi_util_1.default.query(query),
43117
+ });
43118
+ let params = new $OpenApi.Params({
43119
+ action: "CreateVSwitchCidrReservation",
43120
+ version: "2016-04-28",
43121
+ protocol: "HTTPS",
43122
+ pathname: "/",
43123
+ method: "POST",
43124
+ authType: "AK",
43125
+ style: "RPC",
43126
+ reqBodyType: "formData",
43127
+ bodyType: "json",
43128
+ });
43129
+ return $tea.cast(await this.callApi(params, req, runtime), new CreateVSwitchCidrReservationResponse({}));
43130
+ }
43131
+ /**
43132
+ * ## [](#)Description
43133
+ * Take note of the following items:
43134
+ * * You can create at most 10 reserved IPv4 CIDR blocks and 10 reserved IPv6 CIDR blocks for each vSwitch in a virtual private cloud (VPC).
43135
+ * * After you create a reserved CIDR block for a vSwitch, the CIDR block cannot contain the IP address of the subnet gateway of the VPC to which the vSwitch belongs.
43136
+ * * **CreateVSwitchCidrReservation** 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 [ListVSwitchCidrReservations](~~610155~~) to query the status of the task:
43137
+ * * If the vSwitch is in the **Assigning** state, the reserved CIDR block is being created.
43138
+ * * If the vSwitch is in the **Assigned** state, the reserved CIDR block is created.
43139
+ * * When you create a reserved IPv4 CIDR block for a vSwitch, the first IP address and the last three IP addresses of the vSwitch are reserved by the system. The four IP addresses will not be allocated.
43140
+ * * When you create a reserved IPv6 CIDR block for a vSwitch, the first IP address and the last nine IP addresses of the vSwitch are reserved by the system. The 10 IP addresses will not be allocated. For example, if you create a reserved IPv4 CIDR block for a vSwitch whose CIDR block is 192.168.1.0/24, the reserved CIDR block cannot contain the following IP addresses: 192.168.1.0, 192.168.1.253, 192.168.1.254, and 192.168.1.255.
43141
+ *
43142
+ * @param request CreateVSwitchCidrReservationRequest
43143
+ * @return CreateVSwitchCidrReservationResponse
43144
+ */
43145
+ async createVSwitchCidrReservation(request) {
43146
+ let runtime = new $Util.RuntimeOptions({});
43147
+ return await this.createVSwitchCidrReservationWithOptions(request, runtime);
43148
+ }
41839
43149
  async createVbrHaWithOptions(request, runtime) {
41840
43150
  tea_util_1.default.validateModel(request);
41841
43151
  let query = {};
@@ -41972,7 +43282,7 @@ class Client extends openapi_client_1.default {
41972
43282
  return await this.createVcoRouteEntryWithOptions(request, runtime);
41973
43283
  }
41974
43284
  /**
41975
- * When you create a VBR, the VBR is in the **Enabled** state by default.
43285
+ * When you create a VBR, the VBR is in the **active** state by default.
41976
43286
  *
41977
43287
  * @param request CreateVirtualBorderRouterRequest
41978
43288
  * @param runtime runtime options for this request RuntimeOptions
@@ -42064,7 +43374,7 @@ class Client extends openapi_client_1.default {
42064
43374
  return $tea.cast(await this.callApi(params, req, runtime), new CreateVirtualBorderRouterResponse({}));
42065
43375
  }
42066
43376
  /**
42067
- * When you create a VBR, the VBR is in the **Enabled** state by default.
43377
+ * When you create a VBR, the VBR is in the **active** state by default.
42068
43378
  *
42069
43379
  * @param request CreateVirtualBorderRouterRequest
42070
43380
  * @return CreateVirtualBorderRouterResponse
@@ -42074,7 +43384,8 @@ class Client extends openapi_client_1.default {
42074
43384
  return await this.createVirtualBorderRouterWithOptions(request, runtime);
42075
43385
  }
42076
43386
  /**
42077
- * Before you call this API operation, familiarize yourself with the workflow for creating a hosted connection and the environment requirements. For more information, see [Overview](~~146571~~) and [Operation guide for Express Connect partners](~~155987~~).
43387
+ * # [](#)Description
43388
+ * Before you call this operation, we recommend that you learn about the workflow for creating a hosted connection and the environment requirements. For more information, see [Overview of hosted connections](~~146571~~) and [Operations performed by Express Connect partners](~~155987~~).
42078
43389
  *
42079
43390
  * @param request CreateVirtualPhysicalConnectionRequest
42080
43391
  * @param runtime runtime options for this request RuntimeOptions
@@ -42136,7 +43447,8 @@ class Client extends openapi_client_1.default {
42136
43447
  return $tea.cast(await this.callApi(params, req, runtime), new CreateVirtualPhysicalConnectionResponse({}));
42137
43448
  }
42138
43449
  /**
42139
- * Before you call this API operation, familiarize yourself with the workflow for creating a hosted connection and the environment requirements. For more information, see [Overview](~~146571~~) and [Operation guide for Express Connect partners](~~155987~~).
43450
+ * # [](#)Description
43451
+ * Before you call this operation, we recommend that you learn about the workflow for creating a hosted connection and the environment requirements. For more information, see [Overview of hosted connections](~~146571~~) and [Operations performed by Express Connect partners](~~155987~~).
42140
43452
  *
42141
43453
  * @param request CreateVirtualPhysicalConnectionRequest
42142
43454
  * @return CreateVirtualPhysicalConnectionResponse
@@ -42398,8 +43710,8 @@ class Client extends openapi_client_1.default {
42398
43710
  * Preparations:
42399
43711
  * Before the Express Connect partner performs the operation, the Express Connect partner must notify the tenant and request the tenant to enable outbound data transfer billing. For more information, see [Enable outbound data transfer billing](~~274385~~).
42400
43712
  * What to do next:
42401
- * 1\\. After the Express Connect partner performs the operation, a shared port is added for the tenant account. The tenant must call the [ConfirmPhysicalConnection](~~324198~~) operation to accept the shared port.
42402
- * 2\\. Then, the Express Connect partner must call the [AttachVbrToVpconn](~~324191~~) operation to associate the VBR with the newly added shared port that belongs to the tenant account.
43713
+ * 1. After the Express Connect partner performs the operation, a shared port is added for the tenant account. The tenant must call the [ConfirmPhysicalConnection](~~324198~~) operation to accept the shared port.
43714
+ * 2. Then, the Express Connect partner must call the [AttachVbrToVpconn](~~324191~~) operation to associate the VBR with the newly added shared port that belongs to the tenant account.
42403
43715
  *
42404
43716
  * @param request CreateVpconnFromVbrRequest
42405
43717
  * @param runtime runtime options for this request RuntimeOptions
@@ -42444,8 +43756,8 @@ class Client extends openapi_client_1.default {
42444
43756
  * Preparations:
42445
43757
  * Before the Express Connect partner performs the operation, the Express Connect partner must notify the tenant and request the tenant to enable outbound data transfer billing. For more information, see [Enable outbound data transfer billing](~~274385~~).
42446
43758
  * What to do next:
42447
- * 1\\. After the Express Connect partner performs the operation, a shared port is added for the tenant account. The tenant must call the [ConfirmPhysicalConnection](~~324198~~) operation to accept the shared port.
42448
- * 2\\. Then, the Express Connect partner must call the [AttachVbrToVpconn](~~324191~~) operation to associate the VBR with the newly added shared port that belongs to the tenant account.
43759
+ * 1. After the Express Connect partner performs the operation, a shared port is added for the tenant account. The tenant must call the [ConfirmPhysicalConnection](~~324198~~) operation to accept the shared port.
43760
+ * 2. Then, the Express Connect partner must call the [AttachVbrToVpconn](~~324191~~) operation to associate the VBR with the newly added shared port that belongs to the tenant account.
42449
43761
  *
42450
43762
  * @param request CreateVpconnFromVbrRequest
42451
43763
  * @return CreateVpconnFromVbrResponse
@@ -42456,7 +43768,7 @@ class Client extends openapi_client_1.default {
42456
43768
  }
42457
43769
  /**
42458
43770
  * By default, an IPsec-VPN connection created by calling the `CreateVpnAttachment` operation is not associated with a resource. You can associate an IPsec-VPN connection with a transit router by calling the [CreateTransitRouterVpnAttachment](~~443993~~) operation.
42459
- * ### Prerequisites
43771
+ * ### [](#)Prerequisites
42460
43772
  * Before you create an IPsec-VPN connection, make sure that you created a customer gateway in the region where you want to create the IPsec-VPN connection. For more information, see [CreateCustomerGateway](~~120368~~).
42461
43773
  * If you want to add BGP configurations to an IPsec-VPN connection, make sure that an autonomous system number (ASN) is assigned to the customer gateway.
42462
43774
  *
@@ -42548,7 +43860,7 @@ class Client extends openapi_client_1.default {
42548
43860
  }
42549
43861
  /**
42550
43862
  * By default, an IPsec-VPN connection created by calling the `CreateVpnAttachment` operation is not associated with a resource. You can associate an IPsec-VPN connection with a transit router by calling the [CreateTransitRouterVpnAttachment](~~443993~~) operation.
42551
- * ### Prerequisites
43863
+ * ### [](#)Prerequisites
42552
43864
  * Before you create an IPsec-VPN connection, make sure that you created a customer gateway in the region where you want to create the IPsec-VPN connection. For more information, see [CreateCustomerGateway](~~120368~~).
42553
43865
  * If you want to add BGP configurations to an IPsec-VPN connection, make sure that an autonomous system number (ASN) is assigned to the customer gateway.
42554
43866
  *
@@ -42561,9 +43873,10 @@ class Client extends openapi_client_1.default {
42561
43873
  }
42562
43874
  /**
42563
43875
  * * If the VPN gateway supports the dual-tunnel mode, you can specify the following parameters in addition to the required parameters when you call `CreateVpnConnection`:
42564
- * **ClientToken**, **Name**, **EffectImmediately**, **AutoConfigRoute**, **Tags**, **TunnelOptionsSpecification**, and **EnableTunnelsBgp**.
42565
- * * If the VPN gateway supports only the single-tunnel mode, you can specify the following parameters in addition to the required parameters when you call `CreateVpnConnection`:
42566
- * **ClientToken**, **CustomerGatewayId**, **Name**, **EffectImmediately**, **IkeConfig**, **IpsecConfig**, **HealthCheckConfig**, **AutoConfigRoute**, **EnableDpd**, **EnableNatTraversal**, **BgpConfig**, **RemoteCaCertificate**, and **Tags**.
43876
+ * **ClientToken**, **Name**, **EffectImmediately**, **AutoConfigRoute**, **Tags** array, **TunnelOptionsSpecification** array, and **EnableTunnelsBgp**.
43877
+ * For more information about the regions and zones that support the dual-tunnel mode, see [IPsec-VPN connections support the dual-tunnel mode](~~2358946~~).
43878
+ * * If the VPN gateway supports only the dual-tunnel mode, you can specify the following parameters in addition to the required parameters when you call `CreateVpnConnection`:
43879
+ * **ClientToken**, **CustomerGatewayId**, **Name**, **EffectImmediately**, **IkeConfig**, **IpsecConfig**, **HealthCheckConfig**, **AutoConfigRoute**, **EnableDpd**, **EnableNatTraversal**, **BgpConfig**, **RemoteCaCertificate**, and **Tags** array.
42567
43880
  * * **CreateVpnConnection** 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.
42568
43881
  * * If the VPN gateway is in the **updating** state, the IPsec-VPN connection is being created.
42569
43882
  * * If the VPN gateway is in the **active** state, the IPsec-VPN connection is created.
@@ -42667,9 +43980,10 @@ class Client extends openapi_client_1.default {
42667
43980
  }
42668
43981
  /**
42669
43982
  * * If the VPN gateway supports the dual-tunnel mode, you can specify the following parameters in addition to the required parameters when you call `CreateVpnConnection`:
42670
- * **ClientToken**, **Name**, **EffectImmediately**, **AutoConfigRoute**, **Tags**, **TunnelOptionsSpecification**, and **EnableTunnelsBgp**.
42671
- * * If the VPN gateway supports only the single-tunnel mode, you can specify the following parameters in addition to the required parameters when you call `CreateVpnConnection`:
42672
- * **ClientToken**, **CustomerGatewayId**, **Name**, **EffectImmediately**, **IkeConfig**, **IpsecConfig**, **HealthCheckConfig**, **AutoConfigRoute**, **EnableDpd**, **EnableNatTraversal**, **BgpConfig**, **RemoteCaCertificate**, and **Tags**.
43983
+ * **ClientToken**, **Name**, **EffectImmediately**, **AutoConfigRoute**, **Tags** array, **TunnelOptionsSpecification** array, and **EnableTunnelsBgp**.
43984
+ * For more information about the regions and zones that support the dual-tunnel mode, see [IPsec-VPN connections support the dual-tunnel mode](~~2358946~~).
43985
+ * * If the VPN gateway supports only the dual-tunnel mode, you can specify the following parameters in addition to the required parameters when you call `CreateVpnConnection`:
43986
+ * **ClientToken**, **CustomerGatewayId**, **Name**, **EffectImmediately**, **IkeConfig**, **IpsecConfig**, **HealthCheckConfig**, **AutoConfigRoute**, **EnableDpd**, **EnableNatTraversal**, **BgpConfig**, **RemoteCaCertificate**, and **Tags** array.
42673
43987
  * * **CreateVpnConnection** 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.
42674
43988
  * * If the VPN gateway is in the **updating** state, the IPsec-VPN connection is being created.
42675
43989
  * * If the VPN gateway is in the **active** state, the IPsec-VPN connection is created.
@@ -43293,7 +44607,8 @@ class Client extends openapi_client_1.default {
43293
44607
  return await this.deleteCustomerGatewayWithOptions(request, runtime);
43294
44608
  }
43295
44609
  /**
43296
- * * The **DeleteDhcpOptionsSet** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [GetDhcpOptionsSet](~~189208~~) operation to query the status of a DHCP options set:
44610
+ * ## [](#)Description
44611
+ * * **DeleteDhcpOptionsSet** 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 [GetDhcpOptionsSet](~~189208~~) operation to query the status of the task.
43297
44612
  * * If the DHCP options set is in the **Deleting** state, the DHCP options set is being deleted.
43298
44613
  * * If you cannot query the DHCP options set, the DHCP options set is deleted.
43299
44614
  * * You cannot repeatedly call the **DeleteDhcpOptionsSet** operation to delete a DHCP options set within the specified period of time.
@@ -43346,7 +44661,8 @@ class Client extends openapi_client_1.default {
43346
44661
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteDhcpOptionsSetResponse({}));
43347
44662
  }
43348
44663
  /**
43349
- * * The **DeleteDhcpOptionsSet** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [GetDhcpOptionsSet](~~189208~~) operation to query the status of a DHCP options set:
44664
+ * ## [](#)Description
44665
+ * * **DeleteDhcpOptionsSet** 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 [GetDhcpOptionsSet](~~189208~~) operation to query the status of the task.
43350
44666
  * * If the DHCP options set is in the **Deleting** state, the DHCP options set is being deleted.
43351
44667
  * * If you cannot query the DHCP options set, the DHCP options set is deleted.
43352
44668
  * * You cannot repeatedly call the **DeleteDhcpOptionsSet** operation to delete a DHCP options set within the specified period of time.
@@ -43358,6 +44674,50 @@ class Client extends openapi_client_1.default {
43358
44674
  let runtime = new $Util.RuntimeOptions({});
43359
44675
  return await this.deleteDhcpOptionsSetWithOptions(request, runtime);
43360
44676
  }
44677
+ async deleteFailoverTestJobWithOptions(request, runtime) {
44678
+ tea_util_1.default.validateModel(request);
44679
+ let query = {};
44680
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
44681
+ query["ClientToken"] = request.clientToken;
44682
+ }
44683
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
44684
+ query["ClientToken"] = request.clientToken;
44685
+ }
44686
+ if (!tea_util_1.default.isUnset(request.jobId)) {
44687
+ query["JobId"] = request.jobId;
44688
+ }
44689
+ if (!tea_util_1.default.isUnset(request.ownerAccount)) {
44690
+ query["OwnerAccount"] = request.ownerAccount;
44691
+ }
44692
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
44693
+ query["OwnerId"] = request.ownerId;
44694
+ }
44695
+ if (!tea_util_1.default.isUnset(request.regionId)) {
44696
+ query["RegionId"] = request.regionId;
44697
+ }
44698
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
44699
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
44700
+ }
44701
+ let req = new $OpenApi.OpenApiRequest({
44702
+ query: openapi_util_1.default.query(query),
44703
+ });
44704
+ let params = new $OpenApi.Params({
44705
+ action: "DeleteFailoverTestJob",
44706
+ version: "2016-04-28",
44707
+ protocol: "HTTPS",
44708
+ pathname: "/",
44709
+ method: "POST",
44710
+ authType: "AK",
44711
+ style: "RPC",
44712
+ reqBodyType: "formData",
44713
+ bodyType: "json",
44714
+ });
44715
+ return $tea.cast(await this.callApi(params, req, runtime), new DeleteFailoverTestJobResponse({}));
44716
+ }
44717
+ async deleteFailoverTestJob(request) {
44718
+ let runtime = new $Util.RuntimeOptions({});
44719
+ return await this.deleteFailoverTestJobWithOptions(request, runtime);
44720
+ }
43361
44721
  /**
43362
44722
  * * The **DeleteFlowLog** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeFlowLogs](~~87923~~) operation to query the status of a flow log:
43363
44723
  * * If the flow log is in the **Deleting** state, the flow log is being deleted.
@@ -43419,7 +44779,8 @@ class Client extends openapi_client_1.default {
43419
44779
  return await this.deleteFlowLogWithOptions(request, runtime);
43420
44780
  }
43421
44781
  /**
43422
- * * **DeleteForwardEntry** is an asynchronous operation. After you make a request, the ID of the request is returned but the specified DNAT entry is not deleted. The system deletes the entry in the background. You can call the [DescribeForwardTableEntries](~~36053~~) operation to query the status of a DNAT entry.
44782
+ * ## [](#)Description
44783
+ * * **DeleteForwardEntry** 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 [DescribeForwardTableEntries](~~36053~~) operation to query the status of the task.
43423
44784
  * * If the DNAT entry is in the **Deleting** state, the system is deleting the DNAT entry. In this case, you can only query the status of the DNAT entry, but cannot perform other operations.
43424
44785
  * * If the DNAT entry cannot be found, it is deleted.
43425
44786
  * > If a DNAT table has DNAT entries in the **Pending** state, you cannot delete the DNAT entries.
@@ -43473,7 +44834,8 @@ class Client extends openapi_client_1.default {
43473
44834
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteForwardEntryResponse({}));
43474
44835
  }
43475
44836
  /**
43476
- * * **DeleteForwardEntry** is an asynchronous operation. After you make a request, the ID of the request is returned but the specified DNAT entry is not deleted. The system deletes the entry in the background. You can call the [DescribeForwardTableEntries](~~36053~~) operation to query the status of a DNAT entry.
44837
+ * ## [](#)Description
44838
+ * * **DeleteForwardEntry** 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 [DescribeForwardTableEntries](~~36053~~) operation to query the status of the task.
43477
44839
  * * If the DNAT entry is in the **Deleting** state, the system is deleting the DNAT entry. In this case, you can only query the status of the DNAT entry, but cannot perform other operations.
43478
44840
  * * If the DNAT entry cannot be found, it is deleted.
43479
44841
  * > If a DNAT table has DNAT entries in the **Pending** state, you cannot delete the DNAT entries.
@@ -43487,7 +44849,8 @@ class Client extends openapi_client_1.default {
43487
44849
  return await this.deleteForwardEntryWithOptions(request, runtime);
43488
44850
  }
43489
44851
  /**
43490
- * **DeleteFullNatEntry** is an asynchronous operation. After you make a request, the ID of the request is returned but the FULLNAT entry is not deleted. The system deletes the FULLNAT entry in the background. You can call the [ListFullNatEntries](~~348779~~) operation to query the status of a FULLNAT entry.
44852
+ * ## [](#)Description
44853
+ * **DeleteFullNatEntry** 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 [ListFullNatEntries](~~348779~~) operation to query the status of a FULLNAT entry.
43491
44854
  * * If the FULLNAT entry is in the **Deleting** state, the system is deleting the FULLNAT entry. In this case, you can query the status of the FULLNAT entry, but cannot perform other operations.
43492
44855
  * * If the FULLNAT entry cannot be found, the FULLNAT entry is deleted.
43493
44856
  * You cannot repeatedly call the **DeleteFullNatEntry** operation to delete a FULLNAT entry within the specified period of time.
@@ -43543,7 +44906,8 @@ class Client extends openapi_client_1.default {
43543
44906
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteFullNatEntryResponse({}));
43544
44907
  }
43545
44908
  /**
43546
- * **DeleteFullNatEntry** is an asynchronous operation. After you make a request, the ID of the request is returned but the FULLNAT entry is not deleted. The system deletes the FULLNAT entry in the background. You can call the [ListFullNatEntries](~~348779~~) operation to query the status of a FULLNAT entry.
44909
+ * ## [](#)Description
44910
+ * **DeleteFullNatEntry** 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 [ListFullNatEntries](~~348779~~) operation to query the status of a FULLNAT entry.
43547
44911
  * * If the FULLNAT entry is in the **Deleting** state, the system is deleting the FULLNAT entry. In this case, you can query the status of the FULLNAT entry, but cannot perform other operations.
43548
44912
  * * If the FULLNAT entry cannot be found, the FULLNAT entry is deleted.
43549
44913
  * You cannot repeatedly call the **DeleteFullNatEntry** operation to delete a FULLNAT entry within the specified period of time.
@@ -43906,10 +45270,11 @@ class Client extends openapi_client_1.default {
43906
45270
  return await this.deleteIpsecServerWithOptions(request, runtime);
43907
45271
  }
43908
45272
  /**
45273
+ * ### [](#)Description
43909
45274
  * * Before you delete an IPv4 gateway, make sure that no route tables are associated with the IPv4 gateway.
43910
- * * The **DeleteIpv4Gateway** operation is an asynchronous operation. After you call this operation, the system returns a **request ID**. However, the deletion task is still being run in the background. You can call the [GetIpv4GatewayAttribute](~~407670~~) operation to query the status of the IPv4 gateway.
45275
+ * * **DeleteIpv4Gateway** 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 [GetIpv4GatewayAttribute](~~407670~~) operation to query the status of the task.
43911
45276
  * * If the IPv4 gateway is in the **Deleting** state, the IPv4 gateway is being deleted.
43912
- * * If the IPv4 gateway cannot be queried, the deletion is complete.
45277
+ * * If the IPv4 gateway cannot be queried, the IPv4 gateway is deleted.
43913
45278
  * * After you call the **DeleteIpv4Gateway** operation to delete an IPv4 gateway, you cannot call the operation again to delete the IPv4 gateway until the deletion task is complete.
43914
45279
  *
43915
45280
  * @param request DeleteIpv4GatewayRequest
@@ -43963,10 +45328,11 @@ class Client extends openapi_client_1.default {
43963
45328
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteIpv4GatewayResponse({}));
43964
45329
  }
43965
45330
  /**
45331
+ * ### [](#)Description
43966
45332
  * * Before you delete an IPv4 gateway, make sure that no route tables are associated with the IPv4 gateway.
43967
- * * The **DeleteIpv4Gateway** operation is an asynchronous operation. After you call this operation, the system returns a **request ID**. However, the deletion task is still being run in the background. You can call the [GetIpv4GatewayAttribute](~~407670~~) operation to query the status of the IPv4 gateway.
45333
+ * * **DeleteIpv4Gateway** 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 [GetIpv4GatewayAttribute](~~407670~~) operation to query the status of the task.
43968
45334
  * * If the IPv4 gateway is in the **Deleting** state, the IPv4 gateway is being deleted.
43969
- * * If the IPv4 gateway cannot be queried, the deletion is complete.
45335
+ * * If the IPv4 gateway cannot be queried, the IPv4 gateway is deleted.
43970
45336
  * * After you call the **DeleteIpv4Gateway** operation to delete an IPv4 gateway, you cannot call the operation again to delete the IPv4 gateway until the deletion task is complete.
43971
45337
  *
43972
45338
  * @param request DeleteIpv4GatewayRequest
@@ -44043,12 +45409,11 @@ class Client extends openapi_client_1.default {
44043
45409
  return await this.deleteIpv6EgressOnlyRuleWithOptions(request, runtime);
44044
45410
  }
44045
45411
  /**
44046
- * - The **DeleteIpv6Gateway** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeIpv6GatewayAttribute](/help/en/virtual-private-cloud/latest/describeipv6gatewayattribute) operation to query the status of an IPv6 gateway:
44047
- * - If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
44048
- * - If you cannot query the IPv6 gateway, the IPv6 gateway is deleted.
44049
- * - After you call the **DeleteIpv6Gateway** operation to delete an IPv6 gateway, you cannot call the operation again to delete the IPv6 gateway until the deletion task is complete.
44050
- * ## Prerequisites
44051
45412
  * Before you delete an IPv6 gateway, you must delete the egress-only rules of the IPv6 gateway. For more information, see [DeleteIpv6EgressOnlyRule](~~102201~~).
45413
+ * * **DeleteIpv6Gateway** 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 [DescribeIpv6GatewayAttribute](~~102226~~) operation to query the status of the task:
45414
+ * * If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
45415
+ * * If you cannot query the IPv6 gateway, the IPv6 gateway is deleted.
45416
+ * * You cannot repeatedly call the **DeleteIpv6Gateway** operation to delete an IPv6 gateway within the specified period of time.
44052
45417
  *
44053
45418
  * @param request DeleteIpv6GatewayRequest
44054
45419
  * @param runtime runtime options for this request RuntimeOptions
@@ -44095,12 +45460,11 @@ class Client extends openapi_client_1.default {
44095
45460
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteIpv6GatewayResponse({}));
44096
45461
  }
44097
45462
  /**
44098
- * - The **DeleteIpv6Gateway** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeIpv6GatewayAttribute](/help/en/virtual-private-cloud/latest/describeipv6gatewayattribute) operation to query the status of an IPv6 gateway:
44099
- * - If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
44100
- * - If you cannot query the IPv6 gateway, the IPv6 gateway is deleted.
44101
- * - After you call the **DeleteIpv6Gateway** operation to delete an IPv6 gateway, you cannot call the operation again to delete the IPv6 gateway until the deletion task is complete.
44102
- * ## Prerequisites
44103
45463
  * Before you delete an IPv6 gateway, you must delete the egress-only rules of the IPv6 gateway. For more information, see [DeleteIpv6EgressOnlyRule](~~102201~~).
45464
+ * * **DeleteIpv6Gateway** 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 [DescribeIpv6GatewayAttribute](~~102226~~) operation to query the status of the task:
45465
+ * * If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
45466
+ * * If you cannot query the IPv6 gateway, the IPv6 gateway is deleted.
45467
+ * * You cannot repeatedly call the **DeleteIpv6Gateway** operation to delete an IPv6 gateway within the specified period of time.
44104
45468
  *
44105
45469
  * @param request DeleteIpv6GatewayRequest
44106
45470
  * @return DeleteIpv6GatewayResponse
@@ -44170,9 +45534,10 @@ class Client extends openapi_client_1.default {
44170
45534
  return await this.deleteIpv6InternetBandwidthWithOptions(request, runtime);
44171
45535
  }
44172
45536
  /**
44173
- * * **DeleteNatGateway** is an asynchronous operation. After you make a request, the ID of the request is returned but the NAT gateway is not deleted. The system deletes the NAT gateway in the background. You can call the [DescribeNatGateways](~~36054~~) to query the status of a NAT gateway.
45537
+ * ## [](#)Description
45538
+ * * **DeleteNatGateway** 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 [DescribeNatGateways](~~36054~~) to query the status of the task.
44174
45539
  * * If a NAT gateway is in the **Deleting** state, the NAT gateway is being deleted. In this case, you can query the NAT gateway but you cannot perform other operations.
44175
- * * If the NAY gateway cannot be found, the NAT gateway is deleted.
45540
+ * * If the NAT gateway cannot be found, the NAT gateway is deleted.
44176
45541
  * After you delete a NAT gateway, you cannot restore the NAT gateway. Proceed with caution.
44177
45542
  * * You cannot repeatedly call the **DeleteNatGateway** operation to delete a NAT gateway within the specified period of time.
44178
45543
  *
@@ -44221,9 +45586,10 @@ class Client extends openapi_client_1.default {
44221
45586
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteNatGatewayResponse({}));
44222
45587
  }
44223
45588
  /**
44224
- * * **DeleteNatGateway** is an asynchronous operation. After you make a request, the ID of the request is returned but the NAT gateway is not deleted. The system deletes the NAT gateway in the background. You can call the [DescribeNatGateways](~~36054~~) to query the status of a NAT gateway.
45589
+ * ## [](#)Description
45590
+ * * **DeleteNatGateway** 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 [DescribeNatGateways](~~36054~~) to query the status of the task.
44225
45591
  * * If a NAT gateway is in the **Deleting** state, the NAT gateway is being deleted. In this case, you can query the NAT gateway but you cannot perform other operations.
44226
- * * If the NAY gateway cannot be found, the NAT gateway is deleted.
45592
+ * * If the NAT gateway cannot be found, the NAT gateway is deleted.
44227
45593
  * After you delete a NAT gateway, you cannot restore the NAT gateway. Proceed with caution.
44228
45594
  * * You cannot repeatedly call the **DeleteNatGateway** operation to delete a NAT gateway within the specified period of time.
44229
45595
  *
@@ -44235,8 +45601,9 @@ class Client extends openapi_client_1.default {
44235
45601
  return await this.deleteNatGatewayWithOptions(request, runtime);
44236
45602
  }
44237
45603
  /**
44238
- * * **DeleteNatIp** is an asynchronous operation. After you make a request, the ID of the request is returned but the specified NAT IP address is not deleted. The system deletes the NAT IP address in the background. You can call the [ListNatIps](~~281979~~) operation to query the status of a NAT IP address.
44239
- * * If a NAT IP address is in the **Deleting** state, the NAT IP address is being deleted. In this case, you can only query the NAT IP address but cannot perform other operations.
45604
+ * ## [](#)Description
45605
+ * * **DeleteNatIp** 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 [ListNatIps](~~281979~~) operation to query the status of the task.
45606
+ * * If the NAT IP address is in the **Deleting** state, the NAT IP address is being deleted. In this case, you can only query the NAT IP address but cannot perform other operations.
44240
45607
  * * If the NAT IP address cannot be found, it is deleted.
44241
45608
  * * You cannot repeatedly call the **DeleteNatIp** operation to delete a NAT IP address within the specified period of time.
44242
45609
  *
@@ -44291,8 +45658,9 @@ class Client extends openapi_client_1.default {
44291
45658
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteNatIpResponse({}));
44292
45659
  }
44293
45660
  /**
44294
- * * **DeleteNatIp** is an asynchronous operation. After you make a request, the ID of the request is returned but the specified NAT IP address is not deleted. The system deletes the NAT IP address in the background. You can call the [ListNatIps](~~281979~~) operation to query the status of a NAT IP address.
44295
- * * If a NAT IP address is in the **Deleting** state, the NAT IP address is being deleted. In this case, you can only query the NAT IP address but cannot perform other operations.
45661
+ * ## [](#)Description
45662
+ * * **DeleteNatIp** 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 [ListNatIps](~~281979~~) operation to query the status of the task.
45663
+ * * If the NAT IP address is in the **Deleting** state, the NAT IP address is being deleted. In this case, you can only query the NAT IP address but cannot perform other operations.
44296
45664
  * * If the NAT IP address cannot be found, it is deleted.
44297
45665
  * * You cannot repeatedly call the **DeleteNatIp** operation to delete a NAT IP address within the specified period of time.
44298
45666
  *
@@ -44304,6 +45672,7 @@ class Client extends openapi_client_1.default {
44304
45672
  return await this.deleteNatIpWithOptions(request, runtime);
44305
45673
  }
44306
45674
  /**
45675
+ * ## [](#)Description
44307
45676
  * You cannot repeatedly call the **DeleteNatIpCidr** operation to delete a NAT CIDR block within the specified period of time.
44308
45677
  *
44309
45678
  * @param request DeleteNatIpCidrRequest
@@ -44360,6 +45729,7 @@ class Client extends openapi_client_1.default {
44360
45729
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteNatIpCidrResponse({}));
44361
45730
  }
44362
45731
  /**
45732
+ * ## [](#)Description
44363
45733
  * You cannot repeatedly call the **DeleteNatIpCidr** operation to delete a NAT CIDR block within the specified period of time.
44364
45734
  *
44365
45735
  * @param request DeleteNatIpCidrRequest
@@ -44427,7 +45797,6 @@ class Client extends openapi_client_1.default {
44427
45797
  return await this.deleteNetworkAclWithOptions(request, runtime);
44428
45798
  }
44429
45799
  /**
44430
- * ## Limit
44431
45800
  * You can only delete a connection over an Express Connect circuit that is in the **Rejected**, **Canceled**, **AllocationFailed**, or **Terminated** state.
44432
45801
  *
44433
45802
  * @param request DeletePhysicalConnectionRequest
@@ -44475,7 +45844,6 @@ class Client extends openapi_client_1.default {
44475
45844
  return $tea.cast(await this.callApi(params, req, runtime), new DeletePhysicalConnectionResponse({}));
44476
45845
  }
44477
45846
  /**
44478
- * ## Limit
44479
45847
  * You can only delete a connection over an Express Connect circuit that is in the **Rejected**, **Canceled**, **AllocationFailed**, or **Terminated** state.
44480
45848
  *
44481
45849
  * @param request DeletePhysicalConnectionRequest
@@ -44630,11 +45998,11 @@ class Client extends openapi_client_1.default {
44630
45998
  }
44631
45999
  /**
44632
46000
  * When you call this operation, take note of the following items:
44633
- * * You can delete only route entries that are in the **Available** state.
44634
- * * You cannot delete a route entry of a virtual private cloud (VPC) in which a vSwitch or another route entry is being created or deleted.
44635
- * * **DeleteRouteEntries** is an asynchronous operation. After you call this operation, the system returns a request ID and runs the task in the background. You can call the [DescribeRouteEntryList](~~138148~~) operation to query the status of a route entry.
44636
- * * If the route entry is in the **Deleting** state, the route entry is being deleted.
44637
- * * If you cannot query the route entry, the route entry is deleted.
46001
+ * * You can delete only routes that are in the **Available** state.
46002
+ * * You cannot delete a route of a virtual private cloud (VPC) in which a vSwitch or another route is being created or deleted.
46003
+ * * **DeleteRouteEntries** 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 [DescribeRouteEntryList](~~138148~~) operation to query the status of the task.
46004
+ * * If the route is in the **Deleting** state, the route is being deleted.
46005
+ * * If you cannot query the route, the route is deleted.
44638
46006
  * * You cannot repeatedly call **DeleteRouteEntries** within a specific period of time.
44639
46007
  *
44640
46008
  * @param request DeleteRouteEntriesRequest
@@ -44683,11 +46051,11 @@ class Client extends openapi_client_1.default {
44683
46051
  }
44684
46052
  /**
44685
46053
  * When you call this operation, take note of the following items:
44686
- * * You can delete only route entries that are in the **Available** state.
44687
- * * You cannot delete a route entry of a virtual private cloud (VPC) in which a vSwitch or another route entry is being created or deleted.
44688
- * * **DeleteRouteEntries** is an asynchronous operation. After you call this operation, the system returns a request ID and runs the task in the background. You can call the [DescribeRouteEntryList](~~138148~~) operation to query the status of a route entry.
44689
- * * If the route entry is in the **Deleting** state, the route entry is being deleted.
44690
- * * If you cannot query the route entry, the route entry is deleted.
46054
+ * * You can delete only routes that are in the **Available** state.
46055
+ * * You cannot delete a route of a virtual private cloud (VPC) in which a vSwitch or another route is being created or deleted.
46056
+ * * **DeleteRouteEntries** 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 [DescribeRouteEntryList](~~138148~~) operation to query the status of the task.
46057
+ * * If the route is in the **Deleting** state, the route is being deleted.
46058
+ * * If you cannot query the route, the route is deleted.
44691
46059
  * * You cannot repeatedly call **DeleteRouteEntries** within a specific period of time.
44692
46060
  *
44693
46061
  * @param request DeleteRouteEntriesRequest
@@ -44778,7 +46146,8 @@ class Client extends openapi_client_1.default {
44778
46146
  return await this.deleteRouteEntryWithOptions(request, runtime);
44779
46147
  }
44780
46148
  /**
44781
- * * The **DeleteRouteTable** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeRouteTableList](~~87602~~) operation to query the status of a custom route table:
46149
+ * ## [](#)Description
46150
+ * * **DeleteRouteTable** 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 [DescribeRouteTableList](~~87602~~) operation to query the status of the task.
44782
46151
  * * If the custom route table is in the **Deleting** state, the custom route table is being deleted.
44783
46152
  * * If you cannot query the custom route table, the custom route table is deleted.
44784
46153
  * * You cannot repeatedly call the **DeleteRouteTable** operation to delete a custom route table within the specified period of time.
@@ -44828,7 +46197,8 @@ class Client extends openapi_client_1.default {
44828
46197
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteRouteTableResponse({}));
44829
46198
  }
44830
46199
  /**
44831
- * * The **DeleteRouteTable** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeRouteTableList](~~87602~~) operation to query the status of a custom route table:
46200
+ * ## [](#)Description
46201
+ * * **DeleteRouteTable** 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 [DescribeRouteTableList](~~87602~~) operation to query the status of the task.
44832
46202
  * * If the custom route table is in the **Deleting** state, the custom route table is being deleted.
44833
46203
  * * If you cannot query the custom route table, the custom route table is deleted.
44834
46204
  * * You cannot repeatedly call the **DeleteRouteTable** operation to delete a custom route table within the specified period of time.
@@ -45299,7 +46669,7 @@ class Client extends openapi_client_1.default {
45299
46669
  * * Before you delete a vSwitch, you must first release or remove all virtual private cloud (VPC) resources, including vSwitches, instances, router interfaces, and high-availability virtual IP addresses (HAVIPs).
45300
46670
  * * You can delete only vSwitches that are in the **Available** state.
45301
46671
  * * You cannot delete a vSwitch from a VPC where a vSwitch or a route is being created or deleted.
45302
- * * **DeleteVSwitch** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](~~94567~~) operation to query the status of a vSwitch:
46672
+ * * **DeleteVSwitch** 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 [DescribeVSwitchAttributes](~~94567~~) operation to query the status of the task:
45303
46673
  * * If the vSwitch is in the **Pending** state, the vSwitch is being deleted.
45304
46674
  * * If you cannot query the vSwitch, the vSwitch is deleted.
45305
46675
  * * You cannot repeatedly call the **DeleteVSwitch** operation to delete a vSwitch within the specified period of time.
@@ -45350,7 +46720,7 @@ class Client extends openapi_client_1.default {
45350
46720
  * * Before you delete a vSwitch, you must first release or remove all virtual private cloud (VPC) resources, including vSwitches, instances, router interfaces, and high-availability virtual IP addresses (HAVIPs).
45351
46721
  * * You can delete only vSwitches that are in the **Available** state.
45352
46722
  * * You cannot delete a vSwitch from a VPC where a vSwitch or a route is being created or deleted.
45353
- * * **DeleteVSwitch** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeVSwitchAttributes](~~94567~~) operation to query the status of a vSwitch:
46723
+ * * **DeleteVSwitch** 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 [DescribeVSwitchAttributes](~~94567~~) operation to query the status of the task:
45354
46724
  * * If the vSwitch is in the **Pending** state, the vSwitch is being deleted.
45355
46725
  * * If you cannot query the vSwitch, the vSwitch is deleted.
45356
46726
  * * You cannot repeatedly call the **DeleteVSwitch** operation to delete a vSwitch within the specified period of time.
@@ -45362,6 +46732,17 @@ class Client extends openapi_client_1.default {
45362
46732
  let runtime = new $Util.RuntimeOptions({});
45363
46733
  return await this.deleteVSwitchWithOptions(request, runtime);
45364
46734
  }
46735
+ /**
46736
+ * ## [](#)Description
46737
+ * * Before you call this operation, make sure that the IP address allocated to an elastic network interface (ENI) from the reserved CIDR block is deleted. If the IP address of the ENI is not deleted, call [UnassignPrivateIpAddresses](~~85919~~) or [UnassignIpv6Addresses](~~98611~~) to delete the IPv4 or IPv6 address.
46738
+ * * **DeleteVSwitchCidrReservation** 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 [ListVSwitchCidrReservations](~~610155~~) to query the status of the task:
46739
+ * * If the reserved CIDR block is in the **Releasing** state, it is being released.
46740
+ * * If the reserved CIDR block is in the **Released** state, it is released.
46741
+ *
46742
+ * @param request DeleteVSwitchCidrReservationRequest
46743
+ * @param runtime runtime options for this request RuntimeOptions
46744
+ * @return DeleteVSwitchCidrReservationResponse
46745
+ */
45365
46746
  async deleteVSwitchCidrReservationWithOptions(request, runtime) {
45366
46747
  tea_util_1.default.validateModel(request);
45367
46748
  let query = {};
@@ -45399,6 +46780,16 @@ class Client extends openapi_client_1.default {
45399
46780
  });
45400
46781
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteVSwitchCidrReservationResponse({}));
45401
46782
  }
46783
+ /**
46784
+ * ## [](#)Description
46785
+ * * Before you call this operation, make sure that the IP address allocated to an elastic network interface (ENI) from the reserved CIDR block is deleted. If the IP address of the ENI is not deleted, call [UnassignPrivateIpAddresses](~~85919~~) or [UnassignIpv6Addresses](~~98611~~) to delete the IPv4 or IPv6 address.
46786
+ * * **DeleteVSwitchCidrReservation** 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 [ListVSwitchCidrReservations](~~610155~~) to query the status of the task:
46787
+ * * If the reserved CIDR block is in the **Releasing** state, it is being released.
46788
+ * * If the reserved CIDR block is in the **Released** state, it is released.
46789
+ *
46790
+ * @param request DeleteVSwitchCidrReservationRequest
46791
+ * @return DeleteVSwitchCidrReservationResponse
46792
+ */
45402
46793
  async deleteVSwitchCidrReservation(request) {
45403
46794
  let runtime = new $Util.RuntimeOptions({});
45404
46795
  return await this.deleteVSwitchCidrReservationWithOptions(request, runtime);
@@ -45520,11 +46911,10 @@ class Client extends openapi_client_1.default {
45520
46911
  return await this.deleteVcoRouteEntryWithOptions(request, runtime);
45521
46912
  }
45522
46913
  /**
45523
- * ## Limits
45524
46914
  * Before you call this operation, take note of the following limits:
45525
46915
  * * Before you delete a VBR, you must delete all router interfaces of the VBR.
45526
- * * You can delete only a VBR that is in the** Unconfirmed**,** Enabled**, or** Terminated** state.
45527
- * * If the owner of an Express Connect circuit wants to delete a VBR that belongs to another Alibaba Cloud account, the VBR must be in the **Unconfirmed** state.
46916
+ * * You can delete only a VBR in the **unconfirmed**, **active**, or **terminated** state.
46917
+ * * If the VBR belongs to another Alibaba Cloud account, you can delete the VBR only if it is in the **unconfirmed** state.
45528
46918
  *
45529
46919
  * @param request DeleteVirtualBorderRouterRequest
45530
46920
  * @param runtime runtime options for this request RuntimeOptions
@@ -45571,11 +46961,10 @@ class Client extends openapi_client_1.default {
45571
46961
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteVirtualBorderRouterResponse({}));
45572
46962
  }
45573
46963
  /**
45574
- * ## Limits
45575
46964
  * Before you call this operation, take note of the following limits:
45576
46965
  * * Before you delete a VBR, you must delete all router interfaces of the VBR.
45577
- * * You can delete only a VBR that is in the** Unconfirmed**,** Enabled**, or** Terminated** state.
45578
- * * If the owner of an Express Connect circuit wants to delete a VBR that belongs to another Alibaba Cloud account, the VBR must be in the **Unconfirmed** state.
46966
+ * * You can delete only a VBR in the **unconfirmed**, **active**, or **terminated** state.
46967
+ * * If the VBR belongs to another Alibaba Cloud account, you can delete the VBR only if it is in the **unconfirmed** state.
45579
46968
  *
45580
46969
  * @param request DeleteVirtualBorderRouterRequest
45581
46970
  * @return DeleteVirtualBorderRouterResponse
@@ -45885,7 +47274,7 @@ class Client extends openapi_client_1.default {
45885
47274
  return await this.deleteVpnConnectionWithOptions(request, runtime);
45886
47275
  }
45887
47276
  /**
45888
- * > You cannot delete a VPN gateway that is associated with an IPsec-VPN connection.
47277
+ * > You cannot delete a VPN gateway associated with existing IPsec-VPN connections.
45889
47278
  *
45890
47279
  * @param request DeleteVpnGatewayRequest
45891
47280
  * @param runtime runtime options for this request RuntimeOptions
@@ -45932,7 +47321,7 @@ class Client extends openapi_client_1.default {
45932
47321
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteVpnGatewayResponse({}));
45933
47322
  }
45934
47323
  /**
45935
- * > You cannot delete a VPN gateway that is associated with an IPsec-VPN connection.
47324
+ * > You cannot delete a VPN gateway associated with existing IPsec-VPN connections.
45936
47325
  *
45937
47326
  * @param request DeleteVpnGatewayRequest
45938
47327
  * @return DeleteVpnGatewayResponse
@@ -46835,6 +48224,100 @@ class Client extends openapi_client_1.default {
46835
48224
  let runtime = new $Util.RuntimeOptions({});
46836
48225
  return await this.describeEipSegmentWithOptions(request, runtime);
46837
48226
  }
48227
+ async describeFailoverTestJobWithOptions(request, runtime) {
48228
+ tea_util_1.default.validateModel(request);
48229
+ let query = {};
48230
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
48231
+ query["ClientToken"] = request.clientToken;
48232
+ }
48233
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
48234
+ query["ClientToken"] = request.clientToken;
48235
+ }
48236
+ if (!tea_util_1.default.isUnset(request.jobId)) {
48237
+ query["JobId"] = request.jobId;
48238
+ }
48239
+ if (!tea_util_1.default.isUnset(request.ownerAccount)) {
48240
+ query["OwnerAccount"] = request.ownerAccount;
48241
+ }
48242
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
48243
+ query["OwnerId"] = request.ownerId;
48244
+ }
48245
+ if (!tea_util_1.default.isUnset(request.regionId)) {
48246
+ query["RegionId"] = request.regionId;
48247
+ }
48248
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
48249
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
48250
+ }
48251
+ let req = new $OpenApi.OpenApiRequest({
48252
+ query: openapi_util_1.default.query(query),
48253
+ });
48254
+ let params = new $OpenApi.Params({
48255
+ action: "DescribeFailoverTestJob",
48256
+ version: "2016-04-28",
48257
+ protocol: "HTTPS",
48258
+ pathname: "/",
48259
+ method: "POST",
48260
+ authType: "AK",
48261
+ style: "RPC",
48262
+ reqBodyType: "formData",
48263
+ bodyType: "json",
48264
+ });
48265
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeFailoverTestJobResponse({}));
48266
+ }
48267
+ async describeFailoverTestJob(request) {
48268
+ let runtime = new $Util.RuntimeOptions({});
48269
+ return await this.describeFailoverTestJobWithOptions(request, runtime);
48270
+ }
48271
+ async describeFailoverTestJobsWithOptions(request, runtime) {
48272
+ tea_util_1.default.validateModel(request);
48273
+ let query = {};
48274
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
48275
+ query["ClientToken"] = request.clientToken;
48276
+ }
48277
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
48278
+ query["ClientToken"] = request.clientToken;
48279
+ }
48280
+ if (!tea_util_1.default.isUnset(request.filter)) {
48281
+ query["Filter"] = request.filter;
48282
+ }
48283
+ if (!tea_util_1.default.isUnset(request.maxResults)) {
48284
+ query["MaxResults"] = request.maxResults;
48285
+ }
48286
+ if (!tea_util_1.default.isUnset(request.nextToken)) {
48287
+ query["NextToken"] = request.nextToken;
48288
+ }
48289
+ if (!tea_util_1.default.isUnset(request.ownerAccount)) {
48290
+ query["OwnerAccount"] = request.ownerAccount;
48291
+ }
48292
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
48293
+ query["OwnerId"] = request.ownerId;
48294
+ }
48295
+ if (!tea_util_1.default.isUnset(request.regionId)) {
48296
+ query["RegionId"] = request.regionId;
48297
+ }
48298
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
48299
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
48300
+ }
48301
+ let req = new $OpenApi.OpenApiRequest({
48302
+ query: openapi_util_1.default.query(query),
48303
+ });
48304
+ let params = new $OpenApi.Params({
48305
+ action: "DescribeFailoverTestJobs",
48306
+ version: "2016-04-28",
48307
+ protocol: "HTTPS",
48308
+ pathname: "/",
48309
+ method: "POST",
48310
+ authType: "AK",
48311
+ style: "RPC",
48312
+ reqBodyType: "formData",
48313
+ bodyType: "json",
48314
+ });
48315
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeFailoverTestJobsResponse({}));
48316
+ }
48317
+ async describeFailoverTestJobs(request) {
48318
+ let runtime = new $Util.RuntimeOptions({});
48319
+ return await this.describeFailoverTestJobsWithOptions(request, runtime);
48320
+ }
46838
48321
  async describeFlowLogsWithOptions(request, runtime) {
46839
48322
  tea_util_1.default.validateModel(request);
46840
48323
  let query = {};
@@ -47542,12 +49025,18 @@ class Client extends openapi_client_1.default {
47542
49025
  if (!tea_util_1.default.isUnset(request.regionId)) {
47543
49026
  query["RegionId"] = request.regionId;
47544
49027
  }
49028
+ if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
49029
+ query["ResourceGroupId"] = request.resourceGroupId;
49030
+ }
47545
49031
  if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
47546
49032
  query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
47547
49033
  }
47548
49034
  if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
47549
49035
  query["ResourceOwnerId"] = request.resourceOwnerId;
47550
49036
  }
49037
+ if (!tea_util_1.default.isUnset(request.tag)) {
49038
+ query["Tag"] = request.tag;
49039
+ }
47551
49040
  if (!tea_util_1.default.isUnset(request.vSwitchId)) {
47552
49041
  query["VSwitchId"] = request.vSwitchId;
47553
49042
  }
@@ -48162,6 +49651,7 @@ class Client extends openapi_client_1.default {
48162
49651
  return await this.describeRegionsWithOptions(request, runtime);
48163
49652
  }
48164
49653
  /**
49654
+ * ## [](#)References
48165
49655
  * 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.
48166
49656
  *
48167
49657
  * @param request DescribeRouteEntryListRequest
@@ -48242,6 +49732,7 @@ class Client extends openapi_client_1.default {
48242
49732
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeRouteEntryListResponse({}));
48243
49733
  }
48244
49734
  /**
49735
+ * ## [](#)References
48245
49736
  * 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.
48246
49737
  *
48247
49738
  * @param request DescribeRouteEntryListRequest
@@ -50033,7 +51524,8 @@ class Client extends openapi_client_1.default {
50033
51524
  return await this.describeZonesWithOptions(request, runtime);
50034
51525
  }
50035
51526
  /**
50036
- * * The **DetachDhcpOptionsSetFromVpc** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeVpcAttribute](~~94565~~) operation to query the status of a DHCP options set:
51527
+ * ## [](#)Description
51528
+ * * **DetachDhcpOptionsSetFromVpc** 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 [DescribeVpcAttribute](~~94565~~) operation to query the status of the task.
50037
51529
  * * If the DHCP options set is in the **Pending** state, the DHCP options set is being disassociated.
50038
51530
  * * If the DHCP options set is in the **UnUsed** state, the DHCP options set is disassociated.
50039
51531
  * * You cannot repeatedly call the **DetachDhcpOptionsSetFromVpc** operation to disassociate a DHCP options set from a VPC within the specified period of time.
@@ -50089,7 +51581,8 @@ class Client extends openapi_client_1.default {
50089
51581
  return $tea.cast(await this.callApi(params, req, runtime), new DetachDhcpOptionsSetFromVpcResponse({}));
50090
51582
  }
50091
51583
  /**
50092
- * * The **DetachDhcpOptionsSetFromVpc** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeVpcAttribute](~~94565~~) operation to query the status of a DHCP options set:
51584
+ * ## [](#)Description
51585
+ * * **DetachDhcpOptionsSetFromVpc** 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 [DescribeVpcAttribute](~~94565~~) operation to query the status of the task.
50093
51586
  * * If the DHCP options set is in the **Pending** state, the DHCP options set is being disassociated.
50094
51587
  * * If the DHCP options set is in the **UnUsed** state, the DHCP options set is disassociated.
50095
51588
  * * You cannot repeatedly call the **DetachDhcpOptionsSetFromVpc** operation to disassociate a DHCP options set from a VPC within the specified period of time.
@@ -50246,6 +51739,9 @@ class Client extends openapi_client_1.default {
50246
51739
  if (!tea_util_1.default.isUnset(request.gatewayId)) {
50247
51740
  query["GatewayId"] = request.gatewayId;
50248
51741
  }
51742
+ if (!tea_util_1.default.isUnset(request.gatewayType)) {
51743
+ query["GatewayType"] = request.gatewayType;
51744
+ }
50249
51745
  if (!tea_util_1.default.isUnset(request.ownerAccount)) {
50250
51746
  query["OwnerAccount"] = request.ownerAccount;
50251
51747
  }
@@ -50476,7 +51972,9 @@ class Client extends openapi_client_1.default {
50476
51972
  /**
50477
51973
  * When you call this operation, take note of the following limits:
50478
51974
  * * You can enable only an Express Connect circuit that is in the **Confirmed** state.
50479
- * * After you enable an Express Connect circuit, it changes to the **Enabled** state.
51975
+ * * After you enable an Express Connect circuit, it enters the **Enabled** state.
51976
+ * * **EnablePhysicalConnection** 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 [DescribePhysicalConnections](~~36042~~) operation to query the status of the task.
51977
+ * * You cannot repeatedly call **EnablePhysicalConnection** for an Express Connect circuit in the **Confirmed** state within a specific time period.
50480
51978
  *
50481
51979
  * @param request EnablePhysicalConnectionRequest
50482
51980
  * @param runtime runtime options for this request RuntimeOptions
@@ -50528,7 +52026,9 @@ class Client extends openapi_client_1.default {
50528
52026
  /**
50529
52027
  * When you call this operation, take note of the following limits:
50530
52028
  * * You can enable only an Express Connect circuit that is in the **Confirmed** state.
50531
- * * After you enable an Express Connect circuit, it changes to the **Enabled** state.
52029
+ * * After you enable an Express Connect circuit, it enters the **Enabled** state.
52030
+ * * **EnablePhysicalConnection** 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 [DescribePhysicalConnections](~~36042~~) operation to query the status of the task.
52031
+ * * You cannot repeatedly call **EnablePhysicalConnection** for an Express Connect circuit in the **Confirmed** state within a specific time period.
50532
52032
  *
50533
52033
  * @param request EnablePhysicalConnectionRequest
50534
52034
  * @return EnablePhysicalConnectionResponse
@@ -50582,7 +52082,8 @@ class Client extends openapi_client_1.default {
50582
52082
  return await this.enableVpcClassicLinkWithOptions(request, runtime);
50583
52083
  }
50584
52084
  /**
50585
- * * The **EnableVpcIpv4Gateway** operation is asynchronous. After you send the request, the system returns **RequestId**. However, the operation is still being performed in the system background. You can call the [GetIpv4GatewayAttribute](~~407670~~) operation to query the status of an IPv4 gateway:
52085
+ * ## [](#)Description
52086
+ * * **EnableVpcIpv4Gateway** 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 [GetIpv4GatewayAttribute](~~407670~~) operation to query the status of an IPv4 gateway.
50586
52087
  * * If the IPv4 gateway is in the **Activating** state, the IPv4 gateway is being activated.
50587
52088
  * * If the IPv4 gateway is in the **Created** state, the IPv4 gateway is activated.
50588
52089
  * * You cannot repeatedly call the **EnableVpcIpv4Gateway** operation to activate an IPv4 gateway within the specified period of time.
@@ -50641,7 +52142,8 @@ class Client extends openapi_client_1.default {
50641
52142
  return $tea.cast(await this.callApi(params, req, runtime), new EnableVpcIpv4GatewayResponse({}));
50642
52143
  }
50643
52144
  /**
50644
- * * The **EnableVpcIpv4Gateway** operation is asynchronous. After you send the request, the system returns **RequestId**. However, the operation is still being performed in the system background. You can call the [GetIpv4GatewayAttribute](~~407670~~) operation to query the status of an IPv4 gateway:
52145
+ * ## [](#)Description
52146
+ * * **EnableVpcIpv4Gateway** 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 [GetIpv4GatewayAttribute](~~407670~~) operation to query the status of an IPv4 gateway.
50645
52147
  * * If the IPv4 gateway is in the **Activating** state, the IPv4 gateway is being activated.
50646
52148
  * * If the IPv4 gateway is in the **Created** state, the IPv4 gateway is activated.
50647
52149
  * * You cannot repeatedly call the **EnableVpcIpv4Gateway** operation to activate an IPv4 gateway within the specified period of time.
@@ -50934,6 +52436,53 @@ class Client extends openapi_client_1.default {
50934
52436
  let runtime = new $Util.RuntimeOptions({});
50935
52437
  return await this.getTrafficMirrorServiceStatusWithOptions(request, runtime);
50936
52438
  }
52439
+ async getVSwitchCidrReservationUsageWithOptions(request, runtime) {
52440
+ tea_util_1.default.validateModel(request);
52441
+ let query = {};
52442
+ if (!tea_util_1.default.isUnset(request.maxResults)) {
52443
+ query["MaxResults"] = request.maxResults;
52444
+ }
52445
+ if (!tea_util_1.default.isUnset(request.nextToken)) {
52446
+ query["NextToken"] = request.nextToken;
52447
+ }
52448
+ if (!tea_util_1.default.isUnset(request.ownerAccount)) {
52449
+ query["OwnerAccount"] = request.ownerAccount;
52450
+ }
52451
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
52452
+ query["OwnerId"] = request.ownerId;
52453
+ }
52454
+ if (!tea_util_1.default.isUnset(request.regionId)) {
52455
+ query["RegionId"] = request.regionId;
52456
+ }
52457
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
52458
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
52459
+ }
52460
+ if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
52461
+ query["ResourceOwnerId"] = request.resourceOwnerId;
52462
+ }
52463
+ if (!tea_util_1.default.isUnset(request.vSwitchCidrReservationId)) {
52464
+ query["VSwitchCidrReservationId"] = request.vSwitchCidrReservationId;
52465
+ }
52466
+ let req = new $OpenApi.OpenApiRequest({
52467
+ query: openapi_util_1.default.query(query),
52468
+ });
52469
+ let params = new $OpenApi.Params({
52470
+ action: "GetVSwitchCidrReservationUsage",
52471
+ version: "2016-04-28",
52472
+ protocol: "HTTPS",
52473
+ pathname: "/",
52474
+ method: "POST",
52475
+ authType: "AK",
52476
+ style: "RPC",
52477
+ reqBodyType: "formData",
52478
+ bodyType: "json",
52479
+ });
52480
+ return $tea.cast(await this.callApi(params, req, runtime), new GetVSwitchCidrReservationUsageResponse({}));
52481
+ }
52482
+ async getVSwitchCidrReservationUsage(request) {
52483
+ let runtime = new $Util.RuntimeOptions({});
52484
+ return await this.getVSwitchCidrReservationUsageWithOptions(request, runtime);
52485
+ }
50937
52486
  async getVpcGatewayEndpointAttributeWithOptions(request, runtime) {
50938
52487
  tea_util_1.default.validateModel(request);
50939
52488
  let query = {};
@@ -51166,7 +52715,7 @@ class Client extends openapi_client_1.default {
51166
52715
  }
51167
52716
  /**
51168
52717
  * * Before you can attach a network instance that belongs to another Alibaba Cloud account to your CEN instance, you must grant permissions to your CEN instance.
51169
- * > **GrantInstanceToCen** is a Virtual Private Cloud (VPC) operation. Therefore, you must use `vpc.aliyuncs.com` as the domain name when you call this operation. The API version is `2016-04-28`.
52718
+ * > **GrantInstanceToCen** is a Virtual Private Cloud (VPC) operation. Therefore, you must use the `vpc.aliyuncs.com` domain name to call this operation. The API version is `2016-04-28`.
51170
52719
  * * You cannot repeatedly call the **GrantInstanceToCen** operation to grant the permissions on a network instance to a CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance.
51171
52720
  *
51172
52721
  * @param request GrantInstanceToCenRequest
@@ -51224,7 +52773,7 @@ class Client extends openapi_client_1.default {
51224
52773
  }
51225
52774
  /**
51226
52775
  * * Before you can attach a network instance that belongs to another Alibaba Cloud account to your CEN instance, you must grant permissions to your CEN instance.
51227
- * > **GrantInstanceToCen** is a Virtual Private Cloud (VPC) operation. Therefore, you must use `vpc.aliyuncs.com` as the domain name when you call this operation. The API version is `2016-04-28`.
52776
+ * > **GrantInstanceToCen** is a Virtual Private Cloud (VPC) operation. Therefore, you must use the `vpc.aliyuncs.com` domain name to call this operation. The API version is `2016-04-28`.
51228
52777
  * * You cannot repeatedly call the **GrantInstanceToCen** operation to grant the permissions on a network instance to a CEN instance. The network instance can be a VPC, a virtual border router (VBR), or a Cloud Connect Network (CCN) instance.
51229
52778
  *
51230
52779
  * @param request GrantInstanceToCenRequest
@@ -52112,8 +53661,9 @@ class Client extends openapi_client_1.default {
52112
53661
  return await this.listTagResourcesWithOptions(request, runtime);
52113
53662
  }
52114
53663
  /**
52115
- * * You must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request to specify the object that you want to query.
52116
- * * **Tag.N** is a resource tag that consists of a key-value pair. If you specify only **Tag.N.Key**, all tag values that are associated with the specified tag key are returned. If you specify only **Tag.N.Value**, an error message is returned.
53664
+ * ## [](#)
53665
+ * * If you want to query a specific object, you must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request.
53666
+ * * **Tag.N** is a resource tag that consists of a key-value pair. If you specify only **Tag.N.Key**, all tag values that are associated with the specified key are returned. If you specify only **Tag.N.Value**, an error message is returned.
52117
53667
  * * If you specify **Tag.N** and **ResourceId.N** to filter tags, **ResourceId.N** must match all specified key-value pairs.
52118
53668
  * * If you specify multiple key-value pairs, resources that contain these key-value pairs are returned.
52119
53669
  *
@@ -52171,8 +53721,9 @@ class Client extends openapi_client_1.default {
52171
53721
  return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesForExpressConnectResponse({}));
52172
53722
  }
52173
53723
  /**
52174
- * * You must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request to specify the object that you want to query.
52175
- * * **Tag.N** is a resource tag that consists of a key-value pair. If you specify only **Tag.N.Key**, all tag values that are associated with the specified tag key are returned. If you specify only **Tag.N.Value**, an error message is returned.
53724
+ * ## [](#)
53725
+ * * If you want to query a specific object, you must specify **ResourceId.N** or **Tag.N** that consists of **Tag.N.Key** and **Tag.N.Value** in the request.
53726
+ * * **Tag.N** is a resource tag that consists of a key-value pair. If you specify only **Tag.N.Key**, all tag values that are associated with the specified key are returned. If you specify only **Tag.N.Value**, an error message is returned.
52176
53727
  * * If you specify **Tag.N** and **ResourceId.N** to filter tags, **ResourceId.N** must match all specified key-value pairs.
52177
53728
  * * If you specify multiple key-value pairs, resources that contain these key-value pairs are returned.
52178
53729
  *
@@ -52313,6 +53864,65 @@ class Client extends openapi_client_1.default {
52313
53864
  let runtime = new $Util.RuntimeOptions({});
52314
53865
  return await this.listTrafficMirrorSessionsWithOptions(request, runtime);
52315
53866
  }
53867
+ async listVSwitchCidrReservationsWithOptions(request, runtime) {
53868
+ tea_util_1.default.validateModel(request);
53869
+ let query = {};
53870
+ if (!tea_util_1.default.isUnset(request.ipVersion)) {
53871
+ query["IpVersion"] = request.ipVersion;
53872
+ }
53873
+ if (!tea_util_1.default.isUnset(request.maxResults)) {
53874
+ query["MaxResults"] = request.maxResults;
53875
+ }
53876
+ if (!tea_util_1.default.isUnset(request.nextToken)) {
53877
+ query["NextToken"] = request.nextToken;
53878
+ }
53879
+ if (!tea_util_1.default.isUnset(request.ownerAccount)) {
53880
+ query["OwnerAccount"] = request.ownerAccount;
53881
+ }
53882
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
53883
+ query["OwnerId"] = request.ownerId;
53884
+ }
53885
+ if (!tea_util_1.default.isUnset(request.regionId)) {
53886
+ query["RegionId"] = request.regionId;
53887
+ }
53888
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
53889
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
53890
+ }
53891
+ if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
53892
+ query["ResourceOwnerId"] = request.resourceOwnerId;
53893
+ }
53894
+ if (!tea_util_1.default.isUnset(request.tags)) {
53895
+ query["Tags"] = request.tags;
53896
+ }
53897
+ if (!tea_util_1.default.isUnset(request.vSwitchCidrReservationIds)) {
53898
+ query["VSwitchCidrReservationIds"] = request.vSwitchCidrReservationIds;
53899
+ }
53900
+ if (!tea_util_1.default.isUnset(request.vSwitchCidrReservationType)) {
53901
+ query["VSwitchCidrReservationType"] = request.vSwitchCidrReservationType;
53902
+ }
53903
+ if (!tea_util_1.default.isUnset(request.vSwitchId)) {
53904
+ query["VSwitchId"] = request.vSwitchId;
53905
+ }
53906
+ let req = new $OpenApi.OpenApiRequest({
53907
+ query: openapi_util_1.default.query(query),
53908
+ });
53909
+ let params = new $OpenApi.Params({
53910
+ action: "ListVSwitchCidrReservations",
53911
+ version: "2016-04-28",
53912
+ protocol: "HTTPS",
53913
+ pathname: "/",
53914
+ method: "POST",
53915
+ authType: "AK",
53916
+ style: "RPC",
53917
+ reqBodyType: "formData",
53918
+ bodyType: "json",
53919
+ });
53920
+ return $tea.cast(await this.callApi(params, req, runtime), new ListVSwitchCidrReservationsResponse({}));
53921
+ }
53922
+ async listVSwitchCidrReservations(request) {
53923
+ let runtime = new $Util.RuntimeOptions({});
53924
+ return await this.listVSwitchCidrReservationsWithOptions(request, runtime);
53925
+ }
52316
53926
  async listVirtualPhysicalConnectionsWithOptions(request, runtime) {
52317
53927
  tea_util_1.default.validateModel(request);
52318
53928
  let query = {};
@@ -53140,7 +54750,7 @@ class Client extends openapi_client_1.default {
53140
54750
  return await this.modifyFlowLogAttributeWithOptions(request, runtime);
53141
54751
  }
53142
54752
  /**
53143
- * * **ModifyForwardEntry** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeForwardTableEntries](~~36053~~) operation to query the status of a DNAT entry.
54753
+ * * **ModifyForwardEntry** 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 [DescribeForwardTableEntries](~~36053~~) operation to query the status of the task.
53144
54754
  * * **Pending**: indicates that the system is modifying the DNAT entry. You can only query the DNAT entry, but cannot perform other operations.
53145
54755
  * * **Available**: indicates that the DNAT entry is modified.
53146
54756
  * * You cannot repeatedly call the **ModifyForwardEntry** operation to modify a DNAT entry within the specified period of time.
@@ -53214,7 +54824,7 @@ class Client extends openapi_client_1.default {
53214
54824
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyForwardEntryResponse({}));
53215
54825
  }
53216
54826
  /**
53217
- * * **ModifyForwardEntry** is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the [DescribeForwardTableEntries](~~36053~~) operation to query the status of a DNAT entry.
54827
+ * * **ModifyForwardEntry** 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 [DescribeForwardTableEntries](~~36053~~) operation to query the status of the task.
53218
54828
  * * **Pending**: indicates that the system is modifying the DNAT entry. You can only query the DNAT entry, but cannot perform other operations.
53219
54829
  * * **Available**: indicates that the DNAT entry is modified.
53220
54830
  * * You cannot repeatedly call the **ModifyForwardEntry** operation to modify a DNAT entry within the specified period of time.
@@ -53227,7 +54837,8 @@ class Client extends openapi_client_1.default {
53227
54837
  return await this.modifyForwardEntryWithOptions(request, runtime);
53228
54838
  }
53229
54839
  /**
53230
- * * **ModifyFullNatEntryAttribute** is an asynchronous operation. After you make a request, the ID of the request is returned but the specified FULLNAT entry is not modified. The system modifies the FULLNAT entry in the background. You can call the [ListFullNatEntries](~~348779~~) operation to query the status of a FULLNAT entry.
54840
+ * ## [](#)
54841
+ * * **ModifyFullNatEntryAttribute** 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 [ListFullNatEntries](~~348779~~) operation to query the status of a FULLNAT entry.
53231
54842
  * * **Modifying**: indicates that the system is modifying the FULLNAT entry. You can query the FULLNAT entry, but cannot perform other operations.
53232
54843
  * * **Available**: indicates that the FULLNAT entry is modified.
53233
54844
  * * You cannot repeatedly call the **ModifyFullNatEntryAttribute** operation to modify a FULLNAT entry within the specified period of time.
@@ -53307,7 +54918,8 @@ class Client extends openapi_client_1.default {
53307
54918
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyFullNatEntryAttributeResponse({}));
53308
54919
  }
53309
54920
  /**
53310
- * * **ModifyFullNatEntryAttribute** is an asynchronous operation. After you make a request, the ID of the request is returned but the specified FULLNAT entry is not modified. The system modifies the FULLNAT entry in the background. You can call the [ListFullNatEntries](~~348779~~) operation to query the status of a FULLNAT entry.
54921
+ * ## [](#)
54922
+ * * **ModifyFullNatEntryAttribute** 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 [ListFullNatEntries](~~348779~~) operation to query the status of a FULLNAT entry.
53311
54923
  * * **Modifying**: indicates that the system is modifying the FULLNAT entry. You can query the FULLNAT entry, but cannot perform other operations.
53312
54924
  * * **Available**: indicates that the FULLNAT entry is modified.
53313
54925
  * * You cannot repeatedly call the **ModifyFullNatEntryAttribute** operation to modify a FULLNAT entry within the specified period of time.
@@ -53950,7 +55562,8 @@ class Client extends openapi_client_1.default {
53950
55562
  return await this.modifyIpv6InternetBandwidthWithOptions(request, runtime);
53951
55563
  }
53952
55564
  /**
53953
- * You can call this operation to query an Internet NAT gateway or a virtual private cloud (VPC) NAT gateway. The term NAT gateway in this topic refers to both types of NAT gateway.
55565
+ * ## [](#)Description
55566
+ * You can call this operation to query an Internet NAT gateway or a virtual private cloud (VPC) NAT gateway. The term NAT gateway in this topic refers to both NAT gateway types.
53954
55567
  *
53955
55568
  * @param request ModifyNatGatewayAttributeRequest
53956
55569
  * @param runtime runtime options for this request RuntimeOptions
@@ -54006,7 +55619,8 @@ class Client extends openapi_client_1.default {
54006
55619
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyNatGatewayAttributeResponse({}));
54007
55620
  }
54008
55621
  /**
54009
- * You can call this operation to query an Internet NAT gateway or a virtual private cloud (VPC) NAT gateway. The term NAT gateway in this topic refers to both types of NAT gateway.
55622
+ * ## [](#)Description
55623
+ * You can call this operation to query an Internet NAT gateway or a virtual private cloud (VPC) NAT gateway. The term NAT gateway in this topic refers to both NAT gateway types.
54010
55624
  *
54011
55625
  * @param request ModifyNatGatewayAttributeRequest
54012
55626
  * @return ModifyNatGatewayAttributeResponse
@@ -54099,6 +55713,7 @@ class Client extends openapi_client_1.default {
54099
55713
  return await this.modifyNatGatewaySpecWithOptions(request, runtime);
54100
55714
  }
54101
55715
  /**
55716
+ * ## [](#)Description
54102
55717
  * You cannot repeatedly call the **ModifyNatIpAttribute** operation to modify the name and description of a NAT IP address within the specified period of time.
54103
55718
  *
54104
55719
  * @param request ModifyNatIpAttributeRequest
@@ -54158,6 +55773,7 @@ class Client extends openapi_client_1.default {
54158
55773
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyNatIpAttributeResponse({}));
54159
55774
  }
54160
55775
  /**
55776
+ * ## [](#)Description
54161
55777
  * You cannot repeatedly call the **ModifyNatIpAttribute** operation to modify the name and description of a NAT IP address within the specified period of time.
54162
55778
  *
54163
55779
  * @param request ModifyNatIpAttributeRequest
@@ -54277,7 +55893,6 @@ class Client extends openapi_client_1.default {
54277
55893
  return await this.modifyNetworkAclAttributesWithOptions(request, runtime);
54278
55894
  }
54279
55895
  /**
54280
- * ## Limits
54281
55896
  * When you call this operation, take note of the following limits:
54282
55897
  * * If an Express Connect circuit is in the **Initial**, **Enabled**, or **Rejected** state, you can modify the specifications of the Express Connect circuit and the ID of the redundant circuit.
54283
55898
  * * If an Express Connect circuit is in the **Canceled**, **Allocating**, **AllocationFailed**, or **Terminated** state, you cannot modify the specifications of the Express Connect circuit.
@@ -54355,7 +55970,6 @@ class Client extends openapi_client_1.default {
54355
55970
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyPhysicalConnectionAttributeResponse({}));
54356
55971
  }
54357
55972
  /**
54358
- * ## Limits
54359
55973
  * When you call this operation, take note of the following limits:
54360
55974
  * * If an Express Connect circuit is in the **Initial**, **Enabled**, or **Rejected** state, you can modify the specifications of the Express Connect circuit and the ID of the redundant circuit.
54361
55975
  * * If an Express Connect circuit is in the **Canceled**, **Allocating**, **AllocationFailed**, or **Terminated** state, you cannot modify the specifications of the Express Connect circuit.
@@ -54435,6 +56049,7 @@ class Client extends openapi_client_1.default {
54435
56049
  return await this.modifyRouteEntryWithOptions(request, runtime);
54436
56050
  }
54437
56051
  /**
56052
+ * ## [](#)References
54438
56053
  * You cannot repeatedly call the **ModifyRouteTableAttributes** operation to modify the name and description of a route table within the specified period of time.
54439
56054
  *
54440
56055
  * @param request ModifyRouteTableAttributesRequest
@@ -54485,6 +56100,7 @@ class Client extends openapi_client_1.default {
54485
56100
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyRouteTableAttributesResponse({}));
54486
56101
  }
54487
56102
  /**
56103
+ * ## [](#)References
54488
56104
  * You cannot repeatedly call the **ModifyRouteTableAttributes** operation to modify the name and description of a route table within the specified period of time.
54489
56105
  *
54490
56106
  * @param request ModifyRouteTableAttributesRequest
@@ -54566,8 +56182,9 @@ class Client extends openapi_client_1.default {
54566
56182
  return await this.modifyRouterInterfaceAttributeWithOptions(request, runtime);
54567
56183
  }
54568
56184
  /**
56185
+ * ## [](#)Description
54569
56186
  * 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.
54570
- * > You cannot modify the specifications of a router interface that has overdue payments.
56187
+ * > You cannot modify the specification of a router interface that has overdue payments.
54571
56188
  *
54572
56189
  * @param request ModifyRouterInterfaceSpecRequest
54573
56190
  * @param runtime runtime options for this request RuntimeOptions
@@ -54617,8 +56234,9 @@ class Client extends openapi_client_1.default {
54617
56234
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyRouterInterfaceSpecResponse({}));
54618
56235
  }
54619
56236
  /**
56237
+ * ## [](#)Description
54620
56238
  * 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.
54621
- * > You cannot modify the specifications of a router interface that has overdue payments.
56239
+ * > You cannot modify the specification of a router interface that has overdue payments.
54622
56240
  *
54623
56241
  * @param request ModifyRouterInterfaceSpecRequest
54624
56242
  * @return ModifyRouterInterfaceSpecResponse
@@ -54628,11 +56246,12 @@ class Client extends openapi_client_1.default {
54628
56246
  return await this.modifyRouterInterfaceSpecWithOptions(request, runtime);
54629
56247
  }
54630
56248
  /**
54631
- * **ModifySnatEntry** is an asynchronous operation. After you make a request, the ID of the request is returned but the specified SNAT entry is not modified. The system modifies the entry in the background. You can call the [DescribeSnatTableEntries](~~42677~~) operation to query the status of a SNAT entry.
56249
+ * ## [](#)
56250
+ * **ModifySnatEntry** 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 [DescribeSnatTableEntries](~~42677~~) operation to query the status of the task.
54632
56251
  * * **Pending**: indicates that the system is modifying the SNAT entry. You can only query the status of the SNAT entry, but cannot perform other operations.
54633
56252
  * * **Available**: indicates that the SNAT entry is modified.
54634
- * > **Pending**: indicates that you cannot modify the SNAT entry in the SNAT table.
54635
- * You cannot repeatedly call the **ModifySnatEntry** operation to modify an SNAT entry within the specified period of time.
56253
+ * > If an SNAT entry is in the **Pending** state, it indicates that you cannot modify the SNAT entry.
56254
+ * You cannot repeatedly call the **ModifySnatEntry** operation to modify an SNAT entry within a specific period of time.
54636
56255
  *
54637
56256
  * @param request ModifySnatEntryRequest
54638
56257
  * @param runtime runtime options for this request RuntimeOptions
@@ -54688,11 +56307,12 @@ class Client extends openapi_client_1.default {
54688
56307
  return $tea.cast(await this.callApi(params, req, runtime), new ModifySnatEntryResponse({}));
54689
56308
  }
54690
56309
  /**
54691
- * **ModifySnatEntry** is an asynchronous operation. After you make a request, the ID of the request is returned but the specified SNAT entry is not modified. The system modifies the entry in the background. You can call the [DescribeSnatTableEntries](~~42677~~) operation to query the status of a SNAT entry.
56310
+ * ## [](#)
56311
+ * **ModifySnatEntry** 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 [DescribeSnatTableEntries](~~42677~~) operation to query the status of the task.
54692
56312
  * * **Pending**: indicates that the system is modifying the SNAT entry. You can only query the status of the SNAT entry, but cannot perform other operations.
54693
56313
  * * **Available**: indicates that the SNAT entry is modified.
54694
- * > **Pending**: indicates that you cannot modify the SNAT entry in the SNAT table.
54695
- * You cannot repeatedly call the **ModifySnatEntry** operation to modify an SNAT entry within the specified period of time.
56314
+ * > If an SNAT entry is in the **Pending** state, it indicates that you cannot modify the SNAT entry.
56315
+ * You cannot repeatedly call the **ModifySnatEntry** operation to modify an SNAT entry within a specific period of time.
54696
56316
  *
54697
56317
  * @param request ModifySnatEntryRequest
54698
56318
  * @return ModifySnatEntryResponse
@@ -54749,7 +56369,7 @@ class Client extends openapi_client_1.default {
54749
56369
  return await this.modifySslVpnClientCertWithOptions(request, runtime);
54750
56370
  }
54751
56371
  /**
54752
- * * If you only modify the **name** of the SSL server, the operation is synchronous. If you also modify other configurations, the operation is asynchronous.
56372
+ * * If you modify only the **name** of the SSL server, the operation is synchronous. If you also modify other configurations besides the **name**, the operation is asynchronous.
54753
56373
  * * When **ModifySslVpnServer** is an asynchronous operation, 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.
54754
56374
  * * If a VPN gateway is in the **updating** state, the configurations of the SSL server are being modified.
54755
56375
  * * If a VPN gateway is in the **active** state, the configurations of the SSL server are modified.
@@ -54830,7 +56450,7 @@ class Client extends openapi_client_1.default {
54830
56450
  return $tea.cast(await this.callApi(params, req, runtime), new ModifySslVpnServerResponse({}));
54831
56451
  }
54832
56452
  /**
54833
- * * If you only modify the **name** of the SSL server, the operation is synchronous. If you also modify other configurations, the operation is asynchronous.
56453
+ * * If you modify only the **name** of the SSL server, the operation is synchronous. If you also modify other configurations besides the **name**, the operation is asynchronous.
54834
56454
  * * When **ModifySslVpnServer** is an asynchronous operation, 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.
54835
56455
  * * If a VPN gateway is in the **updating** state, the configurations of the SSL server are being modified.
54836
56456
  * * If a VPN gateway is in the **active** state, the configurations of the SSL server are modified.
@@ -54894,7 +56514,7 @@ class Client extends openapi_client_1.default {
54894
56514
  return await this.modifyTunnelAttributeWithOptions(request, runtime);
54895
56515
  }
54896
56516
  /**
54897
- * You cannot repeatedly call the **ModifyVRouterAttribute** operation to modify the name and description of a vRouter within the specified period of time.
56517
+ * You cannot repeatedly call the **ModifyVRouterAttribute** operation within a specific period of time.
54898
56518
  *
54899
56519
  * @param request ModifyVRouterAttributeRequest
54900
56520
  * @param runtime runtime options for this request RuntimeOptions
@@ -54944,7 +56564,7 @@ class Client extends openapi_client_1.default {
54944
56564
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyVRouterAttributeResponse({}));
54945
56565
  }
54946
56566
  /**
54947
- * You cannot repeatedly call the **ModifyVRouterAttribute** operation to modify the name and description of a vRouter within the specified period of time.
56567
+ * You cannot repeatedly call the **ModifyVRouterAttribute** operation within a specific period of time.
54948
56568
  *
54949
56569
  * @param request ModifyVRouterAttributeRequest
54950
56570
  * @return ModifyVRouterAttributeResponse
@@ -55028,6 +56648,68 @@ class Client extends openapi_client_1.default {
55028
56648
  let runtime = new $Util.RuntimeOptions({});
55029
56649
  return await this.modifyVSwitchAttributeWithOptions(request, runtime);
55030
56650
  }
56651
+ /**
56652
+ * ## [](#)Usage notes
56653
+ * You cannot repeatedly call **ModifyVSwitchCidrReservationAttribute** within a specific time period.
56654
+ *
56655
+ * @param request ModifyVSwitchCidrReservationAttributeRequest
56656
+ * @param runtime runtime options for this request RuntimeOptions
56657
+ * @return ModifyVSwitchCidrReservationAttributeResponse
56658
+ */
56659
+ async modifyVSwitchCidrReservationAttributeWithOptions(request, runtime) {
56660
+ tea_util_1.default.validateModel(request);
56661
+ let query = {};
56662
+ if (!tea_util_1.default.isUnset(request.ownerAccount)) {
56663
+ query["OwnerAccount"] = request.ownerAccount;
56664
+ }
56665
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
56666
+ query["OwnerId"] = request.ownerId;
56667
+ }
56668
+ if (!tea_util_1.default.isUnset(request.regionId)) {
56669
+ query["RegionId"] = request.regionId;
56670
+ }
56671
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
56672
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
56673
+ }
56674
+ if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
56675
+ query["ResourceOwnerId"] = request.resourceOwnerId;
56676
+ }
56677
+ if (!tea_util_1.default.isUnset(request.vSwitchCidrReservationDescription)) {
56678
+ query["VSwitchCidrReservationDescription"] = request.vSwitchCidrReservationDescription;
56679
+ }
56680
+ if (!tea_util_1.default.isUnset(request.vSwitchCidrReservationId)) {
56681
+ query["VSwitchCidrReservationId"] = request.vSwitchCidrReservationId;
56682
+ }
56683
+ if (!tea_util_1.default.isUnset(request.vSwitchCidrReservationName)) {
56684
+ query["VSwitchCidrReservationName"] = request.vSwitchCidrReservationName;
56685
+ }
56686
+ let req = new $OpenApi.OpenApiRequest({
56687
+ query: openapi_util_1.default.query(query),
56688
+ });
56689
+ let params = new $OpenApi.Params({
56690
+ action: "ModifyVSwitchCidrReservationAttribute",
56691
+ version: "2016-04-28",
56692
+ protocol: "HTTPS",
56693
+ pathname: "/",
56694
+ method: "POST",
56695
+ authType: "AK",
56696
+ style: "RPC",
56697
+ reqBodyType: "formData",
56698
+ bodyType: "json",
56699
+ });
56700
+ return $tea.cast(await this.callApi(params, req, runtime), new ModifyVSwitchCidrReservationAttributeResponse({}));
56701
+ }
56702
+ /**
56703
+ * ## [](#)Usage notes
56704
+ * You cannot repeatedly call **ModifyVSwitchCidrReservationAttribute** within a specific time period.
56705
+ *
56706
+ * @param request ModifyVSwitchCidrReservationAttributeRequest
56707
+ * @return ModifyVSwitchCidrReservationAttributeResponse
56708
+ */
56709
+ async modifyVSwitchCidrReservationAttribute(request) {
56710
+ let runtime = new $Util.RuntimeOptions({});
56711
+ return await this.modifyVSwitchCidrReservationAttributeWithOptions(request, runtime);
56712
+ }
55031
56713
  /**
55032
56714
  * * **ModifyVcoRouteEntryWeight** 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 [DescribeVpnConnection](~~53046~~) operation to query the status of the associated IPsec-VPN connection and determine whether the weight of the specified destination-based route is modified.
55033
56715
  * * If the IPsec-VPN connection is in the **updating** state, the weight of the destination-based route is being modified.
@@ -55104,8 +56786,9 @@ class Client extends openapi_client_1.default {
55104
56786
  return await this.modifyVcoRouteEntryWeightWithOptions(request, runtime);
55105
56787
  }
55106
56788
  /**
56789
+ * # [](#)
55107
56790
  * * Only the owner of an Express Connect circuit can modify the **VlanId** parameter.
55108
- * * One VLAN ID of an Express Connect circuit cannot be used by two VBRs at the same time.
56791
+ * * One VLAN ID of an Express Connect circuit cannot be used only by one VBR at the same time.
55109
56792
  * * The VLAN ID of a VBR in the **Terminated** state is reserved for seven days and cannot be used by other VBRs. The VLAN ID can be used by other VBRs after 7 days.
55110
56793
  * * You cannot set **LocalGatewayIp**, **PeerGatewayIp**, or **PeeringSubnetMask** for VBRs that do not belong to your Alibaba Cloud account.
55111
56794
  * * Set **PeeringSubnetMask** to a subnet mask with 24 to 30 bits in length (255.255.255.0~255.255.255.252).
@@ -55204,8 +56887,9 @@ class Client extends openapi_client_1.default {
55204
56887
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyVirtualBorderRouterAttributeResponse({}));
55205
56888
  }
55206
56889
  /**
56890
+ * # [](#)
55207
56891
  * * Only the owner of an Express Connect circuit can modify the **VlanId** parameter.
55208
- * * One VLAN ID of an Express Connect circuit cannot be used by two VBRs at the same time.
56892
+ * * One VLAN ID of an Express Connect circuit cannot be used only by one VBR at the same time.
55209
56893
  * * The VLAN ID of a VBR in the **Terminated** state is reserved for seven days and cannot be used by other VBRs. The VLAN ID can be used by other VBRs after 7 days.
55210
56894
  * * You cannot set **LocalGatewayIp**, **PeerGatewayIp**, or **PeeringSubnetMask** for VBRs that do not belong to your Alibaba Cloud account.
55211
56895
  * * Set **PeeringSubnetMask** to a subnet mask with 24 to 30 bits in length (255.255.255.0~255.255.255.252).
@@ -55219,6 +56903,7 @@ class Client extends openapi_client_1.default {
55219
56903
  return await this.modifyVirtualBorderRouterAttributeWithOptions(request, runtime);
55220
56904
  }
55221
56905
  /**
56906
+ * ## [](#)Description
55222
56907
  * You cannot repeatedly call the **ModifyVpcAttribute** operation to modify the name and description of a VPC within the specified period of time.
55223
56908
  *
55224
56909
  * @param request ModifyVpcAttributeRequest
@@ -55281,6 +56966,7 @@ class Client extends openapi_client_1.default {
55281
56966
  return $tea.cast(await this.callApi(params, req, runtime), new ModifyVpcAttributeResponse({}));
55282
56967
  }
55283
56968
  /**
56969
+ * ## [](#)Description
55284
56970
  * You cannot repeatedly call the **ModifyVpcAttribute** operation to modify the name and description of a VPC within the specified period of time.
55285
56971
  *
55286
56972
  * @param request ModifyVpcAttributeRequest
@@ -56052,6 +57738,53 @@ class Client extends openapi_client_1.default {
56052
57738
  let runtime = new $Util.RuntimeOptions({});
56053
57739
  return await this.moveResourceGroupWithOptions(request, runtime);
56054
57740
  }
57741
+ async moveVpnResourceGroupWithOptions(request, runtime) {
57742
+ tea_util_1.default.validateModel(request);
57743
+ let query = {};
57744
+ if (!tea_util_1.default.isUnset(request.instanceId)) {
57745
+ query["InstanceId"] = request.instanceId;
57746
+ }
57747
+ if (!tea_util_1.default.isUnset(request.newResourceGroupId)) {
57748
+ query["NewResourceGroupId"] = request.newResourceGroupId;
57749
+ }
57750
+ if (!tea_util_1.default.isUnset(request.ownerAccount)) {
57751
+ query["OwnerAccount"] = request.ownerAccount;
57752
+ }
57753
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
57754
+ query["OwnerId"] = request.ownerId;
57755
+ }
57756
+ if (!tea_util_1.default.isUnset(request.regionId)) {
57757
+ query["RegionId"] = request.regionId;
57758
+ }
57759
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
57760
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
57761
+ }
57762
+ if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
57763
+ query["ResourceOwnerId"] = request.resourceOwnerId;
57764
+ }
57765
+ if (!tea_util_1.default.isUnset(request.resourceType)) {
57766
+ query["ResourceType"] = request.resourceType;
57767
+ }
57768
+ let req = new $OpenApi.OpenApiRequest({
57769
+ query: openapi_util_1.default.query(query),
57770
+ });
57771
+ let params = new $OpenApi.Params({
57772
+ action: "MoveVpnResourceGroup",
57773
+ version: "2016-04-28",
57774
+ protocol: "HTTPS",
57775
+ pathname: "/",
57776
+ method: "POST",
57777
+ authType: "AK",
57778
+ style: "RPC",
57779
+ reqBodyType: "formData",
57780
+ bodyType: "json",
57781
+ });
57782
+ return $tea.cast(await this.callApi(params, req, runtime), new MoveVpnResourceGroupResponse({}));
57783
+ }
57784
+ async moveVpnResourceGroup(request) {
57785
+ let runtime = new $Util.RuntimeOptions({});
57786
+ return await this.moveVpnResourceGroupWithOptions(request, runtime);
57787
+ }
56055
57788
  /**
56056
57789
  * * You cannot repeatedly call the **OpenFlowLogService** operation within the specified period of time by using an Alibaba Cloud account.
56057
57790
  * * You can call the [GetFlowLogServiceStatus](~~449624~~) operation to query the status of the flow log feature.
@@ -56150,6 +57883,7 @@ class Client extends openapi_client_1.default {
56150
57883
  return await this.openPhysicalConnectionServiceWithOptions(request, runtime);
56151
57884
  }
56152
57885
  /**
57886
+ * ## [](#)Usage notes
56153
57887
  * You can enable traffic mirroring for different regions. You cannot repeatedly call the **OpenTrafficMirrorService** operation to enable traffic mirroring for one region within the specified period of time.
56154
57888
  *
56155
57889
  * @param request OpenTrafficMirrorServiceRequest
@@ -56197,6 +57931,7 @@ class Client extends openapi_client_1.default {
56197
57931
  return $tea.cast(await this.callApi(params, req, runtime), new OpenTrafficMirrorServiceResponse({}));
56198
57932
  }
56199
57933
  /**
57934
+ * ## [](#)Usage notes
56200
57935
  * You can enable traffic mirroring for different regions. You cannot repeatedly call the **OpenTrafficMirrorService** operation to enable traffic mirroring for one region within the specified period of time.
56201
57936
  *
56202
57937
  * @param request OpenTrafficMirrorServiceRequest
@@ -56263,6 +57998,7 @@ class Client extends openapi_client_1.default {
56263
57998
  return await this.publishVpnRouteEntryWithOptions(request, runtime);
56264
57999
  }
56265
58000
  /**
58001
+ * # [](#)Description
56266
58002
  * You can call this API operation to resume a suspended Express Connect circuit. You can resume only shared Express Connect circuits by calling this API operation.
56267
58003
  *
56268
58004
  * @param request RecoverPhysicalConnectionRequest
@@ -56301,6 +58037,7 @@ class Client extends openapi_client_1.default {
56301
58037
  return $tea.cast(await this.callApi(params, req, runtime), new RecoverPhysicalConnectionResponse({}));
56302
58038
  }
56303
58039
  /**
58040
+ * # [](#)Description
56304
58041
  * You can call this API operation to resume a suspended Express Connect circuit. You can resume only shared Express Connect circuits by calling this API operation.
56305
58042
  *
56306
58043
  * @param request RecoverPhysicalConnectionRequest
@@ -56311,7 +58048,7 @@ class Client extends openapi_client_1.default {
56311
58048
  return await this.recoverPhysicalConnectionWithOptions(request, runtime);
56312
58049
  }
56313
58050
  /**
56314
- * After the operation is called, the virtual border router (VBR) changes from the **Terminated** state to the **Recovering** state. When the VBR recovers, it enters the **Enabled** state.
58051
+ * After the operation is called, the VBR changes from the **terminated** state to the **recovering** state. When the VBR recovers, it enters the **active** state.
56315
58052
  * When you call this operation, take note of the following items:
56316
58053
  * * Only the owner of the Express Connect circuit can call this operation.
56317
58054
  * * The Express Connect circuit to which the VBR connects must be in the **Enabled** state.
@@ -56361,7 +58098,7 @@ class Client extends openapi_client_1.default {
56361
58098
  return $tea.cast(await this.callApi(params, req, runtime), new RecoverVirtualBorderRouterResponse({}));
56362
58099
  }
56363
58100
  /**
56364
- * After the operation is called, the virtual border router (VBR) changes from the **Terminated** state to the **Recovering** state. When the VBR recovers, it enters the **Enabled** state.
58101
+ * After the operation is called, the VBR changes from the **terminated** state to the **recovering** state. When the VBR recovers, it enters the **active** state.
56365
58102
  * When you call this operation, take note of the following items:
56366
58103
  * * Only the owner of the Express Connect circuit can call this operation.
56367
58104
  * * The Express Connect circuit to which the VBR connects must be in the **Enabled** state.
@@ -56859,6 +58596,7 @@ class Client extends openapi_client_1.default {
56859
58596
  return await this.retryVpcPrefixListAssociationWithOptions(request, runtime);
56860
58597
  }
56861
58598
  /**
58599
+ * ## [](#)Usage notes
56862
58600
  * * **RevokeInstanceFromCen** is a Virtual Private Cloud (VPC) operation. Therefore, you must use `vpc.aliyuncs.com` as the domain name when you call this operation. The API version is `2016-04-28`.
56863
58601
  * * You cannot repeatedly call the **RevokeInstanceFromCen** operation to revoke the permissions on a network instance that is attached to a CEN instance within the specified period of time. The network instance can be a VPC, virtual border router (VBR), or a Cloud Connect Network (CCN) instance.
56864
58602
  *
@@ -56916,6 +58654,7 @@ class Client extends openapi_client_1.default {
56916
58654
  return $tea.cast(await this.callApi(params, req, runtime), new RevokeInstanceFromCenResponse({}));
56917
58655
  }
56918
58656
  /**
58657
+ * ## [](#)Usage notes
56919
58658
  * * **RevokeInstanceFromCen** is a Virtual Private Cloud (VPC) operation. Therefore, you must use `vpc.aliyuncs.com` as the domain name when you call this operation. The API version is `2016-04-28`.
56920
58659
  * * You cannot repeatedly call the **RevokeInstanceFromCen** operation to revoke the permissions on a network instance that is attached to a CEN instance within the specified period of time. The network instance can be a VPC, virtual border router (VBR), or a Cloud Connect Network (CCN) instance.
56921
58660
  *
@@ -57103,8 +58842,95 @@ class Client extends openapi_client_1.default {
57103
58842
  let runtime = new $Util.RuntimeOptions({});
57104
58843
  return await this.setHighDefinitionMonitorLogStatusWithOptions(request, runtime);
57105
58844
  }
58845
+ async startFailoverTestJobWithOptions(request, runtime) {
58846
+ tea_util_1.default.validateModel(request);
58847
+ let query = {};
58848
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
58849
+ query["ClientToken"] = request.clientToken;
58850
+ }
58851
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
58852
+ query["ClientToken"] = request.clientToken;
58853
+ }
58854
+ if (!tea_util_1.default.isUnset(request.jobId)) {
58855
+ query["JobId"] = request.jobId;
58856
+ }
58857
+ if (!tea_util_1.default.isUnset(request.ownerAccount)) {
58858
+ query["OwnerAccount"] = request.ownerAccount;
58859
+ }
58860
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
58861
+ query["OwnerId"] = request.ownerId;
58862
+ }
58863
+ if (!tea_util_1.default.isUnset(request.regionId)) {
58864
+ query["RegionId"] = request.regionId;
58865
+ }
58866
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
58867
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
58868
+ }
58869
+ let req = new $OpenApi.OpenApiRequest({
58870
+ query: openapi_util_1.default.query(query),
58871
+ });
58872
+ let params = new $OpenApi.Params({
58873
+ action: "StartFailoverTestJob",
58874
+ version: "2016-04-28",
58875
+ protocol: "HTTPS",
58876
+ pathname: "/",
58877
+ method: "POST",
58878
+ authType: "AK",
58879
+ style: "RPC",
58880
+ reqBodyType: "formData",
58881
+ bodyType: "json",
58882
+ });
58883
+ return $tea.cast(await this.callApi(params, req, runtime), new StartFailoverTestJobResponse({}));
58884
+ }
58885
+ async startFailoverTestJob(request) {
58886
+ let runtime = new $Util.RuntimeOptions({});
58887
+ return await this.startFailoverTestJobWithOptions(request, runtime);
58888
+ }
58889
+ async stopFailoverTestJobWithOptions(request, runtime) {
58890
+ tea_util_1.default.validateModel(request);
58891
+ let query = {};
58892
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
58893
+ query["ClientToken"] = request.clientToken;
58894
+ }
58895
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
58896
+ query["ClientToken"] = request.clientToken;
58897
+ }
58898
+ if (!tea_util_1.default.isUnset(request.jobId)) {
58899
+ query["JobId"] = request.jobId;
58900
+ }
58901
+ if (!tea_util_1.default.isUnset(request.ownerAccount)) {
58902
+ query["OwnerAccount"] = request.ownerAccount;
58903
+ }
58904
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
58905
+ query["OwnerId"] = request.ownerId;
58906
+ }
58907
+ if (!tea_util_1.default.isUnset(request.regionId)) {
58908
+ query["RegionId"] = request.regionId;
58909
+ }
58910
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
58911
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
58912
+ }
58913
+ let req = new $OpenApi.OpenApiRequest({
58914
+ query: openapi_util_1.default.query(query),
58915
+ });
58916
+ let params = new $OpenApi.Params({
58917
+ action: "StopFailoverTestJob",
58918
+ version: "2016-04-28",
58919
+ protocol: "HTTPS",
58920
+ pathname: "/",
58921
+ method: "POST",
58922
+ authType: "AK",
58923
+ style: "RPC",
58924
+ reqBodyType: "formData",
58925
+ bodyType: "json",
58926
+ });
58927
+ return $tea.cast(await this.callApi(params, req, runtime), new StopFailoverTestJobResponse({}));
58928
+ }
58929
+ async stopFailoverTestJob(request) {
58930
+ let runtime = new $Util.RuntimeOptions({});
58931
+ return await this.stopFailoverTestJobWithOptions(request, runtime);
58932
+ }
57106
58933
  /**
57107
- * ## Usage notes
57108
58934
  * Tags are used to classify instances. Each tag consists of a key-value pair. Before you use tags, take note of the following limits:
57109
58935
  * * The keys of tags that are added to the same instance must be unique.
57110
58936
  * * You cannot create tags without adding them to instances. All tags must be added to instances.
@@ -57162,7 +58988,6 @@ class Client extends openapi_client_1.default {
57162
58988
  return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
57163
58989
  }
57164
58990
  /**
57165
- * ## Usage notes
57166
58991
  * Tags are used to classify instances. Each tag consists of a key-value pair. Before you use tags, take note of the following limits:
57167
58992
  * * The keys of tags that are added to the same instance must be unique.
57168
58993
  * * You cannot create tags without adding them to instances. All tags must be added to instances.
@@ -57180,12 +59005,13 @@ class Client extends openapi_client_1.default {
57180
59005
  return await this.tagResourcesWithOptions(request, runtime);
57181
59006
  }
57182
59007
  /**
57183
- * Tags are used to classify instances. Each tag consists of a key-value pair. To use tags, make sure that the following requirements are met:
57184
- * * The keys of tags that are added to the same instance must be unique.
59008
+ * ## [](#)
59009
+ * Tags are used to classify instances. Each tag consists of a key-value pair. Before you use tags, take note of the following items:
59010
+ * * Each tag key that is added to an instance must be unique.
57185
59011
  * * You cannot create tags without adding them to instances. All tags must be added to instances.
57186
59012
  * * Tag information is not shared across regions.
57187
59013
  * For example, you cannot view the tags that are created in the China (Hangzhou) region from the China (Shanghai) region.
57188
- * * You can add up to 20 tags to each instance. Before you add a tag to an instance, the system automatically checks the number of existing tags. If the maximum number of tags is reached, an error message is returned.
59014
+ * * You can add up to 20 tags to each instance. Before you add a tag to an instance, the system automatically checks the number of existing tags. An error message is returned if the maximum number of tags is reached.
57189
59015
  *
57190
59016
  * @param request TagResourcesForExpressConnectRequest
57191
59017
  * @param runtime runtime options for this request RuntimeOptions
@@ -57235,12 +59061,13 @@ class Client extends openapi_client_1.default {
57235
59061
  return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesForExpressConnectResponse({}));
57236
59062
  }
57237
59063
  /**
57238
- * Tags are used to classify instances. Each tag consists of a key-value pair. To use tags, make sure that the following requirements are met:
57239
- * * The keys of tags that are added to the same instance must be unique.
59064
+ * ## [](#)
59065
+ * Tags are used to classify instances. Each tag consists of a key-value pair. Before you use tags, take note of the following items:
59066
+ * * Each tag key that is added to an instance must be unique.
57240
59067
  * * You cannot create tags without adding them to instances. All tags must be added to instances.
57241
59068
  * * Tag information is not shared across regions.
57242
59069
  * For example, you cannot view the tags that are created in the China (Hangzhou) region from the China (Shanghai) region.
57243
- * * You can add up to 20 tags to each instance. Before you add a tag to an instance, the system automatically checks the number of existing tags. If the maximum number of tags is reached, an error message is returned.
59070
+ * * You can add up to 20 tags to each instance. Before you add a tag to an instance, the system automatically checks the number of existing tags. An error message is returned if the maximum number of tags is reached.
57244
59071
  *
57245
59072
  * @param request TagResourcesForExpressConnectRequest
57246
59073
  * @return TagResourcesForExpressConnectResponse
@@ -57250,9 +59077,8 @@ class Client extends openapi_client_1.default {
57250
59077
  return await this.tagResourcesForExpressConnectWithOptions(request, runtime);
57251
59078
  }
57252
59079
  /**
57253
- * After you call this operation, the specified Express Connect circuit changes to the **Terminating** state. After the Express Connect circuit is disabled, it changes to the **Terminated** state.
57254
- * When you call this operation, take note of the following limits:
57255
- * * You can only terminate an Express Connect circuit that is in the **Enabled** state.
59080
+ * After you call this operation, the specified Express Connect circuit changes to the **Terminating** state. After the Express Connect circuit is disabled, it changes to the **Terminated** state. When you call this operation, take note of the following limits:
59081
+ * * You can only disable an Express Connect circuit that is in the **Enabled** state.
57256
59082
  * * Before you disable an Express Connect circuit, you must delete the virtual border routers (VBRs) associated with it.
57257
59083
  *
57258
59084
  * @param request TerminatePhysicalConnectionRequest
@@ -57300,9 +59126,8 @@ class Client extends openapi_client_1.default {
57300
59126
  return $tea.cast(await this.callApi(params, req, runtime), new TerminatePhysicalConnectionResponse({}));
57301
59127
  }
57302
59128
  /**
57303
- * After you call this operation, the specified Express Connect circuit changes to the **Terminating** state. After the Express Connect circuit is disabled, it changes to the **Terminated** state.
57304
- * When you call this operation, take note of the following limits:
57305
- * * You can only terminate an Express Connect circuit that is in the **Enabled** state.
59129
+ * After you call this operation, the specified Express Connect circuit changes to the **Terminating** state. After the Express Connect circuit is disabled, it changes to the **Terminated** state. When you call this operation, take note of the following limits:
59130
+ * * You can only disable an Express Connect circuit that is in the **Enabled** state.
57306
59131
  * * Before you disable an Express Connect circuit, you must delete the virtual border routers (VBRs) associated with it.
57307
59132
  *
57308
59133
  * @param request TerminatePhysicalConnectionRequest
@@ -57313,7 +59138,7 @@ class Client extends openapi_client_1.default {
57313
59138
  return await this.terminatePhysicalConnectionWithOptions(request, runtime);
57314
59139
  }
57315
59140
  /**
57316
- * After the operation is called, the VBR changes from the **Enabled** state to the **Terminating** state. After the VBR is terminated, it enters the **Terminated** state.
59141
+ * After the operation is performed, the VBR changes from the **active** state to the **terminating** state. After the VBR is terminated, it enters the **terminated** state.
57317
59142
  * > Only the owner of an Express Connect circuit can call this operation.
57318
59143
  *
57319
59144
  * @param request TerminateVirtualBorderRouterRequest
@@ -57361,7 +59186,7 @@ class Client extends openapi_client_1.default {
57361
59186
  return $tea.cast(await this.callApi(params, req, runtime), new TerminateVirtualBorderRouterResponse({}));
57362
59187
  }
57363
59188
  /**
57364
- * After the operation is called, the VBR changes from the **Enabled** state to the **Terminating** state. After the VBR is terminated, it enters the **Terminated** state.
59189
+ * After the operation is performed, the VBR changes from the **active** state to the **terminating** state. After the VBR is terminated, it enters the **terminated** state.
57365
59190
  * > Only the owner of an Express Connect circuit can call this operation.
57366
59191
  *
57367
59192
  * @param request TerminateVirtualBorderRouterRequest
@@ -57541,10 +59366,11 @@ class Client extends openapi_client_1.default {
57541
59366
  return await this.unassociateGlobalAccelerationInstanceWithOptions(request, runtime);
57542
59367
  }
57543
59368
  /**
59369
+ * ## [](#)
57544
59370
  * When you call this operation, take note of the following limits:
57545
59371
  * * The ECS instance must be in the **Running** or **Stopped** state.
57546
59372
  * * The HAVIP must be in the **Available** or **InUse** state.
57547
- * * The **UnassociateHaVip** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeHaVips](~~114611~~) operation to query the status of an HAVIP:
59373
+ * * **UnassociateHaVip** is an asynchronous operation. After a request is sent, the system returns a request ID and an instance ID and runs the task in the background. You can call the [DescribeHaVips](~~114611~~) operation to query the status of an HAVIP:
57548
59374
  * * If the HAVIP is in the **Unassociating** state, the HAVIP is being disassociated.
57549
59375
  * * If the HAVIP is in the **Inuse** or **Available** state, the HAVIP is disassociated.
57550
59376
  * * You cannot repeatedly call the **UnassociateHaVip** operation to disassociate an HAVIP within the specified period of time.
@@ -57603,10 +59429,11 @@ class Client extends openapi_client_1.default {
57603
59429
  return $tea.cast(await this.callApi(params, req, runtime), new UnassociateHaVipResponse({}));
57604
59430
  }
57605
59431
  /**
59432
+ * ## [](#)
57606
59433
  * When you call this operation, take note of the following limits:
57607
59434
  * * The ECS instance must be in the **Running** or **Stopped** state.
57608
59435
  * * The HAVIP must be in the **Available** or **InUse** state.
57609
- * * The **UnassociateHaVip** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeHaVips](~~114611~~) operation to query the status of an HAVIP:
59436
+ * * **UnassociateHaVip** is an asynchronous operation. After a request is sent, the system returns a request ID and an instance ID and runs the task in the background. You can call the [DescribeHaVips](~~114611~~) operation to query the status of an HAVIP:
57610
59437
  * * If the HAVIP is in the **Unassociating** state, the HAVIP is being disassociated.
57611
59438
  * * If the HAVIP is in the **Inuse** or **Available** state, the HAVIP is disassociated.
57612
59439
  * * You cannot repeatedly call the **UnassociateHaVip** operation to disassociate an HAVIP within the specified period of time.
@@ -57619,7 +59446,8 @@ class Client extends openapi_client_1.default {
57619
59446
  return await this.unassociateHaVipWithOptions(request, runtime);
57620
59447
  }
57621
59448
  /**
57622
- * * The **UnassociateNetworkAcl** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of a network ACL:
59449
+ * ## [](#)Description
59450
+ * * **UnassociateNetworkAcl** 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 [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of the task.
57623
59451
  * * If the network ACL is in the **UNBINDING** state, the network ACL is being disassociated from the vSwitch.
57624
59452
  * * If the network ACL is in the **UNBINDED** state, the network ACL is disassociated from the vSwitch.
57625
59453
  * * You cannot repeatedly call the **UnassociateNetworkAcl** operation to disassociate a network ACL from a vSwitch within the specified period of time.
@@ -57672,7 +59500,8 @@ class Client extends openapi_client_1.default {
57672
59500
  return $tea.cast(await this.callApi(params, req, runtime), new UnassociateNetworkAclResponse({}));
57673
59501
  }
57674
59502
  /**
57675
- * * The **UnassociateNetworkAcl** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of a network ACL:
59503
+ * ## [](#)Description
59504
+ * * **UnassociateNetworkAcl** 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 [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of the task.
57676
59505
  * * If the network ACL is in the **UNBINDING** state, the network ACL is being disassociated from the vSwitch.
57677
59506
  * * If the network ACL is in the **UNBINDED** state, the network ACL is disassociated from the vSwitch.
57678
59507
  * * You cannot repeatedly call the **UnassociateNetworkAcl** operation to disassociate a network ACL from a vSwitch within the specified period of time.
@@ -57732,7 +59561,8 @@ class Client extends openapi_client_1.default {
57732
59561
  return await this.unassociatePhysicalConnectionFromVirtualBorderRouterWithOptions(request, runtime);
57733
59562
  }
57734
59563
  /**
57735
- * * The **UnassociateRouteTable** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeVSwitchAttributes](~~94567~~) operation to query the status of a vSwitch:
59564
+ * ## [](#)References
59565
+ * * **UnassociateRouteTable** 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 [DescribeVSwitchAttributes](~~94567~~) operation to query the status of the task.
57736
59566
  * * If the vSwitch is in the **Pending** state, the route table is being disassociated.
57737
59567
  * * If the vSwitch is in the **Available** state, the route table is disassociated.
57738
59568
  * * You cannot repeatedly call the **UnassociateRouteTable** operation to disassociate a route table from a vSwitch within the specified period of time.
@@ -57788,7 +59618,8 @@ class Client extends openapi_client_1.default {
57788
59618
  return $tea.cast(await this.callApi(params, req, runtime), new UnassociateRouteTableResponse({}));
57789
59619
  }
57790
59620
  /**
57791
- * * The **UnassociateRouteTable** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeVSwitchAttributes](~~94567~~) operation to query the status of a vSwitch:
59621
+ * ## [](#)References
59622
+ * * **UnassociateRouteTable** 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 [DescribeVSwitchAttributes](~~94567~~) operation to query the status of the task.
57792
59623
  * * If the vSwitch is in the **Pending** state, the route table is being disassociated.
57793
59624
  * * If the vSwitch is in the **Available** state, the route table is disassociated.
57794
59625
  * * You cannot repeatedly call the **UnassociateRouteTable** operation to disassociate a route table from a vSwitch within the specified period of time.
@@ -57980,6 +59811,62 @@ class Client extends openapi_client_1.default {
57980
59811
  let runtime = new $Util.RuntimeOptions({});
57981
59812
  return await this.updateDhcpOptionsSetAttributeWithOptions(request, runtime);
57982
59813
  }
59814
+ async updateFailoverTestJobWithOptions(request, runtime) {
59815
+ tea_util_1.default.validateModel(request);
59816
+ let query = {};
59817
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
59818
+ query["ClientToken"] = request.clientToken;
59819
+ }
59820
+ if (!tea_util_1.default.isUnset(request.clientToken)) {
59821
+ query["ClientToken"] = request.clientToken;
59822
+ }
59823
+ if (!tea_util_1.default.isUnset(request.description)) {
59824
+ query["Description"] = request.description;
59825
+ }
59826
+ if (!tea_util_1.default.isUnset(request.jobDuration)) {
59827
+ query["JobDuration"] = request.jobDuration;
59828
+ }
59829
+ if (!tea_util_1.default.isUnset(request.jobId)) {
59830
+ query["JobId"] = request.jobId;
59831
+ }
59832
+ if (!tea_util_1.default.isUnset(request.name)) {
59833
+ query["Name"] = request.name;
59834
+ }
59835
+ if (!tea_util_1.default.isUnset(request.ownerAccount)) {
59836
+ query["OwnerAccount"] = request.ownerAccount;
59837
+ }
59838
+ if (!tea_util_1.default.isUnset(request.ownerId)) {
59839
+ query["OwnerId"] = request.ownerId;
59840
+ }
59841
+ if (!tea_util_1.default.isUnset(request.regionId)) {
59842
+ query["RegionId"] = request.regionId;
59843
+ }
59844
+ if (!tea_util_1.default.isUnset(request.resourceId)) {
59845
+ query["ResourceId"] = request.resourceId;
59846
+ }
59847
+ if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
59848
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
59849
+ }
59850
+ let req = new $OpenApi.OpenApiRequest({
59851
+ query: openapi_util_1.default.query(query),
59852
+ });
59853
+ let params = new $OpenApi.Params({
59854
+ action: "UpdateFailoverTestJob",
59855
+ version: "2016-04-28",
59856
+ protocol: "HTTPS",
59857
+ pathname: "/",
59858
+ method: "POST",
59859
+ authType: "AK",
59860
+ style: "RPC",
59861
+ reqBodyType: "formData",
59862
+ bodyType: "json",
59863
+ });
59864
+ return $tea.cast(await this.callApi(params, req, runtime), new UpdateFailoverTestJobResponse({}));
59865
+ }
59866
+ async updateFailoverTestJob(request) {
59867
+ let runtime = new $Util.RuntimeOptions({});
59868
+ return await this.updateFailoverTestJobWithOptions(request, runtime);
59869
+ }
57983
59870
  async updateGatewayRouteTableEntryAttributeWithOptions(request, runtime) {
57984
59871
  tea_util_1.default.validateModel(request);
57985
59872
  let query = {};
@@ -57995,6 +59882,9 @@ class Client extends openapi_client_1.default {
57995
59882
  if (!tea_util_1.default.isUnset(request.dryRun)) {
57996
59883
  query["DryRun"] = request.dryRun;
57997
59884
  }
59885
+ if (!tea_util_1.default.isUnset(request.gatewayRouteTableId)) {
59886
+ query["GatewayRouteTableId"] = request.gatewayRouteTableId;
59887
+ }
57998
59888
  if (!tea_util_1.default.isUnset(request.IPv4GatewayRouteTableId)) {
57999
59889
  query["IPv4GatewayRouteTableId"] = request.IPv4GatewayRouteTableId;
58000
59890
  }
@@ -58280,7 +60170,7 @@ class Client extends openapi_client_1.default {
58280
60170
  return await this.updateNatGatewayNatTypeWithOptions(request, runtime);
58281
60171
  }
58282
60172
  /**
58283
- * * The **UpdateNetworkAclEntries** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of a network ACL:
60173
+ * * **UpdateNetworkAclEntries** 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 [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of a network ACL:
58284
60174
  * * If the network ACL is in the **Modifying** state, the rules of the network ACL are being updated.
58285
60175
  * * If the network ACL is in the **Available** state, the rules of the network ACL are updated.
58286
60176
  * * You cannot repeatedly call the **UpdateNetworkAclEntries** operation to update the rules of a network ACL within the specified period of time.
@@ -58342,7 +60232,7 @@ class Client extends openapi_client_1.default {
58342
60232
  return $tea.cast(await this.callApi(params, req, runtime), new UpdateNetworkAclEntriesResponse({}));
58343
60233
  }
58344
60234
  /**
58345
- * * The **UpdateNetworkAclEntries** operation is asynchronous. After you send the request, the system returns a request ID. However, the operation is still being performed in the system background. You can call the [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of a network ACL:
60235
+ * * **UpdateNetworkAclEntries** 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 [DescribeNetworkAclAttributes](~~116542~~) operation to query the status of a network ACL:
58346
60236
  * * If the network ACL is in the **Modifying** state, the rules of the network ACL are being updated.
58347
60237
  * * If the network ACL is in the **Available** state, the rules of the network ACL are updated.
58348
60238
  * * You cannot repeatedly call the **UpdateNetworkAclEntries** operation to update the rules of a network ACL within the specified period of time.