@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/vpc20160428",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -23129,99 +23129,6 @@ export class ModifyCommonBandwidthPackageAttributeResponse extends $tea.Model {
23129
23129
  }
23130
23130
  }
23131
23131
 
23132
- export class ModifyCommonBandwidthPackageInternetChargeTypeRequest extends $tea.Model {
23133
- autoPay?: boolean;
23134
- bandwidth?: number;
23135
- bandwidthPackageId?: string;
23136
- instanceChargeType?: string;
23137
- internetChargeType?: string;
23138
- ownerAccount?: string;
23139
- ownerId?: number;
23140
- ratio?: number;
23141
- regionId?: string;
23142
- resourceOwnerAccount?: string;
23143
- resourceOwnerId?: number;
23144
- static names(): { [key: string]: string } {
23145
- return {
23146
- autoPay: 'AutoPay',
23147
- bandwidth: 'Bandwidth',
23148
- bandwidthPackageId: 'BandwidthPackageId',
23149
- instanceChargeType: 'InstanceChargeType',
23150
- internetChargeType: 'InternetChargeType',
23151
- ownerAccount: 'OwnerAccount',
23152
- ownerId: 'OwnerId',
23153
- ratio: 'Ratio',
23154
- regionId: 'RegionId',
23155
- resourceOwnerAccount: 'ResourceOwnerAccount',
23156
- resourceOwnerId: 'ResourceOwnerId',
23157
- };
23158
- }
23159
-
23160
- static types(): { [key: string]: any } {
23161
- return {
23162
- autoPay: 'boolean',
23163
- bandwidth: 'number',
23164
- bandwidthPackageId: 'string',
23165
- instanceChargeType: 'string',
23166
- internetChargeType: 'string',
23167
- ownerAccount: 'string',
23168
- ownerId: 'number',
23169
- ratio: 'number',
23170
- regionId: 'string',
23171
- resourceOwnerAccount: 'string',
23172
- resourceOwnerId: 'number',
23173
- };
23174
- }
23175
-
23176
- constructor(map?: { [key: string]: any }) {
23177
- super(map);
23178
- }
23179
- }
23180
-
23181
- export class ModifyCommonBandwidthPackageInternetChargeTypeResponseBody extends $tea.Model {
23182
- requestId?: string;
23183
- static names(): { [key: string]: string } {
23184
- return {
23185
- requestId: 'RequestId',
23186
- };
23187
- }
23188
-
23189
- static types(): { [key: string]: any } {
23190
- return {
23191
- requestId: 'string',
23192
- };
23193
- }
23194
-
23195
- constructor(map?: { [key: string]: any }) {
23196
- super(map);
23197
- }
23198
- }
23199
-
23200
- export class ModifyCommonBandwidthPackageInternetChargeTypeResponse extends $tea.Model {
23201
- headers: { [key: string]: string };
23202
- statusCode: number;
23203
- body: ModifyCommonBandwidthPackageInternetChargeTypeResponseBody;
23204
- static names(): { [key: string]: string } {
23205
- return {
23206
- headers: 'headers',
23207
- statusCode: 'statusCode',
23208
- body: 'body',
23209
- };
23210
- }
23211
-
23212
- static types(): { [key: string]: any } {
23213
- return {
23214
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
23215
- statusCode: 'number',
23216
- body: ModifyCommonBandwidthPackageInternetChargeTypeResponseBody,
23217
- };
23218
- }
23219
-
23220
- constructor(map?: { [key: string]: any }) {
23221
- super(map);
23222
- }
23223
- }
23224
-
23225
23132
  export class ModifyCommonBandwidthPackageIpBandwidthRequest extends $tea.Model {
23226
23133
  bandwidth?: string;
23227
23134
  bandwidthPackageId?: string;
@@ -27733,15 +27640,21 @@ export class OpenFlowLogServiceRequest extends $tea.Model {
27733
27640
  }
27734
27641
 
27735
27642
  export class OpenFlowLogServiceResponseBody extends $tea.Model {
27643
+ code?: string;
27644
+ message?: string;
27736
27645
  requestId?: string;
27737
27646
  static names(): { [key: string]: string } {
27738
27647
  return {
27648
+ code: 'Code',
27649
+ message: 'Message',
27739
27650
  requestId: 'RequestId',
27740
27651
  };
27741
27652
  }
27742
27653
 
27743
27654
  static types(): { [key: string]: any } {
27744
27655
  return {
27656
+ code: 'string',
27657
+ message: 'string',
27745
27658
  requestId: 'string',
27746
27659
  };
27747
27660
  }
@@ -32305,13 +32218,19 @@ export class DescribeEipAddressesResponseBodyEipAddressesEipAddressSecurityProte
32305
32218
  }
32306
32219
 
32307
32220
  export class DescribeEipAddressesResponseBodyEipAddressesEipAddressTagsTag extends $tea.Model {
32221
+ key?: string;
32222
+ value?: string;
32308
32223
  static names(): { [key: string]: string } {
32309
32224
  return {
32225
+ key: 'Key',
32226
+ value: 'Value',
32310
32227
  };
32311
32228
  }
32312
32229
 
32313
32230
  static types(): { [key: string]: any } {
32314
32231
  return {
32232
+ key: 'string',
32233
+ value: 'string',
32315
32234
  };
32316
32235
  }
32317
32236
 
@@ -33839,6 +33758,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.M
33839
33758
  deletionProtection?: boolean;
33840
33759
  description?: string;
33841
33760
  ecsMetricEnabled?: boolean;
33761
+ eipBindMode?: string;
33842
33762
  expiredTime?: string;
33843
33763
  forwardTableIds?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds;
33844
33764
  fullNatTableIds?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayFullNatTableIds;
@@ -33869,6 +33789,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.M
33869
33789
  deletionProtection: 'DeletionProtection',
33870
33790
  description: 'Description',
33871
33791
  ecsMetricEnabled: 'EcsMetricEnabled',
33792
+ eipBindMode: 'EipBindMode',
33872
33793
  expiredTime: 'ExpiredTime',
33873
33794
  forwardTableIds: 'ForwardTableIds',
33874
33795
  fullNatTableIds: 'FullNatTableIds',
@@ -33902,6 +33823,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.M
33902
33823
  deletionProtection: 'boolean',
33903
33824
  description: 'string',
33904
33825
  ecsMetricEnabled: 'boolean',
33826
+ eipBindMode: 'string',
33905
33827
  expiredTime: 'string',
33906
33828
  forwardTableIds: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds,
33907
33829
  fullNatTableIds: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayFullNatTableIds,
@@ -55097,75 +55019,6 @@ export default class Client extends OpenApi {
55097
55019
  return await this.modifyCommonBandwidthPackageAttributeWithOptions(request, runtime);
55098
55020
  }
55099
55021
 
55100
- async modifyCommonBandwidthPackageInternetChargeTypeWithOptions(request: ModifyCommonBandwidthPackageInternetChargeTypeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCommonBandwidthPackageInternetChargeTypeResponse> {
55101
- Util.validateModel(request);
55102
- let query = { };
55103
- if (!Util.isUnset(request.autoPay)) {
55104
- query["AutoPay"] = request.autoPay;
55105
- }
55106
-
55107
- if (!Util.isUnset(request.bandwidth)) {
55108
- query["Bandwidth"] = request.bandwidth;
55109
- }
55110
-
55111
- if (!Util.isUnset(request.bandwidthPackageId)) {
55112
- query["BandwidthPackageId"] = request.bandwidthPackageId;
55113
- }
55114
-
55115
- if (!Util.isUnset(request.instanceChargeType)) {
55116
- query["InstanceChargeType"] = request.instanceChargeType;
55117
- }
55118
-
55119
- if (!Util.isUnset(request.internetChargeType)) {
55120
- query["InternetChargeType"] = request.internetChargeType;
55121
- }
55122
-
55123
- if (!Util.isUnset(request.ownerAccount)) {
55124
- query["OwnerAccount"] = request.ownerAccount;
55125
- }
55126
-
55127
- if (!Util.isUnset(request.ownerId)) {
55128
- query["OwnerId"] = request.ownerId;
55129
- }
55130
-
55131
- if (!Util.isUnset(request.ratio)) {
55132
- query["Ratio"] = request.ratio;
55133
- }
55134
-
55135
- if (!Util.isUnset(request.regionId)) {
55136
- query["RegionId"] = request.regionId;
55137
- }
55138
-
55139
- if (!Util.isUnset(request.resourceOwnerAccount)) {
55140
- query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
55141
- }
55142
-
55143
- if (!Util.isUnset(request.resourceOwnerId)) {
55144
- query["ResourceOwnerId"] = request.resourceOwnerId;
55145
- }
55146
-
55147
- let req = new $OpenApi.OpenApiRequest({
55148
- query: OpenApiUtil.query(query),
55149
- });
55150
- let params = new $OpenApi.Params({
55151
- action: "ModifyCommonBandwidthPackageInternetChargeType",
55152
- version: "2016-04-28",
55153
- protocol: "HTTPS",
55154
- pathname: "/",
55155
- method: "POST",
55156
- authType: "AK",
55157
- style: "RPC",
55158
- reqBodyType: "formData",
55159
- bodyType: "json",
55160
- });
55161
- return $tea.cast<ModifyCommonBandwidthPackageInternetChargeTypeResponse>(await this.callApi(params, req, runtime), new ModifyCommonBandwidthPackageInternetChargeTypeResponse({}));
55162
- }
55163
-
55164
- async modifyCommonBandwidthPackageInternetChargeType(request: ModifyCommonBandwidthPackageInternetChargeTypeRequest): Promise<ModifyCommonBandwidthPackageInternetChargeTypeResponse> {
55165
- let runtime = new $Util.RuntimeOptions({ });
55166
- return await this.modifyCommonBandwidthPackageInternetChargeTypeWithOptions(request, runtime);
55167
- }
55168
-
55169
55022
  async modifyCommonBandwidthPackageIpBandwidthWithOptions(request: ModifyCommonBandwidthPackageIpBandwidthRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCommonBandwidthPackageIpBandwidthResponse> {
55170
55023
  Util.validateModel(request);
55171
55024
  let query = { };