@alicloud/cloudfw20171207 3.1.0 → 3.2.1

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/cloudfw20171207",
3
- "version": "3.1.0",
3
+ "version": "3.2.1",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -4867,6 +4867,7 @@ export class DescribeAssetListRequest extends $tea.Model {
4867
4867
  * discovered in 1 hour
4868
4868
  */
4869
4869
  newResourceTag?: string;
4870
+ outStatistic?: string;
4870
4871
  /**
4871
4872
  * @remarks
4872
4873
  * The number of entries per page. Valid values: 1 to 50.
@@ -4915,6 +4916,7 @@ export class DescribeAssetListRequest extends $tea.Model {
4915
4916
  * 192.0.XX.XX
4916
4917
  */
4917
4918
  searchItem?: string;
4919
+ sensitiveStatus?: string;
4918
4920
  /**
4919
4921
  * @remarks
4920
4922
  * The status of the security group policy. Valid values:
@@ -4970,10 +4972,12 @@ export class DescribeAssetListRequest extends $tea.Model {
4970
4972
  lang: 'Lang',
4971
4973
  memberUid: 'MemberUid',
4972
4974
  newResourceTag: 'NewResourceTag',
4975
+ outStatistic: 'OutStatistic',
4973
4976
  pageSize: 'PageSize',
4974
4977
  regionNo: 'RegionNo',
4975
4978
  resourceType: 'ResourceType',
4976
4979
  searchItem: 'SearchItem',
4980
+ sensitiveStatus: 'SensitiveStatus',
4977
4981
  sgStatus: 'SgStatus',
4978
4982
  status: 'Status',
4979
4983
  type: 'Type',
@@ -4988,10 +4992,12 @@ export class DescribeAssetListRequest extends $tea.Model {
4988
4992
  lang: 'string',
4989
4993
  memberUid: 'number',
4990
4994
  newResourceTag: 'string',
4995
+ outStatistic: 'string',
4991
4996
  pageSize: 'string',
4992
4997
  regionNo: 'string',
4993
4998
  resourceType: 'string',
4994
4999
  searchItem: 'string',
5000
+ sensitiveStatus: 'string',
4995
5001
  sgStatus: 'string',
4996
5002
  status: 'string',
4997
5003
  type: 'string',
@@ -5209,6 +5215,83 @@ export class DescribeAssetRiskListResponse extends $tea.Model {
5209
5215
  }
5210
5216
  }
5211
5217
 
5218
+ export class DescribeAssetStatisticRequest extends $tea.Model {
5219
+ /**
5220
+ * @example
5221
+ * zh
5222
+ */
5223
+ lang?: string;
5224
+ sourceIp?: string;
5225
+ static names(): { [key: string]: string } {
5226
+ return {
5227
+ lang: 'Lang',
5228
+ sourceIp: 'SourceIp',
5229
+ };
5230
+ }
5231
+
5232
+ static types(): { [key: string]: any } {
5233
+ return {
5234
+ lang: 'string',
5235
+ sourceIp: 'string',
5236
+ };
5237
+ }
5238
+
5239
+ constructor(map?: { [key: string]: any }) {
5240
+ super(map);
5241
+ }
5242
+ }
5243
+
5244
+ export class DescribeAssetStatisticResponseBody extends $tea.Model {
5245
+ /**
5246
+ * @example
5247
+ * 850A84******25g4d2
5248
+ */
5249
+ requestId?: string;
5250
+ resourceSpecStatistic?: DescribeAssetStatisticResponseBodyResourceSpecStatistic;
5251
+ static names(): { [key: string]: string } {
5252
+ return {
5253
+ requestId: 'RequestId',
5254
+ resourceSpecStatistic: 'ResourceSpecStatistic',
5255
+ };
5256
+ }
5257
+
5258
+ static types(): { [key: string]: any } {
5259
+ return {
5260
+ requestId: 'string',
5261
+ resourceSpecStatistic: DescribeAssetStatisticResponseBodyResourceSpecStatistic,
5262
+ };
5263
+ }
5264
+
5265
+ constructor(map?: { [key: string]: any }) {
5266
+ super(map);
5267
+ }
5268
+ }
5269
+
5270
+ export class DescribeAssetStatisticResponse extends $tea.Model {
5271
+ headers?: { [key: string]: string };
5272
+ statusCode?: number;
5273
+ body?: DescribeAssetStatisticResponseBody;
5274
+ static names(): { [key: string]: string } {
5275
+ return {
5276
+ headers: 'headers',
5277
+ statusCode: 'statusCode',
5278
+ body: 'body',
5279
+ };
5280
+ }
5281
+
5282
+ static types(): { [key: string]: any } {
5283
+ return {
5284
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5285
+ statusCode: 'number',
5286
+ body: DescribeAssetStatisticResponseBody,
5287
+ };
5288
+ }
5289
+
5290
+ constructor(map?: { [key: string]: any }) {
5291
+ super(map);
5292
+ }
5293
+ }
5294
+
5212
5295
  export class DescribeCfwRiskLevelSummaryRequest extends $tea.Model {
5213
5296
  /**
5214
5297
  * @remarks
@@ -7591,9 +7674,7 @@ export class DescribeNatFirewallListRequest extends $tea.Model {
7591
7674
  * @remarks
7592
7675
  * The number of entries per page.
7593
7676
  *
7594
- * Default value: 10.
7595
- *
7596
- * Maximum value: 50.
7677
+ * Default value: **10**.**** Maximum value: **50**.
7597
7678
  *
7598
7679
  * @example
7599
7680
  * 10
@@ -9665,6 +9746,9 @@ export class DescribeRiskEventPayloadResponseBody extends $tea.Model {
9665
9746
  * vpc-bp10w5nb30r4jzfyc****
9666
9747
  */
9667
9748
  dstVpcId?: string;
9749
+ hitContentType?: number;
9750
+ hitTo?: number;
9751
+ parsedContent?: string;
9668
9752
  /**
9669
9753
  * @remarks
9670
9754
  * The attack payload of the intrusion event.
@@ -9745,6 +9829,9 @@ export class DescribeRiskEventPayloadResponseBody extends $tea.Model {
9745
9829
  dstIP: 'DstIP',
9746
9830
  dstPort: 'DstPort',
9747
9831
  dstVpcId: 'DstVpcId',
9832
+ hitContentType: 'HitContentType',
9833
+ hitTo: 'HitTo',
9834
+ parsedContent: 'ParsedContent',
9748
9835
  payload: 'Payload',
9749
9836
  payloadLen: 'PayloadLen',
9750
9837
  proto: 'Proto',
@@ -9762,6 +9849,9 @@ export class DescribeRiskEventPayloadResponseBody extends $tea.Model {
9762
9849
  dstIP: 'string',
9763
9850
  dstPort: 'number',
9764
9851
  dstVpcId: 'string',
9852
+ hitContentType: 'number',
9853
+ hitTo: 'number',
9854
+ parsedContent: 'string',
9765
9855
  payload: 'string',
9766
9856
  payloadLen: 'number',
9767
9857
  proto: 'string',
@@ -18309,6 +18399,7 @@ export class DescribeAssetListResponseBodyAssets extends $tea.Model {
18309
18399
  * 4
18310
18400
  */
18311
18401
  ipVersion?: number;
18402
+ last7DayOutTrafficBytes?: number;
18312
18403
  /**
18313
18404
  * @remarks
18314
18405
  * The UID of the member.
@@ -18422,6 +18513,7 @@ export class DescribeAssetListResponseBodyAssets extends $tea.Model {
18422
18513
  * low
18423
18514
  */
18424
18515
  riskLevel?: string;
18516
+ sensitiveDataStatus?: string;
18425
18517
  /**
18426
18518
  * @remarks
18427
18519
  * The status of the security group policy. Valid values:
@@ -18470,6 +18562,7 @@ export class DescribeAssetListResponseBodyAssets extends $tea.Model {
18470
18562
  internetAddress: 'InternetAddress',
18471
18563
  intranetAddress: 'IntranetAddress',
18472
18564
  ipVersion: 'IpVersion',
18565
+ last7DayOutTrafficBytes: 'Last7DayOutTrafficBytes',
18473
18566
  memberUid: 'MemberUid',
18474
18567
  name: 'Name',
18475
18568
  newResourceTag: 'NewResourceTag',
@@ -18480,6 +18573,7 @@ export class DescribeAssetListResponseBodyAssets extends $tea.Model {
18480
18573
  resourceInstanceId: 'ResourceInstanceId',
18481
18574
  resourceType: 'ResourceType',
18482
18575
  riskLevel: 'RiskLevel',
18576
+ sensitiveDataStatus: 'SensitiveDataStatus',
18483
18577
  sgStatus: 'SgStatus',
18484
18578
  sgStatusTime: 'SgStatusTime',
18485
18579
  syncStatus: 'SyncStatus',
@@ -18496,6 +18590,7 @@ export class DescribeAssetListResponseBodyAssets extends $tea.Model {
18496
18590
  internetAddress: 'string',
18497
18591
  intranetAddress: 'string',
18498
18592
  ipVersion: 'number',
18593
+ last7DayOutTrafficBytes: 'number',
18499
18594
  memberUid: 'number',
18500
18595
  name: 'string',
18501
18596
  newResourceTag: 'string',
@@ -18506,6 +18601,7 @@ export class DescribeAssetListResponseBodyAssets extends $tea.Model {
18506
18601
  resourceInstanceId: 'string',
18507
18602
  resourceType: 'string',
18508
18603
  riskLevel: 'string',
18604
+ sensitiveDataStatus: 'string',
18509
18605
  sgStatus: 'string',
18510
18606
  sgStatusTime: 'number',
18511
18607
  syncStatus: 'string',
@@ -18583,6 +18679,57 @@ export class DescribeAssetRiskListResponseBodyAssetList extends $tea.Model {
18583
18679
  }
18584
18680
  }
18585
18681
 
18682
+ export class DescribeAssetStatisticResponseBodyResourceSpecStatistic extends $tea.Model {
18683
+ /**
18684
+ * @example
18685
+ * 20
18686
+ */
18687
+ ipNumSpec?: number;
18688
+ /**
18689
+ * @example
18690
+ * 10
18691
+ */
18692
+ ipNumUsed?: number;
18693
+ isIpNumEnough?: number;
18694
+ isRegionNumEnough?: number;
18695
+ isSuggestUpdate?: number;
18696
+ regionNumSpec?: number;
18697
+ regionNumUsed?: number;
18698
+ sensitiveDataIpNumSpec?: number;
18699
+ sensitiveDataIpNumUsed?: number;
18700
+ static names(): { [key: string]: string } {
18701
+ return {
18702
+ ipNumSpec: 'IpNumSpec',
18703
+ ipNumUsed: 'IpNumUsed',
18704
+ isIpNumEnough: 'IsIpNumEnough',
18705
+ isRegionNumEnough: 'IsRegionNumEnough',
18706
+ isSuggestUpdate: 'IsSuggestUpdate',
18707
+ regionNumSpec: 'RegionNumSpec',
18708
+ regionNumUsed: 'RegionNumUsed',
18709
+ sensitiveDataIpNumSpec: 'SensitiveDataIpNumSpec',
18710
+ sensitiveDataIpNumUsed: 'SensitiveDataIpNumUsed',
18711
+ };
18712
+ }
18713
+
18714
+ static types(): { [key: string]: any } {
18715
+ return {
18716
+ ipNumSpec: 'number',
18717
+ ipNumUsed: 'number',
18718
+ isIpNumEnough: 'number',
18719
+ isRegionNumEnough: 'number',
18720
+ isSuggestUpdate: 'number',
18721
+ regionNumSpec: 'number',
18722
+ regionNumUsed: 'number',
18723
+ sensitiveDataIpNumSpec: 'number',
18724
+ sensitiveDataIpNumUsed: 'number',
18725
+ };
18726
+ }
18727
+
18728
+ constructor(map?: { [key: string]: any }) {
18729
+ super(map);
18730
+ }
18731
+ }
18732
+
18586
18733
  export class DescribeCfwRiskLevelSummaryResponseBodyRiskList extends $tea.Model {
18587
18734
  /**
18588
18735
  * @remarks
@@ -20968,6 +21115,7 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
20968
21115
  * The application ports.
20969
21116
  */
20970
21117
  applicationPortList?: DescribeOutgoingDestinationIPResponseBodyDstIPListApplicationPortList[];
21118
+ assetCount?: number;
20971
21119
  /**
20972
21120
  * @remarks
20973
21121
  * The type of the tag. Valid values:
@@ -21059,6 +21207,7 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
21059
21207
  * true
21060
21208
  */
21061
21209
  isMarkNormal?: boolean;
21210
+ locationName?: string;
21062
21211
  /**
21063
21212
  * @remarks
21064
21213
  * The outbound traffic. Unit: bytes.
@@ -21067,6 +21216,7 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
21067
21216
  * 965
21068
21217
  */
21069
21218
  outBytes?: number;
21219
+ privateAssetCount?: number;
21070
21220
  /**
21071
21221
  * @remarks
21072
21222
  * The UUID of the access control policy.
@@ -21131,6 +21281,7 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
21131
21281
  aclStatus: 'AclStatus',
21132
21282
  addressGroupList: 'AddressGroupList',
21133
21283
  applicationPortList: 'ApplicationPortList',
21284
+ assetCount: 'AssetCount',
21134
21285
  categoryClassId: 'CategoryClassId',
21135
21286
  categoryId: 'CategoryId',
21136
21287
  categoryName: 'CategoryName',
@@ -21140,7 +21291,9 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
21140
21291
  hasAclRecommend: 'HasAclRecommend',
21141
21292
  inBytes: 'InBytes',
21142
21293
  isMarkNormal: 'IsMarkNormal',
21294
+ locationName: 'LocationName',
21143
21295
  outBytes: 'OutBytes',
21296
+ privateAssetCount: 'PrivateAssetCount',
21144
21297
  ruleId: 'RuleId',
21145
21298
  ruleName: 'RuleName',
21146
21299
  securityReason: 'SecurityReason',
@@ -21158,6 +21311,7 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
21158
21311
  aclStatus: 'string',
21159
21312
  addressGroupList: { 'type': 'array', 'itemType': DescribeOutgoingDestinationIPResponseBodyDstIPListAddressGroupList },
21160
21313
  applicationPortList: { 'type': 'array', 'itemType': DescribeOutgoingDestinationIPResponseBodyDstIPListApplicationPortList },
21314
+ assetCount: 'number',
21161
21315
  categoryClassId: 'string',
21162
21316
  categoryId: 'string',
21163
21317
  categoryName: 'string',
@@ -21167,7 +21321,9 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
21167
21321
  hasAclRecommend: 'boolean',
21168
21322
  inBytes: 'number',
21169
21323
  isMarkNormal: 'boolean',
21324
+ locationName: 'string',
21170
21325
  outBytes: 'number',
21326
+ privateAssetCount: 'number',
21171
21327
  ruleId: 'string',
21172
21328
  ruleName: 'string',
21173
21329
  securityReason: 'string',
@@ -21304,6 +21460,8 @@ export class DescribeOutgoingDomainResponseBodyDomainList extends $tea.Model {
21304
21460
  * fdad-fdafa-dafa-dfa****
21305
21461
  */
21306
21462
  addressGroupUUID?: string;
21463
+ applicationNameList?: string[];
21464
+ assetCount?: number;
21307
21465
  /**
21308
21466
  * @remarks
21309
21467
  * The website service.
@@ -21419,6 +21577,7 @@ export class DescribeOutgoingDomainResponseBodyDomainList extends $tea.Model {
21419
21577
  * 4582
21420
21578
  */
21421
21579
  outBytes?: number;
21580
+ privateAssetCount?: number;
21422
21581
  /**
21423
21582
  * @remarks
21424
21583
  * The ID of the access control policy.
@@ -21483,6 +21642,8 @@ export class DescribeOutgoingDomainResponseBodyDomainList extends $tea.Model {
21483
21642
  aclStatus: 'AclStatus',
21484
21643
  addressGroupName: 'AddressGroupName',
21485
21644
  addressGroupUUID: 'AddressGroupUUID',
21645
+ applicationNameList: 'ApplicationNameList',
21646
+ assetCount: 'AssetCount',
21486
21647
  business: 'Business',
21487
21648
  categoryClassId: 'CategoryClassId',
21488
21649
  categoryId: 'CategoryId',
@@ -21495,6 +21656,7 @@ export class DescribeOutgoingDomainResponseBodyDomainList extends $tea.Model {
21495
21656
  isMarkNormal: 'IsMarkNormal',
21496
21657
  organization: 'Organization',
21497
21658
  outBytes: 'OutBytes',
21659
+ privateAssetCount: 'PrivateAssetCount',
21498
21660
  ruleId: 'RuleId',
21499
21661
  ruleName: 'RuleName',
21500
21662
  securityReason: 'SecurityReason',
@@ -21512,6 +21674,8 @@ export class DescribeOutgoingDomainResponseBodyDomainList extends $tea.Model {
21512
21674
  aclStatus: 'string',
21513
21675
  addressGroupName: 'string',
21514
21676
  addressGroupUUID: 'string',
21677
+ applicationNameList: { 'type': 'array', 'itemType': 'string' },
21678
+ assetCount: 'number',
21515
21679
  business: 'string',
21516
21680
  categoryClassId: 'string',
21517
21681
  categoryId: 'string',
@@ -21524,6 +21688,7 @@ export class DescribeOutgoingDomainResponseBodyDomainList extends $tea.Model {
21524
21688
  isMarkNormal: 'boolean',
21525
21689
  organization: 'string',
21526
21690
  outBytes: 'number',
21691
+ privateAssetCount: 'number',
21527
21692
  ruleId: 'string',
21528
21693
  ruleName: 'string',
21529
21694
  securityReason: 'string',
@@ -22643,6 +22808,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResourc
22643
22808
  * 1
22644
22809
  */
22645
22810
  count?: number;
22811
+ ecrList?: string[];
22646
22812
  /**
22647
22813
  * @remarks
22648
22814
  * The protected peer transit routers.
@@ -22666,6 +22832,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResourc
22666
22832
  static names(): { [key: string]: string } {
22667
22833
  return {
22668
22834
  count: 'Count',
22835
+ ecrList: 'EcrList',
22669
22836
  peerTrList: 'PeerTrList',
22670
22837
  vbrList: 'VbrList',
22671
22838
  vpcList: 'VpcList',
@@ -22676,6 +22843,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResourc
22676
22843
  static types(): { [key: string]: any } {
22677
22844
  return {
22678
22845
  count: 'number',
22846
+ ecrList: { 'type': 'array', 'itemType': 'string' },
22679
22847
  peerTrList: { 'type': 'array', 'itemType': 'string' },
22680
22848
  vbrList: { 'type': 'array', 'itemType': 'string' },
22681
22849
  vpcList: { 'type': 'array', 'itemType': 'string' },
@@ -22697,6 +22865,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResou
22697
22865
  * 1
22698
22866
  */
22699
22867
  count?: number;
22868
+ ecrList?: string[];
22700
22869
  /**
22701
22870
  * @remarks
22702
22871
  * The unprotected peer transit routers.
@@ -22720,6 +22889,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResou
22720
22889
  static names(): { [key: string]: string } {
22721
22890
  return {
22722
22891
  count: 'Count',
22892
+ ecrList: 'EcrList',
22723
22893
  peerTrList: 'PeerTrList',
22724
22894
  vbrList: 'VbrList',
22725
22895
  vpcList: 'VpcList',
@@ -22730,6 +22900,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResou
22730
22900
  static types(): { [key: string]: any } {
22731
22901
  return {
22732
22902
  count: 'number',
22903
+ ecrList: { 'type': 'array', 'itemType': 'string' },
22733
22904
  peerTrList: { 'type': 'array', 'itemType': 'string' },
22734
22905
  vbrList: { 'type': 'array', 'itemType': 'string' },
22735
22906
  vpcList: { 'type': 'array', 'itemType': 'string' },
@@ -22759,6 +22930,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Mo
22759
22930
  * cen_swas
22760
22931
  */
22761
22932
  cenName?: string;
22933
+ cloudFirewallVpcOrderType?: string;
22762
22934
  /**
22763
22935
  * @remarks
22764
22936
  * The instance ID of the VPC firewall.
@@ -22881,6 +23053,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Mo
22881
23053
  return {
22882
23054
  cenId: 'CenId',
22883
23055
  cenName: 'CenName',
23056
+ cloudFirewallVpcOrderType: 'CloudFirewallVpcOrderType',
22884
23057
  firewallId: 'FirewallId',
22885
23058
  firewallSwitchStatus: 'FirewallSwitchStatus',
22886
23059
  ipsConfig: 'IpsConfig',
@@ -22901,6 +23074,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Mo
22901
23074
  return {
22902
23075
  cenId: 'string',
22903
23076
  cenName: 'string',
23077
+ cloudFirewallVpcOrderType: 'string',
22904
23078
  firewallId: 'string',
22905
23079
  firewallSwitchStatus: 'string',
22906
23080
  ipsConfig: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig,
@@ -28027,6 +28201,10 @@ export default class Client extends OpenApi {
28027
28201
  query["NewResourceTag"] = request.newResourceTag;
28028
28202
  }
28029
28203
 
28204
+ if (!Util.isUnset(request.outStatistic)) {
28205
+ query["OutStatistic"] = request.outStatistic;
28206
+ }
28207
+
28030
28208
  if (!Util.isUnset(request.pageSize)) {
28031
28209
  query["PageSize"] = request.pageSize;
28032
28210
  }
@@ -28043,6 +28221,10 @@ export default class Client extends OpenApi {
28043
28221
  query["SearchItem"] = request.searchItem;
28044
28222
  }
28045
28223
 
28224
+ if (!Util.isUnset(request.sensitiveStatus)) {
28225
+ query["SensitiveStatus"] = request.sensitiveStatus;
28226
+ }
28227
+
28046
28228
  if (!Util.isUnset(request.sgStatus)) {
28047
28229
  query["SgStatus"] = request.sgStatus;
28048
28230
  }
@@ -28146,6 +28328,56 @@ export default class Client extends OpenApi {
28146
28328
  return await this.describeAssetRiskListWithOptions(request, runtime);
28147
28329
  }
28148
28330
 
28331
+ /**
28332
+ * 获取资产统计信息
28333
+ *
28334
+ * @param request - DescribeAssetStatisticRequest
28335
+ * @param runtime - runtime options for this request RuntimeOptions
28336
+ * @returns DescribeAssetStatisticResponse
28337
+ */
28338
+ async describeAssetStatisticWithOptions(request: DescribeAssetStatisticRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAssetStatisticResponse> {
28339
+ Util.validateModel(request);
28340
+ let query = { };
28341
+ if (!Util.isUnset(request.lang)) {
28342
+ query["Lang"] = request.lang;
28343
+ }
28344
+
28345
+ if (!Util.isUnset(request.lang)) {
28346
+ query["Lang"] = request.lang;
28347
+ }
28348
+
28349
+ if (!Util.isUnset(request.sourceIp)) {
28350
+ query["SourceIp"] = request.sourceIp;
28351
+ }
28352
+
28353
+ let req = new $OpenApi.OpenApiRequest({
28354
+ query: OpenApiUtil.query(query),
28355
+ });
28356
+ let params = new $OpenApi.Params({
28357
+ action: "DescribeAssetStatistic",
28358
+ version: "2017-12-07",
28359
+ protocol: "HTTPS",
28360
+ pathname: "/",
28361
+ method: "POST",
28362
+ authType: "AK",
28363
+ style: "RPC",
28364
+ reqBodyType: "formData",
28365
+ bodyType: "json",
28366
+ });
28367
+ return $tea.cast<DescribeAssetStatisticResponse>(await this.callApi(params, req, runtime), new DescribeAssetStatisticResponse({}));
28368
+ }
28369
+
28370
+ /**
28371
+ * 获取资产统计信息
28372
+ *
28373
+ * @param request - DescribeAssetStatisticRequest
28374
+ * @returns DescribeAssetStatisticResponse
28375
+ */
28376
+ async describeAssetStatistic(request: DescribeAssetStatisticRequest): Promise<DescribeAssetStatisticResponse> {
28377
+ let runtime = new $Util.RuntimeOptions({ });
28378
+ return await this.describeAssetStatisticWithOptions(request, runtime);
28379
+ }
28380
+
28149
28381
  /**
28150
28382
  * Queries the firewall risk level.
28151
28383
  *
@@ -33006,9 +33238,9 @@ export default class Client extends OpenApi {
33006
33238
  * Enables firewalls for specific assets.
33007
33239
  *
33008
33240
  * @remarks
33009
- * You can call the PutEnableFwSwitch operation to enable a firewall. After you enable a firewall, traffic passes through Cloud Firewall.
33010
- * ## Limits
33011
- * You can call this operation up to 5 times per second per account. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
33241
+ * You can call this operation to enable a firewall. After you enable a firewall, traffic passes through Cloud Firewall.
33242
+ * ## [](#qps-)Limits
33243
+ * You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
33012
33244
  *
33013
33245
  * @param request - PutEnableFwSwitchRequest
33014
33246
  * @param runtime - runtime options for this request RuntimeOptions
@@ -33058,9 +33290,9 @@ export default class Client extends OpenApi {
33058
33290
  * Enables firewalls for specific assets.
33059
33291
  *
33060
33292
  * @remarks
33061
- * You can call the PutEnableFwSwitch operation to enable a firewall. After you enable a firewall, traffic passes through Cloud Firewall.
33062
- * ## Limits
33063
- * You can call this operation up to 5 times per second per account. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
33293
+ * You can call this operation to enable a firewall. After you enable a firewall, traffic passes through Cloud Firewall.
33294
+ * ## [](#qps-)Limits
33295
+ * You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
33064
33296
  *
33065
33297
  * @param request - PutEnableFwSwitchRequest
33066
33298
  * @returns PutEnableFwSwitchResponse