@alicloud/cloudfw20171207 3.1.0 → 3.2.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/dist/client.d.ts +105 -9
- package/dist/client.js +157 -14
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +200 -9
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -5209,6 +5209,83 @@ export class DescribeAssetRiskListResponse extends $tea.Model {
|
|
|
5209
5209
|
}
|
|
5210
5210
|
}
|
|
5211
5211
|
|
|
5212
|
+
export class DescribeAssetStatisticRequest extends $tea.Model {
|
|
5213
|
+
/**
|
|
5214
|
+
* @example
|
|
5215
|
+
* zh
|
|
5216
|
+
*/
|
|
5217
|
+
lang?: string;
|
|
5218
|
+
sourceIp?: string;
|
|
5219
|
+
static names(): { [key: string]: string } {
|
|
5220
|
+
return {
|
|
5221
|
+
lang: 'Lang',
|
|
5222
|
+
sourceIp: 'SourceIp',
|
|
5223
|
+
};
|
|
5224
|
+
}
|
|
5225
|
+
|
|
5226
|
+
static types(): { [key: string]: any } {
|
|
5227
|
+
return {
|
|
5228
|
+
lang: 'string',
|
|
5229
|
+
sourceIp: 'string',
|
|
5230
|
+
};
|
|
5231
|
+
}
|
|
5232
|
+
|
|
5233
|
+
constructor(map?: { [key: string]: any }) {
|
|
5234
|
+
super(map);
|
|
5235
|
+
}
|
|
5236
|
+
}
|
|
5237
|
+
|
|
5238
|
+
export class DescribeAssetStatisticResponseBody extends $tea.Model {
|
|
5239
|
+
/**
|
|
5240
|
+
* @example
|
|
5241
|
+
* 850A84******25g4d2
|
|
5242
|
+
*/
|
|
5243
|
+
requestId?: string;
|
|
5244
|
+
resourceSpecStatistic?: DescribeAssetStatisticResponseBodyResourceSpecStatistic;
|
|
5245
|
+
static names(): { [key: string]: string } {
|
|
5246
|
+
return {
|
|
5247
|
+
requestId: 'RequestId',
|
|
5248
|
+
resourceSpecStatistic: 'ResourceSpecStatistic',
|
|
5249
|
+
};
|
|
5250
|
+
}
|
|
5251
|
+
|
|
5252
|
+
static types(): { [key: string]: any } {
|
|
5253
|
+
return {
|
|
5254
|
+
requestId: 'string',
|
|
5255
|
+
resourceSpecStatistic: DescribeAssetStatisticResponseBodyResourceSpecStatistic,
|
|
5256
|
+
};
|
|
5257
|
+
}
|
|
5258
|
+
|
|
5259
|
+
constructor(map?: { [key: string]: any }) {
|
|
5260
|
+
super(map);
|
|
5261
|
+
}
|
|
5262
|
+
}
|
|
5263
|
+
|
|
5264
|
+
export class DescribeAssetStatisticResponse extends $tea.Model {
|
|
5265
|
+
headers?: { [key: string]: string };
|
|
5266
|
+
statusCode?: number;
|
|
5267
|
+
body?: DescribeAssetStatisticResponseBody;
|
|
5268
|
+
static names(): { [key: string]: string } {
|
|
5269
|
+
return {
|
|
5270
|
+
headers: 'headers',
|
|
5271
|
+
statusCode: 'statusCode',
|
|
5272
|
+
body: 'body',
|
|
5273
|
+
};
|
|
5274
|
+
}
|
|
5275
|
+
|
|
5276
|
+
static types(): { [key: string]: any } {
|
|
5277
|
+
return {
|
|
5278
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5279
|
+
statusCode: 'number',
|
|
5280
|
+
body: DescribeAssetStatisticResponseBody,
|
|
5281
|
+
};
|
|
5282
|
+
}
|
|
5283
|
+
|
|
5284
|
+
constructor(map?: { [key: string]: any }) {
|
|
5285
|
+
super(map);
|
|
5286
|
+
}
|
|
5287
|
+
}
|
|
5288
|
+
|
|
5212
5289
|
export class DescribeCfwRiskLevelSummaryRequest extends $tea.Model {
|
|
5213
5290
|
/**
|
|
5214
5291
|
* @remarks
|
|
@@ -7591,9 +7668,7 @@ export class DescribeNatFirewallListRequest extends $tea.Model {
|
|
|
7591
7668
|
* @remarks
|
|
7592
7669
|
* The number of entries per page.
|
|
7593
7670
|
*
|
|
7594
|
-
* Default value: 10
|
|
7595
|
-
*
|
|
7596
|
-
* Maximum value: 50.
|
|
7671
|
+
* Default value: **10**.**** Maximum value: **50**.
|
|
7597
7672
|
*
|
|
7598
7673
|
* @example
|
|
7599
7674
|
* 10
|
|
@@ -9665,6 +9740,9 @@ export class DescribeRiskEventPayloadResponseBody extends $tea.Model {
|
|
|
9665
9740
|
* vpc-bp10w5nb30r4jzfyc****
|
|
9666
9741
|
*/
|
|
9667
9742
|
dstVpcId?: string;
|
|
9743
|
+
hitContentType?: number;
|
|
9744
|
+
hitTo?: number;
|
|
9745
|
+
parsedContent?: string;
|
|
9668
9746
|
/**
|
|
9669
9747
|
* @remarks
|
|
9670
9748
|
* The attack payload of the intrusion event.
|
|
@@ -9745,6 +9823,9 @@ export class DescribeRiskEventPayloadResponseBody extends $tea.Model {
|
|
|
9745
9823
|
dstIP: 'DstIP',
|
|
9746
9824
|
dstPort: 'DstPort',
|
|
9747
9825
|
dstVpcId: 'DstVpcId',
|
|
9826
|
+
hitContentType: 'HitContentType',
|
|
9827
|
+
hitTo: 'HitTo',
|
|
9828
|
+
parsedContent: 'ParsedContent',
|
|
9748
9829
|
payload: 'Payload',
|
|
9749
9830
|
payloadLen: 'PayloadLen',
|
|
9750
9831
|
proto: 'Proto',
|
|
@@ -9762,6 +9843,9 @@ export class DescribeRiskEventPayloadResponseBody extends $tea.Model {
|
|
|
9762
9843
|
dstIP: 'string',
|
|
9763
9844
|
dstPort: 'number',
|
|
9764
9845
|
dstVpcId: 'string',
|
|
9846
|
+
hitContentType: 'number',
|
|
9847
|
+
hitTo: 'number',
|
|
9848
|
+
parsedContent: 'string',
|
|
9765
9849
|
payload: 'string',
|
|
9766
9850
|
payloadLen: 'number',
|
|
9767
9851
|
proto: 'string',
|
|
@@ -18583,6 +18667,36 @@ export class DescribeAssetRiskListResponseBodyAssetList extends $tea.Model {
|
|
|
18583
18667
|
}
|
|
18584
18668
|
}
|
|
18585
18669
|
|
|
18670
|
+
export class DescribeAssetStatisticResponseBodyResourceSpecStatistic extends $tea.Model {
|
|
18671
|
+
/**
|
|
18672
|
+
* @example
|
|
18673
|
+
* 20
|
|
18674
|
+
*/
|
|
18675
|
+
ipNumSpec?: number;
|
|
18676
|
+
/**
|
|
18677
|
+
* @example
|
|
18678
|
+
* 10
|
|
18679
|
+
*/
|
|
18680
|
+
ipNumUsed?: number;
|
|
18681
|
+
static names(): { [key: string]: string } {
|
|
18682
|
+
return {
|
|
18683
|
+
ipNumSpec: 'IpNumSpec',
|
|
18684
|
+
ipNumUsed: 'IpNumUsed',
|
|
18685
|
+
};
|
|
18686
|
+
}
|
|
18687
|
+
|
|
18688
|
+
static types(): { [key: string]: any } {
|
|
18689
|
+
return {
|
|
18690
|
+
ipNumSpec: 'number',
|
|
18691
|
+
ipNumUsed: 'number',
|
|
18692
|
+
};
|
|
18693
|
+
}
|
|
18694
|
+
|
|
18695
|
+
constructor(map?: { [key: string]: any }) {
|
|
18696
|
+
super(map);
|
|
18697
|
+
}
|
|
18698
|
+
}
|
|
18699
|
+
|
|
18586
18700
|
export class DescribeCfwRiskLevelSummaryResponseBodyRiskList extends $tea.Model {
|
|
18587
18701
|
/**
|
|
18588
18702
|
* @remarks
|
|
@@ -20968,6 +21082,7 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
|
|
|
20968
21082
|
* The application ports.
|
|
20969
21083
|
*/
|
|
20970
21084
|
applicationPortList?: DescribeOutgoingDestinationIPResponseBodyDstIPListApplicationPortList[];
|
|
21085
|
+
assetCount?: number;
|
|
20971
21086
|
/**
|
|
20972
21087
|
* @remarks
|
|
20973
21088
|
* The type of the tag. Valid values:
|
|
@@ -21059,6 +21174,7 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
|
|
|
21059
21174
|
* true
|
|
21060
21175
|
*/
|
|
21061
21176
|
isMarkNormal?: boolean;
|
|
21177
|
+
locationName?: string;
|
|
21062
21178
|
/**
|
|
21063
21179
|
* @remarks
|
|
21064
21180
|
* The outbound traffic. Unit: bytes.
|
|
@@ -21067,6 +21183,7 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
|
|
|
21067
21183
|
* 965
|
|
21068
21184
|
*/
|
|
21069
21185
|
outBytes?: number;
|
|
21186
|
+
privateAssetCount?: number;
|
|
21070
21187
|
/**
|
|
21071
21188
|
* @remarks
|
|
21072
21189
|
* The UUID of the access control policy.
|
|
@@ -21131,6 +21248,7 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
|
|
|
21131
21248
|
aclStatus: 'AclStatus',
|
|
21132
21249
|
addressGroupList: 'AddressGroupList',
|
|
21133
21250
|
applicationPortList: 'ApplicationPortList',
|
|
21251
|
+
assetCount: 'AssetCount',
|
|
21134
21252
|
categoryClassId: 'CategoryClassId',
|
|
21135
21253
|
categoryId: 'CategoryId',
|
|
21136
21254
|
categoryName: 'CategoryName',
|
|
@@ -21140,7 +21258,9 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
|
|
|
21140
21258
|
hasAclRecommend: 'HasAclRecommend',
|
|
21141
21259
|
inBytes: 'InBytes',
|
|
21142
21260
|
isMarkNormal: 'IsMarkNormal',
|
|
21261
|
+
locationName: 'LocationName',
|
|
21143
21262
|
outBytes: 'OutBytes',
|
|
21263
|
+
privateAssetCount: 'PrivateAssetCount',
|
|
21144
21264
|
ruleId: 'RuleId',
|
|
21145
21265
|
ruleName: 'RuleName',
|
|
21146
21266
|
securityReason: 'SecurityReason',
|
|
@@ -21158,6 +21278,7 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
|
|
|
21158
21278
|
aclStatus: 'string',
|
|
21159
21279
|
addressGroupList: { 'type': 'array', 'itemType': DescribeOutgoingDestinationIPResponseBodyDstIPListAddressGroupList },
|
|
21160
21280
|
applicationPortList: { 'type': 'array', 'itemType': DescribeOutgoingDestinationIPResponseBodyDstIPListApplicationPortList },
|
|
21281
|
+
assetCount: 'number',
|
|
21161
21282
|
categoryClassId: 'string',
|
|
21162
21283
|
categoryId: 'string',
|
|
21163
21284
|
categoryName: 'string',
|
|
@@ -21167,7 +21288,9 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
|
|
|
21167
21288
|
hasAclRecommend: 'boolean',
|
|
21168
21289
|
inBytes: 'number',
|
|
21169
21290
|
isMarkNormal: 'boolean',
|
|
21291
|
+
locationName: 'string',
|
|
21170
21292
|
outBytes: 'number',
|
|
21293
|
+
privateAssetCount: 'number',
|
|
21171
21294
|
ruleId: 'string',
|
|
21172
21295
|
ruleName: 'string',
|
|
21173
21296
|
securityReason: 'string',
|
|
@@ -21304,6 +21427,8 @@ export class DescribeOutgoingDomainResponseBodyDomainList extends $tea.Model {
|
|
|
21304
21427
|
* fdad-fdafa-dafa-dfa****
|
|
21305
21428
|
*/
|
|
21306
21429
|
addressGroupUUID?: string;
|
|
21430
|
+
applicationNameList?: string[];
|
|
21431
|
+
assetCount?: number;
|
|
21307
21432
|
/**
|
|
21308
21433
|
* @remarks
|
|
21309
21434
|
* The website service.
|
|
@@ -21419,6 +21544,7 @@ export class DescribeOutgoingDomainResponseBodyDomainList extends $tea.Model {
|
|
|
21419
21544
|
* 4582
|
|
21420
21545
|
*/
|
|
21421
21546
|
outBytes?: number;
|
|
21547
|
+
privateAssetCount?: number;
|
|
21422
21548
|
/**
|
|
21423
21549
|
* @remarks
|
|
21424
21550
|
* The ID of the access control policy.
|
|
@@ -21483,6 +21609,8 @@ export class DescribeOutgoingDomainResponseBodyDomainList extends $tea.Model {
|
|
|
21483
21609
|
aclStatus: 'AclStatus',
|
|
21484
21610
|
addressGroupName: 'AddressGroupName',
|
|
21485
21611
|
addressGroupUUID: 'AddressGroupUUID',
|
|
21612
|
+
applicationNameList: 'ApplicationNameList',
|
|
21613
|
+
assetCount: 'AssetCount',
|
|
21486
21614
|
business: 'Business',
|
|
21487
21615
|
categoryClassId: 'CategoryClassId',
|
|
21488
21616
|
categoryId: 'CategoryId',
|
|
@@ -21495,6 +21623,7 @@ export class DescribeOutgoingDomainResponseBodyDomainList extends $tea.Model {
|
|
|
21495
21623
|
isMarkNormal: 'IsMarkNormal',
|
|
21496
21624
|
organization: 'Organization',
|
|
21497
21625
|
outBytes: 'OutBytes',
|
|
21626
|
+
privateAssetCount: 'PrivateAssetCount',
|
|
21498
21627
|
ruleId: 'RuleId',
|
|
21499
21628
|
ruleName: 'RuleName',
|
|
21500
21629
|
securityReason: 'SecurityReason',
|
|
@@ -21512,6 +21641,8 @@ export class DescribeOutgoingDomainResponseBodyDomainList extends $tea.Model {
|
|
|
21512
21641
|
aclStatus: 'string',
|
|
21513
21642
|
addressGroupName: 'string',
|
|
21514
21643
|
addressGroupUUID: 'string',
|
|
21644
|
+
applicationNameList: { 'type': 'array', 'itemType': 'string' },
|
|
21645
|
+
assetCount: 'number',
|
|
21515
21646
|
business: 'string',
|
|
21516
21647
|
categoryClassId: 'string',
|
|
21517
21648
|
categoryId: 'string',
|
|
@@ -21524,6 +21655,7 @@ export class DescribeOutgoingDomainResponseBodyDomainList extends $tea.Model {
|
|
|
21524
21655
|
isMarkNormal: 'boolean',
|
|
21525
21656
|
organization: 'string',
|
|
21526
21657
|
outBytes: 'number',
|
|
21658
|
+
privateAssetCount: 'number',
|
|
21527
21659
|
ruleId: 'string',
|
|
21528
21660
|
ruleName: 'string',
|
|
21529
21661
|
securityReason: 'string',
|
|
@@ -22643,6 +22775,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResourc
|
|
|
22643
22775
|
* 1
|
|
22644
22776
|
*/
|
|
22645
22777
|
count?: number;
|
|
22778
|
+
ecrList?: string[];
|
|
22646
22779
|
/**
|
|
22647
22780
|
* @remarks
|
|
22648
22781
|
* The protected peer transit routers.
|
|
@@ -22666,6 +22799,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResourc
|
|
|
22666
22799
|
static names(): { [key: string]: string } {
|
|
22667
22800
|
return {
|
|
22668
22801
|
count: 'Count',
|
|
22802
|
+
ecrList: 'EcrList',
|
|
22669
22803
|
peerTrList: 'PeerTrList',
|
|
22670
22804
|
vbrList: 'VbrList',
|
|
22671
22805
|
vpcList: 'VpcList',
|
|
@@ -22676,6 +22810,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResourc
|
|
|
22676
22810
|
static types(): { [key: string]: any } {
|
|
22677
22811
|
return {
|
|
22678
22812
|
count: 'number',
|
|
22813
|
+
ecrList: { 'type': 'array', 'itemType': 'string' },
|
|
22679
22814
|
peerTrList: { 'type': 'array', 'itemType': 'string' },
|
|
22680
22815
|
vbrList: { 'type': 'array', 'itemType': 'string' },
|
|
22681
22816
|
vpcList: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -22697,6 +22832,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResou
|
|
|
22697
22832
|
* 1
|
|
22698
22833
|
*/
|
|
22699
22834
|
count?: number;
|
|
22835
|
+
ecrList?: string[];
|
|
22700
22836
|
/**
|
|
22701
22837
|
* @remarks
|
|
22702
22838
|
* The unprotected peer transit routers.
|
|
@@ -22720,6 +22856,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResou
|
|
|
22720
22856
|
static names(): { [key: string]: string } {
|
|
22721
22857
|
return {
|
|
22722
22858
|
count: 'Count',
|
|
22859
|
+
ecrList: 'EcrList',
|
|
22723
22860
|
peerTrList: 'PeerTrList',
|
|
22724
22861
|
vbrList: 'VbrList',
|
|
22725
22862
|
vpcList: 'VpcList',
|
|
@@ -22730,6 +22867,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResou
|
|
|
22730
22867
|
static types(): { [key: string]: any } {
|
|
22731
22868
|
return {
|
|
22732
22869
|
count: 'number',
|
|
22870
|
+
ecrList: { 'type': 'array', 'itemType': 'string' },
|
|
22733
22871
|
peerTrList: { 'type': 'array', 'itemType': 'string' },
|
|
22734
22872
|
vbrList: { 'type': 'array', 'itemType': 'string' },
|
|
22735
22873
|
vpcList: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -22759,6 +22897,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Mo
|
|
|
22759
22897
|
* cen_swas
|
|
22760
22898
|
*/
|
|
22761
22899
|
cenName?: string;
|
|
22900
|
+
cloudFirewallVpcOrderType?: string;
|
|
22762
22901
|
/**
|
|
22763
22902
|
* @remarks
|
|
22764
22903
|
* The instance ID of the VPC firewall.
|
|
@@ -22881,6 +23020,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Mo
|
|
|
22881
23020
|
return {
|
|
22882
23021
|
cenId: 'CenId',
|
|
22883
23022
|
cenName: 'CenName',
|
|
23023
|
+
cloudFirewallVpcOrderType: 'CloudFirewallVpcOrderType',
|
|
22884
23024
|
firewallId: 'FirewallId',
|
|
22885
23025
|
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
22886
23026
|
ipsConfig: 'IpsConfig',
|
|
@@ -22901,6 +23041,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Mo
|
|
|
22901
23041
|
return {
|
|
22902
23042
|
cenId: 'string',
|
|
22903
23043
|
cenName: 'string',
|
|
23044
|
+
cloudFirewallVpcOrderType: 'string',
|
|
22904
23045
|
firewallId: 'string',
|
|
22905
23046
|
firewallSwitchStatus: 'string',
|
|
22906
23047
|
ipsConfig: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig,
|
|
@@ -28146,6 +28287,56 @@ export default class Client extends OpenApi {
|
|
|
28146
28287
|
return await this.describeAssetRiskListWithOptions(request, runtime);
|
|
28147
28288
|
}
|
|
28148
28289
|
|
|
28290
|
+
/**
|
|
28291
|
+
* 获取资产统计信息
|
|
28292
|
+
*
|
|
28293
|
+
* @param request - DescribeAssetStatisticRequest
|
|
28294
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
28295
|
+
* @returns DescribeAssetStatisticResponse
|
|
28296
|
+
*/
|
|
28297
|
+
async describeAssetStatisticWithOptions(request: DescribeAssetStatisticRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAssetStatisticResponse> {
|
|
28298
|
+
Util.validateModel(request);
|
|
28299
|
+
let query = { };
|
|
28300
|
+
if (!Util.isUnset(request.lang)) {
|
|
28301
|
+
query["Lang"] = request.lang;
|
|
28302
|
+
}
|
|
28303
|
+
|
|
28304
|
+
if (!Util.isUnset(request.lang)) {
|
|
28305
|
+
query["Lang"] = request.lang;
|
|
28306
|
+
}
|
|
28307
|
+
|
|
28308
|
+
if (!Util.isUnset(request.sourceIp)) {
|
|
28309
|
+
query["SourceIp"] = request.sourceIp;
|
|
28310
|
+
}
|
|
28311
|
+
|
|
28312
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
28313
|
+
query: OpenApiUtil.query(query),
|
|
28314
|
+
});
|
|
28315
|
+
let params = new $OpenApi.Params({
|
|
28316
|
+
action: "DescribeAssetStatistic",
|
|
28317
|
+
version: "2017-12-07",
|
|
28318
|
+
protocol: "HTTPS",
|
|
28319
|
+
pathname: "/",
|
|
28320
|
+
method: "POST",
|
|
28321
|
+
authType: "AK",
|
|
28322
|
+
style: "RPC",
|
|
28323
|
+
reqBodyType: "formData",
|
|
28324
|
+
bodyType: "json",
|
|
28325
|
+
});
|
|
28326
|
+
return $tea.cast<DescribeAssetStatisticResponse>(await this.callApi(params, req, runtime), new DescribeAssetStatisticResponse({}));
|
|
28327
|
+
}
|
|
28328
|
+
|
|
28329
|
+
/**
|
|
28330
|
+
* 获取资产统计信息
|
|
28331
|
+
*
|
|
28332
|
+
* @param request - DescribeAssetStatisticRequest
|
|
28333
|
+
* @returns DescribeAssetStatisticResponse
|
|
28334
|
+
*/
|
|
28335
|
+
async describeAssetStatistic(request: DescribeAssetStatisticRequest): Promise<DescribeAssetStatisticResponse> {
|
|
28336
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
28337
|
+
return await this.describeAssetStatisticWithOptions(request, runtime);
|
|
28338
|
+
}
|
|
28339
|
+
|
|
28149
28340
|
/**
|
|
28150
28341
|
* Queries the firewall risk level.
|
|
28151
28342
|
*
|
|
@@ -33006,9 +33197,9 @@ export default class Client extends OpenApi {
|
|
|
33006
33197
|
* Enables firewalls for specific assets.
|
|
33007
33198
|
*
|
|
33008
33199
|
* @remarks
|
|
33009
|
-
* You can call
|
|
33010
|
-
* ## Limits
|
|
33011
|
-
* You can call this operation up to
|
|
33200
|
+
* You can call this operation to enable a firewall. After you enable a firewall, traffic passes through Cloud Firewall.
|
|
33201
|
+
* ## [](#qps-)Limits
|
|
33202
|
+
* 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
33203
|
*
|
|
33013
33204
|
* @param request - PutEnableFwSwitchRequest
|
|
33014
33205
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -33058,9 +33249,9 @@ export default class Client extends OpenApi {
|
|
|
33058
33249
|
* Enables firewalls for specific assets.
|
|
33059
33250
|
*
|
|
33060
33251
|
* @remarks
|
|
33061
|
-
* You can call
|
|
33062
|
-
* ## Limits
|
|
33063
|
-
* You can call this operation up to
|
|
33252
|
+
* You can call this operation to enable a firewall. After you enable a firewall, traffic passes through Cloud Firewall.
|
|
33253
|
+
* ## [](#qps-)Limits
|
|
33254
|
+
* 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
33255
|
*
|
|
33065
33256
|
* @param request - PutEnableFwSwitchRequest
|
|
33066
33257
|
* @returns PutEnableFwSwitchResponse
|