@byteplus/pulumi-bytepluscc 0.0.43 → 0.0.45
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/README.md +7 -0
- package/cloudmonitor/contact.d.ts +116 -0
- package/cloudmonitor/contact.d.ts.map +1 -0
- package/cloudmonitor/contact.js +109 -0
- package/cloudmonitor/contact.js.map +1 -0
- package/cloudmonitor/getContact.d.ts +57 -0
- package/cloudmonitor/getContact.d.ts.map +1 -0
- package/cloudmonitor/getContact.js +51 -0
- package/cloudmonitor/getContact.js.map +1 -0
- package/cloudmonitor/getContacts.d.ts +23 -0
- package/cloudmonitor/getContacts.d.ts.map +1 -0
- package/cloudmonitor/getContacts.js +47 -0
- package/cloudmonitor/getContacts.js.map +1 -0
- package/cloudmonitor/index.d.ts +9 -0
- package/cloudmonitor/index.d.ts.map +1 -1
- package/cloudmonitor/index.js +12 -1
- package/cloudmonitor/index.js.map +1 -1
- package/package.json +1 -1
- package/types/input.d.ts +55 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +109 -0
- package/types/output.d.ts.map +1 -1
- package/waf/ccRule.d.ts +361 -0
- package/waf/ccRule.d.ts.map +1 -0
- package/waf/ccRule.js +185 -0
- package/waf/ccRule.js.map +1 -0
- package/waf/getCcRule.d.ts +138 -0
- package/waf/getCcRule.d.ts.map +1 -0
- package/waf/getCcRule.js +51 -0
- package/waf/getCcRule.js.map +1 -0
- package/waf/getCcRules.d.ts +23 -0
- package/waf/getCcRules.d.ts.map +1 -0
- package/waf/getCcRules.js +47 -0
- package/waf/getCcRules.js.map +1 -0
- package/waf/index.d.ts +9 -0
- package/waf/index.d.ts.map +1 -1
- package/waf/index.js +12 -1
- package/waf/index.js.map +1 -1
package/types/output.d.ts
CHANGED
|
@@ -33311,6 +33311,61 @@ export declare namespace vpn {
|
|
|
33311
33311
|
}
|
|
33312
33312
|
}
|
|
33313
33313
|
export declare namespace waf {
|
|
33314
|
+
interface CcRuleAccurateGroup {
|
|
33315
|
+
/**
|
|
33316
|
+
* Advanced condition group priority. Not required when creating/updating, used only for list display.
|
|
33317
|
+
*/
|
|
33318
|
+
accurateGroupPriority: number;
|
|
33319
|
+
/**
|
|
33320
|
+
* List of subrules in advanced conditions
|
|
33321
|
+
* Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
|
|
33322
|
+
*/
|
|
33323
|
+
accurateRules: outputs.waf.CcRuleAccurateGroupAccurateRule[];
|
|
33324
|
+
/**
|
|
33325
|
+
* Advanced condition group ID. Not required for create/update; used only for list display
|
|
33326
|
+
*/
|
|
33327
|
+
id: number;
|
|
33328
|
+
/**
|
|
33329
|
+
* Logical relationship. 1: AND; 2: OR.
|
|
33330
|
+
*/
|
|
33331
|
+
logic: number;
|
|
33332
|
+
}
|
|
33333
|
+
interface CcRuleAccurateGroupAccurateRule {
|
|
33334
|
+
/**
|
|
33335
|
+
* Match object. Fixed objects are automatically generated as HttpObj by ObjType; custom objects require a specific Key in HttpObj. For example: request.header.clientip, request.uri, request.queryargs.abc, request.header.custom-header, request.cookie.custom-cookie, etc
|
|
33336
|
+
*/
|
|
33337
|
+
httpObj: string;
|
|
33338
|
+
/**
|
|
33339
|
+
* Match object type enumeration. 0: Request protocol; 1: Request URI; 2: Request method; 3: Request path; 4: Request parameters; 5: Request headers; 6: User-Agent; 7: Referer; 8: Cookie; 9: Request body length; 10: Request body format; 11: X-Forwarded-For; 12: Client IP; 13: Custom Args; 14: Custom Header; 15: Custom Cookie; 23: JA3 Hash; 25: Session-ID; 26: Client fingerprint.
|
|
33340
|
+
*/
|
|
33341
|
+
objType: number;
|
|
33342
|
+
/**
|
|
33343
|
+
* Match operator enumeration. 0–5: size comparison; 6–11: substring match; 12–15: set match; 16: regex; 17–21: IP identification (only request.header.clientip or custom objects); 23/24: include/exclude address group; 25/26: include/exclude location; 27: include IP intelligence; 28/29: AS number belongs/does not belong
|
|
33344
|
+
*/
|
|
33345
|
+
opretar: number;
|
|
33346
|
+
/**
|
|
33347
|
+
* Match attribute type enumeration. 0: Value; 1: StrLen; 2: Size; 3: Keys; 4: Version; 5: IP (only used when Opretar=17–21); 6: Country.
|
|
33348
|
+
*/
|
|
33349
|
+
property: number;
|
|
33350
|
+
/**
|
|
33351
|
+
* Match value. For Opretar=17–21 (IP identification), no match content is involved and can be an empty string; for Opretar=23–29, fill in according to the required format (IP address group ID/location code/IP intelligence tag/ASN); for other operators, enter the actual match value
|
|
33352
|
+
*/
|
|
33353
|
+
valueString: string;
|
|
33354
|
+
}
|
|
33355
|
+
interface CcRuleCronConf {
|
|
33356
|
+
/**
|
|
33357
|
+
* crontab expression. Recommended format: * \n\n-\n\n * * \n\n, for example * 18-20 * * 1,2,3,4,5.
|
|
33358
|
+
*/
|
|
33359
|
+
crontab: string;
|
|
33360
|
+
/**
|
|
33361
|
+
* Total path threshold during the specified period. Range: 1–300000
|
|
33362
|
+
*/
|
|
33363
|
+
pathThreshold: number;
|
|
33364
|
+
/**
|
|
33365
|
+
* Threshold for a single object during this time period. Range: 1–300000.
|
|
33366
|
+
*/
|
|
33367
|
+
singleThreshold: number;
|
|
33368
|
+
}
|
|
33314
33369
|
interface DomainBackendGroup {
|
|
33315
33370
|
/**
|
|
33316
33371
|
* Access port number.
|
|
@@ -33439,6 +33494,60 @@ export declare namespace waf {
|
|
|
33439
33494
|
*/
|
|
33440
33495
|
statisticalKeyLists: string[];
|
|
33441
33496
|
}
|
|
33497
|
+
interface GetCcRuleAccurateGroup {
|
|
33498
|
+
/**
|
|
33499
|
+
* Advanced condition group priority. Not required when creating/updating, used only for list display.
|
|
33500
|
+
*/
|
|
33501
|
+
accurateGroupPriority: number;
|
|
33502
|
+
/**
|
|
33503
|
+
* List of subrules in advanced conditions
|
|
33504
|
+
*/
|
|
33505
|
+
accurateRules: outputs.waf.GetCcRuleAccurateGroupAccurateRule[];
|
|
33506
|
+
/**
|
|
33507
|
+
* Advanced condition group ID. Not required for create/update; used only for list display
|
|
33508
|
+
*/
|
|
33509
|
+
id: number;
|
|
33510
|
+
/**
|
|
33511
|
+
* Logical relationship. 1: AND; 2: OR.
|
|
33512
|
+
*/
|
|
33513
|
+
logic: number;
|
|
33514
|
+
}
|
|
33515
|
+
interface GetCcRuleAccurateGroupAccurateRule {
|
|
33516
|
+
/**
|
|
33517
|
+
* Match object. Fixed objects are automatically generated as HttpObj by ObjType; custom objects require a specific Key in HttpObj. For example: request.header.clientip, request.uri, request.queryargs.abc, request.header.custom-header, request.cookie.custom-cookie, etc
|
|
33518
|
+
*/
|
|
33519
|
+
httpObj: string;
|
|
33520
|
+
/**
|
|
33521
|
+
* Match object type enumeration. 0: Request protocol; 1: Request URI; 2: Request method; 3: Request path; 4: Request parameters; 5: Request headers; 6: User-Agent; 7: Referer; 8: Cookie; 9: Request body length; 10: Request body format; 11: X-Forwarded-For; 12: Client IP; 13: Custom Args; 14: Custom Header; 15: Custom Cookie; 23: JA3 Hash; 25: Session-ID; 26: Client fingerprint.
|
|
33522
|
+
*/
|
|
33523
|
+
objType: number;
|
|
33524
|
+
/**
|
|
33525
|
+
* Match operator enumeration. 0–5: size comparison; 6–11: substring match; 12–15: set match; 16: regex; 17–21: IP identification (only request.header.clientip or custom objects); 23/24: include/exclude address group; 25/26: include/exclude location; 27: include IP intelligence; 28/29: AS number belongs/does not belong
|
|
33526
|
+
*/
|
|
33527
|
+
opretar: number;
|
|
33528
|
+
/**
|
|
33529
|
+
* Match attribute type enumeration. 0: Value; 1: StrLen; 2: Size; 3: Keys; 4: Version; 5: IP (only used when Opretar=17–21); 6: Country.
|
|
33530
|
+
*/
|
|
33531
|
+
property: number;
|
|
33532
|
+
/**
|
|
33533
|
+
* Match value. For Opretar=17–21 (IP identification), no match content is involved and can be an empty string; for Opretar=23–29, fill in according to the required format (IP address group ID/location code/IP intelligence tag/ASN); for other operators, enter the actual match value
|
|
33534
|
+
*/
|
|
33535
|
+
valueString: string;
|
|
33536
|
+
}
|
|
33537
|
+
interface GetCcRuleCronConf {
|
|
33538
|
+
/**
|
|
33539
|
+
* crontab expression. Recommended format: * \n\n-\n\n * * \n\n, for example * 18-20 * * 1,2,3,4,5.
|
|
33540
|
+
*/
|
|
33541
|
+
crontab: string;
|
|
33542
|
+
/**
|
|
33543
|
+
* Total path threshold during the specified period. Range: 1–300000
|
|
33544
|
+
*/
|
|
33545
|
+
pathThreshold: number;
|
|
33546
|
+
/**
|
|
33547
|
+
* Threshold for a single object during this time period. Range: 1–300000.
|
|
33548
|
+
*/
|
|
33549
|
+
singleThreshold: number;
|
|
33550
|
+
}
|
|
33442
33551
|
interface GetDomainBackendGroup {
|
|
33443
33552
|
/**
|
|
33444
33553
|
* Access port number.
|