@alicloud/vpc20160428 2.0.5 → 2.0.6

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
@@ -12252,56 +12252,6 @@ export declare class ModifyCommonBandwidthPackageAttributeResponse extends $tea.
12252
12252
  [key: string]: any;
12253
12253
  });
12254
12254
  }
12255
- export declare class ModifyCommonBandwidthPackageInternetChargeTypeRequest extends $tea.Model {
12256
- autoPay?: boolean;
12257
- bandwidth?: number;
12258
- bandwidthPackageId?: string;
12259
- instanceChargeType?: string;
12260
- internetChargeType?: string;
12261
- ownerAccount?: string;
12262
- ownerId?: number;
12263
- ratio?: number;
12264
- regionId?: string;
12265
- resourceOwnerAccount?: string;
12266
- resourceOwnerId?: number;
12267
- static names(): {
12268
- [key: string]: string;
12269
- };
12270
- static types(): {
12271
- [key: string]: any;
12272
- };
12273
- constructor(map?: {
12274
- [key: string]: any;
12275
- });
12276
- }
12277
- export declare class ModifyCommonBandwidthPackageInternetChargeTypeResponseBody extends $tea.Model {
12278
- requestId?: string;
12279
- static names(): {
12280
- [key: string]: string;
12281
- };
12282
- static types(): {
12283
- [key: string]: any;
12284
- };
12285
- constructor(map?: {
12286
- [key: string]: any;
12287
- });
12288
- }
12289
- export declare class ModifyCommonBandwidthPackageInternetChargeTypeResponse extends $tea.Model {
12290
- headers: {
12291
- [key: string]: string;
12292
- };
12293
- statusCode: number;
12294
- body: ModifyCommonBandwidthPackageInternetChargeTypeResponseBody;
12295
- static names(): {
12296
- [key: string]: string;
12297
- };
12298
- static types(): {
12299
- [key: string]: any;
12300
- };
12301
- constructor(map?: {
12302
- [key: string]: any;
12303
- });
12304
- }
12305
12255
  export declare class ModifyCommonBandwidthPackageIpBandwidthRequest extends $tea.Model {
12306
12256
  bandwidth?: string;
12307
12257
  bandwidthPackageId?: string;
@@ -14686,6 +14636,8 @@ export declare class OpenFlowLogServiceRequest extends $tea.Model {
14686
14636
  });
14687
14637
  }
14688
14638
  export declare class OpenFlowLogServiceResponseBody extends $tea.Model {
14639
+ code?: string;
14640
+ message?: string;
14689
14641
  requestId?: string;
14690
14642
  static names(): {
14691
14643
  [key: string]: string;
@@ -17189,6 +17141,8 @@ export declare class DescribeEipAddressesResponseBodyEipAddressesEipAddressSecur
17189
17141
  });
17190
17142
  }
17191
17143
  export declare class DescribeEipAddressesResponseBodyEipAddressesEipAddressTagsTag extends $tea.Model {
17144
+ key?: string;
17145
+ value?: string;
17192
17146
  static names(): {
17193
17147
  [key: string]: string;
17194
17148
  };
@@ -17999,6 +17953,7 @@ export declare class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extend
17999
17953
  deletionProtection?: boolean;
18000
17954
  description?: string;
18001
17955
  ecsMetricEnabled?: boolean;
17956
+ eipBindMode?: string;
18002
17957
  expiredTime?: string;
18003
17958
  forwardTableIds?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds;
18004
17959
  fullNatTableIds?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayFullNatTableIds;
@@ -21401,8 +21356,6 @@ export default class Client extends OpenApi {
21401
21356
  modifyBgpPeerAttribute(request: ModifyBgpPeerAttributeRequest): Promise<ModifyBgpPeerAttributeResponse>;
21402
21357
  modifyCommonBandwidthPackageAttributeWithOptions(request: ModifyCommonBandwidthPackageAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCommonBandwidthPackageAttributeResponse>;
21403
21358
  modifyCommonBandwidthPackageAttribute(request: ModifyCommonBandwidthPackageAttributeRequest): Promise<ModifyCommonBandwidthPackageAttributeResponse>;
21404
- modifyCommonBandwidthPackageInternetChargeTypeWithOptions(request: ModifyCommonBandwidthPackageInternetChargeTypeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCommonBandwidthPackageInternetChargeTypeResponse>;
21405
- modifyCommonBandwidthPackageInternetChargeType(request: ModifyCommonBandwidthPackageInternetChargeTypeRequest): Promise<ModifyCommonBandwidthPackageInternetChargeTypeResponse>;
21406
21359
  modifyCommonBandwidthPackageIpBandwidthWithOptions(request: ModifyCommonBandwidthPackageIpBandwidthRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCommonBandwidthPackageIpBandwidthResponse>;
21407
21360
  modifyCommonBandwidthPackageIpBandwidth(request: ModifyCommonBandwidthPackageIpBandwidthRequest): Promise<ModifyCommonBandwidthPackageIpBandwidthResponse>;
21408
21361
  modifyCommonBandwidthPackageSpecWithOptions(request: ModifyCommonBandwidthPackageSpecRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCommonBandwidthPackageSpecResponse>;
package/dist/client.js CHANGED
@@ -17823,78 +17823,6 @@ class ModifyCommonBandwidthPackageAttributeResponse extends $tea.Model {
17823
17823
  }
17824
17824
  }
17825
17825
  exports.ModifyCommonBandwidthPackageAttributeResponse = ModifyCommonBandwidthPackageAttributeResponse;
17826
- class ModifyCommonBandwidthPackageInternetChargeTypeRequest extends $tea.Model {
17827
- constructor(map) {
17828
- super(map);
17829
- }
17830
- static names() {
17831
- return {
17832
- autoPay: 'AutoPay',
17833
- bandwidth: 'Bandwidth',
17834
- bandwidthPackageId: 'BandwidthPackageId',
17835
- instanceChargeType: 'InstanceChargeType',
17836
- internetChargeType: 'InternetChargeType',
17837
- ownerAccount: 'OwnerAccount',
17838
- ownerId: 'OwnerId',
17839
- ratio: 'Ratio',
17840
- regionId: 'RegionId',
17841
- resourceOwnerAccount: 'ResourceOwnerAccount',
17842
- resourceOwnerId: 'ResourceOwnerId',
17843
- };
17844
- }
17845
- static types() {
17846
- return {
17847
- autoPay: 'boolean',
17848
- bandwidth: 'number',
17849
- bandwidthPackageId: 'string',
17850
- instanceChargeType: 'string',
17851
- internetChargeType: 'string',
17852
- ownerAccount: 'string',
17853
- ownerId: 'number',
17854
- ratio: 'number',
17855
- regionId: 'string',
17856
- resourceOwnerAccount: 'string',
17857
- resourceOwnerId: 'number',
17858
- };
17859
- }
17860
- }
17861
- exports.ModifyCommonBandwidthPackageInternetChargeTypeRequest = ModifyCommonBandwidthPackageInternetChargeTypeRequest;
17862
- class ModifyCommonBandwidthPackageInternetChargeTypeResponseBody extends $tea.Model {
17863
- constructor(map) {
17864
- super(map);
17865
- }
17866
- static names() {
17867
- return {
17868
- requestId: 'RequestId',
17869
- };
17870
- }
17871
- static types() {
17872
- return {
17873
- requestId: 'string',
17874
- };
17875
- }
17876
- }
17877
- exports.ModifyCommonBandwidthPackageInternetChargeTypeResponseBody = ModifyCommonBandwidthPackageInternetChargeTypeResponseBody;
17878
- class ModifyCommonBandwidthPackageInternetChargeTypeResponse extends $tea.Model {
17879
- constructor(map) {
17880
- super(map);
17881
- }
17882
- static names() {
17883
- return {
17884
- headers: 'headers',
17885
- statusCode: 'statusCode',
17886
- body: 'body',
17887
- };
17888
- }
17889
- static types() {
17890
- return {
17891
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
17892
- statusCode: 'number',
17893
- body: ModifyCommonBandwidthPackageInternetChargeTypeResponseBody,
17894
- };
17895
- }
17896
- }
17897
- exports.ModifyCommonBandwidthPackageInternetChargeTypeResponse = ModifyCommonBandwidthPackageInternetChargeTypeResponse;
17898
17826
  class ModifyCommonBandwidthPackageIpBandwidthRequest extends $tea.Model {
17899
17827
  constructor(map) {
17900
17828
  super(map);
@@ -21371,11 +21299,15 @@ class OpenFlowLogServiceResponseBody extends $tea.Model {
21371
21299
  }
21372
21300
  static names() {
21373
21301
  return {
21302
+ code: 'Code',
21303
+ message: 'Message',
21374
21304
  requestId: 'RequestId',
21375
21305
  };
21376
21306
  }
21377
21307
  static types() {
21378
21308
  return {
21309
+ code: 'string',
21310
+ message: 'string',
21379
21311
  requestId: 'string',
21380
21312
  };
21381
21313
  }
@@ -24944,14 +24876,20 @@ class DescribeEipAddressesResponseBodyEipAddressesEipAddressSecurityProtectionTy
24944
24876
  }
24945
24877
  exports.DescribeEipAddressesResponseBodyEipAddressesEipAddressSecurityProtectionTypes = DescribeEipAddressesResponseBodyEipAddressesEipAddressSecurityProtectionTypes;
24946
24878
  class DescribeEipAddressesResponseBodyEipAddressesEipAddressTagsTag extends $tea.Model {
24879
+ constructor(map) {
24880
+ super(map);
24881
+ }
24947
24882
  static names() {
24948
- return {};
24883
+ return {
24884
+ key: 'Key',
24885
+ value: 'Value',
24886
+ };
24949
24887
  }
24950
24888
  static types() {
24951
- return {};
24952
- }
24953
- constructor(map) {
24954
- super(map);
24889
+ return {
24890
+ key: 'string',
24891
+ value: 'string',
24892
+ };
24955
24893
  }
24956
24894
  }
24957
24895
  exports.DescribeEipAddressesResponseBodyEipAddressesEipAddressTagsTag = DescribeEipAddressesResponseBodyEipAddressesEipAddressTagsTag;
@@ -26145,6 +26083,7 @@ class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.Model {
26145
26083
  deletionProtection: 'DeletionProtection',
26146
26084
  description: 'Description',
26147
26085
  ecsMetricEnabled: 'EcsMetricEnabled',
26086
+ eipBindMode: 'EipBindMode',
26148
26087
  expiredTime: 'ExpiredTime',
26149
26088
  forwardTableIds: 'ForwardTableIds',
26150
26089
  fullNatTableIds: 'FullNatTableIds',
@@ -26177,6 +26116,7 @@ class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.Model {
26177
26116
  deletionProtection: 'boolean',
26178
26117
  description: 'string',
26179
26118
  ecsMetricEnabled: 'boolean',
26119
+ eipBindMode: 'string',
26180
26120
  expiredTime: 'string',
26181
26121
  forwardTableIds: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds,
26182
26122
  fullNatTableIds: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayFullNatTableIds,
@@ -43217,62 +43157,6 @@ class Client extends openapi_client_1.default {
43217
43157
  let runtime = new $Util.RuntimeOptions({});
43218
43158
  return await this.modifyCommonBandwidthPackageAttributeWithOptions(request, runtime);
43219
43159
  }
43220
- async modifyCommonBandwidthPackageInternetChargeTypeWithOptions(request, runtime) {
43221
- tea_util_1.default.validateModel(request);
43222
- let query = {};
43223
- if (!tea_util_1.default.isUnset(request.autoPay)) {
43224
- query["AutoPay"] = request.autoPay;
43225
- }
43226
- if (!tea_util_1.default.isUnset(request.bandwidth)) {
43227
- query["Bandwidth"] = request.bandwidth;
43228
- }
43229
- if (!tea_util_1.default.isUnset(request.bandwidthPackageId)) {
43230
- query["BandwidthPackageId"] = request.bandwidthPackageId;
43231
- }
43232
- if (!tea_util_1.default.isUnset(request.instanceChargeType)) {
43233
- query["InstanceChargeType"] = request.instanceChargeType;
43234
- }
43235
- if (!tea_util_1.default.isUnset(request.internetChargeType)) {
43236
- query["InternetChargeType"] = request.internetChargeType;
43237
- }
43238
- if (!tea_util_1.default.isUnset(request.ownerAccount)) {
43239
- query["OwnerAccount"] = request.ownerAccount;
43240
- }
43241
- if (!tea_util_1.default.isUnset(request.ownerId)) {
43242
- query["OwnerId"] = request.ownerId;
43243
- }
43244
- if (!tea_util_1.default.isUnset(request.ratio)) {
43245
- query["Ratio"] = request.ratio;
43246
- }
43247
- if (!tea_util_1.default.isUnset(request.regionId)) {
43248
- query["RegionId"] = request.regionId;
43249
- }
43250
- if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
43251
- query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
43252
- }
43253
- if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
43254
- query["ResourceOwnerId"] = request.resourceOwnerId;
43255
- }
43256
- let req = new $OpenApi.OpenApiRequest({
43257
- query: openapi_util_1.default.query(query),
43258
- });
43259
- let params = new $OpenApi.Params({
43260
- action: "ModifyCommonBandwidthPackageInternetChargeType",
43261
- version: "2016-04-28",
43262
- protocol: "HTTPS",
43263
- pathname: "/",
43264
- method: "POST",
43265
- authType: "AK",
43266
- style: "RPC",
43267
- reqBodyType: "formData",
43268
- bodyType: "json",
43269
- });
43270
- return $tea.cast(await this.callApi(params, req, runtime), new ModifyCommonBandwidthPackageInternetChargeTypeResponse({}));
43271
- }
43272
- async modifyCommonBandwidthPackageInternetChargeType(request) {
43273
- let runtime = new $Util.RuntimeOptions({});
43274
- return await this.modifyCommonBandwidthPackageInternetChargeTypeWithOptions(request, runtime);
43275
- }
43276
43160
  async modifyCommonBandwidthPackageIpBandwidthWithOptions(request, runtime) {
43277
43161
  tea_util_1.default.validateModel(request);
43278
43162
  let query = {};