@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,17 @@
|
|
|
1
|
+
import { BatchCreateCustomRuleRequestBody } from './BatchCreateCustomRuleRequestBody';
|
|
2
|
+
export declare class BatchCreateCustomRuleRequest {
|
|
3
|
+
policyids?: string;
|
|
4
|
+
private 'enterprise_project_id'?;
|
|
5
|
+
private 'Content-Type'?;
|
|
6
|
+
body?: BatchCreateCustomRuleRequestBody;
|
|
7
|
+
constructor(contentType?: string);
|
|
8
|
+
withPolicyids(policyids: string): BatchCreateCustomRuleRequest;
|
|
9
|
+
withEnterpriseProjectId(enterpriseProjectId: string): BatchCreateCustomRuleRequest;
|
|
10
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
|
11
|
+
get enterpriseProjectId(): string | undefined;
|
|
12
|
+
withContentType(contentType: string): BatchCreateCustomRuleRequest;
|
|
13
|
+
set contentType(contentType: string | undefined);
|
|
14
|
+
get contentType(): string | undefined;
|
|
15
|
+
withBody(body: BatchCreateCustomRuleRequestBody): BatchCreateCustomRuleRequest;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=BatchCreateCustomRuleRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateCustomRuleRequest.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateCustomRuleRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAGtF,qBAAa,4BAA4B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,uBAAuB,CAAC,CAAS;IACzC,OAAO,CAAC,cAAc,CAAC,CAAS;IACzB,IAAI,CAAC,EAAE,gCAAgC,CAAC;gBAC5B,WAAW,CAAC,EAAE,MAAM;IAGhC,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,4BAA4B;IAI9D,uBAAuB,CAAC,mBAAmB,EAAE,MAAM,GAAG,4BAA4B;IAIzF,IAAW,mBAAmB,CAAC,mBAAmB,EAAE,MAAM,GAAI,SAAS,EAEtE;IACD,IAAW,mBAAmB,IAAI,MAAM,GAAG,SAAS,CAEnD;IACM,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,4BAA4B;IAIzE,IAAW,WAAW,CAAC,WAAW,EAAE,MAAM,GAAI,SAAS,EAEtD;IACD,IAAW,WAAW,IAAI,MAAM,GAAG,SAAS,CAE3C;IACM,QAAQ,CAAC,IAAI,EAAE,gCAAgC,GAAG,4BAA4B;CAIxF"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateCustomRuleRequest = void 0;
|
|
4
|
+
class BatchCreateCustomRuleRequest {
|
|
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.BatchCreateCustomRuleRequest = BatchCreateCustomRuleRequest;
|
|
38
|
+
//# sourceMappingURL=BatchCreateCustomRuleRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateCustomRuleRequest.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateCustomRuleRequest.ts"],"names":[],"mappings":";;;AAGA,MAAa,4BAA4B;IAKrC,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,IAAsC;QAClD,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AApCD,oEAoCC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CustomAction } from './CustomAction';
|
|
2
|
+
import { CustomConditions } from './CustomConditions';
|
|
3
|
+
export declare class BatchCreateCustomRuleRequestBody {
|
|
4
|
+
time?: boolean;
|
|
5
|
+
start?: number;
|
|
6
|
+
terminal?: number;
|
|
7
|
+
description?: string;
|
|
8
|
+
conditions?: Array<CustomConditions>;
|
|
9
|
+
action?: CustomAction;
|
|
10
|
+
priority?: number;
|
|
11
|
+
name?: string;
|
|
12
|
+
private 'policy_ids'?;
|
|
13
|
+
constructor(time?: boolean, conditions?: Array<CustomConditions>, action?: CustomAction, priority?: number, name?: string, policyIds?: Array<string>);
|
|
14
|
+
withTime(time: boolean): BatchCreateCustomRuleRequestBody;
|
|
15
|
+
withStart(start: number): BatchCreateCustomRuleRequestBody;
|
|
16
|
+
withTerminal(terminal: number): BatchCreateCustomRuleRequestBody;
|
|
17
|
+
withDescription(description: string): BatchCreateCustomRuleRequestBody;
|
|
18
|
+
withConditions(conditions: Array<CustomConditions>): BatchCreateCustomRuleRequestBody;
|
|
19
|
+
withAction(action: CustomAction): BatchCreateCustomRuleRequestBody;
|
|
20
|
+
withPriority(priority: number): BatchCreateCustomRuleRequestBody;
|
|
21
|
+
withName(name: string): BatchCreateCustomRuleRequestBody;
|
|
22
|
+
withPolicyIds(policyIds: Array<string>): BatchCreateCustomRuleRequestBody;
|
|
23
|
+
set policyIds(policyIds: Array<string> | undefined);
|
|
24
|
+
get policyIds(): Array<string> | undefined;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=BatchCreateCustomRuleRequestBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateCustomRuleRequestBody.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateCustomRuleRequestBody.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,Y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C,MAAM,CAAC,GAAI,SAAS,EAEzD;IACD,IAAW,SAAS,IAAI,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAEhD;CACJ"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateCustomRuleRequestBody = void 0;
|
|
4
|
+
class BatchCreateCustomRuleRequestBody {
|
|
5
|
+
constructor(time, conditions, action, priority, name, policyIds) {
|
|
6
|
+
this['time'] = time;
|
|
7
|
+
this['conditions'] = conditions;
|
|
8
|
+
this['action'] = action;
|
|
9
|
+
this['priority'] = priority;
|
|
10
|
+
this['name'] = name;
|
|
11
|
+
this['policy_ids'] = policyIds;
|
|
12
|
+
}
|
|
13
|
+
withTime(time) {
|
|
14
|
+
this['time'] = time;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
withStart(start) {
|
|
18
|
+
this['start'] = start;
|
|
19
|
+
return this;
|
|
20
|
+
}
|
|
21
|
+
withTerminal(terminal) {
|
|
22
|
+
this['terminal'] = terminal;
|
|
23
|
+
return this;
|
|
24
|
+
}
|
|
25
|
+
withDescription(description) {
|
|
26
|
+
this['description'] = description;
|
|
27
|
+
return this;
|
|
28
|
+
}
|
|
29
|
+
withConditions(conditions) {
|
|
30
|
+
this['conditions'] = conditions;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
withAction(action) {
|
|
34
|
+
this['action'] = action;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
withPriority(priority) {
|
|
38
|
+
this['priority'] = priority;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
withName(name) {
|
|
42
|
+
this['name'] = name;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
withPolicyIds(policyIds) {
|
|
46
|
+
this['policy_ids'] = policyIds;
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
49
|
+
set policyIds(policyIds) {
|
|
50
|
+
this['policy_ids'] = policyIds;
|
|
51
|
+
}
|
|
52
|
+
get policyIds() {
|
|
53
|
+
return this['policy_ids'];
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.BatchCreateCustomRuleRequestBody = BatchCreateCustomRuleRequestBody;
|
|
57
|
+
//# sourceMappingURL=BatchCreateCustomRuleRequestBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateCustomRuleRequestBody.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateCustomRuleRequestBody.ts"],"names":[],"mappings":";;;AAIA,MAAa,gCAAgC;IAUzC,YAAmB,IAAc,EAAE,UAAoC,EAAE,MAAqB,EAAE,QAAiB,EAAE,IAAa,EAAE,SAAyB;QACvJ,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;QAChC,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,IAAI,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;QAC5B,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACnC,CAAC;IACM,QAAQ,CAAC,IAAa;QACzB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,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,cAAc,CAAC,UAAmC;QACrD,IAAI,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;QAChC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAoB;QAClC,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,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,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;AA5DD,4EA4DC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { CustomAction } from './CustomAction';
|
|
2
|
+
import { CustomRuleConditions } from './CustomRuleConditions';
|
|
3
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
4
|
+
export declare class BatchCreateCustomRuleResponse extends SdkResponse {
|
|
5
|
+
id?: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
policyid?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
status?: number;
|
|
10
|
+
conditions?: Array<CustomRuleConditions>;
|
|
11
|
+
action?: CustomAction;
|
|
12
|
+
private 'action_mode'?;
|
|
13
|
+
priority?: number;
|
|
14
|
+
timestamp?: number;
|
|
15
|
+
time?: boolean;
|
|
16
|
+
start?: number;
|
|
17
|
+
terminal?: number;
|
|
18
|
+
producer?: number;
|
|
19
|
+
constructor();
|
|
20
|
+
withId(id: string): BatchCreateCustomRuleResponse;
|
|
21
|
+
withName(name: string): BatchCreateCustomRuleResponse;
|
|
22
|
+
withPolicyid(policyid: string): BatchCreateCustomRuleResponse;
|
|
23
|
+
withDescription(description: string): BatchCreateCustomRuleResponse;
|
|
24
|
+
withStatus(status: number): BatchCreateCustomRuleResponse;
|
|
25
|
+
withConditions(conditions: Array<CustomRuleConditions>): BatchCreateCustomRuleResponse;
|
|
26
|
+
withAction(action: CustomAction): BatchCreateCustomRuleResponse;
|
|
27
|
+
withActionMode(actionMode: boolean): BatchCreateCustomRuleResponse;
|
|
28
|
+
set actionMode(actionMode: boolean | undefined);
|
|
29
|
+
get actionMode(): boolean | undefined;
|
|
30
|
+
withPriority(priority: number): BatchCreateCustomRuleResponse;
|
|
31
|
+
withTimestamp(timestamp: number): BatchCreateCustomRuleResponse;
|
|
32
|
+
withTime(time: boolean): BatchCreateCustomRuleResponse;
|
|
33
|
+
withStart(start: number): BatchCreateCustomRuleResponse;
|
|
34
|
+
withTerminal(terminal: number): BatchCreateCustomRuleResponse;
|
|
35
|
+
withProducer(producer: number): BatchCreateCustomRuleResponse;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=BatchCreateCustomRuleResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateCustomRuleResponse.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateCustomRuleResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,6BAA8B,SAAQ,WAAW;IACnD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAA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AAM,GAAG,6BAA6B;IAI7D,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,6BAA6B;CAIvE"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateCustomRuleResponse = void 0;
|
|
4
|
+
const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
5
|
+
class BatchCreateCustomRuleResponse extends SdkResponse_1.SdkResponse {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
}
|
|
9
|
+
withId(id) {
|
|
10
|
+
this['id'] = id;
|
|
11
|
+
return this;
|
|
12
|
+
}
|
|
13
|
+
withName(name) {
|
|
14
|
+
this['name'] = name;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
withPolicyid(policyid) {
|
|
18
|
+
this['policyid'] = policyid;
|
|
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
|
+
withConditions(conditions) {
|
|
30
|
+
this['conditions'] = conditions;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
withAction(action) {
|
|
34
|
+
this['action'] = action;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
withActionMode(actionMode) {
|
|
38
|
+
this['action_mode'] = actionMode;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
set actionMode(actionMode) {
|
|
42
|
+
this['action_mode'] = actionMode;
|
|
43
|
+
}
|
|
44
|
+
get actionMode() {
|
|
45
|
+
return this['action_mode'];
|
|
46
|
+
}
|
|
47
|
+
withPriority(priority) {
|
|
48
|
+
this['priority'] = priority;
|
|
49
|
+
return this;
|
|
50
|
+
}
|
|
51
|
+
withTimestamp(timestamp) {
|
|
52
|
+
this['timestamp'] = timestamp;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
withTime(time) {
|
|
56
|
+
this['time'] = time;
|
|
57
|
+
return this;
|
|
58
|
+
}
|
|
59
|
+
withStart(start) {
|
|
60
|
+
this['start'] = start;
|
|
61
|
+
return this;
|
|
62
|
+
}
|
|
63
|
+
withTerminal(terminal) {
|
|
64
|
+
this['terminal'] = terminal;
|
|
65
|
+
return this;
|
|
66
|
+
}
|
|
67
|
+
withProducer(producer) {
|
|
68
|
+
this['producer'] = producer;
|
|
69
|
+
return this;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.BatchCreateCustomRuleResponse = BatchCreateCustomRuleResponse;
|
|
73
|
+
//# sourceMappingURL=BatchCreateCustomRuleResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateCustomRuleResponse.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateCustomRuleResponse.ts"],"names":[],"mappings":";;;AAGA,+EAA4E;AAE5E,MAAa,6BAA8B,SAAQ,yBAAW;IAe1D;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,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,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,UAAU,CAAC,MAAc;QAC5B,IAAI,CAA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AgFC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BatchCreateGeoIpRuleRequestBody } from './BatchCreateGeoIpRuleRequestBody';
|
|
2
|
+
export declare class BatchCreateGeoIpRuleRequest {
|
|
3
|
+
private 'enterprise_project_id'?;
|
|
4
|
+
private 'Content-Type'?;
|
|
5
|
+
body?: BatchCreateGeoIpRuleRequestBody;
|
|
6
|
+
constructor(contentType?: string);
|
|
7
|
+
withEnterpriseProjectId(enterpriseProjectId: string): BatchCreateGeoIpRuleRequest;
|
|
8
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
|
9
|
+
get enterpriseProjectId(): string | undefined;
|
|
10
|
+
withContentType(contentType: string): BatchCreateGeoIpRuleRequest;
|
|
11
|
+
set contentType(contentType: string | undefined);
|
|
12
|
+
get contentType(): string | undefined;
|
|
13
|
+
withBody(body: BatchCreateGeoIpRuleRequestBody): BatchCreateGeoIpRuleRequest;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=BatchCreateGeoIpRuleRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateGeoIpRuleRequest.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateGeoIpRuleRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAGpF,qBAAa,2BAA2B;IACpC,OAAO,CAAC,uBAAuB,CAAC,CAAS;IACzC,OAAO,CAAC,cAAc,CAAC,CAAS;IACzB,IAAI,CAAC,EAAE,+BAA+B,CAAC;gBAC3B,WAAW,CAAC,EAAE,MAAM;IAGhC,uBAAuB,CAAC,mBAAmB,EAAE,MAAM,GAAG,2BAA2B;IAIxF,IAAW,mBAAmB,CAAC,mBAAmB,EAAE,MAAM,GAAI,SAAS,EAEtE;IACD,IAAW,mBAAmB,IAAI,MAAM,GAAG,SAAS,CAEnD;IACM,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,2BAA2B;IAIxE,IAAW,WAAW,CAAC,WAAW,EAAE,MAAM,GAAI,SAAS,EAEtD;IACD,IAAW,WAAW,IAAI,MAAM,GAAG,SAAS,CAE3C;IACM,QAAQ,CAAC,IAAI,EAAE,+BAA+B,GAAG,2BAA2B;CAItF"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateGeoIpRuleRequest = void 0;
|
|
4
|
+
class BatchCreateGeoIpRuleRequest {
|
|
5
|
+
constructor(contentType) {
|
|
6
|
+
this['Content-Type'] = contentType;
|
|
7
|
+
}
|
|
8
|
+
withEnterpriseProjectId(enterpriseProjectId) {
|
|
9
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
10
|
+
return this;
|
|
11
|
+
}
|
|
12
|
+
set enterpriseProjectId(enterpriseProjectId) {
|
|
13
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
|
14
|
+
}
|
|
15
|
+
get enterpriseProjectId() {
|
|
16
|
+
return this['enterprise_project_id'];
|
|
17
|
+
}
|
|
18
|
+
withContentType(contentType) {
|
|
19
|
+
this['Content-Type'] = contentType;
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
set contentType(contentType) {
|
|
23
|
+
this['Content-Type'] = contentType;
|
|
24
|
+
}
|
|
25
|
+
get contentType() {
|
|
26
|
+
return this['Content-Type'];
|
|
27
|
+
}
|
|
28
|
+
withBody(body) {
|
|
29
|
+
this['body'] = body;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.BatchCreateGeoIpRuleRequest = BatchCreateGeoIpRuleRequest;
|
|
34
|
+
//# sourceMappingURL=BatchCreateGeoIpRuleRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateGeoIpRuleRequest.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateGeoIpRuleRequest.ts"],"names":[],"mappings":";;;AAGA,MAAa,2BAA2B;IAIpC,YAAmB,WAAoB;QACnC,IAAI,CAAC,cAAc,CAAC,GAAG,WAAW,CAAC;IACvC,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,IAAqC;QACjD,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AA/BD,kEA+BC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare class BatchCreateGeoIpRuleRequestBody {
|
|
2
|
+
name?: string;
|
|
3
|
+
geoip?: string;
|
|
4
|
+
white?: number;
|
|
5
|
+
private 'ip_type'?;
|
|
6
|
+
description?: string;
|
|
7
|
+
private 'policy_ids'?;
|
|
8
|
+
constructor(geoip?: string, white?: number, ipType?: string, policyIds?: Array<string>);
|
|
9
|
+
withName(name: string): BatchCreateGeoIpRuleRequestBody;
|
|
10
|
+
withGeoip(geoip: string): BatchCreateGeoIpRuleRequestBody;
|
|
11
|
+
withWhite(white: number): BatchCreateGeoIpRuleRequestBody;
|
|
12
|
+
withIpType(ipType: string): BatchCreateGeoIpRuleRequestBody;
|
|
13
|
+
set ipType(ipType: string | undefined);
|
|
14
|
+
get ipType(): string | undefined;
|
|
15
|
+
withDescription(description: string): BatchCreateGeoIpRuleRequestBody;
|
|
16
|
+
withPolicyIds(policyIds: Array<string>): BatchCreateGeoIpRuleRequestBody;
|
|
17
|
+
set policyIds(policyIds: Array<string> | undefined);
|
|
18
|
+
get policyIds(): Array<string> | undefined;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=BatchCreateGeoIpRuleRequestBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateGeoIpRuleRequestBody.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateGeoIpRuleRequestBody.ts"],"names":[],"mappings":"AAEA,qBAAa,+BAA+B;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,SAAS,CAAC,CAAS;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAC5B,OAAO,CAAC,YAAY,CAAC,CAAgB;gBAClB,KAAK,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC;IAMtF,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,+BAA+B;IAIvD,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,+BAA+B;IAIzD,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,+BAA+B;IAIzD,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,+BAA+B;IAIlE,IAAW,MAAM,CAAC,MAAM,EAAE,MAAM,GAAI,SAAS,EAE5C;IACD,IAAW,MAAM,IAAI,MAAM,GAAG,SAAS,CAEtC;IACM,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,+BAA+B;IAIrE,aAAa,CAAC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,+BAA+B;IAI/E,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,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateGeoIpRuleRequestBody = void 0;
|
|
4
|
+
class BatchCreateGeoIpRuleRequestBody {
|
|
5
|
+
constructor(geoip, white, ipType, policyIds) {
|
|
6
|
+
this['geoip'] = geoip;
|
|
7
|
+
this['white'] = white;
|
|
8
|
+
this['ip_type'] = ipType;
|
|
9
|
+
this['policy_ids'] = policyIds;
|
|
10
|
+
}
|
|
11
|
+
withName(name) {
|
|
12
|
+
this['name'] = name;
|
|
13
|
+
return this;
|
|
14
|
+
}
|
|
15
|
+
withGeoip(geoip) {
|
|
16
|
+
this['geoip'] = geoip;
|
|
17
|
+
return this;
|
|
18
|
+
}
|
|
19
|
+
withWhite(white) {
|
|
20
|
+
this['white'] = white;
|
|
21
|
+
return this;
|
|
22
|
+
}
|
|
23
|
+
withIpType(ipType) {
|
|
24
|
+
this['ip_type'] = ipType;
|
|
25
|
+
return this;
|
|
26
|
+
}
|
|
27
|
+
set ipType(ipType) {
|
|
28
|
+
this['ip_type'] = ipType;
|
|
29
|
+
}
|
|
30
|
+
get ipType() {
|
|
31
|
+
return this['ip_type'];
|
|
32
|
+
}
|
|
33
|
+
withDescription(description) {
|
|
34
|
+
this['description'] = description;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
withPolicyIds(policyIds) {
|
|
38
|
+
this['policy_ids'] = policyIds;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
set policyIds(policyIds) {
|
|
42
|
+
this['policy_ids'] = policyIds;
|
|
43
|
+
}
|
|
44
|
+
get policyIds() {
|
|
45
|
+
return this['policy_ids'];
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.BatchCreateGeoIpRuleRequestBody = BatchCreateGeoIpRuleRequestBody;
|
|
49
|
+
//# sourceMappingURL=BatchCreateGeoIpRuleRequestBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateGeoIpRuleRequestBody.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateGeoIpRuleRequestBody.ts"],"names":[],"mappings":";;;AAEA,MAAa,+BAA+B;IAOxC,YAAmB,KAAc,EAAE,KAAc,EAAE,MAAe,EAAE,SAAyB;QACzF,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,IAAI,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC;QACzB,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,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC;QACzB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,MAAM,CAAC,MAA2B;QACzC,IAAI,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC;IAC7B,CAAC;IACD,IAAW,MAAM;QACb,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;IAC3B,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,0EAiDC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
|
2
|
+
export declare class BatchCreateGeoIpRuleResponse extends SdkResponse {
|
|
3
|
+
id?: string;
|
|
4
|
+
name?: string;
|
|
5
|
+
policyid?: string;
|
|
6
|
+
geoip?: string;
|
|
7
|
+
white?: number;
|
|
8
|
+
status?: number;
|
|
9
|
+
private 'ip_type'?;
|
|
10
|
+
description?: string;
|
|
11
|
+
timestamp?: number;
|
|
12
|
+
constructor();
|
|
13
|
+
withId(id: string): BatchCreateGeoIpRuleResponse;
|
|
14
|
+
withName(name: string): BatchCreateGeoIpRuleResponse;
|
|
15
|
+
withPolicyid(policyid: string): BatchCreateGeoIpRuleResponse;
|
|
16
|
+
withGeoip(geoip: string): BatchCreateGeoIpRuleResponse;
|
|
17
|
+
withWhite(white: number): BatchCreateGeoIpRuleResponse;
|
|
18
|
+
withStatus(status: number): BatchCreateGeoIpRuleResponse;
|
|
19
|
+
withIpType(ipType: string): BatchCreateGeoIpRuleResponse;
|
|
20
|
+
set ipType(ipType: string | undefined);
|
|
21
|
+
get ipType(): string | undefined;
|
|
22
|
+
withDescription(description: string): BatchCreateGeoIpRuleResponse;
|
|
23
|
+
withTimestamp(timestamp: number): BatchCreateGeoIpRuleResponse;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=BatchCreateGeoIpRuleResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateGeoIpRuleResponse.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateGeoIpRuleResponse.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAE5E,qBAAa,4BAA6B,SAAQ,WAAW;IAClD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,SAAS,CAAC,CAAS;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;;IAInB,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,4BAA4B;IAIhD,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,4BAA4B;IAIpD,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,4BAA4B;IAI5D,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,4BAA4B;IAItD,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,4BAA4B;IAItD,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,4BAA4B;IAIxD,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,4BAA4B;IAI/D,IAAW,MAAM,CAAC,MAAM,EAAE,MAAM,GAAI,SAAS,EAE5C;IACD,IAAW,MAAM,IAAI,MAAM,GAAG,SAAS,CAEtC;IACM,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,4BAA4B;IAIlE,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,4BAA4B;CAIxE"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateGeoIpRuleResponse = void 0;
|
|
4
|
+
const SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
|
5
|
+
class BatchCreateGeoIpRuleResponse extends SdkResponse_1.SdkResponse {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
}
|
|
9
|
+
withId(id) {
|
|
10
|
+
this['id'] = id;
|
|
11
|
+
return this;
|
|
12
|
+
}
|
|
13
|
+
withName(name) {
|
|
14
|
+
this['name'] = name;
|
|
15
|
+
return this;
|
|
16
|
+
}
|
|
17
|
+
withPolicyid(policyid) {
|
|
18
|
+
this['policyid'] = policyid;
|
|
19
|
+
return this;
|
|
20
|
+
}
|
|
21
|
+
withGeoip(geoip) {
|
|
22
|
+
this['geoip'] = geoip;
|
|
23
|
+
return this;
|
|
24
|
+
}
|
|
25
|
+
withWhite(white) {
|
|
26
|
+
this['white'] = white;
|
|
27
|
+
return this;
|
|
28
|
+
}
|
|
29
|
+
withStatus(status) {
|
|
30
|
+
this['status'] = status;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
withIpType(ipType) {
|
|
34
|
+
this['ip_type'] = ipType;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
set ipType(ipType) {
|
|
38
|
+
this['ip_type'] = ipType;
|
|
39
|
+
}
|
|
40
|
+
get ipType() {
|
|
41
|
+
return this['ip_type'];
|
|
42
|
+
}
|
|
43
|
+
withDescription(description) {
|
|
44
|
+
this['description'] = description;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
withTimestamp(timestamp) {
|
|
48
|
+
this['timestamp'] = timestamp;
|
|
49
|
+
return this;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.BatchCreateGeoIpRuleResponse = BatchCreateGeoIpRuleResponse;
|
|
53
|
+
//# sourceMappingURL=BatchCreateGeoIpRuleResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateGeoIpRuleResponse.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateGeoIpRuleResponse.ts"],"names":[],"mappings":";;;AACA,+EAA4E;AAE5E,MAAa,4BAA6B,SAAQ,yBAAW;IAUzD;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,QAAQ,CAAC,IAAY;QACxB,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,YAAY,CAAC,QAAgB;QAChC,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,SAAS,CAAC,KAAa;QAC1B,IAAI,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;QACxB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,UAAU,CAAC,MAAc;QAC5B,IAAI,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC;QACzB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAW,MAAM,CAAC,MAA2B;QACzC,IAAI,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC;IAC7B,CAAC;IACD,IAAW,MAAM;QACb,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IACM,eAAe,CAAC,WAAmB;QACtC,IAAI,CAAC,aAAa,CAAC,GAAG,WAAW,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,aAAa,CAAC,SAAiB;QAClC,IAAI,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;QAC9B,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAvDD,oEAuDC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BatchCreateIgnoreRuleRequestBody } from './BatchCreateIgnoreRuleRequestBody';
|
|
2
|
+
export declare class BatchCreateIgnoreRuleRequest {
|
|
3
|
+
policyids?: string;
|
|
4
|
+
private 'enterprise_project_id'?;
|
|
5
|
+
private 'Content-Type'?;
|
|
6
|
+
body?: BatchCreateIgnoreRuleRequestBody;
|
|
7
|
+
constructor(contentType?: string);
|
|
8
|
+
withPolicyids(policyids: string): BatchCreateIgnoreRuleRequest;
|
|
9
|
+
withEnterpriseProjectId(enterpriseProjectId: string): BatchCreateIgnoreRuleRequest;
|
|
10
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
|
11
|
+
get enterpriseProjectId(): string | undefined;
|
|
12
|
+
withContentType(contentType: string): BatchCreateIgnoreRuleRequest;
|
|
13
|
+
set contentType(contentType: string | undefined);
|
|
14
|
+
get contentType(): string | undefined;
|
|
15
|
+
withBody(body: BatchCreateIgnoreRuleRequestBody): BatchCreateIgnoreRuleRequest;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=BatchCreateIgnoreRuleRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateIgnoreRuleRequest.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateIgnoreRuleRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAGtF,qBAAa,4BAA4B;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,uBAAuB,CAAC,CAAS;IACzC,OAAO,CAAC,cAAc,CAAC,CAAS;IACzB,IAAI,CAAC,EAAE,gCAAgC,CAAC;gBAC5B,WAAW,CAAC,EAAE,MAAM;IAGhC,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,4BAA4B;IAI9D,uBAAuB,CAAC,mBAAmB,EAAE,MAAM,GAAG,4BAA4B;IAIzF,IAAW,mBAAmB,CAAC,mBAAmB,EAAE,MAAM,GAAI,SAAS,EAEtE;IACD,IAAW,mBAAmB,IAAI,MAAM,GAAG,SAAS,CAEnD;IACM,eAAe,CAAC,WAAW,EAAE,MAAM,GAAG,4BAA4B;IAIzE,IAAW,WAAW,CAAC,WAAW,EAAE,MAAM,GAAI,SAAS,EAEtD;IACD,IAAW,WAAW,IAAI,MAAM,GAAG,SAAS,CAE3C;IACM,QAAQ,CAAC,IAAI,EAAE,gCAAgC,GAAG,4BAA4B;CAIxF"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchCreateIgnoreRuleRequest = void 0;
|
|
4
|
+
class BatchCreateIgnoreRuleRequest {
|
|
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.BatchCreateIgnoreRuleRequest = BatchCreateIgnoreRuleRequest;
|
|
38
|
+
//# sourceMappingURL=BatchCreateIgnoreRuleRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateIgnoreRuleRequest.js","sourceRoot":"","sources":["../../../../../services/waf/v1/model/BatchCreateIgnoreRuleRequest.ts"],"names":[],"mappings":";;;AAGA,MAAa,4BAA4B;IAKrC,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,IAAsC;QAClD,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AApCD,oEAoCC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CreateCondition } from './CreateCondition';
|
|
2
|
+
import { IgnoreAdvanced } from './IgnoreAdvanced';
|
|
3
|
+
export declare class BatchCreateIgnoreRuleRequestBody {
|
|
4
|
+
domain?: Array<string>;
|
|
5
|
+
conditions?: Array<CreateCondition>;
|
|
6
|
+
mode?: number;
|
|
7
|
+
rule?: string;
|
|
8
|
+
advanced?: IgnoreAdvanced;
|
|
9
|
+
description?: string;
|
|
10
|
+
private 'policy_ids'?;
|
|
11
|
+
constructor(domain?: Array<string>, conditions?: Array<CreateCondition>, mode?: number, rule?: string, policyIds?: Array<string>);
|
|
12
|
+
withDomain(domain: Array<string>): BatchCreateIgnoreRuleRequestBody;
|
|
13
|
+
withConditions(conditions: Array<CreateCondition>): BatchCreateIgnoreRuleRequestBody;
|
|
14
|
+
withMode(mode: number): BatchCreateIgnoreRuleRequestBody;
|
|
15
|
+
withRule(rule: string): BatchCreateIgnoreRuleRequestBody;
|
|
16
|
+
withAdvanced(advanced: IgnoreAdvanced): BatchCreateIgnoreRuleRequestBody;
|
|
17
|
+
withDescription(description: string): BatchCreateIgnoreRuleRequestBody;
|
|
18
|
+
withPolicyIds(policyIds: Array<string>): BatchCreateIgnoreRuleRequestBody;
|
|
19
|
+
set policyIds(policyIds: Array<string> | undefined);
|
|
20
|
+
get policyIds(): Array<string> | undefined;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=BatchCreateIgnoreRuleRequestBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchCreateIgnoreRuleRequestBody.d.ts","sourceRoot":"","sources":["../../../../../services/waf/v1/model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