@alicloud/vpc20160428 4.1.1 → 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;
@@ -23199,20 +23151,6 @@ export declare class GetNatGatewayAttributeResponseBodySnatTable extends $tea.Mo
23199
23151
  [key: string]: any;
23200
23152
  });
23201
23153
  }
23202
- export declare class GetNatGatewayConvertStatusResponseBodyConvertSteps extends $tea.Model {
23203
- stepName?: string;
23204
- stepStartTime?: string;
23205
- stepStatus?: string;
23206
- static names(): {
23207
- [key: string]: string;
23208
- };
23209
- static types(): {
23210
- [key: string]: any;
23211
- };
23212
- constructor(map?: {
23213
- [key: string]: any;
23214
- });
23215
- }
23216
23154
  export declare class GetVpcGatewayEndpointAttributeResponseBodyTags extends $tea.Model {
23217
23155
  key?: string;
23218
23156
  value?: string;
@@ -27639,8 +27577,6 @@ export default class Client extends OpenApi {
27639
27577
  * @return GetNatGatewayAttributeResponse
27640
27578
  */
27641
27579
  getNatGatewayAttribute(request: GetNatGatewayAttributeRequest): Promise<GetNatGatewayAttributeResponse>;
27642
- getNatGatewayConvertStatusWithOptions(request: GetNatGatewayConvertStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetNatGatewayConvertStatusResponse>;
27643
- getNatGatewayConvertStatus(request: GetNatGatewayConvertStatusRequest): Promise<GetNatGatewayConvertStatusResponse>;
27644
27580
  /**
27645
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~~).
27646
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);
@@ -33845,26 +33777,6 @@ class GetNatGatewayAttributeResponseBodySnatTable extends $tea.Model {
33845
33777
  }
33846
33778
  }
33847
33779
  exports.GetNatGatewayAttributeResponseBodySnatTable = GetNatGatewayAttributeResponseBodySnatTable;
33848
- class GetNatGatewayConvertStatusResponseBodyConvertSteps extends $tea.Model {
33849
- constructor(map) {
33850
- super(map);
33851
- }
33852
- static names() {
33853
- return {
33854
- stepName: 'StepName',
33855
- stepStartTime: 'StepStartTime',
33856
- stepStatus: 'StepStatus',
33857
- };
33858
- }
33859
- static types() {
33860
- return {
33861
- stepName: 'string',
33862
- stepStartTime: 'string',
33863
- stepStatus: 'string',
33864
- };
33865
- }
33866
- }
33867
- exports.GetNatGatewayConvertStatusResponseBodyConvertSteps = GetNatGatewayConvertStatusResponseBodyConvertSteps;
33868
33780
  class GetVpcGatewayEndpointAttributeResponseBodyTags extends $tea.Model {
33869
33781
  constructor(map) {
33870
33782
  super(map);
@@ -50678,50 +50590,6 @@ class Client extends openapi_client_1.default {
50678
50590
  let runtime = new $Util.RuntimeOptions({});
50679
50591
  return await this.getNatGatewayAttributeWithOptions(request, runtime);
50680
50592
  }
50681
- async getNatGatewayConvertStatusWithOptions(request, runtime) {
50682
- tea_util_1.default.validateModel(request);
50683
- let query = {};
50684
- if (!tea_util_1.default.isUnset(request.natGatewayId)) {
50685
- query["NatGatewayId"] = request.natGatewayId;
50686
- }
50687
- if (!tea_util_1.default.isUnset(request.ownerAccount)) {
50688
- query["OwnerAccount"] = request.ownerAccount;
50689
- }
50690
- if (!tea_util_1.default.isUnset(request.ownerId)) {
50691
- query["OwnerId"] = request.ownerId;
50692
- }
50693
- if (!tea_util_1.default.isUnset(request.regionId)) {
50694
- query["RegionId"] = request.regionId;
50695
- }
50696
- if (!tea_util_1.default.isUnset(request.regionId)) {
50697
- query["RegionId"] = request.regionId;
50698
- }
50699
- if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
50700
- query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
50701
- }
50702
- if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
50703
- query["ResourceOwnerId"] = request.resourceOwnerId;
50704
- }
50705
- let req = new $OpenApi.OpenApiRequest({
50706
- query: openapi_util_1.default.query(query),
50707
- });
50708
- let params = new $OpenApi.Params({
50709
- action: "GetNatGatewayConvertStatus",
50710
- version: "2016-04-28",
50711
- protocol: "HTTPS",
50712
- pathname: "/",
50713
- method: "POST",
50714
- authType: "AK",
50715
- style: "RPC",
50716
- reqBodyType: "formData",
50717
- bodyType: "json",
50718
- });
50719
- return $tea.cast(await this.callApi(params, req, runtime), new GetNatGatewayConvertStatusResponse({}));
50720
- }
50721
- async getNatGatewayConvertStatus(request) {
50722
- let runtime = new $Util.RuntimeOptions({});
50723
- return await this.getNatGatewayConvertStatusWithOptions(request, runtime);
50724
- }
50725
50593
  /**
50726
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~~).
50727
50595
  *