@alicloud/vpc20160428 2.0.3 → 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.3",
3
+ "version": "2.0.6",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -15202,6 +15202,7 @@ export class DescribeNatGatewaysRequest extends $tea.Model {
15202
15202
  resourceOwnerId?: number;
15203
15203
  spec?: string;
15204
15204
  status?: string;
15205
+ tag?: DescribeNatGatewaysRequestTag[];
15205
15206
  vpcId?: string;
15206
15207
  zoneId?: string;
15207
15208
  static names(): { [key: string]: string } {
@@ -15222,6 +15223,7 @@ export class DescribeNatGatewaysRequest extends $tea.Model {
15222
15223
  resourceOwnerId: 'ResourceOwnerId',
15223
15224
  spec: 'Spec',
15224
15225
  status: 'Status',
15226
+ tag: 'Tag',
15225
15227
  vpcId: 'VpcId',
15226
15228
  zoneId: 'ZoneId',
15227
15229
  };
@@ -15245,6 +15247,7 @@ export class DescribeNatGatewaysRequest extends $tea.Model {
15245
15247
  resourceOwnerId: 'number',
15246
15248
  spec: 'string',
15247
15249
  status: 'string',
15250
+ tag: { 'type': 'array', 'itemType': DescribeNatGatewaysRequestTag },
15248
15251
  vpcId: 'string',
15249
15252
  zoneId: 'string',
15250
15253
  };
@@ -15725,11 +15728,10 @@ export class DescribePublicIpAddressRequest extends $tea.Model {
15725
15728
 
15726
15729
  export class DescribePublicIpAddressResponseBody extends $tea.Model {
15727
15730
  code?: string;
15728
- ipRange?: DescribePublicIpAddressResponseBodyIpRange;
15729
15731
  message?: string;
15730
15732
  pageNumber?: number;
15731
15733
  pageSize?: number;
15732
- publicIpAddress?: string;
15734
+ publicIpAddress?: string[];
15733
15735
  regionId?: string;
15734
15736
  requestId?: string;
15735
15737
  success?: boolean;
@@ -15737,7 +15739,6 @@ export class DescribePublicIpAddressResponseBody extends $tea.Model {
15737
15739
  static names(): { [key: string]: string } {
15738
15740
  return {
15739
15741
  code: 'Code',
15740
- ipRange: 'IpRange',
15741
15742
  message: 'Message',
15742
15743
  pageNumber: 'PageNumber',
15743
15744
  pageSize: 'PageSize',
@@ -15752,11 +15753,10 @@ export class DescribePublicIpAddressResponseBody extends $tea.Model {
15752
15753
  static types(): { [key: string]: any } {
15753
15754
  return {
15754
15755
  code: 'string',
15755
- ipRange: DescribePublicIpAddressResponseBodyIpRange,
15756
15756
  message: 'string',
15757
15757
  pageNumber: 'number',
15758
15758
  pageSize: 'number',
15759
- publicIpAddress: 'string',
15759
+ publicIpAddress: { 'type': 'array', 'itemType': 'string' },
15760
15760
  regionId: 'string',
15761
15761
  requestId: 'string',
15762
15762
  success: 'boolean',
@@ -20108,6 +20108,87 @@ export class GetDhcpOptionsSetResponse extends $tea.Model {
20108
20108
  }
20109
20109
  }
20110
20110
 
20111
+ export class GetFlowLogServiceStatusRequest extends $tea.Model {
20112
+ clientToken?: string;
20113
+ ownerAccount?: string;
20114
+ ownerId?: number;
20115
+ regionId?: string;
20116
+ resourceOwnerAccount?: string;
20117
+ resourceOwnerId?: number;
20118
+ static names(): { [key: string]: string } {
20119
+ return {
20120
+ clientToken: 'ClientToken',
20121
+ ownerAccount: 'OwnerAccount',
20122
+ ownerId: 'OwnerId',
20123
+ regionId: 'RegionId',
20124
+ resourceOwnerAccount: 'ResourceOwnerAccount',
20125
+ resourceOwnerId: 'ResourceOwnerId',
20126
+ };
20127
+ }
20128
+
20129
+ static types(): { [key: string]: any } {
20130
+ return {
20131
+ clientToken: 'string',
20132
+ ownerAccount: 'string',
20133
+ ownerId: 'number',
20134
+ regionId: 'string',
20135
+ resourceOwnerAccount: 'string',
20136
+ resourceOwnerId: 'number',
20137
+ };
20138
+ }
20139
+
20140
+ constructor(map?: { [key: string]: any }) {
20141
+ super(map);
20142
+ }
20143
+ }
20144
+
20145
+ export class GetFlowLogServiceStatusResponseBody extends $tea.Model {
20146
+ enabled?: boolean;
20147
+ requestId?: string;
20148
+ static names(): { [key: string]: string } {
20149
+ return {
20150
+ enabled: 'Enabled',
20151
+ requestId: 'RequestId',
20152
+ };
20153
+ }
20154
+
20155
+ static types(): { [key: string]: any } {
20156
+ return {
20157
+ enabled: 'boolean',
20158
+ requestId: 'string',
20159
+ };
20160
+ }
20161
+
20162
+ constructor(map?: { [key: string]: any }) {
20163
+ super(map);
20164
+ }
20165
+ }
20166
+
20167
+ export class GetFlowLogServiceStatusResponse extends $tea.Model {
20168
+ headers: { [key: string]: string };
20169
+ statusCode: number;
20170
+ body: GetFlowLogServiceStatusResponseBody;
20171
+ static names(): { [key: string]: string } {
20172
+ return {
20173
+ headers: 'headers',
20174
+ statusCode: 'statusCode',
20175
+ body: 'body',
20176
+ };
20177
+ }
20178
+
20179
+ static types(): { [key: string]: any } {
20180
+ return {
20181
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
20182
+ statusCode: 'number',
20183
+ body: GetFlowLogServiceStatusResponseBody,
20184
+ };
20185
+ }
20186
+
20187
+ constructor(map?: { [key: string]: any }) {
20188
+ super(map);
20189
+ }
20190
+ }
20191
+
20111
20192
  export class GetIpv4GatewayAttributeRequest extends $tea.Model {
20112
20193
  ipv4GatewayId?: string;
20113
20194
  ownerAccount?: string;
@@ -23048,99 +23129,6 @@ export class ModifyCommonBandwidthPackageAttributeResponse extends $tea.Model {
23048
23129
  }
23049
23130
  }
23050
23131
 
23051
- export class ModifyCommonBandwidthPackageInternetChargeTypeRequest extends $tea.Model {
23052
- autoPay?: boolean;
23053
- bandwidth?: number;
23054
- bandwidthPackageId?: string;
23055
- instanceChargeType?: string;
23056
- internetChargeType?: string;
23057
- ownerAccount?: string;
23058
- ownerId?: number;
23059
- ratio?: number;
23060
- regionId?: string;
23061
- resourceOwnerAccount?: string;
23062
- resourceOwnerId?: number;
23063
- static names(): { [key: string]: string } {
23064
- return {
23065
- autoPay: 'AutoPay',
23066
- bandwidth: 'Bandwidth',
23067
- bandwidthPackageId: 'BandwidthPackageId',
23068
- instanceChargeType: 'InstanceChargeType',
23069
- internetChargeType: 'InternetChargeType',
23070
- ownerAccount: 'OwnerAccount',
23071
- ownerId: 'OwnerId',
23072
- ratio: 'Ratio',
23073
- regionId: 'RegionId',
23074
- resourceOwnerAccount: 'ResourceOwnerAccount',
23075
- resourceOwnerId: 'ResourceOwnerId',
23076
- };
23077
- }
23078
-
23079
- static types(): { [key: string]: any } {
23080
- return {
23081
- autoPay: 'boolean',
23082
- bandwidth: 'number',
23083
- bandwidthPackageId: 'string',
23084
- instanceChargeType: 'string',
23085
- internetChargeType: 'string',
23086
- ownerAccount: 'string',
23087
- ownerId: 'number',
23088
- ratio: 'number',
23089
- regionId: 'string',
23090
- resourceOwnerAccount: 'string',
23091
- resourceOwnerId: 'number',
23092
- };
23093
- }
23094
-
23095
- constructor(map?: { [key: string]: any }) {
23096
- super(map);
23097
- }
23098
- }
23099
-
23100
- export class ModifyCommonBandwidthPackageInternetChargeTypeResponseBody extends $tea.Model {
23101
- requestId?: string;
23102
- static names(): { [key: string]: string } {
23103
- return {
23104
- requestId: 'RequestId',
23105
- };
23106
- }
23107
-
23108
- static types(): { [key: string]: any } {
23109
- return {
23110
- requestId: 'string',
23111
- };
23112
- }
23113
-
23114
- constructor(map?: { [key: string]: any }) {
23115
- super(map);
23116
- }
23117
- }
23118
-
23119
- export class ModifyCommonBandwidthPackageInternetChargeTypeResponse extends $tea.Model {
23120
- headers: { [key: string]: string };
23121
- statusCode: number;
23122
- body: ModifyCommonBandwidthPackageInternetChargeTypeResponseBody;
23123
- static names(): { [key: string]: string } {
23124
- return {
23125
- headers: 'headers',
23126
- statusCode: 'statusCode',
23127
- body: 'body',
23128
- };
23129
- }
23130
-
23131
- static types(): { [key: string]: any } {
23132
- return {
23133
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
23134
- statusCode: 'number',
23135
- body: ModifyCommonBandwidthPackageInternetChargeTypeResponseBody,
23136
- };
23137
- }
23138
-
23139
- constructor(map?: { [key: string]: any }) {
23140
- super(map);
23141
- }
23142
- }
23143
-
23144
23132
  export class ModifyCommonBandwidthPackageIpBandwidthRequest extends $tea.Model {
23145
23133
  bandwidth?: string;
23146
23134
  bandwidthPackageId?: string;
@@ -27617,6 +27605,90 @@ export class MoveResourceGroupResponse extends $tea.Model {
27617
27605
  }
27618
27606
  }
27619
27607
 
27608
+ export class OpenFlowLogServiceRequest extends $tea.Model {
27609
+ clientToken?: string;
27610
+ ownerAccount?: string;
27611
+ ownerId?: number;
27612
+ regionId?: string;
27613
+ resourceOwnerAccount?: string;
27614
+ resourceOwnerId?: number;
27615
+ static names(): { [key: string]: string } {
27616
+ return {
27617
+ clientToken: 'ClientToken',
27618
+ ownerAccount: 'OwnerAccount',
27619
+ ownerId: 'OwnerId',
27620
+ regionId: 'RegionId',
27621
+ resourceOwnerAccount: 'ResourceOwnerAccount',
27622
+ resourceOwnerId: 'ResourceOwnerId',
27623
+ };
27624
+ }
27625
+
27626
+ static types(): { [key: string]: any } {
27627
+ return {
27628
+ clientToken: 'string',
27629
+ ownerAccount: 'string',
27630
+ ownerId: 'number',
27631
+ regionId: 'string',
27632
+ resourceOwnerAccount: 'string',
27633
+ resourceOwnerId: 'number',
27634
+ };
27635
+ }
27636
+
27637
+ constructor(map?: { [key: string]: any }) {
27638
+ super(map);
27639
+ }
27640
+ }
27641
+
27642
+ export class OpenFlowLogServiceResponseBody extends $tea.Model {
27643
+ code?: string;
27644
+ message?: string;
27645
+ requestId?: string;
27646
+ static names(): { [key: string]: string } {
27647
+ return {
27648
+ code: 'Code',
27649
+ message: 'Message',
27650
+ requestId: 'RequestId',
27651
+ };
27652
+ }
27653
+
27654
+ static types(): { [key: string]: any } {
27655
+ return {
27656
+ code: 'string',
27657
+ message: 'string',
27658
+ requestId: 'string',
27659
+ };
27660
+ }
27661
+
27662
+ constructor(map?: { [key: string]: any }) {
27663
+ super(map);
27664
+ }
27665
+ }
27666
+
27667
+ export class OpenFlowLogServiceResponse extends $tea.Model {
27668
+ headers: { [key: string]: string };
27669
+ statusCode: number;
27670
+ body: OpenFlowLogServiceResponseBody;
27671
+ static names(): { [key: string]: string } {
27672
+ return {
27673
+ headers: 'headers',
27674
+ statusCode: 'statusCode',
27675
+ body: 'body',
27676
+ };
27677
+ }
27678
+
27679
+ static types(): { [key: string]: any } {
27680
+ return {
27681
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
27682
+ statusCode: 'number',
27683
+ body: OpenFlowLogServiceResponseBody,
27684
+ };
27685
+ }
27686
+
27687
+ constructor(map?: { [key: string]: any }) {
27688
+ super(map);
27689
+ }
27690
+ }
27691
+
27620
27692
  export class OpenPhysicalConnectionServiceRequest extends $tea.Model {
27621
27693
  ownerAccount?: string;
27622
27694
  ownerId?: number;
@@ -32146,13 +32218,19 @@ export class DescribeEipAddressesResponseBodyEipAddressesEipAddressSecurityProte
32146
32218
  }
32147
32219
 
32148
32220
  export class DescribeEipAddressesResponseBodyEipAddressesEipAddressTagsTag extends $tea.Model {
32221
+ key?: string;
32222
+ value?: string;
32149
32223
  static names(): { [key: string]: string } {
32150
32224
  return {
32225
+ key: 'Key',
32226
+ value: 'Value',
32151
32227
  };
32152
32228
  }
32153
32229
 
32154
32230
  static types(): { [key: string]: any } {
32155
32231
  return {
32232
+ key: 'string',
32233
+ value: 'string',
32156
32234
  };
32157
32235
  }
32158
32236
 
@@ -33463,6 +33541,28 @@ export class DescribeIpv6GatewaysResponseBodyIpv6Gateways extends $tea.Model {
33463
33541
  }
33464
33542
  }
33465
33543
 
33544
+ export class DescribeNatGatewaysRequestTag extends $tea.Model {
33545
+ key?: string;
33546
+ value?: string;
33547
+ static names(): { [key: string]: string } {
33548
+ return {
33549
+ key: 'Key',
33550
+ value: 'Value',
33551
+ };
33552
+ }
33553
+
33554
+ static types(): { [key: string]: any } {
33555
+ return {
33556
+ key: 'string',
33557
+ value: 'string',
33558
+ };
33559
+ }
33560
+
33561
+ constructor(map?: { [key: string]: any }) {
33562
+ super(map);
33563
+ }
33564
+ }
33565
+
33466
33566
  export class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds extends $tea.Model {
33467
33567
  forwardTableId?: string[];
33468
33568
  static names(): { [key: string]: string } {
@@ -33610,6 +33710,47 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTableIds ex
33610
33710
  }
33611
33711
  }
33612
33712
 
33713
+ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag extends $tea.Model {
33714
+ tagKey?: string;
33715
+ tagValue?: string;
33716
+ static names(): { [key: string]: string } {
33717
+ return {
33718
+ tagKey: 'TagKey',
33719
+ tagValue: 'TagValue',
33720
+ };
33721
+ }
33722
+
33723
+ static types(): { [key: string]: any } {
33724
+ return {
33725
+ tagKey: 'string',
33726
+ tagValue: 'string',
33727
+ };
33728
+ }
33729
+
33730
+ constructor(map?: { [key: string]: any }) {
33731
+ super(map);
33732
+ }
33733
+ }
33734
+
33735
+ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags extends $tea.Model {
33736
+ tag?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag[];
33737
+ static names(): { [key: string]: string } {
33738
+ return {
33739
+ tag: 'Tag',
33740
+ };
33741
+ }
33742
+
33743
+ static types(): { [key: string]: any } {
33744
+ return {
33745
+ tag: { 'type': 'array', 'itemType': DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag },
33746
+ };
33747
+ }
33748
+
33749
+ constructor(map?: { [key: string]: any }) {
33750
+ super(map);
33751
+ }
33752
+ }
33753
+
33613
33754
  export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.Model {
33614
33755
  autoPay?: boolean;
33615
33756
  businessStatus?: string;
@@ -33617,6 +33758,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.M
33617
33758
  deletionProtection?: boolean;
33618
33759
  description?: string;
33619
33760
  ecsMetricEnabled?: boolean;
33761
+ eipBindMode?: string;
33620
33762
  expiredTime?: string;
33621
33763
  forwardTableIds?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds;
33622
33764
  fullNatTableIds?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayFullNatTableIds;
@@ -33637,6 +33779,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.M
33637
33779
  snatTableIds?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTableIds;
33638
33780
  spec?: string;
33639
33781
  status?: string;
33782
+ tags?: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags;
33640
33783
  vpcId?: string;
33641
33784
  static names(): { [key: string]: string } {
33642
33785
  return {
@@ -33646,6 +33789,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.M
33646
33789
  deletionProtection: 'DeletionProtection',
33647
33790
  description: 'Description',
33648
33791
  ecsMetricEnabled: 'EcsMetricEnabled',
33792
+ eipBindMode: 'EipBindMode',
33649
33793
  expiredTime: 'ExpiredTime',
33650
33794
  forwardTableIds: 'ForwardTableIds',
33651
33795
  fullNatTableIds: 'FullNatTableIds',
@@ -33666,6 +33810,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.M
33666
33810
  snatTableIds: 'SnatTableIds',
33667
33811
  spec: 'Spec',
33668
33812
  status: 'Status',
33813
+ tags: 'Tags',
33669
33814
  vpcId: 'VpcId',
33670
33815
  };
33671
33816
  }
@@ -33678,6 +33823,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.M
33678
33823
  deletionProtection: 'boolean',
33679
33824
  description: 'string',
33680
33825
  ecsMetricEnabled: 'boolean',
33826
+ eipBindMode: 'string',
33681
33827
  expiredTime: 'string',
33682
33828
  forwardTableIds: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds,
33683
33829
  fullNatTableIds: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayFullNatTableIds,
@@ -33698,6 +33844,7 @@ export class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.M
33698
33844
  snatTableIds: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTableIds,
33699
33845
  spec: 'string',
33700
33846
  status: 'string',
33847
+ tags: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags,
33701
33848
  vpcId: 'string',
33702
33849
  };
33703
33850
  }
@@ -34413,25 +34560,6 @@ export class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSet extend
34413
34560
  }
34414
34561
  }
34415
34562
 
34416
- export class DescribePublicIpAddressResponseBodyIpRange extends $tea.Model {
34417
- ipRange?: string[];
34418
- static names(): { [key: string]: string } {
34419
- return {
34420
- ipRange: 'IpRange',
34421
- };
34422
- }
34423
-
34424
- static types(): { [key: string]: any } {
34425
- return {
34426
- ipRange: { 'type': 'array', 'itemType': 'string' },
34427
- };
34428
- }
34429
-
34430
- constructor(map?: { [key: string]: any }) {
34431
- super(map);
34432
- }
34433
- }
34434
-
34435
34563
  export class DescribeRegionsResponseBodyRegionsRegion extends $tea.Model {
34436
34564
  localName?: string;
34437
34565
  regionEndpoint?: string;
@@ -50127,6 +50255,10 @@ export default class Client extends OpenApi {
50127
50255
  query["Status"] = request.status;
50128
50256
  }
50129
50257
 
50258
+ if (!Util.isUnset(request.tag)) {
50259
+ query["Tag"] = request.tag;
50260
+ }
50261
+
50130
50262
  if (!Util.isUnset(request.vpcId)) {
50131
50263
  query["VpcId"] = request.vpcId;
50132
50264
  }
@@ -52980,6 +53112,59 @@ export default class Client extends OpenApi {
52980
53112
  return await this.getDhcpOptionsSetWithOptions(request, runtime);
52981
53113
  }
52982
53114
 
53115
+ async getFlowLogServiceStatusWithOptions(request: GetFlowLogServiceStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetFlowLogServiceStatusResponse> {
53116
+ Util.validateModel(request);
53117
+ let query = { };
53118
+ if (!Util.isUnset(request.clientToken)) {
53119
+ query["ClientToken"] = request.clientToken;
53120
+ }
53121
+
53122
+ if (!Util.isUnset(request.ownerAccount)) {
53123
+ query["OwnerAccount"] = request.ownerAccount;
53124
+ }
53125
+
53126
+ if (!Util.isUnset(request.ownerId)) {
53127
+ query["OwnerId"] = request.ownerId;
53128
+ }
53129
+
53130
+ if (!Util.isUnset(request.regionId)) {
53131
+ query["RegionId"] = request.regionId;
53132
+ }
53133
+
53134
+ if (!Util.isUnset(request.regionId)) {
53135
+ query["RegionId"] = request.regionId;
53136
+ }
53137
+
53138
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
53139
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
53140
+ }
53141
+
53142
+ if (!Util.isUnset(request.resourceOwnerId)) {
53143
+ query["ResourceOwnerId"] = request.resourceOwnerId;
53144
+ }
53145
+
53146
+ let req = new $OpenApi.OpenApiRequest({
53147
+ query: OpenApiUtil.query(query),
53148
+ });
53149
+ let params = new $OpenApi.Params({
53150
+ action: "GetFlowLogServiceStatus",
53151
+ version: "2016-04-28",
53152
+ protocol: "HTTPS",
53153
+ pathname: "/",
53154
+ method: "POST",
53155
+ authType: "AK",
53156
+ style: "RPC",
53157
+ reqBodyType: "formData",
53158
+ bodyType: "json",
53159
+ });
53160
+ return $tea.cast<GetFlowLogServiceStatusResponse>(await this.callApi(params, req, runtime), new GetFlowLogServiceStatusResponse({}));
53161
+ }
53162
+
53163
+ async getFlowLogServiceStatus(request: GetFlowLogServiceStatusRequest): Promise<GetFlowLogServiceStatusResponse> {
53164
+ let runtime = new $Util.RuntimeOptions({ });
53165
+ return await this.getFlowLogServiceStatusWithOptions(request, runtime);
53166
+ }
53167
+
52983
53168
  async getIpv4GatewayAttributeWithOptions(request: GetIpv4GatewayAttributeRequest, runtime: $Util.RuntimeOptions): Promise<GetIpv4GatewayAttributeResponse> {
52984
53169
  Util.validateModel(request);
52985
53170
  let query = { };
@@ -54834,75 +55019,6 @@ export default class Client extends OpenApi {
54834
55019
  return await this.modifyCommonBandwidthPackageAttributeWithOptions(request, runtime);
54835
55020
  }
54836
55021
 
54837
- async modifyCommonBandwidthPackageInternetChargeTypeWithOptions(request: ModifyCommonBandwidthPackageInternetChargeTypeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCommonBandwidthPackageInternetChargeTypeResponse> {
54838
- Util.validateModel(request);
54839
- let query = { };
54840
- if (!Util.isUnset(request.autoPay)) {
54841
- query["AutoPay"] = request.autoPay;
54842
- }
54843
-
54844
- if (!Util.isUnset(request.bandwidth)) {
54845
- query["Bandwidth"] = request.bandwidth;
54846
- }
54847
-
54848
- if (!Util.isUnset(request.bandwidthPackageId)) {
54849
- query["BandwidthPackageId"] = request.bandwidthPackageId;
54850
- }
54851
-
54852
- if (!Util.isUnset(request.instanceChargeType)) {
54853
- query["InstanceChargeType"] = request.instanceChargeType;
54854
- }
54855
-
54856
- if (!Util.isUnset(request.internetChargeType)) {
54857
- query["InternetChargeType"] = request.internetChargeType;
54858
- }
54859
-
54860
- if (!Util.isUnset(request.ownerAccount)) {
54861
- query["OwnerAccount"] = request.ownerAccount;
54862
- }
54863
-
54864
- if (!Util.isUnset(request.ownerId)) {
54865
- query["OwnerId"] = request.ownerId;
54866
- }
54867
-
54868
- if (!Util.isUnset(request.ratio)) {
54869
- query["Ratio"] = request.ratio;
54870
- }
54871
-
54872
- if (!Util.isUnset(request.regionId)) {
54873
- query["RegionId"] = request.regionId;
54874
- }
54875
-
54876
- if (!Util.isUnset(request.resourceOwnerAccount)) {
54877
- query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
54878
- }
54879
-
54880
- if (!Util.isUnset(request.resourceOwnerId)) {
54881
- query["ResourceOwnerId"] = request.resourceOwnerId;
54882
- }
54883
-
54884
- let req = new $OpenApi.OpenApiRequest({
54885
- query: OpenApiUtil.query(query),
54886
- });
54887
- let params = new $OpenApi.Params({
54888
- action: "ModifyCommonBandwidthPackageInternetChargeType",
54889
- version: "2016-04-28",
54890
- protocol: "HTTPS",
54891
- pathname: "/",
54892
- method: "POST",
54893
- authType: "AK",
54894
- style: "RPC",
54895
- reqBodyType: "formData",
54896
- bodyType: "json",
54897
- });
54898
- return $tea.cast<ModifyCommonBandwidthPackageInternetChargeTypeResponse>(await this.callApi(params, req, runtime), new ModifyCommonBandwidthPackageInternetChargeTypeResponse({}));
54899
- }
54900
-
54901
- async modifyCommonBandwidthPackageInternetChargeType(request: ModifyCommonBandwidthPackageInternetChargeTypeRequest): Promise<ModifyCommonBandwidthPackageInternetChargeTypeResponse> {
54902
- let runtime = new $Util.RuntimeOptions({ });
54903
- return await this.modifyCommonBandwidthPackageInternetChargeTypeWithOptions(request, runtime);
54904
- }
54905
-
54906
55022
  async modifyCommonBandwidthPackageIpBandwidthWithOptions(request: ModifyCommonBandwidthPackageIpBandwidthRequest, runtime: $Util.RuntimeOptions): Promise<ModifyCommonBandwidthPackageIpBandwidthResponse> {
54907
55023
  Util.validateModel(request);
54908
55024
  let query = { };
@@ -58069,6 +58185,59 @@ export default class Client extends OpenApi {
58069
58185
  return await this.moveResourceGroupWithOptions(request, runtime);
58070
58186
  }
58071
58187
 
58188
+ async openFlowLogServiceWithOptions(request: OpenFlowLogServiceRequest, runtime: $Util.RuntimeOptions): Promise<OpenFlowLogServiceResponse> {
58189
+ Util.validateModel(request);
58190
+ let query = { };
58191
+ if (!Util.isUnset(request.clientToken)) {
58192
+ query["ClientToken"] = request.clientToken;
58193
+ }
58194
+
58195
+ if (!Util.isUnset(request.ownerAccount)) {
58196
+ query["OwnerAccount"] = request.ownerAccount;
58197
+ }
58198
+
58199
+ if (!Util.isUnset(request.ownerId)) {
58200
+ query["OwnerId"] = request.ownerId;
58201
+ }
58202
+
58203
+ if (!Util.isUnset(request.regionId)) {
58204
+ query["RegionId"] = request.regionId;
58205
+ }
58206
+
58207
+ if (!Util.isUnset(request.regionId)) {
58208
+ query["RegionId"] = request.regionId;
58209
+ }
58210
+
58211
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
58212
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
58213
+ }
58214
+
58215
+ if (!Util.isUnset(request.resourceOwnerId)) {
58216
+ query["ResourceOwnerId"] = request.resourceOwnerId;
58217
+ }
58218
+
58219
+ let req = new $OpenApi.OpenApiRequest({
58220
+ query: OpenApiUtil.query(query),
58221
+ });
58222
+ let params = new $OpenApi.Params({
58223
+ action: "OpenFlowLogService",
58224
+ version: "2016-04-28",
58225
+ protocol: "HTTPS",
58226
+ pathname: "/",
58227
+ method: "POST",
58228
+ authType: "AK",
58229
+ style: "RPC",
58230
+ reqBodyType: "formData",
58231
+ bodyType: "json",
58232
+ });
58233
+ return $tea.cast<OpenFlowLogServiceResponse>(await this.callApi(params, req, runtime), new OpenFlowLogServiceResponse({}));
58234
+ }
58235
+
58236
+ async openFlowLogService(request: OpenFlowLogServiceRequest): Promise<OpenFlowLogServiceResponse> {
58237
+ let runtime = new $Util.RuntimeOptions({ });
58238
+ return await this.openFlowLogServiceWithOptions(request, runtime);
58239
+ }
58240
+
58072
58241
  async openPhysicalConnectionServiceWithOptions(request: OpenPhysicalConnectionServiceRequest, runtime: $Util.RuntimeOptions): Promise<OpenPhysicalConnectionServiceResponse> {
58073
58242
  Util.validateModel(request);
58074
58243
  let query = { };