@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/vpc20160428",
3
- "version": "4.1.1",
3
+ "version": "5.0.0",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
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;
@@ -43777,31 +43690,6 @@ export class GetNatGatewayAttributeResponseBodySnatTable extends $tea.Model {
43777
43690
  }
43778
43691
  }
43779
43692
 
43780
- export class GetNatGatewayConvertStatusResponseBodyConvertSteps extends $tea.Model {
43781
- stepName?: string;
43782
- stepStartTime?: string;
43783
- stepStatus?: string;
43784
- static names(): { [key: string]: string } {
43785
- return {
43786
- stepName: 'StepName',
43787
- stepStartTime: 'StepStartTime',
43788
- stepStatus: 'StepStatus',
43789
- };
43790
- }
43791
-
43792
- static types(): { [key: string]: any } {
43793
- return {
43794
- stepName: 'string',
43795
- stepStartTime: 'string',
43796
- stepStatus: 'string',
43797
- };
43798
- }
43799
-
43800
- constructor(map?: { [key: string]: any }) {
43801
- super(map);
43802
- }
43803
- }
43804
-
43805
43693
  export class GetVpcGatewayEndpointAttributeResponseBodyTags extends $tea.Model {
43806
43694
  key?: string;
43807
43695
  value?: string;
@@ -64011,59 +63899,6 @@ export default class Client extends OpenApi {
64011
63899
  return await this.getNatGatewayAttributeWithOptions(request, runtime);
64012
63900
  }
64013
63901
 
64014
- async getNatGatewayConvertStatusWithOptions(request: GetNatGatewayConvertStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetNatGatewayConvertStatusResponse> {
64015
- Util.validateModel(request);
64016
- let query = { };
64017
- if (!Util.isUnset(request.natGatewayId)) {
64018
- query["NatGatewayId"] = request.natGatewayId;
64019
- }
64020
-
64021
- if (!Util.isUnset(request.ownerAccount)) {
64022
- query["OwnerAccount"] = request.ownerAccount;
64023
- }
64024
-
64025
- if (!Util.isUnset(request.ownerId)) {
64026
- query["OwnerId"] = request.ownerId;
64027
- }
64028
-
64029
- if (!Util.isUnset(request.regionId)) {
64030
- query["RegionId"] = request.regionId;
64031
- }
64032
-
64033
- if (!Util.isUnset(request.regionId)) {
64034
- query["RegionId"] = request.regionId;
64035
- }
64036
-
64037
- if (!Util.isUnset(request.resourceOwnerAccount)) {
64038
- query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
64039
- }
64040
-
64041
- if (!Util.isUnset(request.resourceOwnerId)) {
64042
- query["ResourceOwnerId"] = request.resourceOwnerId;
64043
- }
64044
-
64045
- let req = new $OpenApi.OpenApiRequest({
64046
- query: OpenApiUtil.query(query),
64047
- });
64048
- let params = new $OpenApi.Params({
64049
- action: "GetNatGatewayConvertStatus",
64050
- version: "2016-04-28",
64051
- protocol: "HTTPS",
64052
- pathname: "/",
64053
- method: "POST",
64054
- authType: "AK",
64055
- style: "RPC",
64056
- reqBodyType: "formData",
64057
- bodyType: "json",
64058
- });
64059
- return $tea.cast<GetNatGatewayConvertStatusResponse>(await this.callApi(params, req, runtime), new GetNatGatewayConvertStatusResponse({}));
64060
- }
64061
-
64062
- async getNatGatewayConvertStatus(request: GetNatGatewayConvertStatusRequest): Promise<GetNatGatewayConvertStatusResponse> {
64063
- let runtime = new $Util.RuntimeOptions({ });
64064
- return await this.getNatGatewayConvertStatusWithOptions(request, runtime);
64065
- }
64066
-
64067
63902
  /**
64068
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~~).
64069
63904
  *