@alicloud/vpc20160428 5.0.1 → 5.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.d.ts +78 -22
- package/dist/client.js +156 -22
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +192 -22
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -2977,9 +2977,12 @@ export class CheckVpnBgpEnabledResponse extends $tea.Model {
|
|
|
2977
2977
|
|
|
2978
2978
|
export class CompletePhysicalConnectionLOARequest extends $tea.Model {
|
|
2979
2979
|
clientToken?: string;
|
|
2980
|
+
finishWork?: boolean;
|
|
2980
2981
|
instanceId?: string;
|
|
2981
2982
|
lineCode?: string;
|
|
2982
2983
|
lineLabel?: string;
|
|
2984
|
+
lineSPContactInfo?: string;
|
|
2985
|
+
lineServiceProvider?: string;
|
|
2983
2986
|
ownerAccount?: string;
|
|
2984
2987
|
ownerId?: number;
|
|
2985
2988
|
regionId?: string;
|
|
@@ -2988,9 +2991,12 @@ export class CompletePhysicalConnectionLOARequest extends $tea.Model {
|
|
|
2988
2991
|
static names(): { [key: string]: string } {
|
|
2989
2992
|
return {
|
|
2990
2993
|
clientToken: 'ClientToken',
|
|
2994
|
+
finishWork: 'FinishWork',
|
|
2991
2995
|
instanceId: 'InstanceId',
|
|
2992
2996
|
lineCode: 'LineCode',
|
|
2993
2997
|
lineLabel: 'LineLabel',
|
|
2998
|
+
lineSPContactInfo: 'LineSPContactInfo',
|
|
2999
|
+
lineServiceProvider: 'LineServiceProvider',
|
|
2994
3000
|
ownerAccount: 'OwnerAccount',
|
|
2995
3001
|
ownerId: 'OwnerId',
|
|
2996
3002
|
regionId: 'RegionId',
|
|
@@ -3002,9 +3008,12 @@ export class CompletePhysicalConnectionLOARequest extends $tea.Model {
|
|
|
3002
3008
|
static types(): { [key: string]: any } {
|
|
3003
3009
|
return {
|
|
3004
3010
|
clientToken: 'string',
|
|
3011
|
+
finishWork: 'boolean',
|
|
3005
3012
|
instanceId: 'string',
|
|
3006
3013
|
lineCode: 'string',
|
|
3007
3014
|
lineLabel: 'string',
|
|
3015
|
+
lineSPContactInfo: 'string',
|
|
3016
|
+
lineServiceProvider: 'string',
|
|
3008
3017
|
ownerAccount: 'string',
|
|
3009
3018
|
ownerId: 'number',
|
|
3010
3019
|
regionId: 'string',
|
|
@@ -12209,6 +12218,84 @@ export class DeleteVSwitchResponse extends $tea.Model {
|
|
|
12209
12218
|
}
|
|
12210
12219
|
}
|
|
12211
12220
|
|
|
12221
|
+
export class DeleteVSwitchCidrReservationRequest extends $tea.Model {
|
|
12222
|
+
ownerAccount?: string;
|
|
12223
|
+
ownerId?: number;
|
|
12224
|
+
regionId?: string;
|
|
12225
|
+
resourceOwnerAccount?: string;
|
|
12226
|
+
resourceOwnerId?: number;
|
|
12227
|
+
vSwitchCidrReservationId?: string;
|
|
12228
|
+
static names(): { [key: string]: string } {
|
|
12229
|
+
return {
|
|
12230
|
+
ownerAccount: 'OwnerAccount',
|
|
12231
|
+
ownerId: 'OwnerId',
|
|
12232
|
+
regionId: 'RegionId',
|
|
12233
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
12234
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
12235
|
+
vSwitchCidrReservationId: 'VSwitchCidrReservationId',
|
|
12236
|
+
};
|
|
12237
|
+
}
|
|
12238
|
+
|
|
12239
|
+
static types(): { [key: string]: any } {
|
|
12240
|
+
return {
|
|
12241
|
+
ownerAccount: 'string',
|
|
12242
|
+
ownerId: 'number',
|
|
12243
|
+
regionId: 'string',
|
|
12244
|
+
resourceOwnerAccount: 'string',
|
|
12245
|
+
resourceOwnerId: 'number',
|
|
12246
|
+
vSwitchCidrReservationId: 'string',
|
|
12247
|
+
};
|
|
12248
|
+
}
|
|
12249
|
+
|
|
12250
|
+
constructor(map?: { [key: string]: any }) {
|
|
12251
|
+
super(map);
|
|
12252
|
+
}
|
|
12253
|
+
}
|
|
12254
|
+
|
|
12255
|
+
export class DeleteVSwitchCidrReservationResponseBody extends $tea.Model {
|
|
12256
|
+
requestId?: string;
|
|
12257
|
+
static names(): { [key: string]: string } {
|
|
12258
|
+
return {
|
|
12259
|
+
requestId: 'RequestId',
|
|
12260
|
+
};
|
|
12261
|
+
}
|
|
12262
|
+
|
|
12263
|
+
static types(): { [key: string]: any } {
|
|
12264
|
+
return {
|
|
12265
|
+
requestId: 'string',
|
|
12266
|
+
};
|
|
12267
|
+
}
|
|
12268
|
+
|
|
12269
|
+
constructor(map?: { [key: string]: any }) {
|
|
12270
|
+
super(map);
|
|
12271
|
+
}
|
|
12272
|
+
}
|
|
12273
|
+
|
|
12274
|
+
export class DeleteVSwitchCidrReservationResponse extends $tea.Model {
|
|
12275
|
+
headers: { [key: string]: string };
|
|
12276
|
+
statusCode: number;
|
|
12277
|
+
body: DeleteVSwitchCidrReservationResponseBody;
|
|
12278
|
+
static names(): { [key: string]: string } {
|
|
12279
|
+
return {
|
|
12280
|
+
headers: 'headers',
|
|
12281
|
+
statusCode: 'statusCode',
|
|
12282
|
+
body: 'body',
|
|
12283
|
+
};
|
|
12284
|
+
}
|
|
12285
|
+
|
|
12286
|
+
static types(): { [key: string]: any } {
|
|
12287
|
+
return {
|
|
12288
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
12289
|
+
statusCode: 'number',
|
|
12290
|
+
body: DeleteVSwitchCidrReservationResponseBody,
|
|
12291
|
+
};
|
|
12292
|
+
}
|
|
12293
|
+
|
|
12294
|
+
constructor(map?: { [key: string]: any }) {
|
|
12295
|
+
super(map);
|
|
12296
|
+
}
|
|
12297
|
+
}
|
|
12298
|
+
|
|
12212
12299
|
export class DeleteVbrHaRequest extends $tea.Model {
|
|
12213
12300
|
clientToken?: string;
|
|
12214
12301
|
instanceId?: string;
|
|
@@ -27700,6 +27787,8 @@ export class ModifyPhysicalConnectionAttributeResponse extends $tea.Model {
|
|
|
27700
27787
|
|
|
27701
27788
|
export class ModifyRouteEntryRequest extends $tea.Model {
|
|
27702
27789
|
description?: string;
|
|
27790
|
+
newNextHopId?: string;
|
|
27791
|
+
newNextHopType?: string;
|
|
27703
27792
|
ownerAccount?: string;
|
|
27704
27793
|
ownerId?: number;
|
|
27705
27794
|
regionId?: string;
|
|
@@ -27710,6 +27799,8 @@ export class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
27710
27799
|
static names(): { [key: string]: string } {
|
|
27711
27800
|
return {
|
|
27712
27801
|
description: 'Description',
|
|
27802
|
+
newNextHopId: 'NewNextHopId',
|
|
27803
|
+
newNextHopType: 'NewNextHopType',
|
|
27713
27804
|
ownerAccount: 'OwnerAccount',
|
|
27714
27805
|
ownerId: 'OwnerId',
|
|
27715
27806
|
regionId: 'RegionId',
|
|
@@ -27723,6 +27814,8 @@ export class ModifyRouteEntryRequest extends $tea.Model {
|
|
|
27723
27814
|
static types(): { [key: string]: any } {
|
|
27724
27815
|
return {
|
|
27725
27816
|
description: 'string',
|
|
27817
|
+
newNextHopId: 'string',
|
|
27818
|
+
newNextHopType: 'string',
|
|
27726
27819
|
ownerAccount: 'string',
|
|
27727
27820
|
ownerId: 'number',
|
|
27728
27821
|
regionId: 'string',
|
|
@@ -38842,6 +38935,8 @@ export class DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOAType
|
|
|
38842
38935
|
instanceId?: string;
|
|
38843
38936
|
lineCode?: string;
|
|
38844
38937
|
lineLabel?: string;
|
|
38938
|
+
lineSPContactInfo?: string;
|
|
38939
|
+
lineServiceProvider?: string;
|
|
38845
38940
|
lineType?: string;
|
|
38846
38941
|
loaUrl?: string;
|
|
38847
38942
|
PMInfo?: DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOATypePMInfo;
|
|
@@ -38855,6 +38950,8 @@ export class DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOAType
|
|
|
38855
38950
|
instanceId: 'InstanceId',
|
|
38856
38951
|
lineCode: 'LineCode',
|
|
38857
38952
|
lineLabel: 'LineLabel',
|
|
38953
|
+
lineSPContactInfo: 'LineSPContactInfo',
|
|
38954
|
+
lineServiceProvider: 'LineServiceProvider',
|
|
38858
38955
|
lineType: 'LineType',
|
|
38859
38956
|
loaUrl: 'LoaUrl',
|
|
38860
38957
|
PMInfo: 'PMInfo',
|
|
@@ -38871,6 +38968,8 @@ export class DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOAType
|
|
|
38871
38968
|
instanceId: 'string',
|
|
38872
38969
|
lineCode: 'string',
|
|
38873
38970
|
lineLabel: 'string',
|
|
38971
|
+
lineSPContactInfo: 'string',
|
|
38972
|
+
lineServiceProvider: 'string',
|
|
38874
38973
|
lineType: 'string',
|
|
38875
38974
|
loaUrl: 'string',
|
|
38876
38975
|
PMInfo: DescribePhysicalConnectionLOAResponseBodyPhysicalConnectionLOATypePMInfo,
|
|
@@ -47033,7 +47132,7 @@ export default class Client extends OpenApi {
|
|
|
47033
47132
|
* Before you call this operation, take note of the following limits:
|
|
47034
47133
|
* * The CIDR block and the IP address pool must belong to the same region.
|
|
47035
47134
|
* * The CIDR block and the IP address pool must use the same line type.
|
|
47036
|
-
* *
|
|
47135
|
+
* * **AddPublicIpAddressPoolCidrBlock** 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 [ListPublicIpAddressPoolCidrBlocks](~~429436~~) operation to query the status of the task.
|
|
47037
47136
|
* * If the CIDR block is in the **Modifying** state, the CIDR block is being added. In this state, you can only query the CIDR block and cannot perform other operations.
|
|
47038
47137
|
* * If the CIDR block is in the **Created** state, the CIDR block is added.
|
|
47039
47138
|
* * You cannot repeatedly call the **AddPublicIpAddressPoolCidrBlock** operation to add a CIDR block to an IP address pool within the specified period of time.
|
|
@@ -47106,7 +47205,7 @@ export default class Client extends OpenApi {
|
|
|
47106
47205
|
* Before you call this operation, take note of the following limits:
|
|
47107
47206
|
* * The CIDR block and the IP address pool must belong to the same region.
|
|
47108
47207
|
* * The CIDR block and the IP address pool must use the same line type.
|
|
47109
|
-
* *
|
|
47208
|
+
* * **AddPublicIpAddressPoolCidrBlock** 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 [ListPublicIpAddressPoolCidrBlocks](~~429436~~) operation to query the status of the task.
|
|
47110
47209
|
* * If the CIDR block is in the **Modifying** state, the CIDR block is being added. In this state, you can only query the CIDR block and cannot perform other operations.
|
|
47111
47210
|
* * If the CIDR block is in the **Created** state, the CIDR block is added.
|
|
47112
47211
|
* * You cannot repeatedly call the **AddPublicIpAddressPoolCidrBlock** operation to add a CIDR block to an IP address pool within the specified period of time.
|
|
@@ -48851,8 +48950,9 @@ export default class Client extends OpenApi {
|
|
|
48851
48950
|
}
|
|
48852
48951
|
|
|
48853
48952
|
/**
|
|
48854
|
-
*
|
|
48855
|
-
* *
|
|
48953
|
+
* Before you call this operation, take note of the following items:
|
|
48954
|
+
* * After this operation is performed, the maximum bandwidth of the EIP equals that of the Internet Shared Bandwidth instance.
|
|
48955
|
+
* * You cannot repeatedly call the **CancelCommonBandwidthPackageIpBandwidth** operation within a specific time period.
|
|
48856
48956
|
*
|
|
48857
48957
|
* @param request CancelCommonBandwidthPackageIpBandwidthRequest
|
|
48858
48958
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -48907,8 +49007,9 @@ export default class Client extends OpenApi {
|
|
|
48907
49007
|
}
|
|
48908
49008
|
|
|
48909
49009
|
/**
|
|
48910
|
-
*
|
|
48911
|
-
* *
|
|
49010
|
+
* Before you call this operation, take note of the following items:
|
|
49011
|
+
* * After this operation is performed, the maximum bandwidth of the EIP equals that of the Internet Shared Bandwidth instance.
|
|
49012
|
+
* * You cannot repeatedly call the **CancelCommonBandwidthPackageIpBandwidth** operation within a specific time period.
|
|
48912
49013
|
*
|
|
48913
49014
|
* @param request CancelCommonBandwidthPackageIpBandwidthRequest
|
|
48914
49015
|
* @return CancelCommonBandwidthPackageIpBandwidthResponse
|
|
@@ -49153,6 +49254,10 @@ export default class Client extends OpenApi {
|
|
|
49153
49254
|
query["ClientToken"] = request.clientToken;
|
|
49154
49255
|
}
|
|
49155
49256
|
|
|
49257
|
+
if (!Util.isUnset(request.finishWork)) {
|
|
49258
|
+
query["FinishWork"] = request.finishWork;
|
|
49259
|
+
}
|
|
49260
|
+
|
|
49156
49261
|
if (!Util.isUnset(request.instanceId)) {
|
|
49157
49262
|
query["InstanceId"] = request.instanceId;
|
|
49158
49263
|
}
|
|
@@ -49165,6 +49270,14 @@ export default class Client extends OpenApi {
|
|
|
49165
49270
|
query["LineLabel"] = request.lineLabel;
|
|
49166
49271
|
}
|
|
49167
49272
|
|
|
49273
|
+
if (!Util.isUnset(request.lineSPContactInfo)) {
|
|
49274
|
+
query["LineSPContactInfo"] = request.lineSPContactInfo;
|
|
49275
|
+
}
|
|
49276
|
+
|
|
49277
|
+
if (!Util.isUnset(request.lineServiceProvider)) {
|
|
49278
|
+
query["LineServiceProvider"] = request.lineServiceProvider;
|
|
49279
|
+
}
|
|
49280
|
+
|
|
49168
49281
|
if (!Util.isUnset(request.ownerAccount)) {
|
|
49169
49282
|
query["OwnerAccount"] = request.ownerAccount;
|
|
49170
49283
|
}
|
|
@@ -53309,7 +53422,7 @@ export default class Client extends OpenApi {
|
|
|
53309
53422
|
|
|
53310
53423
|
/**
|
|
53311
53424
|
* * You cannot create a destination-based route whose destination CIDR block is 0.0.0.0/0.
|
|
53312
|
-
* *
|
|
53425
|
+
* * Do not add a route whose destination CIDR block is 100.64.0.0/10, a subset of 100.64.0.0/10, or a CIDR block that contains 100.64.0.0/10. If such a route is added, the status of the IPsec-VPN connection cannot be displayed in the console or IPsec negotiations fail.
|
|
53313
53426
|
* * **CreateVcoRouteEntry** 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 [DescribeVpnConnection](~~53046~~) operation to query the status of a route based on the status of the associated IPsec-VPN connection.
|
|
53314
53427
|
* * If the IPsec-VPN connection is in the **updating** state, the route is being created.
|
|
53315
53428
|
* * If the IPsec-VPN connection is in the **attached** state, the route is created.
|
|
@@ -53385,7 +53498,7 @@ export default class Client extends OpenApi {
|
|
|
53385
53498
|
|
|
53386
53499
|
/**
|
|
53387
53500
|
* * You cannot create a destination-based route whose destination CIDR block is 0.0.0.0/0.
|
|
53388
|
-
* *
|
|
53501
|
+
* * Do not add a route whose destination CIDR block is 100.64.0.0/10, a subset of 100.64.0.0/10, or a CIDR block that contains 100.64.0.0/10. If such a route is added, the status of the IPsec-VPN connection cannot be displayed in the console or IPsec negotiations fail.
|
|
53389
53502
|
* * **CreateVcoRouteEntry** 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 [DescribeVpnConnection](~~53046~~) operation to query the status of a route based on the status of the associated IPsec-VPN connection.
|
|
53390
53503
|
* * If the IPsec-VPN connection is in the **updating** state, the route is being created.
|
|
53391
53504
|
* * If the IPsec-VPN connection is in the **attached** state, the route is created.
|
|
@@ -54865,7 +54978,7 @@ export default class Client extends OpenApi {
|
|
|
54865
54978
|
}
|
|
54866
54979
|
|
|
54867
54980
|
/**
|
|
54868
|
-
* You cannot repeatedly call the **DeleteCommonBandwidthPackage** operation to delete an
|
|
54981
|
+
* You cannot repeatedly call the **DeleteCommonBandwidthPackage** operation to delete an Internet Shared Bandwidth instance within the specified period of time.
|
|
54869
54982
|
*
|
|
54870
54983
|
* @param request DeleteCommonBandwidthPackageRequest
|
|
54871
54984
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -54920,7 +55033,7 @@ export default class Client extends OpenApi {
|
|
|
54920
55033
|
}
|
|
54921
55034
|
|
|
54922
55035
|
/**
|
|
54923
|
-
* You cannot repeatedly call the **DeleteCommonBandwidthPackage** operation to delete an
|
|
55036
|
+
* You cannot repeatedly call the **DeleteCommonBandwidthPackage** operation to delete an Internet Shared Bandwidth instance within the specified period of time.
|
|
54924
55037
|
*
|
|
54925
55038
|
* @param request DeleteCommonBandwidthPackageRequest
|
|
54926
55039
|
* @return DeleteCommonBandwidthPackageResponse
|
|
@@ -56437,12 +56550,12 @@ export default class Client extends OpenApi {
|
|
|
56437
56550
|
}
|
|
56438
56551
|
|
|
56439
56552
|
/**
|
|
56440
|
-
*
|
|
56553
|
+
* Before you call this operation, take note of the following items:
|
|
56554
|
+
* * Before you delete a CIDR block, make sure that it is not being used.
|
|
56555
|
+
* * **DeletePublicIpAddressPoolCidrBlock** 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 [ListPublicIpAddressPoolCidrBlocks](~~429436~~) operation to query the status of the task.
|
|
56441
56556
|
* * If the CIDR block is in the **Deleting** state, the CIDR block is being deleted. In this state, you can only query the CIDR block and cannot perform other operations.
|
|
56442
56557
|
* * If you cannot query the CIDR block, the CIDR block is deleted.
|
|
56443
56558
|
* * You cannot repeatedly call the **DeletePublicIpAddressPoolCidrBlock** operation to delete a CIDR block within the specified period of time.
|
|
56444
|
-
* ## Prerequisites
|
|
56445
|
-
* Before you delete a CIDR block, make sure that it is not being used.
|
|
56446
56559
|
*
|
|
56447
56560
|
* @param request DeletePublicIpAddressPoolCidrBlockRequest
|
|
56448
56561
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -56505,12 +56618,12 @@ export default class Client extends OpenApi {
|
|
|
56505
56618
|
}
|
|
56506
56619
|
|
|
56507
56620
|
/**
|
|
56508
|
-
*
|
|
56621
|
+
* Before you call this operation, take note of the following items:
|
|
56622
|
+
* * Before you delete a CIDR block, make sure that it is not being used.
|
|
56623
|
+
* * **DeletePublicIpAddressPoolCidrBlock** 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 [ListPublicIpAddressPoolCidrBlocks](~~429436~~) operation to query the status of the task.
|
|
56509
56624
|
* * If the CIDR block is in the **Deleting** state, the CIDR block is being deleted. In this state, you can only query the CIDR block and cannot perform other operations.
|
|
56510
56625
|
* * If you cannot query the CIDR block, the CIDR block is deleted.
|
|
56511
56626
|
* * You cannot repeatedly call the **DeletePublicIpAddressPoolCidrBlock** operation to delete a CIDR block within the specified period of time.
|
|
56512
|
-
* ## Prerequisites
|
|
56513
|
-
* Before you delete a CIDR block, make sure that it is not being used.
|
|
56514
56627
|
*
|
|
56515
56628
|
* @param request DeletePublicIpAddressPoolCidrBlockRequest
|
|
56516
56629
|
* @return DeletePublicIpAddressPoolCidrBlockResponse
|
|
@@ -57360,6 +57473,55 @@ export default class Client extends OpenApi {
|
|
|
57360
57473
|
return await this.deleteVSwitchWithOptions(request, runtime);
|
|
57361
57474
|
}
|
|
57362
57475
|
|
|
57476
|
+
async deleteVSwitchCidrReservationWithOptions(request: DeleteVSwitchCidrReservationRequest, runtime: $Util.RuntimeOptions): Promise<DeleteVSwitchCidrReservationResponse> {
|
|
57477
|
+
Util.validateModel(request);
|
|
57478
|
+
let query = { };
|
|
57479
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
57480
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
57481
|
+
}
|
|
57482
|
+
|
|
57483
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
57484
|
+
query["OwnerId"] = request.ownerId;
|
|
57485
|
+
}
|
|
57486
|
+
|
|
57487
|
+
if (!Util.isUnset(request.regionId)) {
|
|
57488
|
+
query["RegionId"] = request.regionId;
|
|
57489
|
+
}
|
|
57490
|
+
|
|
57491
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
57492
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
57493
|
+
}
|
|
57494
|
+
|
|
57495
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
57496
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
57497
|
+
}
|
|
57498
|
+
|
|
57499
|
+
if (!Util.isUnset(request.vSwitchCidrReservationId)) {
|
|
57500
|
+
query["VSwitchCidrReservationId"] = request.vSwitchCidrReservationId;
|
|
57501
|
+
}
|
|
57502
|
+
|
|
57503
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
57504
|
+
query: OpenApiUtil.query(query),
|
|
57505
|
+
});
|
|
57506
|
+
let params = new $OpenApi.Params({
|
|
57507
|
+
action: "DeleteVSwitchCidrReservation",
|
|
57508
|
+
version: "2016-04-28",
|
|
57509
|
+
protocol: "HTTPS",
|
|
57510
|
+
pathname: "/",
|
|
57511
|
+
method: "POST",
|
|
57512
|
+
authType: "AK",
|
|
57513
|
+
style: "RPC",
|
|
57514
|
+
reqBodyType: "formData",
|
|
57515
|
+
bodyType: "json",
|
|
57516
|
+
});
|
|
57517
|
+
return $tea.cast<DeleteVSwitchCidrReservationResponse>(await this.callApi(params, req, runtime), new DeleteVSwitchCidrReservationResponse({}));
|
|
57518
|
+
}
|
|
57519
|
+
|
|
57520
|
+
async deleteVSwitchCidrReservation(request: DeleteVSwitchCidrReservationRequest): Promise<DeleteVSwitchCidrReservationResponse> {
|
|
57521
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
57522
|
+
return await this.deleteVSwitchCidrReservationWithOptions(request, runtime);
|
|
57523
|
+
}
|
|
57524
|
+
|
|
57363
57525
|
async deleteVbrHaWithOptions(request: DeleteVbrHaRequest, runtime: $Util.RuntimeOptions): Promise<DeleteVbrHaResponse> {
|
|
57364
57526
|
Util.validateModel(request);
|
|
57365
57527
|
let query = { };
|
|
@@ -68207,6 +68369,14 @@ export default class Client extends OpenApi {
|
|
|
68207
68369
|
query["Description"] = request.description;
|
|
68208
68370
|
}
|
|
68209
68371
|
|
|
68372
|
+
if (!Util.isUnset(request.newNextHopId)) {
|
|
68373
|
+
query["NewNextHopId"] = request.newNextHopId;
|
|
68374
|
+
}
|
|
68375
|
+
|
|
68376
|
+
if (!Util.isUnset(request.newNextHopType)) {
|
|
68377
|
+
query["NewNextHopType"] = request.newNextHopType;
|
|
68378
|
+
}
|
|
68379
|
+
|
|
68210
68380
|
if (!Util.isUnset(request.ownerAccount)) {
|
|
68211
68381
|
query["OwnerAccount"] = request.ownerAccount;
|
|
68212
68382
|
}
|
|
@@ -70636,7 +70806,7 @@ export default class Client extends OpenApi {
|
|
|
70636
70806
|
|
|
70637
70807
|
/**
|
|
70638
70808
|
* * After you call the **ReleaseEipSegmentAddress** operation, all EIPs in the specified group are released.
|
|
70639
|
-
* *
|
|
70809
|
+
* * **ReleaseEipSegmentAddress** 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 [DescribeEipSegment](~~156063~~) operation to query the status of the task.
|
|
70640
70810
|
* * If the group is in the **Releasing** state, EIPs in the group are being released. In this state, you can only query the group and cannot perform other operations.
|
|
70641
70811
|
* * If you cannot query the group of contiguous EIPs, the contiguous EIPs are released.
|
|
70642
70812
|
* * You cannot repeatedly call the **ReleaseEipSegmentAddress** operation to release a group of contiguous EIPs within the specified period of time.
|
|
@@ -70695,7 +70865,7 @@ export default class Client extends OpenApi {
|
|
|
70695
70865
|
|
|
70696
70866
|
/**
|
|
70697
70867
|
* * After you call the **ReleaseEipSegmentAddress** operation, all EIPs in the specified group are released.
|
|
70698
|
-
* *
|
|
70868
|
+
* * **ReleaseEipSegmentAddress** 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 [DescribeEipSegment](~~156063~~) operation to query the status of the task.
|
|
70699
70869
|
* * If the group is in the **Releasing** state, EIPs in the group are being released. In this state, you can only query the group and cannot perform other operations.
|
|
70700
70870
|
* * If you cannot query the group of contiguous EIPs, the contiguous EIPs are released.
|
|
70701
70871
|
* * You cannot repeatedly call the **ReleaseEipSegmentAddress** operation to release a group of contiguous EIPs within the specified period of time.
|
|
@@ -71789,10 +71959,10 @@ export default class Client extends OpenApi {
|
|
|
71789
71959
|
}
|
|
71790
71960
|
|
|
71791
71961
|
/**
|
|
71792
|
-
* * **UnassociateEipAddress** is an asynchronous operation. After
|
|
71962
|
+
* * **UnassociateEipAddress** 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 [DescribeEipAddresses](~~120193~~) operation to query the status of the task.
|
|
71793
71963
|
* * If the EIP is in the **Unassociating** state, the EIP is being disassociated. In this state, you can only query the EIP and cannot perform other operations.
|
|
71794
71964
|
* * If the EIP is in the **Available** state, the EIP is disassociated.
|
|
71795
|
-
* * You cannot repeatedly call the **UnassociateEipAddress** operation
|
|
71965
|
+
* * You cannot repeatedly call the **UnassociateEipAddress** operation within the specified period of time.
|
|
71796
71966
|
*
|
|
71797
71967
|
* @param request UnassociateEipAddressRequest
|
|
71798
71968
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -71863,10 +72033,10 @@ export default class Client extends OpenApi {
|
|
|
71863
72033
|
}
|
|
71864
72034
|
|
|
71865
72035
|
/**
|
|
71866
|
-
* * **UnassociateEipAddress** is an asynchronous operation. After
|
|
72036
|
+
* * **UnassociateEipAddress** 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 [DescribeEipAddresses](~~120193~~) operation to query the status of the task.
|
|
71867
72037
|
* * If the EIP is in the **Unassociating** state, the EIP is being disassociated. In this state, you can only query the EIP and cannot perform other operations.
|
|
71868
72038
|
* * If the EIP is in the **Available** state, the EIP is disassociated.
|
|
71869
|
-
* * You cannot repeatedly call the **UnassociateEipAddress** operation
|
|
72039
|
+
* * You cannot repeatedly call the **UnassociateEipAddress** operation within the specified period of time.
|
|
71870
72040
|
*
|
|
71871
72041
|
* @param request UnassociateEipAddressRequest
|
|
71872
72042
|
* @return UnassociateEipAddressResponse
|