@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 CHANGED
@@ -11580,54 +11580,6 @@ export declare class GetNatGatewayAttributeResponse extends $tea.Model {
11580
11580
  [key: string]: any;
11581
11581
  });
11582
11582
  }
11583
- export declare class GetNatGatewayConvertStatusRequest extends $tea.Model {
11584
- natGatewayId?: string;
11585
- ownerAccount?: string;
11586
- ownerId?: number;
11587
- regionId?: string;
11588
- resourceOwnerAccount?: string;
11589
- resourceOwnerId?: number;
11590
- static names(): {
11591
- [key: string]: string;
11592
- };
11593
- static types(): {
11594
- [key: string]: any;
11595
- };
11596
- constructor(map?: {
11597
- [key: string]: any;
11598
- });
11599
- }
11600
- export declare class GetNatGatewayConvertStatusResponseBody extends $tea.Model {
11601
- convertSteps?: GetNatGatewayConvertStatusResponseBodyConvertSteps[];
11602
- dstNatType?: string;
11603
- natGatewayId?: string;
11604
- requestId?: string;
11605
- static names(): {
11606
- [key: string]: string;
11607
- };
11608
- static types(): {
11609
- [key: string]: any;
11610
- };
11611
- constructor(map?: {
11612
- [key: string]: any;
11613
- });
11614
- }
11615
- export declare class GetNatGatewayConvertStatusResponse extends $tea.Model {
11616
- headers: {
11617
- [key: string]: string;
11618
- };
11619
- statusCode: number;
11620
- body: GetNatGatewayConvertStatusResponseBody;
11621
- static names(): {
11622
- [key: string]: string;
11623
- };
11624
- static types(): {
11625
- [key: string]: any;
11626
- };
11627
- constructor(map?: {
11628
- [key: string]: any;
11629
- });
11630
- }
11631
11583
  export declare class GetPhysicalConnectionServiceStatusRequest extends $tea.Model {
11632
11584
  ownerAccount?: string;
11633
11585
  ownerId?: number;
@@ -20893,6 +20845,8 @@ export declare class DescribeRouteEntryListResponseBodyRouteEntrys extends $tea.
20893
20845
  });
20894
20846
  }
20895
20847
  export declare class DescribeRouteTableListRequestTag extends $tea.Model {
20848
+ key?: string;
20849
+ value?: string;
20896
20850
  static names(): {
20897
20851
  [key: string]: string;
20898
20852
  };
@@ -23197,20 +23151,6 @@ export declare class GetNatGatewayAttributeResponseBodySnatTable extends $tea.Mo
23197
23151
  [key: string]: any;
23198
23152
  });
23199
23153
  }
23200
- export declare class GetNatGatewayConvertStatusResponseBodyConvertSteps extends $tea.Model {
23201
- stepName?: string;
23202
- stepStartTime?: string;
23203
- stepStatus?: string;
23204
- static names(): {
23205
- [key: string]: string;
23206
- };
23207
- static types(): {
23208
- [key: string]: any;
23209
- };
23210
- constructor(map?: {
23211
- [key: string]: any;
23212
- });
23213
- }
23214
23154
  export declare class GetVpcGatewayEndpointAttributeResponseBodyTags extends $tea.Model {
23215
23155
  key?: string;
23216
23156
  value?: string;
@@ -26215,7 +26155,6 @@ export default class Client extends OpenApi {
26215
26155
  */
26216
26156
  createVpnConnection(request: CreateVpnConnectionRequest): Promise<CreateVpnConnectionResponse>;
26217
26157
  /**
26218
- * ## Usage notes
26219
26158
  * * Before you create a VPN gateway, we recommend that you understand its limits. For more information, see [Limits on VPN gateways](~~65290~~).
26220
26159
  * * 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.
26221
26160
  * * If the VPN gateway is in the **provisioning** state, the VPN gateway is being created.
@@ -26227,7 +26166,6 @@ export default class Client extends OpenApi {
26227
26166
  */
26228
26167
  createVpnGatewayWithOptions(request: CreateVpnGatewayRequest, runtime: $Util.RuntimeOptions): Promise<CreateVpnGatewayResponse>;
26229
26168
  /**
26230
- * ## Usage notes
26231
26169
  * * Before you create a VPN gateway, we recommend that you understand its limits. For more information, see [Limits on VPN gateways](~~65290~~).
26232
26170
  * * 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.
26233
26171
  * * If the VPN gateway is in the **provisioning** state, the VPN gateway is being created.
@@ -26563,7 +26501,8 @@ export default class Client extends OpenApi {
26563
26501
  */
26564
26502
  deleteIpv6EgressOnlyRule(request: DeleteIpv6EgressOnlyRuleRequest): Promise<DeleteIpv6EgressOnlyRuleResponse>;
26565
26503
  /**
26566
- * - 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: - If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
26504
+ * - 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:
26505
+ * - If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
26567
26506
  * - If you cannot query the IPv6 gateway, the IPv6 gateway is deleted.
26568
26507
  * - 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.
26569
26508
  * ## Prerequisites
@@ -26575,7 +26514,8 @@ export default class Client extends OpenApi {
26575
26514
  */
26576
26515
  deleteIpv6GatewayWithOptions(request: DeleteIpv6GatewayRequest, runtime: $Util.RuntimeOptions): Promise<DeleteIpv6GatewayResponse>;
26577
26516
  /**
26578
- * - 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: - If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
26517
+ * - 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:
26518
+ * - If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
26579
26519
  * - If you cannot query the IPv6 gateway, the IPv6 gateway is deleted.
26580
26520
  * - 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.
26581
26521
  * ## Prerequisites
@@ -27421,7 +27361,20 @@ export default class Client extends OpenApi {
27421
27361
  describeSslVpnClientCert(request: DescribeSslVpnClientCertRequest): Promise<DescribeSslVpnClientCertResponse>;
27422
27362
  describeSslVpnClientCertsWithOptions(request: DescribeSslVpnClientCertsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSslVpnClientCertsResponse>;
27423
27363
  describeSslVpnClientCerts(request: DescribeSslVpnClientCertsRequest): Promise<DescribeSslVpnClientCertsResponse>;
27364
+ /**
27365
+ * 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.
27366
+ *
27367
+ * @param request DescribeSslVpnClientsRequest
27368
+ * @param runtime runtime options for this request RuntimeOptions
27369
+ * @return DescribeSslVpnClientsResponse
27370
+ */
27424
27371
  describeSslVpnClientsWithOptions(request: DescribeSslVpnClientsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSslVpnClientsResponse>;
27372
+ /**
27373
+ * 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.
27374
+ *
27375
+ * @param request DescribeSslVpnClientsRequest
27376
+ * @return DescribeSslVpnClientsResponse
27377
+ */
27425
27378
  describeSslVpnClients(request: DescribeSslVpnClientsRequest): Promise<DescribeSslVpnClientsResponse>;
27426
27379
  describeSslVpnServersWithOptions(request: DescribeSslVpnServersRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSslVpnServersResponse>;
27427
27380
  describeSslVpnServers(request: DescribeSslVpnServersRequest): Promise<DescribeSslVpnServersResponse>;
@@ -27624,8 +27577,6 @@ export default class Client extends OpenApi {
27624
27577
  * @return GetNatGatewayAttributeResponse
27625
27578
  */
27626
27579
  getNatGatewayAttribute(request: GetNatGatewayAttributeRequest): Promise<GetNatGatewayAttributeResponse>;
27627
- getNatGatewayConvertStatusWithOptions(request: GetNatGatewayConvertStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetNatGatewayConvertStatusResponse>;
27628
- getNatGatewayConvertStatus(request: GetNatGatewayConvertStatusRequest): Promise<GetNatGatewayConvertStatusResponse>;
27629
27580
  /**
27630
27581
  * 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~~).
27631
27582
  *
package/dist/client.js CHANGED
@@ -16899,74 +16899,6 @@ class GetNatGatewayAttributeResponse extends $tea.Model {
16899
16899
  }
16900
16900
  }
16901
16901
  exports.GetNatGatewayAttributeResponse = GetNatGatewayAttributeResponse;
16902
- class GetNatGatewayConvertStatusRequest extends $tea.Model {
16903
- constructor(map) {
16904
- super(map);
16905
- }
16906
- static names() {
16907
- return {
16908
- natGatewayId: 'NatGatewayId',
16909
- ownerAccount: 'OwnerAccount',
16910
- ownerId: 'OwnerId',
16911
- regionId: 'RegionId',
16912
- resourceOwnerAccount: 'ResourceOwnerAccount',
16913
- resourceOwnerId: 'ResourceOwnerId',
16914
- };
16915
- }
16916
- static types() {
16917
- return {
16918
- natGatewayId: 'string',
16919
- ownerAccount: 'string',
16920
- ownerId: 'number',
16921
- regionId: 'string',
16922
- resourceOwnerAccount: 'string',
16923
- resourceOwnerId: 'number',
16924
- };
16925
- }
16926
- }
16927
- exports.GetNatGatewayConvertStatusRequest = GetNatGatewayConvertStatusRequest;
16928
- class GetNatGatewayConvertStatusResponseBody extends $tea.Model {
16929
- constructor(map) {
16930
- super(map);
16931
- }
16932
- static names() {
16933
- return {
16934
- convertSteps: 'ConvertSteps',
16935
- dstNatType: 'DstNatType',
16936
- natGatewayId: 'NatGatewayId',
16937
- requestId: 'RequestId',
16938
- };
16939
- }
16940
- static types() {
16941
- return {
16942
- convertSteps: { 'type': 'array', 'itemType': GetNatGatewayConvertStatusResponseBodyConvertSteps },
16943
- dstNatType: 'string',
16944
- natGatewayId: 'string',
16945
- requestId: 'string',
16946
- };
16947
- }
16948
- }
16949
- exports.GetNatGatewayConvertStatusResponseBody = GetNatGatewayConvertStatusResponseBody;
16950
- class GetNatGatewayConvertStatusResponse extends $tea.Model {
16951
- constructor(map) {
16952
- super(map);
16953
- }
16954
- static names() {
16955
- return {
16956
- headers: 'headers',
16957
- statusCode: 'statusCode',
16958
- body: 'body',
16959
- };
16960
- }
16961
- static types() {
16962
- return {
16963
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
16964
- statusCode: 'number',
16965
- body: GetNatGatewayConvertStatusResponseBody,
16966
- };
16967
- }
16968
- }
16969
- exports.GetNatGatewayConvertStatusResponse = GetNatGatewayConvertStatusResponse;
16970
16902
  class GetPhysicalConnectionServiceStatusRequest extends $tea.Model {
16971
16903
  constructor(map) {
16972
16904
  super(map);
@@ -30424,14 +30356,20 @@ class DescribeRouteEntryListResponseBodyRouteEntrys extends $tea.Model {
30424
30356
  }
30425
30357
  exports.DescribeRouteEntryListResponseBodyRouteEntrys = DescribeRouteEntryListResponseBodyRouteEntrys;
30426
30358
  class DescribeRouteTableListRequestTag extends $tea.Model {
30359
+ constructor(map) {
30360
+ super(map);
30361
+ }
30427
30362
  static names() {
30428
- return {};
30363
+ return {
30364
+ key: 'Key',
30365
+ value: 'Value',
30366
+ };
30429
30367
  }
30430
30368
  static types() {
30431
- return {};
30432
- }
30433
- constructor(map) {
30434
- super(map);
30369
+ return {
30370
+ key: 'string',
30371
+ value: 'string',
30372
+ };
30435
30373
  }
30436
30374
  }
30437
30375
  exports.DescribeRouteTableListRequestTag = DescribeRouteTableListRequestTag;
@@ -33839,26 +33777,6 @@ class GetNatGatewayAttributeResponseBodySnatTable extends $tea.Model {
33839
33777
  }
33840
33778
  }
33841
33779
  exports.GetNatGatewayAttributeResponseBodySnatTable = GetNatGatewayAttributeResponseBodySnatTable;
33842
- class GetNatGatewayConvertStatusResponseBodyConvertSteps extends $tea.Model {
33843
- constructor(map) {
33844
- super(map);
33845
- }
33846
- static names() {
33847
- return {
33848
- stepName: 'StepName',
33849
- stepStartTime: 'StepStartTime',
33850
- stepStatus: 'StepStatus',
33851
- };
33852
- }
33853
- static types() {
33854
- return {
33855
- stepName: 'string',
33856
- stepStartTime: 'string',
33857
- stepStatus: 'string',
33858
- };
33859
- }
33860
- }
33861
- exports.GetNatGatewayConvertStatusResponseBodyConvertSteps = GetNatGatewayConvertStatusResponseBodyConvertSteps;
33862
33780
  class GetVpcGatewayEndpointAttributeResponseBodyTags extends $tea.Model {
33863
33781
  constructor(map) {
33864
33782
  super(map);
@@ -42577,7 +42495,6 @@ class Client extends openapi_client_1.default {
42577
42495
  return await this.createVpnConnectionWithOptions(request, runtime);
42578
42496
  }
42579
42497
  /**
42580
- * ## Usage notes
42581
42498
  * * Before you create a VPN gateway, we recommend that you understand its limits. For more information, see [Limits on VPN gateways](~~65290~~).
42582
42499
  * * 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.
42583
42500
  * * If the VPN gateway is in the **provisioning** state, the VPN gateway is being created.
@@ -42664,7 +42581,6 @@ class Client extends openapi_client_1.default {
42664
42581
  return $tea.cast(await this.callApi(params, req, runtime), new CreateVpnGatewayResponse({}));
42665
42582
  }
42666
42583
  /**
42667
- * ## Usage notes
42668
42584
  * * Before you create a VPN gateway, we recommend that you understand its limits. For more information, see [Limits on VPN gateways](~~65290~~).
42669
42585
  * * 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.
42670
42586
  * * If the VPN gateway is in the **provisioning** state, the VPN gateway is being created.
@@ -43934,7 +43850,8 @@ class Client extends openapi_client_1.default {
43934
43850
  return await this.deleteIpv6EgressOnlyRuleWithOptions(request, runtime);
43935
43851
  }
43936
43852
  /**
43937
- * - 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: - If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
43853
+ * - 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:
43854
+ * - If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
43938
43855
  * - If you cannot query the IPv6 gateway, the IPv6 gateway is deleted.
43939
43856
  * - 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.
43940
43857
  * ## Prerequisites
@@ -43985,7 +43902,8 @@ class Client extends openapi_client_1.default {
43985
43902
  return $tea.cast(await this.callApi(params, req, runtime), new DeleteIpv6GatewayResponse({}));
43986
43903
  }
43987
43904
  /**
43988
- * - 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: - If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
43905
+ * - 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:
43906
+ * - If the IPv6 gateway is in the **Deleting** state, the IPv6 gateway is being deleted.
43989
43907
  * - If you cannot query the IPv6 gateway, the IPv6 gateway is deleted.
43990
43908
  * - 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.
43991
43909
  * ## Prerequisites
@@ -48533,6 +48451,13 @@ class Client extends openapi_client_1.default {
48533
48451
  let runtime = new $Util.RuntimeOptions({});
48534
48452
  return await this.describeSslVpnClientCertsWithOptions(request, runtime);
48535
48453
  }
48454
+ /**
48455
+ * 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.
48456
+ *
48457
+ * @param request DescribeSslVpnClientsRequest
48458
+ * @param runtime runtime options for this request RuntimeOptions
48459
+ * @return DescribeSslVpnClientsResponse
48460
+ */
48536
48461
  async describeSslVpnClientsWithOptions(request, runtime) {
48537
48462
  tea_util_1.default.validateModel(request);
48538
48463
  let query = {};
@@ -48576,6 +48501,12 @@ class Client extends openapi_client_1.default {
48576
48501
  });
48577
48502
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeSslVpnClientsResponse({}));
48578
48503
  }
48504
+ /**
48505
+ * 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.
48506
+ *
48507
+ * @param request DescribeSslVpnClientsRequest
48508
+ * @return DescribeSslVpnClientsResponse
48509
+ */
48579
48510
  async describeSslVpnClients(request) {
48580
48511
  let runtime = new $Util.RuntimeOptions({});
48581
48512
  return await this.describeSslVpnClientsWithOptions(request, runtime);
@@ -50659,50 +50590,6 @@ class Client extends openapi_client_1.default {
50659
50590
  let runtime = new $Util.RuntimeOptions({});
50660
50591
  return await this.getNatGatewayAttributeWithOptions(request, runtime);
50661
50592
  }
50662
- async getNatGatewayConvertStatusWithOptions(request, runtime) {
50663
- tea_util_1.default.validateModel(request);
50664
- let query = {};
50665
- if (!tea_util_1.default.isUnset(request.natGatewayId)) {
50666
- query["NatGatewayId"] = request.natGatewayId;
50667
- }
50668
- if (!tea_util_1.default.isUnset(request.ownerAccount)) {
50669
- query["OwnerAccount"] = request.ownerAccount;
50670
- }
50671
- if (!tea_util_1.default.isUnset(request.ownerId)) {
50672
- query["OwnerId"] = request.ownerId;
50673
- }
50674
- if (!tea_util_1.default.isUnset(request.regionId)) {
50675
- query["RegionId"] = request.regionId;
50676
- }
50677
- if (!tea_util_1.default.isUnset(request.regionId)) {
50678
- query["RegionId"] = request.regionId;
50679
- }
50680
- if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
50681
- query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
50682
- }
50683
- if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
50684
- query["ResourceOwnerId"] = request.resourceOwnerId;
50685
- }
50686
- let req = new $OpenApi.OpenApiRequest({
50687
- query: openapi_util_1.default.query(query),
50688
- });
50689
- let params = new $OpenApi.Params({
50690
- action: "GetNatGatewayConvertStatus",
50691
- version: "2016-04-28",
50692
- protocol: "HTTPS",
50693
- pathname: "/",
50694
- method: "POST",
50695
- authType: "AK",
50696
- style: "RPC",
50697
- reqBodyType: "formData",
50698
- bodyType: "json",
50699
- });
50700
- return $tea.cast(await this.callApi(params, req, runtime), new GetNatGatewayConvertStatusResponse({}));
50701
- }
50702
- async getNatGatewayConvertStatus(request) {
50703
- let runtime = new $Util.RuntimeOptions({});
50704
- return await this.getNatGatewayConvertStatusWithOptions(request, runtime);
50705
- }
50706
50593
  /**
50707
50594
  * 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~~).
50708
50595
  *