@alicloud/vpc20160428 6.4.5 → 6.4.7
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 +15 -12
- package/dist/client.js +24 -12
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +29 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/vpc20160428",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
|
-
"@alicloud/tea-util": "^1.4.
|
|
24
|
-
"@alicloud/openapi-client": "^0.4.
|
|
23
|
+
"@alicloud/tea-util": "^1.4.8",
|
|
24
|
+
"@alicloud/openapi-client": "^0.4.9",
|
|
25
25
|
"@alicloud/openapi-util": "^0.3.2",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
package/src/client.ts
CHANGED
|
@@ -20212,6 +20212,7 @@ export class DescribeVSwitchAttributesResponse extends $tea.Model {
|
|
|
20212
20212
|
|
|
20213
20213
|
export class DescribeVSwitchesRequest extends $tea.Model {
|
|
20214
20214
|
dryRun?: boolean;
|
|
20215
|
+
enableIpv6?: boolean;
|
|
20215
20216
|
isDefault?: boolean;
|
|
20216
20217
|
ownerAccount?: string;
|
|
20217
20218
|
ownerId?: number;
|
|
@@ -20231,6 +20232,7 @@ export class DescribeVSwitchesRequest extends $tea.Model {
|
|
|
20231
20232
|
static names(): { [key: string]: string } {
|
|
20232
20233
|
return {
|
|
20233
20234
|
dryRun: 'DryRun',
|
|
20235
|
+
enableIpv6: 'EnableIpv6',
|
|
20234
20236
|
isDefault: 'IsDefault',
|
|
20235
20237
|
ownerAccount: 'OwnerAccount',
|
|
20236
20238
|
ownerId: 'OwnerId',
|
|
@@ -20253,6 +20255,7 @@ export class DescribeVSwitchesRequest extends $tea.Model {
|
|
|
20253
20255
|
static types(): { [key: string]: any } {
|
|
20254
20256
|
return {
|
|
20255
20257
|
dryRun: 'boolean',
|
|
20258
|
+
enableIpv6: 'boolean',
|
|
20256
20259
|
isDefault: 'boolean',
|
|
20257
20260
|
ownerAccount: 'string',
|
|
20258
20261
|
ownerId: 'number',
|
|
@@ -20906,6 +20909,7 @@ export class DescribeVpcAttributeResponse extends $tea.Model {
|
|
|
20906
20909
|
export class DescribeVpcsRequest extends $tea.Model {
|
|
20907
20910
|
dhcpOptionsSetId?: string;
|
|
20908
20911
|
dryRun?: boolean;
|
|
20912
|
+
enableIpv6?: boolean;
|
|
20909
20913
|
isDefault?: boolean;
|
|
20910
20914
|
ownerAccount?: string;
|
|
20911
20915
|
ownerId?: number;
|
|
@@ -20923,6 +20927,7 @@ export class DescribeVpcsRequest extends $tea.Model {
|
|
|
20923
20927
|
return {
|
|
20924
20928
|
dhcpOptionsSetId: 'DhcpOptionsSetId',
|
|
20925
20929
|
dryRun: 'DryRun',
|
|
20930
|
+
enableIpv6: 'EnableIpv6',
|
|
20926
20931
|
isDefault: 'IsDefault',
|
|
20927
20932
|
ownerAccount: 'OwnerAccount',
|
|
20928
20933
|
ownerId: 'OwnerId',
|
|
@@ -20943,6 +20948,7 @@ export class DescribeVpcsRequest extends $tea.Model {
|
|
|
20943
20948
|
return {
|
|
20944
20949
|
dhcpOptionsSetId: 'string',
|
|
20945
20950
|
dryRun: 'boolean',
|
|
20951
|
+
enableIpv6: 'boolean',
|
|
20946
20952
|
isDefault: 'boolean',
|
|
20947
20953
|
ownerAccount: 'string',
|
|
20948
20954
|
ownerId: 'number',
|
|
@@ -48650,6 +48656,7 @@ export class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolListTags ext
|
|
|
48650
48656
|
|
|
48651
48657
|
export class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends $tea.Model {
|
|
48652
48658
|
bizType?: string;
|
|
48659
|
+
businessStatus?: string;
|
|
48653
48660
|
creationTime?: string;
|
|
48654
48661
|
description?: string;
|
|
48655
48662
|
ipAddressRemaining?: boolean;
|
|
@@ -48670,6 +48677,7 @@ export class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends
|
|
|
48670
48677
|
static names(): { [key: string]: string } {
|
|
48671
48678
|
return {
|
|
48672
48679
|
bizType: 'BizType',
|
|
48680
|
+
businessStatus: 'BusinessStatus',
|
|
48673
48681
|
creationTime: 'CreationTime',
|
|
48674
48682
|
description: 'Description',
|
|
48675
48683
|
ipAddressRemaining: 'IpAddressRemaining',
|
|
@@ -48693,6 +48701,7 @@ export class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends
|
|
|
48693
48701
|
static types(): { [key: string]: any } {
|
|
48694
48702
|
return {
|
|
48695
48703
|
bizType: 'string',
|
|
48704
|
+
businessStatus: 'string',
|
|
48696
48705
|
creationTime: 'string',
|
|
48697
48706
|
description: 'string',
|
|
48698
48707
|
ipAddressRemaining: 'boolean',
|
|
@@ -56002,9 +56011,9 @@ export default class Client extends OpenApi {
|
|
|
56002
56011
|
/**
|
|
56003
56012
|
* @summary Creates an IPsec server.
|
|
56004
56013
|
*
|
|
56005
|
-
* @description * 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](https://help.aliyun.com/document_detail/
|
|
56014
|
+
* @description * 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](https://help.aliyun.com/document_detail/2794049.html).
|
|
56006
56015
|
* * Before you create an IPsec server, make sure that no IPsec-VPN connection exists on the VPN gateway. For more information, see [DeleteVpnConnection](https://help.aliyun.com/document_detail/2526948.html).
|
|
56007
|
-
* * **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](https://help.aliyun.com/document_detail/
|
|
56016
|
+
* * **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](https://help.aliyun.com/document_detail/2794055.html) to query the status of the task.
|
|
56008
56017
|
* * If the VPN gateway is in the **updating** state, the IPsec server is being created.
|
|
56009
56018
|
* * If the VPN gateway is in the **active** state, the IPsec server is created.
|
|
56010
56019
|
* * You cannot repeatedly call **CreateIpsecServer** within the specified period of time.
|
|
@@ -56084,9 +56093,9 @@ export default class Client extends OpenApi {
|
|
|
56084
56093
|
/**
|
|
56085
56094
|
* @summary Creates an IPsec server.
|
|
56086
56095
|
*
|
|
56087
|
-
* @description * 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](https://help.aliyun.com/document_detail/
|
|
56096
|
+
* @description * 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](https://help.aliyun.com/document_detail/2794049.html).
|
|
56088
56097
|
* * Before you create an IPsec server, make sure that no IPsec-VPN connection exists on the VPN gateway. For more information, see [DeleteVpnConnection](https://help.aliyun.com/document_detail/2526948.html).
|
|
56089
|
-
* * **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](https://help.aliyun.com/document_detail/
|
|
56098
|
+
* * **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](https://help.aliyun.com/document_detail/2794055.html) to query the status of the task.
|
|
56090
56099
|
* * If the VPN gateway is in the **updating** state, the IPsec server is being created.
|
|
56091
56100
|
* * If the VPN gateway is in the **active** state, the IPsec server is created.
|
|
56092
56101
|
* * You cannot repeatedly call **CreateIpsecServer** within the specified period of time.
|
|
@@ -61443,7 +61452,7 @@ export default class Client extends OpenApi {
|
|
|
61443
61452
|
/**
|
|
61444
61453
|
* @summary Deletes an IPsec server.
|
|
61445
61454
|
*
|
|
61446
|
-
* @description * **DeleteIpsecServer** 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](https://help.aliyun.com/document_detail/
|
|
61455
|
+
* @description * **DeleteIpsecServer** 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](https://help.aliyun.com/document_detail/2794055.html) to query the status of the task.
|
|
61447
61456
|
* * If a VPN gateway is in the **updating** state, the IPsec server is being deleted.
|
|
61448
61457
|
* * If a VPN gateway is in the **active** state, the IPsec server is deleted.
|
|
61449
61458
|
* * You cannot repeatedly call **DeleteIpsecServer** to delete an IPsec server from a VPN gateway within the specified period of time.
|
|
@@ -61491,7 +61500,7 @@ export default class Client extends OpenApi {
|
|
|
61491
61500
|
/**
|
|
61492
61501
|
* @summary Deletes an IPsec server.
|
|
61493
61502
|
*
|
|
61494
|
-
* @description * **DeleteIpsecServer** 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](https://help.aliyun.com/document_detail/
|
|
61503
|
+
* @description * **DeleteIpsecServer** 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](https://help.aliyun.com/document_detail/2794055.html) to query the status of the task.
|
|
61495
61504
|
* * If a VPN gateway is in the **updating** state, the IPsec server is being deleted.
|
|
61496
61505
|
* * If a VPN gateway is in the **active** state, the IPsec server is deleted.
|
|
61497
61506
|
* * You cannot repeatedly call **DeleteIpsecServer** to delete an IPsec server from a VPN gateway within the specified period of time.
|
|
@@ -62885,7 +62894,7 @@ export default class Client extends OpenApi {
|
|
|
62885
62894
|
/**
|
|
62886
62895
|
* @summary Deletes an SSL server.
|
|
62887
62896
|
*
|
|
62888
|
-
* @description * **DeleteSslVpnServer** 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](https://help.aliyun.com/document_detail/
|
|
62897
|
+
* @description * **DeleteSslVpnServer** 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](https://help.aliyun.com/document_detail/2794055.html) operation to query the status of the task.
|
|
62889
62898
|
* * If the VPN gateway is in the **updating** state, the SSL server is being deleted.
|
|
62890
62899
|
* * If the VPN gateway is in the **active** state, the SSL server is deleted.
|
|
62891
62900
|
* * You cannot repeatedly call the **DeleteSslVpnServer** operation to delete an SSL server from the same VPN gateway within the specified period of time.
|
|
@@ -62945,7 +62954,7 @@ export default class Client extends OpenApi {
|
|
|
62945
62954
|
/**
|
|
62946
62955
|
* @summary Deletes an SSL server.
|
|
62947
62956
|
*
|
|
62948
|
-
* @description * **DeleteSslVpnServer** 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](https://help.aliyun.com/document_detail/
|
|
62957
|
+
* @description * **DeleteSslVpnServer** 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](https://help.aliyun.com/document_detail/2794055.html) operation to query the status of the task.
|
|
62949
62958
|
* * If the VPN gateway is in the **updating** state, the SSL server is being deleted.
|
|
62950
62959
|
* * If the VPN gateway is in the **active** state, the SSL server is deleted.
|
|
62951
62960
|
* * You cannot repeatedly call the **DeleteSslVpnServer** operation to delete an SSL server from the same VPN gateway within the specified period of time.
|
|
@@ -68303,7 +68312,7 @@ export default class Client extends OpenApi {
|
|
|
68303
68312
|
/**
|
|
68304
68313
|
* @summary Queries the clients that have connected to a VPN gateway through SSL-VPN connections.
|
|
68305
68314
|
*
|
|
68306
|
-
* @description If your VPN gateway was created before December 10, 2022, you must upgrade your VPN gateway to the latest version before you can view connection information about SSL clients. For more information, see [Upgrade a VPN gateway](https://help.aliyun.com/document_detail/
|
|
68315
|
+
* @description If your VPN gateway was created before December 10, 2022, you must upgrade your VPN gateway to the latest version before you can view connection information about SSL clients. For more information, see [Upgrade a VPN gateway](https://help.aliyun.com/document_detail/2671058.html).
|
|
68307
68316
|
* If your VPN gateway was created after December 10, 2022, you can view connection information about SSL clients by default.
|
|
68308
68317
|
*
|
|
68309
68318
|
* @param request DescribeSslVpnClientsRequest
|
|
@@ -68365,7 +68374,7 @@ export default class Client extends OpenApi {
|
|
|
68365
68374
|
/**
|
|
68366
68375
|
* @summary Queries the clients that have connected to a VPN gateway through SSL-VPN connections.
|
|
68367
68376
|
*
|
|
68368
|
-
* @description If your VPN gateway was created before December 10, 2022, you must upgrade your VPN gateway to the latest version before you can view connection information about SSL clients. For more information, see [Upgrade a VPN gateway](https://help.aliyun.com/document_detail/
|
|
68377
|
+
* @description If your VPN gateway was created before December 10, 2022, you must upgrade your VPN gateway to the latest version before you can view connection information about SSL clients. For more information, see [Upgrade a VPN gateway](https://help.aliyun.com/document_detail/2671058.html).
|
|
68369
68378
|
* If your VPN gateway was created after December 10, 2022, you can view connection information about SSL clients by default.
|
|
68370
68379
|
*
|
|
68371
68380
|
* @param request DescribeSslVpnClientsRequest
|
|
@@ -68852,6 +68861,10 @@ export default class Client extends OpenApi {
|
|
|
68852
68861
|
query["DryRun"] = request.dryRun;
|
|
68853
68862
|
}
|
|
68854
68863
|
|
|
68864
|
+
if (!Util.isUnset(request.enableIpv6)) {
|
|
68865
|
+
query["EnableIpv6"] = request.enableIpv6;
|
|
68866
|
+
}
|
|
68867
|
+
|
|
68855
68868
|
if (!Util.isUnset(request.isDefault)) {
|
|
68856
68869
|
query["IsDefault"] = request.isDefault;
|
|
68857
68870
|
}
|
|
@@ -69328,6 +69341,10 @@ export default class Client extends OpenApi {
|
|
|
69328
69341
|
query["DryRun"] = request.dryRun;
|
|
69329
69342
|
}
|
|
69330
69343
|
|
|
69344
|
+
if (!Util.isUnset(request.enableIpv6)) {
|
|
69345
|
+
query["EnableIpv6"] = request.enableIpv6;
|
|
69346
|
+
}
|
|
69347
|
+
|
|
69331
69348
|
if (!Util.isUnset(request.isDefault)) {
|
|
69332
69349
|
query["IsDefault"] = request.isDefault;
|
|
69333
69350
|
}
|
|
@@ -81930,7 +81947,7 @@ export default class Client extends OpenApi {
|
|
|
81930
81947
|
* @summary Modifies the configuration of an IPsec server.
|
|
81931
81948
|
*
|
|
81932
81949
|
* @description * If you modify only the **IpsecServerName** parameter, this operation is synchronous. If you modify parameters other than **IpsecServerName**, this operation is asynchronous.
|
|
81933
|
-
* * When the **UpdateIpsecServer** operation is asynchronous, the system returns a request ID after you send a request to call this operation and the IPsec server is being modified in the backend. You can call [DescribeVpnGateway](https://help.aliyun.com/document_detail/
|
|
81950
|
+
* * When the **UpdateIpsecServer** operation is asynchronous, the system returns a request ID after you send a request to call this operation and the IPsec server is being modified in the backend. You can call [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) to query the status of a VPN gateway.
|
|
81934
81951
|
* * If the VPN gateway is in the **updating** state, the configuration of the IPsec server is being modified.
|
|
81935
81952
|
* * If the VPN gateway is in the **active** state, the configuration of the IPsec server is modified.
|
|
81936
81953
|
* * You cannot repeatedly call the **UpdateIpsecServer** operation for the same VPN gateway within the specified period of time.
|
|
@@ -82011,7 +82028,7 @@ export default class Client extends OpenApi {
|
|
|
82011
82028
|
* @summary Modifies the configuration of an IPsec server.
|
|
82012
82029
|
*
|
|
82013
82030
|
* @description * If you modify only the **IpsecServerName** parameter, this operation is synchronous. If you modify parameters other than **IpsecServerName**, this operation is asynchronous.
|
|
82014
|
-
* * When the **UpdateIpsecServer** operation is asynchronous, the system returns a request ID after you send a request to call this operation and the IPsec server is being modified in the backend. You can call [DescribeVpnGateway](https://help.aliyun.com/document_detail/
|
|
82031
|
+
* * When the **UpdateIpsecServer** operation is asynchronous, the system returns a request ID after you send a request to call this operation and the IPsec server is being modified in the backend. You can call [DescribeVpnGateway](https://help.aliyun.com/document_detail/2794055.html) to query the status of a VPN gateway.
|
|
82015
82032
|
* * If the VPN gateway is in the **updating** state, the configuration of the IPsec server is being modified.
|
|
82016
82033
|
* * If the VPN gateway is in the **active** state, the configuration of the IPsec server is modified.
|
|
82017
82034
|
* * You cannot repeatedly call the **UpdateIpsecServer** operation for the same VPN gateway within the specified period of time.
|