@huaweicloud/huaweicloud-sdk-waf 3.1.175 → 3.1.176
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 +2 -2
- package/v1/WafClient.d.ts +478 -0
- package/v1/WafClient.d.ts.map +1 -1
- package/v1/WafClient.js +1183 -19
- package/v1/WafClient.js.map +1 -1
- package/v1/model/AlertNoticeConfig.d.ts +40 -0
- package/v1/model/AlertNoticeConfig.d.ts.map +1 -0
- package/v1/model/AlertNoticeConfig.js +91 -0
- package/v1/model/AlertNoticeConfig.js.map +1 -0
- package/v1/model/BacthCreateWhiteBlackIpRuleRequestBody.d.ts +28 -0
- package/v1/model/BacthCreateWhiteBlackIpRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BacthCreateWhiteBlackIpRuleRequestBody.js +66 -0
- package/v1/model/BacthCreateWhiteBlackIpRuleRequestBody.js.map +1 -0
- package/v1/model/BatchCreateAntiTamperRuleRequest.d.ts +17 -0
- package/v1/model/BatchCreateAntiTamperRuleRequest.d.ts.map +1 -0
- package/v1/model/BatchCreateAntiTamperRuleRequest.js +38 -0
- package/v1/model/BatchCreateAntiTamperRuleRequest.js.map +1 -0
- package/v1/model/BatchCreateAntiTamperRuleResponse.d.ts +17 -0
- package/v1/model/BatchCreateAntiTamperRuleResponse.d.ts.map +1 -0
- package/v1/model/BatchCreateAntiTamperRuleResponse.js +35 -0
- package/v1/model/BatchCreateAntiTamperRuleResponse.js.map +1 -0
- package/v1/model/BatchCreateAntiTamperRulesRequestBody.d.ts +14 -0
- package/v1/model/BatchCreateAntiTamperRulesRequestBody.d.ts.map +1 -0
- package/v1/model/BatchCreateAntiTamperRulesRequestBody.js +34 -0
- package/v1/model/BatchCreateAntiTamperRulesRequestBody.js.map +1 -0
- package/v1/model/BatchCreateAntileakageRuleRequest.d.ts +17 -0
- package/v1/model/BatchCreateAntileakageRuleRequest.d.ts.map +1 -0
- package/v1/model/BatchCreateAntileakageRuleRequest.js +38 -0
- package/v1/model/BatchCreateAntileakageRuleRequest.js.map +1 -0
- package/v1/model/BatchCreateAntileakageRuleRequestBody.d.ts +27 -0
- package/v1/model/BatchCreateAntileakageRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchCreateAntileakageRuleRequestBody.js +52 -0
- package/v1/model/BatchCreateAntileakageRuleRequestBody.js.map +1 -0
- package/v1/model/BatchCreateAntileakageRuleResponse.d.ts +24 -0
- package/v1/model/BatchCreateAntileakageRuleResponse.d.ts.map +1 -0
- package/v1/model/BatchCreateAntileakageRuleResponse.js +47 -0
- package/v1/model/BatchCreateAntileakageRuleResponse.js.map +1 -0
- package/v1/model/BatchCreateCcRuleRequest.d.ts +17 -0
- package/v1/model/BatchCreateCcRuleRequest.d.ts.map +1 -0
- package/v1/model/BatchCreateCcRuleRequest.js +38 -0
- package/v1/model/BatchCreateCcRuleRequest.js.map +1 -0
- package/v1/model/BatchCreateCcRuleRequestBody.d.ts +70 -0
- package/v1/model/BatchCreateCcRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchCreateCcRuleRequestBody.js +150 -0
- package/v1/model/BatchCreateCcRuleRequestBody.js.map +1 -0
- package/v1/model/BatchCreateCcRuleResponse.d.ts +91 -0
- package/v1/model/BatchCreateCcRuleResponse.d.ts.map +1 -0
- package/v1/model/BatchCreateCcRuleResponse.js +187 -0
- package/v1/model/BatchCreateCcRuleResponse.js.map +1 -0
- package/v1/model/BatchCreateCustomRuleRequest.d.ts +17 -0
- package/v1/model/BatchCreateCustomRuleRequest.d.ts.map +1 -0
- package/v1/model/BatchCreateCustomRuleRequest.js +38 -0
- package/v1/model/BatchCreateCustomRuleRequest.js.map +1 -0
- package/v1/model/BatchCreateCustomRuleRequestBody.d.ts +26 -0
- package/v1/model/BatchCreateCustomRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchCreateCustomRuleRequestBody.js +57 -0
- package/v1/model/BatchCreateCustomRuleRequestBody.js.map +1 -0
- package/v1/model/BatchCreateCustomRuleResponse.d.ts +37 -0
- package/v1/model/BatchCreateCustomRuleResponse.d.ts.map +1 -0
- package/v1/model/BatchCreateCustomRuleResponse.js +73 -0
- package/v1/model/BatchCreateCustomRuleResponse.js.map +1 -0
- package/v1/model/BatchCreateGeoIpRuleRequest.d.ts +15 -0
- package/v1/model/BatchCreateGeoIpRuleRequest.d.ts.map +1 -0
- package/v1/model/BatchCreateGeoIpRuleRequest.js +34 -0
- package/v1/model/BatchCreateGeoIpRuleRequest.js.map +1 -0
- package/v1/model/BatchCreateGeoIpRuleRequestBody.d.ts +20 -0
- package/v1/model/BatchCreateGeoIpRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchCreateGeoIpRuleRequestBody.js +49 -0
- package/v1/model/BatchCreateGeoIpRuleRequestBody.js.map +1 -0
- package/v1/model/BatchCreateGeoIpRuleResponse.d.ts +25 -0
- package/v1/model/BatchCreateGeoIpRuleResponse.d.ts.map +1 -0
- package/v1/model/BatchCreateGeoIpRuleResponse.js +53 -0
- package/v1/model/BatchCreateGeoIpRuleResponse.js.map +1 -0
- package/v1/model/BatchCreateIgnoreRuleRequest.d.ts +17 -0
- package/v1/model/BatchCreateIgnoreRuleRequest.d.ts.map +1 -0
- package/v1/model/BatchCreateIgnoreRuleRequest.js +38 -0
- package/v1/model/BatchCreateIgnoreRuleRequest.js.map +1 -0
- package/v1/model/BatchCreateIgnoreRuleRequestBody.d.ts +22 -0
- package/v1/model/BatchCreateIgnoreRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchCreateIgnoreRuleRequestBody.js +48 -0
- package/v1/model/BatchCreateIgnoreRuleRequestBody.js.map +1 -0
- package/v1/model/BatchCreateIgnoreRuleResponse.d.ts +31 -0
- package/v1/model/BatchCreateIgnoreRuleResponse.d.ts.map +1 -0
- package/v1/model/BatchCreateIgnoreRuleResponse.js +59 -0
- package/v1/model/BatchCreateIgnoreRuleResponse.js.map +1 -0
- package/v1/model/BatchCreateIpReputationRuleRequest.d.ts +17 -0
- package/v1/model/BatchCreateIpReputationRuleRequest.d.ts.map +1 -0
- package/v1/model/BatchCreateIpReputationRuleRequest.js +38 -0
- package/v1/model/BatchCreateIpReputationRuleRequest.js.map +1 -0
- package/v1/model/BatchCreateIpReputationRuleRequestBody.d.ts +19 -0
- package/v1/model/BatchCreateIpReputationRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchCreateIpReputationRuleRequestBody.js +44 -0
- package/v1/model/BatchCreateIpReputationRuleRequestBody.js.map +1 -0
- package/v1/model/BatchCreateIpReputationRuleResponse.d.ts +26 -0
- package/v1/model/BatchCreateIpReputationRuleResponse.d.ts.map +1 -0
- package/v1/model/BatchCreateIpReputationRuleResponse.js +51 -0
- package/v1/model/BatchCreateIpReputationRuleResponse.js.map +1 -0
- package/v1/model/BatchCreatePrivacyRuleRequest.d.ts +17 -0
- package/v1/model/BatchCreatePrivacyRuleRequest.d.ts.map +1 -0
- package/v1/model/BatchCreatePrivacyRuleRequest.js +38 -0
- package/v1/model/BatchCreatePrivacyRuleRequest.js.map +1 -0
- package/v1/model/BatchCreatePrivacyRuleRequestBody.d.ts +26 -0
- package/v1/model/BatchCreatePrivacyRuleRequestBody.d.ts.map +1 -0
- package/v1/model/BatchCreatePrivacyRuleRequestBody.js +50 -0
- package/v1/model/BatchCreatePrivacyRuleRequestBody.js.map +1 -0
- package/v1/model/BatchCreatePrivacyRuleResponse.d.ts +31 -0
- package/v1/model/BatchCreatePrivacyRuleResponse.d.ts.map +1 -0
- package/v1/model/BatchCreatePrivacyRuleResponse.js +54 -0
- package/v1/model/BatchCreatePrivacyRuleResponse.js.map +1 -0
- package/v1/model/BatchCreateWhiteblackipRuleRequest.d.ts +17 -0
- package/v1/model/BatchCreateWhiteblackipRuleRequest.d.ts.map +1 -0
- package/v1/model/BatchCreateWhiteblackipRuleRequest.js +38 -0
- package/v1/model/BatchCreateWhiteblackipRuleRequest.js.map +1 -0
- package/v1/model/BatchCreateWhiteblackipRuleResponse.d.ts +34 -0
- package/v1/model/BatchCreateWhiteblackipRuleResponse.d.ts.map +1 -0
- package/v1/model/BatchCreateWhiteblackipRuleResponse.js +71 -0
- package/v1/model/BatchCreateWhiteblackipRuleResponse.js.map +1 -0
- package/v1/model/BatchDeleteAlertNoticeConfigBody.d.ts +9 -0
- package/v1/model/BatchDeleteAlertNoticeConfigBody.d.ts.map +1 -0
- package/v1/model/BatchDeleteAlertNoticeConfigBody.js +20 -0
- package/v1/model/BatchDeleteAlertNoticeConfigBody.js.map +1 -0
- package/v1/model/BatchDeleteAlertNoticeConfigRequest.d.ts +17 -0
- package/v1/model/BatchDeleteAlertNoticeConfigRequest.d.ts.map +1 -0
- package/v1/model/BatchDeleteAlertNoticeConfigRequest.js +40 -0
- package/v1/model/BatchDeleteAlertNoticeConfigRequest.js.map +1 -0
- package/v1/model/BatchDeleteAlertNoticeConfigResponse.d.ts +10 -0
- package/v1/model/BatchDeleteAlertNoticeConfigResponse.d.ts.map +1 -0
- package/v1/model/BatchDeleteAlertNoticeConfigResponse.js +21 -0
- package/v1/model/BatchDeleteAlertNoticeConfigResponse.js.map +1 -0
- package/v1/model/CreateAgencyRequest.d.ts +11 -0
- package/v1/model/CreateAgencyRequest.d.ts.map +1 -0
- package/v1/model/CreateAgencyRequest.js +24 -0
- package/v1/model/CreateAgencyRequest.js.map +1 -0
- package/v1/model/CreateAgencyResponse.d.ts +21 -0
- package/v1/model/CreateAgencyResponse.d.ts.map +1 -0
- package/v1/model/CreateAgencyResponse.js +47 -0
- package/v1/model/CreateAgencyResponse.js.map +1 -0
- package/v1/model/CreateAlertNoticeConfigBody.d.ts +42 -0
- package/v1/model/CreateAlertNoticeConfigBody.d.ts.map +1 -0
- package/v1/model/CreateAlertNoticeConfigBody.js +104 -0
- package/v1/model/CreateAlertNoticeConfigBody.js.map +1 -0
- package/v1/model/CreateAlertNoticeConfigRequest.d.ts +17 -0
- package/v1/model/CreateAlertNoticeConfigRequest.d.ts.map +1 -0
- package/v1/model/CreateAlertNoticeConfigRequest.js +40 -0
- package/v1/model/CreateAlertNoticeConfigRequest.js.map +1 -0
- package/v1/model/CreateAlertNoticeConfigResponse.d.ts +47 -0
- package/v1/model/CreateAlertNoticeConfigResponse.d.ts.map +1 -0
- package/v1/model/CreateAlertNoticeConfigResponse.js +109 -0
- package/v1/model/CreateAlertNoticeConfigResponse.js.map +1 -0
- package/v1/model/CreateCertificateRequest.d.ts +4 -0
- package/v1/model/CreateCertificateRequest.d.ts.map +1 -1
- package/v1/model/CreateCertificateRequest.js +10 -0
- package/v1/model/CreateCertificateRequest.js.map +1 -1
- package/v1/model/CreateQuickAccessDomainRequest.d.ts +16 -0
- package/v1/model/CreateQuickAccessDomainRequest.d.ts.map +1 -0
- package/v1/model/CreateQuickAccessDomainRequest.js +40 -0
- package/v1/model/CreateQuickAccessDomainRequest.js.map +1 -0
- package/v1/model/CreateQuickAccessDomainResponse.d.ts +13 -0
- package/v1/model/CreateQuickAccessDomainResponse.d.ts.map +1 -0
- package/v1/model/CreateQuickAccessDomainResponse.js +29 -0
- package/v1/model/CreateQuickAccessDomainResponse.js.map +1 -0
- package/v1/model/DeleteAgencyRequest.d.ts +14 -0
- package/v1/model/DeleteAgencyRequest.d.ts.map +1 -0
- package/v1/model/DeleteAgencyRequest.js +34 -0
- package/v1/model/DeleteAgencyRequest.js.map +1 -0
- package/v1/model/DeleteAgencyResponse.d.ts +21 -0
- package/v1/model/DeleteAgencyResponse.d.ts.map +1 -0
- package/v1/model/DeleteAgencyResponse.js +47 -0
- package/v1/model/DeleteAgencyResponse.js.map +1 -0
- package/v1/model/DeleteAlertNoticeConfigBody.d.ts +6 -0
- package/v1/model/DeleteAlertNoticeConfigBody.d.ts.map +1 -0
- package/v1/model/DeleteAlertNoticeConfigBody.js +13 -0
- package/v1/model/DeleteAlertNoticeConfigBody.js.map +1 -0
- package/v1/model/ListCcRulesRequest.d.ts +10 -0
- package/v1/model/ListCcRulesRequest.d.ts.map +1 -1
- package/v1/model/ListCcRulesRequest.js +22 -0
- package/v1/model/ListCcRulesRequest.js.map +1 -1
- package/v1/model/PremiumWafAgencyRequest.d.ts +8 -0
- package/v1/model/PremiumWafAgencyRequest.d.ts.map +1 -0
- package/v1/model/PremiumWafAgencyRequest.js +19 -0
- package/v1/model/PremiumWafAgencyRequest.js.map +1 -0
- package/v1/model/ResourceResponse.d.ts +6 -0
- package/v1/model/ResourceResponse.d.ts.map +1 -1
- package/v1/model/ResourceResponse.js +12 -0
- package/v1/model/ResourceResponse.js.map +1 -1
- package/v1/model/UpdateIpReputationRuleRequest.d.ts +23 -0
- package/v1/model/UpdateIpReputationRuleRequest.d.ts.map +1 -0
- package/v1/model/UpdateIpReputationRuleRequest.js +56 -0
- package/v1/model/UpdateIpReputationRuleRequest.js.map +1 -0
- package/v1/model/UpdateIpReputationRuleRequestBody.d.ts +17 -0
- package/v1/model/UpdateIpReputationRuleRequestBody.d.ts.map +1 -0
- package/v1/model/UpdateIpReputationRuleRequestBody.js +37 -0
- package/v1/model/UpdateIpReputationRuleRequestBody.js.map +1 -0
- package/v1/model/UpdateIpReputationRuleResponse.d.ts +28 -0
- package/v1/model/UpdateIpReputationRuleResponse.d.ts.map +1 -0
- package/v1/model/UpdateIpReputationRuleResponse.js +55 -0
- package/v1/model/UpdateIpReputationRuleResponse.js.map +1 -0
- package/v1/model/UpdatePremiumInstanceRequest.d.ts +11 -0
- package/v1/model/UpdatePremiumInstanceRequest.d.ts.map +1 -0
- package/v1/model/UpdatePremiumInstanceRequest.js +24 -0
- package/v1/model/UpdatePremiumInstanceRequest.js.map +1 -0
- package/v1/model/UpdatePremiumInstanceRequestBody.d.ts +8 -0
- package/v1/model/UpdatePremiumInstanceRequestBody.d.ts.map +1 -0
- package/v1/model/UpdatePremiumInstanceRequestBody.js +18 -0
- package/v1/model/UpdatePremiumInstanceRequestBody.js.map +1 -0
- package/v1/model/UpdatePremiumInstanceResponse.d.ts +82 -0
- package/v1/model/UpdatePremiumInstanceResponse.d.ts.map +1 -0
- package/v1/model/UpdatePremiumInstanceResponse.js +187 -0
- package/v1/model/UpdatePremiumInstanceResponse.js.map +1 -0
- package/v1/public-api.d.ts +48 -0
- package/v1/public-api.d.ts.map +1 -1
- package/v1/public-api.js +48 -0
- package/v1/public-api.js.map +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateIgnoreRuleRequestBody = void 0;
|
|
4
|
+
class BatchCreateIgnoreRuleRequestBody {
|
|
5
|
+
constructor(domain, conditions, mode, rule, policyIds) {
|
|
6
|
+
this['domain'] = domain;
|
|
7
|
+
this['conditions'] = conditions;
|
|
8
|
+
this['mode'] = mode;
|
|
9
|
+
this['rule'] = rule;
|
|
10
|
+
this['policy_ids'] = policyIds;
|
|
11
|
+
}
|
|
12
|
+
withDomain(domain) {
|
|
13
|
+
this['domain'] = domain;
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
withConditions(conditions) {
|
|
17
|
+
this['conditions'] = conditions;
|
|
18
|
+
return this;
|
|
19
|
+
}
|
|
20
|
+
withMode(mode) {
|
|
21
|
+
this['mode'] = mode;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
withRule(rule) {
|
|
25
|
+
this['rule'] = rule;
|
|
26
|
+
return this;
|
|
27
|
+
}
|
|
28
|
+
withAdvanced(advanced) {
|
|
29
|
+
this['advanced'] = advanced;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
withDescription(description) {
|
|
33
|
+
this['description'] = description;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
withPolicyIds(policyIds) {
|
|
37
|
+
this['policy_ids'] = policyIds;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
set policyIds(policyIds) {
|
|
41
|
+
this['policy_ids'] = policyIds;
|
|
42
|
+
}
|
|
43
|
+
get policyIds() {
|
|
44
|
+
return this['policy_ids'];
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.BatchCreateIgnoreRuleRequestBody = BatchCreateIgnoreRuleRequestBody;
|
|
48
|
+
//# sourceMappingURL=BatchCreateIgnoreRuleRequestBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateIgnoreRuleRequestBody.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateIgnoreRuleRequestBody.ts"],"names":[],"mappings":";;;AAIA,MAAa,gCAAgC;IAQzC,YAAmB,MAAsB,EAAE,UAAmC,EAAE,IAAa,EAAE,IAAa,EAAE,SAAyB;QACnI,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,IAAI,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;QAChC,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACM,UAAU,CAAC,MAAqB;QACnC,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,cAAc,CAAC,UAAkC;QACpD,IAAI,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;QAChC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAwB;QACxC,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,eAAe,CAAC,WAAmB;QACtC,IAAI,CAAC,aAAa,CAAC,GAAG,WAAW,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,aAAa,CAAC,SAAwB;QACzC,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,SAAS,CAAC,SAAqC;QACtD,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACD,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC;IAC9B,CAAC;CACJ;AAjDD,4EAiDC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Condition } from './Condition';
|
|
2
|
+
import { IgnoreAdvanced } from './IgnoreAdvanced';
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
export declare class BatchCreateIgnoreRuleResponse extends SdkResponse {
|
|
5
|
+
id?: string;
|
|
6
|
+
policyid?: string;
|
|
7
|
+
timestamp?: number;
|
|
8
|
+
description?: string;
|
|
9
|
+
status?: number;
|
|
10
|
+
rule?: string;
|
|
11
|
+
mode?: number;
|
|
12
|
+
conditions?: Array<Condition>;
|
|
13
|
+
multiCondition?: boolean;
|
|
14
|
+
producer?: number;
|
|
15
|
+
advanced?: IgnoreAdvanced;
|
|
16
|
+
domain?: Array<string>;
|
|
17
|
+
constructor();
|
|
18
|
+
withId(id: string): BatchCreateIgnoreRuleResponse;
|
|
19
|
+
withPolicyid(policyid: string): BatchCreateIgnoreRuleResponse;
|
|
20
|
+
withTimestamp(timestamp: number): BatchCreateIgnoreRuleResponse;
|
|
21
|
+
withDescription(description: string): BatchCreateIgnoreRuleResponse;
|
|
22
|
+
withStatus(status: number): BatchCreateIgnoreRuleResponse;
|
|
23
|
+
withRule(rule: string): BatchCreateIgnoreRuleResponse;
|
|
24
|
+
withMode(mode: number): BatchCreateIgnoreRuleResponse;
|
|
25
|
+
withConditions(conditions: Array<Condition>): BatchCreateIgnoreRuleResponse;
|
|
26
|
+
withMultiCondition(multiCondition: boolean): BatchCreateIgnoreRuleResponse;
|
|
27
|
+
withProducer(producer: number): BatchCreateIgnoreRuleResponse;
|
|
28
|
+
withAdvanced(advanced: IgnoreAdvanced): BatchCreateIgnoreRuleResponse;
|
|
29
|
+
withDomain(domain: Array<string>): BatchCreateIgnoreRuleResponse;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=BatchCreateIgnoreRuleResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateIgnoreRuleResponse.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateIgnoreRuleResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,6BAA8B,SAAQ,WAAW;IACnD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;;IAIvB,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,6BAA6B;IAIjD,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,6BAA6B;IAI7D,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,6BAA6B;IAI/D,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,6BAA6B;IAInE,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,6BAA6B;IAIzD,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,6BAA6B;IAIrD,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,6BAA6B;IAIrD,cAAc,CAAC,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,6BAA6B;IAI3E,kBAAkB,CAAC,cAAc,EAAE,OAAO,GAAG,6BAA6B;IAI1E,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,6BAA6B;IAI7D,YAAY,CAAC,QAAQ,EAAE,cAAc,GAAG,6BAA6B;IAIrE,UAAU,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,6BAA6B;CAI1E"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateIgnoreRuleResponse = void 0;
|
|
4
|
+
const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
5
|
+
class BatchCreateIgnoreRuleResponse extends SdkResponse_1.SdkResponse {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
}
|
|
9
|
+
withId(id) {
|
|
10
|
+
this['id'] = id;
|
|
11
|
+
return this;
|
|
12
|
+
}
|
|
13
|
+
withPolicyid(policyid) {
|
|
14
|
+
this['policyid'] = policyid;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
withTimestamp(timestamp) {
|
|
18
|
+
this['timestamp'] = timestamp;
|
|
19
|
+
return this;
|
|
20
|
+
}
|
|
21
|
+
withDescription(description) {
|
|
22
|
+
this['description'] = description;
|
|
23
|
+
return this;
|
|
24
|
+
}
|
|
25
|
+
withStatus(status) {
|
|
26
|
+
this['status'] = status;
|
|
27
|
+
return this;
|
|
28
|
+
}
|
|
29
|
+
withRule(rule) {
|
|
30
|
+
this['rule'] = rule;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
withMode(mode) {
|
|
34
|
+
this['mode'] = mode;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
withConditions(conditions) {
|
|
38
|
+
this['conditions'] = conditions;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
withMultiCondition(multiCondition) {
|
|
42
|
+
this['multiCondition'] = multiCondition;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
withProducer(producer) {
|
|
46
|
+
this['producer'] = producer;
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
49
|
+
withAdvanced(advanced) {
|
|
50
|
+
this['advanced'] = advanced;
|
|
51
|
+
return this;
|
|
52
|
+
}
|
|
53
|
+
withDomain(domain) {
|
|
54
|
+
this['domain'] = domain;
|
|
55
|
+
return this;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.BatchCreateIgnoreRuleResponse = BatchCreateIgnoreRuleResponse;
|
|
59
|
+
//# sourceMappingURL=BatchCreateIgnoreRuleResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateIgnoreRuleResponse.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateIgnoreRuleResponse.ts"],"names":[],"mappings":";;;AAGA,+EAA4E;AAE5E,MAAa,6BAA8B,SAAQ,yBAAW;IAa1D;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IACM,MAAM,CAAC,EAAU;QACpB,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;QAChB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,aAAa,CAAC,SAAiB;QAClC,IAAI,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;QAC9B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,eAAe,CAAC,WAAmB;QACtC,IAAI,CAAC,aAAa,CAAC,GAAG,WAAW,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,cAAc,CAAC,UAA4B;QAC9C,IAAI,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;QAChC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,kBAAkB,CAAC,cAAuB;QAC7C,IAAI,CAAC,gBAAgB,CAAC,GAAG,cAAc,CAAC;QACxC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAwB;QACxC,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAqB;QACnC,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAhED,sEAgEC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BatchCreateIpReputationRuleRequestBody } from './BatchCreateIpReputationRuleRequestBody';
|
|
2
|
+
export declare class BatchCreateIpReputationRuleRequest {
|
|
3
|
+
policyids?: string;
|
|
4
|
+
private 'enterprise_project_id'?;
|
|
5
|
+
private 'Content-Type'?;
|
|
6
|
+
body?: BatchCreateIpReputationRuleRequestBody;
|
|
7
|
+
constructor(contentType?: string);
|
|
8
|
+
withPolicyids(policyids: string): BatchCreateIpReputationRuleRequest;
|
|
9
|
+
withEnterpriseProjectId(enterpriseProjectId: string): BatchCreateIpReputationRuleRequest;
|
|
10
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
|
11
|
+
get enterpriseProjectId(): string | undefined;
|
|
12
|
+
withContentType(contentType: string): BatchCreateIpReputationRuleRequest;
|
|
13
|
+
set contentType(contentType: string | undefined);
|
|
14
|
+
get contentType(): string | undefined;
|
|
15
|
+
withBody(body: BatchCreateIpReputationRuleRequestBody): BatchCreateIpReputationRuleRequest;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=BatchCreateIpReputationRuleRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateIpReputationRuleRequest.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateIpReputationRuleRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAGlG,qBAAa,kCAAkC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,uBAAuB,CAAC,CAAS;IACzC,OAAO,CAAC,cAAc,CAAC,CAAS;IACzB,IAAI,CAAC,EAAE,sCAAsC,CAAC;gBAClC,WAAW,CAAC,EAAE,MAAM;IAGhC,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,kCAAkC;IAIpE,uBAAuB,CAAC,mBAAmB,EAAE,MAAM,GAAG,kCAAkC;IAI/F,IAAW,mBAAmB,CAAC,mBAAmB,EAAE,MAAM,GAAI,SAAS,EAEtE;IACD,IAAW,mBAAmB,IAAI,MAAM,GAAG,SAAS,CAEnD;IACM,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,kCAAkC;IAI/E,IAAW,WAAW,CAAC,WAAW,EAAE,MAAM,GAAI,SAAS,EAEtD;IACD,IAAW,WAAW,IAAI,MAAM,GAAG,SAAS,CAE3C;IACM,QAAQ,CAAC,IAAI,EAAE,sCAAsC,GAAG,kCAAkC;CAIpG"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateIpReputationRuleRequest = void 0;
|
|
4
|
+
class BatchCreateIpReputationRuleRequest {
|
|
5
|
+
constructor(contentType) {
|
|
6
|
+
this['Content-Type'] = contentType;
|
|
7
|
+
}
|
|
8
|
+
withPolicyids(policyids) {
|
|
9
|
+
this['policyids'] = policyids;
|
|
10
|
+
return this;
|
|
11
|
+
}
|
|
12
|
+
withEnterpriseProjectId(enterpriseProjectId) {
|
|
13
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
set enterpriseProjectId(enterpriseProjectId) {
|
|
17
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
18
|
+
}
|
|
19
|
+
get enterpriseProjectId() {
|
|
20
|
+
return this['enterprise_project_id'];
|
|
21
|
+
}
|
|
22
|
+
withContentType(contentType) {
|
|
23
|
+
this['Content-Type'] = contentType;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
set contentType(contentType) {
|
|
27
|
+
this['Content-Type'] = contentType;
|
|
28
|
+
}
|
|
29
|
+
get contentType() {
|
|
30
|
+
return this['Content-Type'];
|
|
31
|
+
}
|
|
32
|
+
withBody(body) {
|
|
33
|
+
this['body'] = body;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.BatchCreateIpReputationRuleRequest = BatchCreateIpReputationRuleRequest;
|
|
38
|
+
//# sourceMappingURL=BatchCreateIpReputationRuleRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateIpReputationRuleRequest.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateIpReputationRuleRequest.ts"],"names":[],"mappings":";;;AAGA,MAAa,kCAAkC;IAK3C,YAAmB,WAAoB;QACnC,IAAI,CAAC,cAAc,CAAC,GAAG,WAAW,CAAC;IACvC,CAAC;IACM,aAAa,CAAC,SAAiB;QAClC,IAAI,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;QAC9B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,uBAAuB,CAAC,mBAA2B;QACtD,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;QACpD,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,mBAAmB,CAAC,mBAAwC;QACnE,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;IACxD,CAAC;IACD,IAAW,mBAAmB;QAC1B,OAAO,IAAI,CAAC,uBAAuB,CAAC,CAAC;IACzC,CAAC;IACM,eAAe,CAAC,WAAmB;QACtC,IAAI,CAAC,cAAc,CAAC,GAAG,WAAW,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,WAAW,CAAC,WAAgC;QACnD,IAAI,CAAC,cAAc,CAAC,GAAG,WAAW,CAAC;IACvC,CAAC;IACD,IAAW,WAAW;QAClB,OAAO,IAAI,CAAC,cAAc,CAAC,CAAC;IAChC,CAAC;IACM,QAAQ,CAAC,IAA4C;QACxD,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AApCD,gFAoCC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UpdateIpReputationRuleRequestBodyAction } from './UpdateIpReputationRuleRequestBodyAction';
|
|
2
|
+
export declare class BatchCreateIpReputationRuleRequestBody {
|
|
3
|
+
name?: string;
|
|
4
|
+
type?: string;
|
|
5
|
+
tags?: Array<string>;
|
|
6
|
+
action?: UpdateIpReputationRuleRequestBodyAction;
|
|
7
|
+
description?: string;
|
|
8
|
+
private 'policy_ids'?;
|
|
9
|
+
constructor(name?: string, type?: string, tags?: Array<string>, action?: UpdateIpReputationRuleRequestBodyAction, policyIds?: Array<string>);
|
|
10
|
+
withName(name: string): BatchCreateIpReputationRuleRequestBody;
|
|
11
|
+
withType(type: string): BatchCreateIpReputationRuleRequestBody;
|
|
12
|
+
withTags(tags: Array<string>): BatchCreateIpReputationRuleRequestBody;
|
|
13
|
+
withAction(action: UpdateIpReputationRuleRequestBodyAction): BatchCreateIpReputationRuleRequestBody;
|
|
14
|
+
withDescription(description: string): BatchCreateIpReputationRuleRequestBody;
|
|
15
|
+
withPolicyIds(policyIds: Array<string>): BatchCreateIpReputationRuleRequestBody;
|
|
16
|
+
set policyIds(policyIds: Array<string> | undefined);
|
|
17
|
+
get policyIds(): Array<string> | undefined;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=BatchCreateIpReputationRuleRequestBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateIpReputationRuleRequestBody.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateIpReputationRuleRequestBody.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uCAAuC,EAAE,MAAM,2CAA2C,CAAC;AAGpG,qBAAa,sCAAsC;IACxC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,MAAM,CAAC,EAAE,uCAAuC,CAAC;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IAC5B,OAAO,CAAC,YAAY,CAAC,CAAgB;gBAClB,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,EAAE,uCAAuC,EAAE,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC;IAO3I,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,sCAAsC;IAI9D,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,sCAAsC;IAI9D,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,sCAAsC;IAIrE,UAAU,CAAC,MAAM,EAAE,uCAAuC,GAAG,sCAAsC;IAInG,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,sCAAsC;IAI5E,aAAa,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,sCAAsC;IAItF,IAAW,SAAS,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,GAAI,SAAS,EAEzD;IACD,IAAW,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAEhD;CACJ"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateIpReputationRuleRequestBody = void 0;
|
|
4
|
+
class BatchCreateIpReputationRuleRequestBody {
|
|
5
|
+
constructor(name, type, tags, action, policyIds) {
|
|
6
|
+
this['name'] = name;
|
|
7
|
+
this['type'] = type;
|
|
8
|
+
this['tags'] = tags;
|
|
9
|
+
this['action'] = action;
|
|
10
|
+
this['policy_ids'] = policyIds;
|
|
11
|
+
}
|
|
12
|
+
withName(name) {
|
|
13
|
+
this['name'] = name;
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
withType(type) {
|
|
17
|
+
this['type'] = type;
|
|
18
|
+
return this;
|
|
19
|
+
}
|
|
20
|
+
withTags(tags) {
|
|
21
|
+
this['tags'] = tags;
|
|
22
|
+
return this;
|
|
23
|
+
}
|
|
24
|
+
withAction(action) {
|
|
25
|
+
this['action'] = action;
|
|
26
|
+
return this;
|
|
27
|
+
}
|
|
28
|
+
withDescription(description) {
|
|
29
|
+
this['description'] = description;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
withPolicyIds(policyIds) {
|
|
33
|
+
this['policy_ids'] = policyIds;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
set policyIds(policyIds) {
|
|
37
|
+
this['policy_ids'] = policyIds;
|
|
38
|
+
}
|
|
39
|
+
get policyIds() {
|
|
40
|
+
return this['policy_ids'];
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.BatchCreateIpReputationRuleRequestBody = BatchCreateIpReputationRuleRequestBody;
|
|
44
|
+
//# sourceMappingURL=BatchCreateIpReputationRuleRequestBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateIpReputationRuleRequestBody.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateIpReputationRuleRequestBody.ts"],"names":[],"mappings":";;;AAGA,MAAa,sCAAsC;IAO/C,YAAmB,IAAa,EAAE,IAAa,EAAE,IAAoB,EAAE,MAAgD,EAAE,SAAyB;QAC9I,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACM,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,QAAQ,CAAC,IAAmB;QAC/B,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAA+C;QAC7D,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,eAAe,CAAC,WAAmB;QACtC,IAAI,CAAC,aAAa,CAAC,GAAG,WAAW,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,aAAa,CAAC,SAAwB;QACzC,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,SAAS,CAAC,SAAqC;QACtD,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACD,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC;IAC9B,CAAC;CACJ;AA5CD,wFA4CC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CreateIpReputationRuleResponseBodyAction } from './CreateIpReputationRuleResponseBodyAction';
|
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
3
|
+
export declare class BatchCreateIpReputationRuleResponse extends SdkResponse {
|
|
4
|
+
id?: string;
|
|
5
|
+
policyid?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
policyname?: string;
|
|
8
|
+
timestamp?: number;
|
|
9
|
+
description?: string;
|
|
10
|
+
status?: number;
|
|
11
|
+
type?: string;
|
|
12
|
+
tags?: Array<string>;
|
|
13
|
+
action?: CreateIpReputationRuleResponseBodyAction;
|
|
14
|
+
constructor();
|
|
15
|
+
withId(id: string): BatchCreateIpReputationRuleResponse;
|
|
16
|
+
withPolicyid(policyid: string): BatchCreateIpReputationRuleResponse;
|
|
17
|
+
withName(name: string): BatchCreateIpReputationRuleResponse;
|
|
18
|
+
withPolicyname(policyname: string): BatchCreateIpReputationRuleResponse;
|
|
19
|
+
withTimestamp(timestamp: number): BatchCreateIpReputationRuleResponse;
|
|
20
|
+
withDescription(description: string): BatchCreateIpReputationRuleResponse;
|
|
21
|
+
withStatus(status: number): BatchCreateIpReputationRuleResponse;
|
|
22
|
+
withType(type: string): BatchCreateIpReputationRuleResponse;
|
|
23
|
+
withTags(tags: Array<string>): BatchCreateIpReputationRuleResponse;
|
|
24
|
+
withAction(action: CreateIpReputationRuleResponseBodyAction): BatchCreateIpReputationRuleResponse;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=BatchCreateIpReputationRuleResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateIpReputationRuleResponse.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateIpReputationRuleResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wCAAwC,EAAE,MAAM,4CAA4C,CAAC;AAEtG,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,mCAAoC,SAAQ,WAAW;IACzD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,MAAM,CAAC,EAAE,wCAAwC,CAAC;;IAIlD,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,mCAAmC;IAIvD,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,mCAAmC;IAInE,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,mCAAmC;IAI3D,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,mCAAmC;IAIvE,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,mCAAmC;IAIrE,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,mCAAmC;IAIzE,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,mCAAmC;IAI/D,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,mCAAmC;IAI3D,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,mCAAmC;IAIlE,UAAU,CAAC,MAAM,EAAE,wCAAwC,GAAG,mCAAmC;CAI3G"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateIpReputationRuleResponse = void 0;
|
|
4
|
+
const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
5
|
+
class BatchCreateIpReputationRuleResponse extends SdkResponse_1.SdkResponse {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
}
|
|
9
|
+
withId(id) {
|
|
10
|
+
this['id'] = id;
|
|
11
|
+
return this;
|
|
12
|
+
}
|
|
13
|
+
withPolicyid(policyid) {
|
|
14
|
+
this['policyid'] = policyid;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
withName(name) {
|
|
18
|
+
this['name'] = name;
|
|
19
|
+
return this;
|
|
20
|
+
}
|
|
21
|
+
withPolicyname(policyname) {
|
|
22
|
+
this['policyname'] = policyname;
|
|
23
|
+
return this;
|
|
24
|
+
}
|
|
25
|
+
withTimestamp(timestamp) {
|
|
26
|
+
this['timestamp'] = timestamp;
|
|
27
|
+
return this;
|
|
28
|
+
}
|
|
29
|
+
withDescription(description) {
|
|
30
|
+
this['description'] = description;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
withStatus(status) {
|
|
34
|
+
this['status'] = status;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
withType(type) {
|
|
38
|
+
this['type'] = type;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
withTags(tags) {
|
|
42
|
+
this['tags'] = tags;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
withAction(action) {
|
|
46
|
+
this['action'] = action;
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.BatchCreateIpReputationRuleResponse = BatchCreateIpReputationRuleResponse;
|
|
51
|
+
//# sourceMappingURL=BatchCreateIpReputationRuleResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateIpReputationRuleResponse.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateIpReputationRuleResponse.ts"],"names":[],"mappings":";;;AAEA,+EAA4E;AAE5E,MAAa,mCAAoC,SAAQ,yBAAW;IAWhE;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IACM,MAAM,CAAC,EAAU;QACpB,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;QAChB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,cAAc,CAAC,UAAkB;QACpC,IAAI,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;QAChC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,aAAa,CAAC,SAAiB;QAClC,IAAI,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;QAC9B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,eAAe,CAAC,WAAmB;QACtC,IAAI,CAAC,aAAa,CAAC,GAAG,WAAW,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,QAAQ,CAAC,IAAmB;QAC/B,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAgD;QAC9D,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAtDD,kFAsDC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BatchCreatePrivacyRuleRequestBody } from './BatchCreatePrivacyRuleRequestBody';
|
|
2
|
+
export declare class BatchCreatePrivacyRuleRequest {
|
|
3
|
+
policyids?: string;
|
|
4
|
+
private 'enterprise_project_id'?;
|
|
5
|
+
private 'Content-Type'?;
|
|
6
|
+
body?: BatchCreatePrivacyRuleRequestBody;
|
|
7
|
+
constructor(contentType?: string);
|
|
8
|
+
withPolicyids(policyids: string): BatchCreatePrivacyRuleRequest;
|
|
9
|
+
withEnterpriseProjectId(enterpriseProjectId: string): BatchCreatePrivacyRuleRequest;
|
|
10
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
|
11
|
+
get enterpriseProjectId(): string | undefined;
|
|
12
|
+
withContentType(contentType: string): BatchCreatePrivacyRuleRequest;
|
|
13
|
+
set contentType(contentType: string | undefined);
|
|
14
|
+
get contentType(): string | undefined;
|
|
15
|
+
withBody(body: BatchCreatePrivacyRuleRequestBody): BatchCreatePrivacyRuleRequest;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=BatchCreatePrivacyRuleRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreatePrivacyRuleRequest.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreatePrivacyRuleRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAGxF,qBAAa,6BAA6B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,uBAAuB,CAAC,CAAS;IACzC,OAAO,CAAC,cAAc,CAAC,CAAS;IACzB,IAAI,CAAC,EAAE,iCAAiC,CAAC;gBAC7B,WAAW,CAAC,EAAE,MAAM;IAGhC,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,6BAA6B;IAI/D,uBAAuB,CAAC,mBAAmB,EAAE,MAAM,GAAG,6BAA6B;IAI1F,IAAW,mBAAmB,CAAC,mBAAmB,EAAE,MAAM,GAAI,SAAS,EAEtE;IACD,IAAW,mBAAmB,IAAI,MAAM,GAAG,SAAS,CAEnD;IACM,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,6BAA6B;IAI1E,IAAW,WAAW,CAAC,WAAW,EAAE,MAAM,GAAI,SAAS,EAEtD;IACD,IAAW,WAAW,IAAI,MAAM,GAAG,SAAS,CAE3C;IACM,QAAQ,CAAC,IAAI,EAAE,iCAAiC,GAAG,6BAA6B;CAI1F"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreatePrivacyRuleRequest = void 0;
|
|
4
|
+
class BatchCreatePrivacyRuleRequest {
|
|
5
|
+
constructor(contentType) {
|
|
6
|
+
this['Content-Type'] = contentType;
|
|
7
|
+
}
|
|
8
|
+
withPolicyids(policyids) {
|
|
9
|
+
this['policyids'] = policyids;
|
|
10
|
+
return this;
|
|
11
|
+
}
|
|
12
|
+
withEnterpriseProjectId(enterpriseProjectId) {
|
|
13
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
14
|
+
return this;
|
|
15
|
+
}
|
|
16
|
+
set enterpriseProjectId(enterpriseProjectId) {
|
|
17
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
18
|
+
}
|
|
19
|
+
get enterpriseProjectId() {
|
|
20
|
+
return this['enterprise_project_id'];
|
|
21
|
+
}
|
|
22
|
+
withContentType(contentType) {
|
|
23
|
+
this['Content-Type'] = contentType;
|
|
24
|
+
return this;
|
|
25
|
+
}
|
|
26
|
+
set contentType(contentType) {
|
|
27
|
+
this['Content-Type'] = contentType;
|
|
28
|
+
}
|
|
29
|
+
get contentType() {
|
|
30
|
+
return this['Content-Type'];
|
|
31
|
+
}
|
|
32
|
+
withBody(body) {
|
|
33
|
+
this['body'] = body;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.BatchCreatePrivacyRuleRequest = BatchCreatePrivacyRuleRequest;
|
|
38
|
+
//# sourceMappingURL=BatchCreatePrivacyRuleRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreatePrivacyRuleRequest.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreatePrivacyRuleRequest.ts"],"names":[],"mappings":";;;AAGA,MAAa,6BAA6B;IAKtC,YAAmB,WAAoB;QACnC,IAAI,CAAC,cAAc,CAAC,GAAG,WAAW,CAAC;IACvC,CAAC;IACM,aAAa,CAAC,SAAiB;QAClC,IAAI,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;QAC9B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,uBAAuB,CAAC,mBAA2B;QACtD,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;QACpD,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,mBAAmB,CAAC,mBAAwC;QACnE,IAAI,CAAC,uBAAuB,CAAC,GAAG,mBAAmB,CAAC;IACxD,CAAC;IACD,IAAW,mBAAmB;QAC1B,OAAO,IAAI,CAAC,uBAAuB,CAAC,CAAC;IACzC,CAAC;IACM,eAAe,CAAC,WAAmB;QACtC,IAAI,CAAC,cAAc,CAAC,GAAG,WAAW,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,WAAW,CAAC,WAAgC;QACnD,IAAI,CAAC,cAAc,CAAC,GAAG,WAAW,CAAC;IACvC,CAAC;IACD,IAAW,WAAW;QAClB,OAAO,IAAI,CAAC,cAAc,CAAC,CAAC;IAChC,CAAC;IACM,QAAQ,CAAC,IAAuC;QACnD,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AApCD,sEAoCC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare class BatchCreatePrivacyRuleRequestBody {
|
|
2
|
+
url?: string;
|
|
3
|
+
category?: BatchCreatePrivacyRuleRequestBodyCategoryEnum | string;
|
|
4
|
+
index?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
private 'policy_ids'?;
|
|
7
|
+
constructor(url?: string, category?: string, index?: string, policyIds?: Array<string>);
|
|
8
|
+
withUrl(url: string): BatchCreatePrivacyRuleRequestBody;
|
|
9
|
+
withCategory(category: BatchCreatePrivacyRuleRequestBodyCategoryEnum | string): BatchCreatePrivacyRuleRequestBody;
|
|
10
|
+
withIndex(index: string): BatchCreatePrivacyRuleRequestBody;
|
|
11
|
+
withDescription(description: string): BatchCreatePrivacyRuleRequestBody;
|
|
12
|
+
withPolicyIds(policyIds: Array<string>): BatchCreatePrivacyRuleRequestBody;
|
|
13
|
+
set policyIds(policyIds: Array<string> | undefined);
|
|
14
|
+
get policyIds(): Array<string> | undefined;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @export
|
|
18
|
+
* @enum {string}
|
|
19
|
+
*/
|
|
20
|
+
export declare enum BatchCreatePrivacyRuleRequestBodyCategoryEnum {
|
|
21
|
+
PARAMS = "params",
|
|
22
|
+
COOKIE = "cookie",
|
|
23
|
+
HEADER = "header",
|
|
24
|
+
FORM = "form"
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=BatchCreatePrivacyRuleRequestBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreatePrivacyRuleRequestBody.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreatePrivacyRuleRequestBody.ts"],"names":[],"mappings":"AAEA,qBAAa,iCAAiC;IACnC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,6CAA6C,GAAG,MAAM,CAAC;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IAC5B,OAAO,CAAC,YAAY,CAAC,CAAgB;gBAClB,GAAG,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC;IAMtF,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,iCAAiC;IAIvD,YAAY,CAAC,QAAQ,EAAE,6CAA6C,GAAG,MAAM,GAAG,iCAAiC;IAIjH,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,iCAAiC;IAI3D,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,iCAAiC;IAIvE,aAAa,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,iCAAiC;IAIjF,IAAW,SAAS,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,GAAI,SAAS,EAEzD;IACD,IAAW,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAEhD;CACJ;AAED;;;MAGM;AACN,oBAAY,6CAA6C;IACrD,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;CAChB"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreatePrivacyRuleRequestBodyCategoryEnum = exports.BatchCreatePrivacyRuleRequestBody = void 0;
|
|
4
|
+
class BatchCreatePrivacyRuleRequestBody {
|
|
5
|
+
constructor(url, category, index, policyIds) {
|
|
6
|
+
this['url'] = url;
|
|
7
|
+
this['category'] = category;
|
|
8
|
+
this['index'] = index;
|
|
9
|
+
this['policy_ids'] = policyIds;
|
|
10
|
+
}
|
|
11
|
+
withUrl(url) {
|
|
12
|
+
this['url'] = url;
|
|
13
|
+
return this;
|
|
14
|
+
}
|
|
15
|
+
withCategory(category) {
|
|
16
|
+
this['category'] = category;
|
|
17
|
+
return this;
|
|
18
|
+
}
|
|
19
|
+
withIndex(index) {
|
|
20
|
+
this['index'] = index;
|
|
21
|
+
return this;
|
|
22
|
+
}
|
|
23
|
+
withDescription(description) {
|
|
24
|
+
this['description'] = description;
|
|
25
|
+
return this;
|
|
26
|
+
}
|
|
27
|
+
withPolicyIds(policyIds) {
|
|
28
|
+
this['policy_ids'] = policyIds;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
set policyIds(policyIds) {
|
|
32
|
+
this['policy_ids'] = policyIds;
|
|
33
|
+
}
|
|
34
|
+
get policyIds() {
|
|
35
|
+
return this['policy_ids'];
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.BatchCreatePrivacyRuleRequestBody = BatchCreatePrivacyRuleRequestBody;
|
|
39
|
+
/**
|
|
40
|
+
* @export
|
|
41
|
+
* @enum {string}
|
|
42
|
+
*/
|
|
43
|
+
var BatchCreatePrivacyRuleRequestBodyCategoryEnum;
|
|
44
|
+
(function (BatchCreatePrivacyRuleRequestBodyCategoryEnum) {
|
|
45
|
+
BatchCreatePrivacyRuleRequestBodyCategoryEnum["PARAMS"] = "params";
|
|
46
|
+
BatchCreatePrivacyRuleRequestBodyCategoryEnum["COOKIE"] = "cookie";
|
|
47
|
+
BatchCreatePrivacyRuleRequestBodyCategoryEnum["HEADER"] = "header";
|
|
48
|
+
BatchCreatePrivacyRuleRequestBodyCategoryEnum["FORM"] = "form";
|
|
49
|
+
})(BatchCreatePrivacyRuleRequestBodyCategoryEnum = exports.BatchCreatePrivacyRuleRequestBodyCategoryEnum || (exports.BatchCreatePrivacyRuleRequestBodyCategoryEnum = {}));
|
|
50
|
+
//# sourceMappingURL=BatchCreatePrivacyRuleRequestBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreatePrivacyRuleRequestBody.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreatePrivacyRuleRequestBody.ts"],"names":[],"mappings":";;;AAEA,MAAa,iCAAiC;IAM1C,YAAmB,GAAY,EAAE,QAAiB,EAAE,KAAc,EAAE,SAAyB;QACzF,IAAI,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC;QAClB,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACM,OAAO,CAAC,GAAW;QACtB,IAAI,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC;QAClB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAgE;QAChF,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,eAAe,CAAC,WAAmB;QACtC,IAAI,CAAC,aAAa,CAAC,GAAG,WAAW,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,aAAa,CAAC,SAAwB;QACzC,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,SAAS,CAAC,SAAqC;QACtD,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACD,IAAW,SAAS;QAChB,OAAO,IAAI,CAAC,YAAY,CAAC,CAAC;IAC9B,CAAC;CACJ;AAtCD,8EAsCC;AAED;;;MAGM;AACN,IAAY,6CAKX;AALD,WAAY,6CAA6C;IACrD,kEAAiB,CAAA;IACjB,kEAAiB,CAAA;IACjB,kEAAiB,CAAA;IACjB,8DAAa,CAAA;AACjB,CAAC,EALW,6CAA6C,GAA7C,qDAA6C,KAA7C,qDAA6C,QAKxD"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
|
+
export declare class BatchCreatePrivacyRuleResponse extends SdkResponse {
|
|
3
|
+
id?: string;
|
|
4
|
+
policyid?: string;
|
|
5
|
+
timestamp?: number;
|
|
6
|
+
status?: number;
|
|
7
|
+
url?: string;
|
|
8
|
+
category?: BatchCreatePrivacyRuleResponseCategoryEnum | string;
|
|
9
|
+
index?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
constructor();
|
|
12
|
+
withId(id: string): BatchCreatePrivacyRuleResponse;
|
|
13
|
+
withPolicyid(policyid: string): BatchCreatePrivacyRuleResponse;
|
|
14
|
+
withTimestamp(timestamp: number): BatchCreatePrivacyRuleResponse;
|
|
15
|
+
withStatus(status: number): BatchCreatePrivacyRuleResponse;
|
|
16
|
+
withUrl(url: string): BatchCreatePrivacyRuleResponse;
|
|
17
|
+
withCategory(category: BatchCreatePrivacyRuleResponseCategoryEnum | string): BatchCreatePrivacyRuleResponse;
|
|
18
|
+
withIndex(index: string): BatchCreatePrivacyRuleResponse;
|
|
19
|
+
withDescription(description: string): BatchCreatePrivacyRuleResponse;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
* @enum {string}
|
|
24
|
+
*/
|
|
25
|
+
export declare enum BatchCreatePrivacyRuleResponseCategoryEnum {
|
|
26
|
+
PARAMS = "params",
|
|
27
|
+
COOKIE = "cookie",
|
|
28
|
+
HEADER = "header",
|
|
29
|
+
FORM = "form"
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=BatchCreatePrivacyRuleResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreatePrivacyRuleResponse.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreatePrivacyRuleResponse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,8BAA+B,SAAQ,WAAW;IACpD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,0CAA0C,GAAG,MAAM,CAAC;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;;IAIrB,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,8BAA8B;IAIlD,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,8BAA8B;IAI9D,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,8BAA8B;IAIhE,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,8BAA8B;IAI1D,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,8BAA8B;IAIpD,YAAY,CAAC,QAAQ,EAAE,0CAA0C,GAAG,MAAM,GAAG,8BAA8B;IAI3G,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,8BAA8B;IAIxD,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,8BAA8B;CAI9E;AAED;;;MAGM;AACN,oBAAY,0CAA0C;IAClD,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;CAChB"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreatePrivacyRuleResponseCategoryEnum = exports.BatchCreatePrivacyRuleResponse = void 0;
|
|
4
|
+
const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
5
|
+
class BatchCreatePrivacyRuleResponse extends SdkResponse_1.SdkResponse {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
}
|
|
9
|
+
withId(id) {
|
|
10
|
+
this['id'] = id;
|
|
11
|
+
return this;
|
|
12
|
+
}
|
|
13
|
+
withPolicyid(policyid) {
|
|
14
|
+
this['policyid'] = policyid;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
withTimestamp(timestamp) {
|
|
18
|
+
this['timestamp'] = timestamp;
|
|
19
|
+
return this;
|
|
20
|
+
}
|
|
21
|
+
withStatus(status) {
|
|
22
|
+
this['status'] = status;
|
|
23
|
+
return this;
|
|
24
|
+
}
|
|
25
|
+
withUrl(url) {
|
|
26
|
+
this['url'] = url;
|
|
27
|
+
return this;
|
|
28
|
+
}
|
|
29
|
+
withCategory(category) {
|
|
30
|
+
this['category'] = category;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
withIndex(index) {
|
|
34
|
+
this['index'] = index;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
withDescription(description) {
|
|
38
|
+
this['description'] = description;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.BatchCreatePrivacyRuleResponse = BatchCreatePrivacyRuleResponse;
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
* @enum {string}
|
|
46
|
+
*/
|
|
47
|
+
var BatchCreatePrivacyRuleResponseCategoryEnum;
|
|
48
|
+
(function (BatchCreatePrivacyRuleResponseCategoryEnum) {
|
|
49
|
+
BatchCreatePrivacyRuleResponseCategoryEnum["PARAMS"] = "params";
|
|
50
|
+
BatchCreatePrivacyRuleResponseCategoryEnum["COOKIE"] = "cookie";
|
|
51
|
+
BatchCreatePrivacyRuleResponseCategoryEnum["HEADER"] = "header";
|
|
52
|
+
BatchCreatePrivacyRuleResponseCategoryEnum["FORM"] = "form";
|
|
53
|
+
})(BatchCreatePrivacyRuleResponseCategoryEnum = exports.BatchCreatePrivacyRuleResponseCategoryEnum || (exports.BatchCreatePrivacyRuleResponseCategoryEnum = {}));
|
|
54
|
+
//# sourceMappingURL=BatchCreatePrivacyRuleResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreatePrivacyRuleResponse.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreatePrivacyRuleResponse.ts"],"names":[],"mappings":";;;AACA,+EAA4E;AAE5E,MAAa,8BAA+B,SAAQ,yBAAW;IAS3D;QACI,KAAK,EAAE,CAAC;IACZ,CAAC;IACM,MAAM,CAAC,EAAU;QACpB,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;QAChB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,aAAa,CAAC,SAAiB;QAClC,IAAI,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;QAC9B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,OAAO,CAAC,GAAW;QACtB,IAAI,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC;QAClB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAA6D;QAC7E,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,eAAe,CAAC,WAAmB;QACtC,IAAI,CAAC,aAAa,CAAC,GAAG,WAAW,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AA5CD,wEA4CC;AAED;;;MAGM;AACN,IAAY,0CAKX;AALD,WAAY,0CAA0C;IAClD,+DAAiB,CAAA;IACjB,+DAAiB,CAAA;IACjB,+DAAiB,CAAA;IACjB,2DAAa,CAAA;AACjB,CAAC,EALW,0CAA0C,GAA1C,kDAA0C,KAA1C,kDAA0C,QAKrD"}
|