@alicloud/vpc20160428 6.8.1 → 6.8.3
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 +85 -7
- package/dist/client.js +138 -36
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +160 -7
package/dist/client.d.ts
CHANGED
|
@@ -3,6 +3,34 @@
|
|
|
3
3
|
import OpenApi from '@alicloud/openapi-core';
|
|
4
4
|
import { $OpenApiUtil } from '@alicloud/openapi-core';
|
|
5
5
|
import * as $dara from '@darabonba/typescript';
|
|
6
|
+
export declare class AllocateEipAddressRequestTag extends $dara.Model {
|
|
7
|
+
key?: string;
|
|
8
|
+
value?: string;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
export declare class AllocateEipAddressProRequestTag extends $dara.Model {
|
|
21
|
+
key?: string;
|
|
22
|
+
value?: string;
|
|
23
|
+
static names(): {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
static types(): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
validate(): void;
|
|
30
|
+
constructor(map?: {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
6
34
|
export declare class AllocateIpv6AddressRequestTag extends $dara.Model {
|
|
7
35
|
/**
|
|
8
36
|
* @remarks
|
|
@@ -122,6 +150,20 @@ export declare class AssociateNetworkAclRequestResource extends $dara.Model {
|
|
|
122
150
|
[key: string]: any;
|
|
123
151
|
});
|
|
124
152
|
}
|
|
153
|
+
export declare class CreateCommonBandwidthPackageRequestTag extends $dara.Model {
|
|
154
|
+
key?: string;
|
|
155
|
+
value?: string;
|
|
156
|
+
static names(): {
|
|
157
|
+
[key: string]: string;
|
|
158
|
+
};
|
|
159
|
+
static types(): {
|
|
160
|
+
[key: string]: any;
|
|
161
|
+
};
|
|
162
|
+
validate(): void;
|
|
163
|
+
constructor(map?: {
|
|
164
|
+
[key: string]: any;
|
|
165
|
+
});
|
|
166
|
+
}
|
|
125
167
|
export declare class CreateCustomerGatewayRequestTags extends $dara.Model {
|
|
126
168
|
/**
|
|
127
169
|
* @remarks
|
|
@@ -8075,6 +8117,7 @@ export declare class DescribeIpv6GatewaysResponseBodyIpv6GatewaysIpv6Gateway ext
|
|
|
8075
8117
|
* ipv6GW
|
|
8076
8118
|
*/
|
|
8077
8119
|
name?: string;
|
|
8120
|
+
ownerId?: string;
|
|
8078
8121
|
/**
|
|
8079
8122
|
* @remarks
|
|
8080
8123
|
* The ID of the region in which the IPv6 gateway is deployed.
|
|
@@ -25112,6 +25155,8 @@ export declare class UpdateNetworkAclEntriesRequestIngressAclEntries extends $da
|
|
|
25112
25155
|
export declare class WithdrawVpcPublishedRouteEntriesRequestRouteEntries extends $dara.Model {
|
|
25113
25156
|
/**
|
|
25114
25157
|
* @remarks
|
|
25158
|
+
* The destination CIDR block
|
|
25159
|
+
*
|
|
25115
25160
|
* This parameter is required.
|
|
25116
25161
|
*
|
|
25117
25162
|
* @example
|
|
@@ -25120,6 +25165,8 @@ export declare class WithdrawVpcPublishedRouteEntriesRequestRouteEntries extends
|
|
|
25120
25165
|
destinationCidrBlock?: string;
|
|
25121
25166
|
/**
|
|
25122
25167
|
* @remarks
|
|
25168
|
+
* The ID of the route table.
|
|
25169
|
+
*
|
|
25123
25170
|
* This parameter is required.
|
|
25124
25171
|
*
|
|
25125
25172
|
* @example
|
|
@@ -26263,6 +26310,7 @@ export declare class AllocateEipAddressRequest extends $dara.Model {
|
|
|
26263
26310
|
* AntiDDoS_Enhanced
|
|
26264
26311
|
*/
|
|
26265
26312
|
securityProtectionTypes?: string[];
|
|
26313
|
+
tag?: AllocateEipAddressRequestTag[];
|
|
26266
26314
|
/**
|
|
26267
26315
|
* @remarks
|
|
26268
26316
|
* The zone of the EIP.
|
|
@@ -26551,6 +26599,7 @@ export declare class AllocateEipAddressProRequest extends $dara.Model {
|
|
|
26551
26599
|
* You can configure Anti-DDoS editions for up to 10 EIPs.
|
|
26552
26600
|
*/
|
|
26553
26601
|
securityProtectionTypes?: string[];
|
|
26602
|
+
tag?: AllocateEipAddressProRequestTag[];
|
|
26554
26603
|
static names(): {
|
|
26555
26604
|
[key: string]: string;
|
|
26556
26605
|
};
|
|
@@ -30008,9 +30057,9 @@ export declare class CreateBgpPeerRequest extends $dara.Model {
|
|
|
30008
30057
|
* @remarks
|
|
30009
30058
|
* The BFD hop count. Valid values: **1** to **255**.
|
|
30010
30059
|
*
|
|
30011
|
-
* This parameter is required only if you enable BFD.
|
|
30060
|
+
* This parameter is required only if you enable BFD. The parameter specifies the maximum number of network devices that a packet can traverse from the source to the destination. Set a value based on your network topology.
|
|
30012
30061
|
*
|
|
30013
|
-
*
|
|
30062
|
+
* > If you use BFD in a multi-cloud environment or a fiber-optic direct connection network without any bridge device, you need to change the default BFD hop count from **255** to **1**.
|
|
30014
30063
|
*
|
|
30015
30064
|
* @example
|
|
30016
30065
|
* 3
|
|
@@ -30251,6 +30300,7 @@ export declare class CreateCommonBandwidthPackageRequest extends $dara.Model {
|
|
|
30251
30300
|
* AntiDDoS_Enhanced
|
|
30252
30301
|
*/
|
|
30253
30302
|
securityProtectionTypes?: string[];
|
|
30303
|
+
tag?: CreateCommonBandwidthPackageRequestTag[];
|
|
30254
30304
|
/**
|
|
30255
30305
|
* @remarks
|
|
30256
30306
|
* The zone of the Internet Shared Bandwidth instance. This parameter is required if you create an Internet Shared Bandwidth instance for a cloud box.
|
|
@@ -43607,6 +43657,8 @@ export declare class DeleteRouteEntriesRequest extends $dara.Model {
|
|
|
43607
43657
|
*
|
|
43608
43658
|
* You can call the [DescribeRegions](https://help.aliyun.com/document_detail/36063.html) operation to query the most recent region list.
|
|
43609
43659
|
*
|
|
43660
|
+
* This parameter is required.
|
|
43661
|
+
*
|
|
43610
43662
|
* @example
|
|
43611
43663
|
* cn-hangzhou
|
|
43612
43664
|
*/
|
|
@@ -44522,6 +44574,7 @@ export declare class DeleteTrafficMirrorSessionResponse extends $dara.Model {
|
|
|
44522
44574
|
});
|
|
44523
44575
|
}
|
|
44524
44576
|
export declare class DeleteVSwitchRequest extends $dara.Model {
|
|
44577
|
+
dryRun?: boolean;
|
|
44525
44578
|
ownerAccount?: string;
|
|
44526
44579
|
ownerId?: number;
|
|
44527
44580
|
/**
|
|
@@ -46307,7 +46360,7 @@ export declare class DescribeBgpNetworksRequest extends $dara.Model {
|
|
|
46307
46360
|
ownerId?: number;
|
|
46308
46361
|
/**
|
|
46309
46362
|
* @remarks
|
|
46310
|
-
* The page
|
|
46363
|
+
* The number of the returned page. Default value: **1**.
|
|
46311
46364
|
*
|
|
46312
46365
|
* @example
|
|
46313
46366
|
* 1
|
|
@@ -46315,7 +46368,7 @@ export declare class DescribeBgpNetworksRequest extends $dara.Model {
|
|
|
46315
46368
|
pageNumber?: number;
|
|
46316
46369
|
/**
|
|
46317
46370
|
* @remarks
|
|
46318
|
-
* The number of entries per page.
|
|
46371
|
+
* The number of entries per page. The maximum value is **50**. Default value: **10**.
|
|
46319
46372
|
*
|
|
46320
46373
|
* @example
|
|
46321
46374
|
* 10
|
|
@@ -46357,7 +46410,7 @@ export declare class DescribeBgpNetworksRequest extends $dara.Model {
|
|
|
46357
46410
|
export declare class DescribeBgpNetworksResponseBody extends $dara.Model {
|
|
46358
46411
|
/**
|
|
46359
46412
|
* @remarks
|
|
46360
|
-
*
|
|
46413
|
+
* BGP networks.
|
|
46361
46414
|
*/
|
|
46362
46415
|
bgpNetworks?: DescribeBgpNetworksResponseBodyBgpNetworks;
|
|
46363
46416
|
/**
|
|
@@ -50574,6 +50627,7 @@ export declare class DescribeIpv6GatewayAttributeResponseBody extends $dara.Mode
|
|
|
50574
50627
|
* test
|
|
50575
50628
|
*/
|
|
50576
50629
|
name?: string;
|
|
50630
|
+
ownerId?: string;
|
|
50577
50631
|
/**
|
|
50578
50632
|
* @remarks
|
|
50579
50633
|
* The ID of the region where the IPv6 gateway is deployed.
|
|
@@ -79398,6 +79452,12 @@ export declare class VpcDescribeVpcNatGatewayNetworkInterfaceQuotaResponse exten
|
|
|
79398
79452
|
}
|
|
79399
79453
|
export declare class WithdrawVpcPublishedRouteEntriesRequest extends $dara.Model {
|
|
79400
79454
|
/**
|
|
79455
|
+
* @remarks
|
|
79456
|
+
* Specifies whether to perform only a dry run, without performing the actual request. Valid values:
|
|
79457
|
+
*
|
|
79458
|
+
* * **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
79459
|
+
* * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
79460
|
+
*
|
|
79401
79461
|
* @example
|
|
79402
79462
|
* false
|
|
79403
79463
|
*/
|
|
@@ -79405,15 +79465,24 @@ export declare class WithdrawVpcPublishedRouteEntriesRequest extends $dara.Model
|
|
|
79405
79465
|
ownerAccount?: string;
|
|
79406
79466
|
ownerId?: number;
|
|
79407
79467
|
/**
|
|
79468
|
+
* @remarks
|
|
79469
|
+
* The ID of the region. Call the DescribeRegions operation to access it.
|
|
79470
|
+
*
|
|
79408
79471
|
* @example
|
|
79409
79472
|
* cn-hangzhou
|
|
79410
79473
|
*/
|
|
79411
79474
|
regionId?: string;
|
|
79412
79475
|
resourceOwnerAccount?: string;
|
|
79413
79476
|
resourceOwnerId?: number;
|
|
79477
|
+
/**
|
|
79478
|
+
* @remarks
|
|
79479
|
+
* The route entries to be withdrawn. Maximum value: 50.
|
|
79480
|
+
*/
|
|
79414
79481
|
routeEntries?: WithdrawVpcPublishedRouteEntriesRequestRouteEntries[];
|
|
79415
79482
|
/**
|
|
79416
79483
|
* @remarks
|
|
79484
|
+
* Target instance ID.
|
|
79485
|
+
*
|
|
79417
79486
|
* This parameter is required.
|
|
79418
79487
|
*
|
|
79419
79488
|
* @example
|
|
@@ -79422,6 +79491,8 @@ export declare class WithdrawVpcPublishedRouteEntriesRequest extends $dara.Model
|
|
|
79422
79491
|
targetInstanceId?: string;
|
|
79423
79492
|
/**
|
|
79424
79493
|
* @remarks
|
|
79494
|
+
* The type of target instance.
|
|
79495
|
+
*
|
|
79425
79496
|
* This parameter is required.
|
|
79426
79497
|
*
|
|
79427
79498
|
* @example
|
|
@@ -79441,6 +79512,9 @@ export declare class WithdrawVpcPublishedRouteEntriesRequest extends $dara.Model
|
|
|
79441
79512
|
}
|
|
79442
79513
|
export declare class WithdrawVpcPublishedRouteEntriesResponseBody extends $dara.Model {
|
|
79443
79514
|
/**
|
|
79515
|
+
* @remarks
|
|
79516
|
+
* The request ID.
|
|
79517
|
+
*
|
|
79444
79518
|
* @example
|
|
79445
79519
|
* 0ED8D006-F706-4D23-88ED-E11ED28DCAC0
|
|
79446
79520
|
*/
|
|
@@ -79751,6 +79825,8 @@ export default class Client extends OpenApi {
|
|
|
79751
79825
|
* * If the contiguous EIP group is in the **Allocating** state, the EIPs are being allocated. In this case, you can only perform the query operation and cannot perform other operations.
|
|
79752
79826
|
* * If the contiguous EIP group is in the **Allocated** state, the EIPs are allocated.
|
|
79753
79827
|
*
|
|
79828
|
+
* @deprecated OpenAPI AllocateEipSegmentAddress is deprecated
|
|
79829
|
+
*
|
|
79754
79830
|
* @param request - AllocateEipSegmentAddressRequest
|
|
79755
79831
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
79756
79832
|
* @returns AllocateEipSegmentAddressResponse
|
|
@@ -79764,6 +79840,8 @@ export default class Client extends OpenApi {
|
|
|
79764
79840
|
* * If the contiguous EIP group is in the **Allocating** state, the EIPs are being allocated. In this case, you can only perform the query operation and cannot perform other operations.
|
|
79765
79841
|
* * If the contiguous EIP group is in the **Allocated** state, the EIPs are allocated.
|
|
79766
79842
|
*
|
|
79843
|
+
* @deprecated OpenAPI AllocateEipSegmentAddress is deprecated
|
|
79844
|
+
*
|
|
79767
79845
|
* @param request - AllocateEipSegmentAddressRequest
|
|
79768
79846
|
* @returns AllocateEipSegmentAddressResponse
|
|
79769
79847
|
*/
|
|
@@ -87913,7 +87991,7 @@ export default class Client extends OpenApi {
|
|
|
87913
87991
|
*/
|
|
87914
87992
|
vpcDescribeVpcNatGatewayNetworkInterfaceQuota(request: VpcDescribeVpcNatGatewayNetworkInterfaceQuotaRequest): Promise<VpcDescribeVpcNatGatewayNetworkInterfaceQuotaResponse>;
|
|
87915
87993
|
/**
|
|
87916
|
-
*
|
|
87994
|
+
* Withdraw advertised Virtual Private Cloud (VPC) routes.
|
|
87917
87995
|
*
|
|
87918
87996
|
* @param request - WithdrawVpcPublishedRouteEntriesRequest
|
|
87919
87997
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -87921,7 +87999,7 @@ export default class Client extends OpenApi {
|
|
|
87921
87999
|
*/
|
|
87922
88000
|
withdrawVpcPublishedRouteEntriesWithOptions(request: WithdrawVpcPublishedRouteEntriesRequest, runtime: $dara.RuntimeOptions): Promise<WithdrawVpcPublishedRouteEntriesResponse>;
|
|
87923
88001
|
/**
|
|
87924
|
-
*
|
|
88002
|
+
* Withdraw advertised Virtual Private Cloud (VPC) routes.
|
|
87925
88003
|
*
|
|
87926
88004
|
* @param request - WithdrawVpcPublishedRouteEntriesRequest
|
|
87927
88005
|
* @returns WithdrawVpcPublishedRouteEntriesResponse
|