@alicloud/vpc20160428 4.1.0 → 5.0.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 +19 -68
- package/dist/client.js +28 -141
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +23 -169
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -21968,93 +21968,6 @@ export class GetNatGatewayAttributeResponse extends $tea.Model {
|
|
|
21968
21968
|
}
|
|
21969
21969
|
}
|
|
21970
21970
|
|
|
21971
|
-
export class GetNatGatewayConvertStatusRequest extends $tea.Model {
|
|
21972
|
-
natGatewayId?: string;
|
|
21973
|
-
ownerAccount?: string;
|
|
21974
|
-
ownerId?: number;
|
|
21975
|
-
regionId?: string;
|
|
21976
|
-
resourceOwnerAccount?: string;
|
|
21977
|
-
resourceOwnerId?: number;
|
|
21978
|
-
static names(): { [key: string]: string } {
|
|
21979
|
-
return {
|
|
21980
|
-
natGatewayId: 'NatGatewayId',
|
|
21981
|
-
ownerAccount: 'OwnerAccount',
|
|
21982
|
-
ownerId: 'OwnerId',
|
|
21983
|
-
regionId: 'RegionId',
|
|
21984
|
-
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
21985
|
-
resourceOwnerId: 'ResourceOwnerId',
|
|
21986
|
-
};
|
|
21987
|
-
}
|
|
21988
|
-
|
|
21989
|
-
static types(): { [key: string]: any } {
|
|
21990
|
-
return {
|
|
21991
|
-
natGatewayId: 'string',
|
|
21992
|
-
ownerAccount: 'string',
|
|
21993
|
-
ownerId: 'number',
|
|
21994
|
-
regionId: 'string',
|
|
21995
|
-
resourceOwnerAccount: 'string',
|
|
21996
|
-
resourceOwnerId: 'number',
|
|
21997
|
-
};
|
|
21998
|
-
}
|
|
21999
|
-
|
|
22000
|
-
constructor(map?: { [key: string]: any }) {
|
|
22001
|
-
super(map);
|
|
22002
|
-
}
|
|
22003
|
-
}
|
|
22004
|
-
|
|
22005
|
-
export class GetNatGatewayConvertStatusResponseBody extends $tea.Model {
|
|
22006
|
-
convertSteps?: GetNatGatewayConvertStatusResponseBodyConvertSteps[];
|
|
22007
|
-
dstNatType?: string;
|
|
22008
|
-
natGatewayId?: string;
|
|
22009
|
-
requestId?: string;
|
|
22010
|
-
static names(): { [key: string]: string } {
|
|
22011
|
-
return {
|
|
22012
|
-
convertSteps: 'ConvertSteps',
|
|
22013
|
-
dstNatType: 'DstNatType',
|
|
22014
|
-
natGatewayId: 'NatGatewayId',
|
|
22015
|
-
requestId: 'RequestId',
|
|
22016
|
-
};
|
|
22017
|
-
}
|
|
22018
|
-
|
|
22019
|
-
static types(): { [key: string]: any } {
|
|
22020
|
-
return {
|
|
22021
|
-
convertSteps: { 'type': 'array', 'itemType': GetNatGatewayConvertStatusResponseBodyConvertSteps },
|
|
22022
|
-
dstNatType: 'string',
|
|
22023
|
-
natGatewayId: 'string',
|
|
22024
|
-
requestId: 'string',
|
|
22025
|
-
};
|
|
22026
|
-
}
|
|
22027
|
-
|
|
22028
|
-
constructor(map?: { [key: string]: any }) {
|
|
22029
|
-
super(map);
|
|
22030
|
-
}
|
|
22031
|
-
}
|
|
22032
|
-
|
|
22033
|
-
export class GetNatGatewayConvertStatusResponse extends $tea.Model {
|
|
22034
|
-
headers: { [key: string]: string };
|
|
22035
|
-
statusCode: number;
|
|
22036
|
-
body: GetNatGatewayConvertStatusResponseBody;
|
|
22037
|
-
static names(): { [key: string]: string } {
|
|
22038
|
-
return {
|
|
22039
|
-
headers: 'headers',
|
|
22040
|
-
statusCode: 'statusCode',
|
|
22041
|
-
body: 'body',
|
|
22042
|
-
};
|
|
22043
|
-
}
|
|
22044
|
-
|
|
22045
|
-
static types(): { [key: string]: any } {
|
|
22046
|
-
return {
|
|
22047
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
22048
|
-
statusCode: 'number',
|
|
22049
|
-
body: GetNatGatewayConvertStatusResponseBody,
|
|
22050
|
-
};
|
|
22051
|
-
}
|
|
22052
|
-
|
|
22053
|
-
constructor(map?: { [key: string]: any }) {
|
|
22054
|
-
super(map);
|
|
22055
|
-
}
|
|
22056
|
-
}
|
|
22057
|
-
|
|
22058
21971
|
export class GetPhysicalConnectionServiceStatusRequest extends $tea.Model {
|
|
22059
21972
|
ownerAccount?: string;
|
|
22060
21973
|
ownerId?: number;
|
|
@@ -39390,13 +39303,19 @@ export class DescribeRouteEntryListResponseBodyRouteEntrys extends $tea.Model {
|
|
|
39390
39303
|
}
|
|
39391
39304
|
|
|
39392
39305
|
export class DescribeRouteTableListRequestTag extends $tea.Model {
|
|
39306
|
+
key?: string;
|
|
39307
|
+
value?: string;
|
|
39393
39308
|
static names(): { [key: string]: string } {
|
|
39394
39309
|
return {
|
|
39310
|
+
key: 'Key',
|
|
39311
|
+
value: 'Value',
|
|
39395
39312
|
};
|
|
39396
39313
|
}
|
|
39397
39314
|
|
|
39398
39315
|
static types(): { [key: string]: any } {
|
|
39399
39316
|
return {
|
|
39317
|
+
key: 'string',
|
|
39318
|
+
value: 'string',
|
|
39400
39319
|
};
|
|
39401
39320
|
}
|
|
39402
39321
|
|
|
@@ -43771,31 +43690,6 @@ export class GetNatGatewayAttributeResponseBodySnatTable extends $tea.Model {
|
|
|
43771
43690
|
}
|
|
43772
43691
|
}
|
|
43773
43692
|
|
|
43774
|
-
export class GetNatGatewayConvertStatusResponseBodyConvertSteps extends $tea.Model {
|
|
43775
|
-
stepName?: string;
|
|
43776
|
-
stepStartTime?: string;
|
|
43777
|
-
stepStatus?: string;
|
|
43778
|
-
static names(): { [key: string]: string } {
|
|
43779
|
-
return {
|
|
43780
|
-
stepName: 'StepName',
|
|
43781
|
-
stepStartTime: 'StepStartTime',
|
|
43782
|
-
stepStatus: 'StepStatus',
|
|
43783
|
-
};
|
|
43784
|
-
}
|
|
43785
|
-
|
|
43786
|
-
static types(): { [key: string]: any } {
|
|
43787
|
-
return {
|
|
43788
|
-
stepName: 'string',
|
|
43789
|
-
stepStartTime: 'string',
|
|
43790
|
-
stepStatus: 'string',
|
|
43791
|
-
};
|
|
43792
|
-
}
|
|
43793
|
-
|
|
43794
|
-
constructor(map?: { [key: string]: any }) {
|
|
43795
|
-
super(map);
|
|
43796
|
-
}
|
|
43797
|
-
}
|
|
43798
|
-
|
|
43799
43693
|
export class GetVpcGatewayEndpointAttributeResponseBodyTags extends $tea.Model {
|
|
43800
43694
|
key?: string;
|
|
43801
43695
|
value?: string;
|
|
@@ -54374,7 +54268,6 @@ export default class Client extends OpenApi {
|
|
|
54374
54268
|
}
|
|
54375
54269
|
|
|
54376
54270
|
/**
|
|
54377
|
-
* ## Usage notes
|
|
54378
54271
|
* * Before you create a VPN gateway, we recommend that you understand its limits. For more information, see [Limits on VPN gateways](~~65290~~).
|
|
54379
54272
|
* * The **CreateVpnGateway** 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 [DescribeVpnGateway](~~73720~~) to query the status of a VPN gateway.
|
|
54380
54273
|
* * If the VPN gateway is in the **provisioning** state, the VPN gateway is being created.
|
|
@@ -54481,7 +54374,6 @@ export default class Client extends OpenApi {
|
|
|
54481
54374
|
}
|
|
54482
54375
|
|
|
54483
54376
|
/**
|
|
54484
|
-
* ## Usage notes
|
|
54485
54377
|
* * Before you create a VPN gateway, we recommend that you understand its limits. For more information, see [Limits on VPN gateways](~~65290~~).
|
|
54486
54378
|
* * The **CreateVpnGateway** 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 [DescribeVpnGateway](~~73720~~) to query the status of a VPN gateway.
|
|
54487
54379
|
* * If the VPN gateway is in the **provisioning** state, the VPN gateway is being created.
|
|
@@ -55956,7 +55848,8 @@ export default class Client extends OpenApi {
|
|
|
55956
55848
|
}
|
|
55957
55849
|
|
|
55958
55850
|
/**
|
|
55959
|
-
* - 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:
|
|
55851
|
+
* - 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:
|
|
55852
|
+
* - If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
|
|
55960
55853
|
* - If you cannot query the IPv6 gateway, the IPv6 gateway is deleted.
|
|
55961
55854
|
* - 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.
|
|
55962
55855
|
* ## Prerequisites
|
|
@@ -56015,7 +55908,8 @@ export default class Client extends OpenApi {
|
|
|
56015
55908
|
}
|
|
56016
55909
|
|
|
56017
55910
|
/**
|
|
56018
|
-
* - 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:
|
|
55911
|
+
* - 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:
|
|
55912
|
+
* - If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
|
|
56019
55913
|
* - If you cannot query the IPv6 gateway, the IPv6 gateway is deleted.
|
|
56020
55914
|
* - 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.
|
|
56021
55915
|
* ## Prerequisites
|
|
@@ -61430,6 +61324,13 @@ export default class Client extends OpenApi {
|
|
|
61430
61324
|
return await this.describeSslVpnClientCertsWithOptions(request, runtime);
|
|
61431
61325
|
}
|
|
61432
61326
|
|
|
61327
|
+
/**
|
|
61328
|
+
* 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. If your VPN gateway was created after December 10, 2022, you can view connection information about SSL clients by default.
|
|
61329
|
+
*
|
|
61330
|
+
* @param request DescribeSslVpnClientsRequest
|
|
61331
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
61332
|
+
* @return DescribeSslVpnClientsResponse
|
|
61333
|
+
*/
|
|
61433
61334
|
async describeSslVpnClientsWithOptions(request: DescribeSslVpnClientsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSslVpnClientsResponse> {
|
|
61434
61335
|
Util.validateModel(request);
|
|
61435
61336
|
let query = { };
|
|
@@ -61482,6 +61383,12 @@ export default class Client extends OpenApi {
|
|
|
61482
61383
|
return $tea.cast<DescribeSslVpnClientsResponse>(await this.callApi(params, req, runtime), new DescribeSslVpnClientsResponse({}));
|
|
61483
61384
|
}
|
|
61484
61385
|
|
|
61386
|
+
/**
|
|
61387
|
+
* 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. If your VPN gateway was created after December 10, 2022, you can view connection information about SSL clients by default.
|
|
61388
|
+
*
|
|
61389
|
+
* @param request DescribeSslVpnClientsRequest
|
|
61390
|
+
* @return DescribeSslVpnClientsResponse
|
|
61391
|
+
*/
|
|
61485
61392
|
async describeSslVpnClients(request: DescribeSslVpnClientsRequest): Promise<DescribeSslVpnClientsResponse> {
|
|
61486
61393
|
let runtime = new $Util.RuntimeOptions({ });
|
|
61487
61394
|
return await this.describeSslVpnClientsWithOptions(request, runtime);
|
|
@@ -63992,59 +63899,6 @@ export default class Client extends OpenApi {
|
|
|
63992
63899
|
return await this.getNatGatewayAttributeWithOptions(request, runtime);
|
|
63993
63900
|
}
|
|
63994
63901
|
|
|
63995
|
-
async getNatGatewayConvertStatusWithOptions(request: GetNatGatewayConvertStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetNatGatewayConvertStatusResponse> {
|
|
63996
|
-
Util.validateModel(request);
|
|
63997
|
-
let query = { };
|
|
63998
|
-
if (!Util.isUnset(request.natGatewayId)) {
|
|
63999
|
-
query["NatGatewayId"] = request.natGatewayId;
|
|
64000
|
-
}
|
|
64001
|
-
|
|
64002
|
-
if (!Util.isUnset(request.ownerAccount)) {
|
|
64003
|
-
query["OwnerAccount"] = request.ownerAccount;
|
|
64004
|
-
}
|
|
64005
|
-
|
|
64006
|
-
if (!Util.isUnset(request.ownerId)) {
|
|
64007
|
-
query["OwnerId"] = request.ownerId;
|
|
64008
|
-
}
|
|
64009
|
-
|
|
64010
|
-
if (!Util.isUnset(request.regionId)) {
|
|
64011
|
-
query["RegionId"] = request.regionId;
|
|
64012
|
-
}
|
|
64013
|
-
|
|
64014
|
-
if (!Util.isUnset(request.regionId)) {
|
|
64015
|
-
query["RegionId"] = request.regionId;
|
|
64016
|
-
}
|
|
64017
|
-
|
|
64018
|
-
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
64019
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
64020
|
-
}
|
|
64021
|
-
|
|
64022
|
-
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
64023
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
64024
|
-
}
|
|
64025
|
-
|
|
64026
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
64027
|
-
query: OpenApiUtil.query(query),
|
|
64028
|
-
});
|
|
64029
|
-
let params = new $OpenApi.Params({
|
|
64030
|
-
action: "GetNatGatewayConvertStatus",
|
|
64031
|
-
version: "2016-04-28",
|
|
64032
|
-
protocol: "HTTPS",
|
|
64033
|
-
pathname: "/",
|
|
64034
|
-
method: "POST",
|
|
64035
|
-
authType: "AK",
|
|
64036
|
-
style: "RPC",
|
|
64037
|
-
reqBodyType: "formData",
|
|
64038
|
-
bodyType: "json",
|
|
64039
|
-
});
|
|
64040
|
-
return $tea.cast<GetNatGatewayConvertStatusResponse>(await this.callApi(params, req, runtime), new GetNatGatewayConvertStatusResponse({}));
|
|
64041
|
-
}
|
|
64042
|
-
|
|
64043
|
-
async getNatGatewayConvertStatus(request: GetNatGatewayConvertStatusRequest): Promise<GetNatGatewayConvertStatusResponse> {
|
|
64044
|
-
let runtime = new $Util.RuntimeOptions({ });
|
|
64045
|
-
return await this.getNatGatewayConvertStatusWithOptions(request, runtime);
|
|
64046
|
-
}
|
|
64047
|
-
|
|
64048
63902
|
/**
|
|
64049
63903
|
* You can call this API operation to query the status of outbound data transfer billing for the current account. For more information about outbound data transfer billing, see [Outbound data transfer billing](~~274385~~) and [Billing](~~54582~~).
|
|
64050
63904
|
*
|