@byteplus/pulumi-bytepluscc 0.0.42 → 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.
Files changed (45) hide show
  1. package/README.md +7 -0
  2. package/cloudmonitor/contact.d.ts +116 -0
  3. package/cloudmonitor/contact.d.ts.map +1 -0
  4. package/cloudmonitor/contact.js +109 -0
  5. package/cloudmonitor/contact.js.map +1 -0
  6. package/cloudmonitor/getContact.d.ts +57 -0
  7. package/cloudmonitor/getContact.d.ts.map +1 -0
  8. package/cloudmonitor/getContact.js +51 -0
  9. package/cloudmonitor/getContact.js.map +1 -0
  10. package/cloudmonitor/getContacts.d.ts +23 -0
  11. package/cloudmonitor/getContacts.d.ts.map +1 -0
  12. package/cloudmonitor/getContacts.js +47 -0
  13. package/cloudmonitor/getContacts.js.map +1 -0
  14. package/cloudmonitor/index.d.ts +9 -0
  15. package/cloudmonitor/index.d.ts.map +1 -1
  16. package/cloudmonitor/index.js +12 -1
  17. package/cloudmonitor/index.js.map +1 -1
  18. package/ecs/getInstance.d.ts +1 -0
  19. package/ecs/getInstance.d.ts.map +1 -1
  20. package/ecs/getInstance.js.map +1 -1
  21. package/ecs/instance.d.ts +15 -0
  22. package/ecs/instance.d.ts.map +1 -1
  23. package/ecs/instance.js +5 -0
  24. package/ecs/instance.js.map +1 -1
  25. package/package.json +1 -1
  26. package/types/input.d.ts +66 -0
  27. package/types/input.d.ts.map +1 -1
  28. package/types/output.d.ts +131 -0
  29. package/types/output.d.ts.map +1 -1
  30. package/waf/ccRule.d.ts +361 -0
  31. package/waf/ccRule.d.ts.map +1 -0
  32. package/waf/ccRule.js +185 -0
  33. package/waf/ccRule.js.map +1 -0
  34. package/waf/getCcRule.d.ts +138 -0
  35. package/waf/getCcRule.d.ts.map +1 -0
  36. package/waf/getCcRule.js +51 -0
  37. package/waf/getCcRule.js.map +1 -0
  38. package/waf/getCcRules.d.ts +23 -0
  39. package/waf/getCcRules.d.ts.map +1 -0
  40. package/waf/getCcRules.js +47 -0
  41. package/waf/getCcRules.js.map +1 -0
  42. package/waf/index.d.ts +9 -0
  43. package/waf/index.d.ts.map +1 -1
  44. package/waf/index.js +12 -1
  45. package/waf/index.js.map +1 -1
package/types/output.d.ts CHANGED
@@ -10311,6 +10311,17 @@ export declare namespace ecs {
10311
10311
  */
10312
10312
  threadsPerCore: number;
10313
10313
  }
10314
+ interface GetInstanceCpuOptions {
10315
+ /**
10316
+ * CPU topology mode. Available values:
10317
+ * - ContinuousCoreToHTMapping: Continuous HT mode
10318
+ * - DiscreteCoreToHTMapping (default): Discrete HT mode
10319
+ *
10320
+ * **Note:**
10321
+ * This feature is currently in invitation-only testing. To use it, please contact your account manager to apply.
10322
+ */
10323
+ topologyType: string;
10324
+ }
10314
10325
  interface GetInstanceDataVolume {
10315
10326
  /**
10316
10327
  * Whether the attached resources are deleted along with the instance.
@@ -11139,6 +11150,17 @@ export declare namespace ecs {
11139
11150
  */
11140
11151
  threadsPerCore: number;
11141
11152
  }
11153
+ interface InstanceCpuOptions {
11154
+ /**
11155
+ * CPU topology mode. Available values:
11156
+ * - ContinuousCoreToHTMapping: Continuous HT mode
11157
+ * - DiscreteCoreToHTMapping (default): Discrete HT mode
11158
+ *
11159
+ * **Note:**
11160
+ * This feature is currently in invitation-only testing. To use it, please contact your account manager to apply.
11161
+ */
11162
+ topologyType: string;
11163
+ }
11142
11164
  interface InstanceDataVolume {
11143
11165
  /**
11144
11166
  * Whether the attached resources are deleted along with the instance.
@@ -33289,6 +33311,61 @@ export declare namespace vpn {
33289
33311
  }
33290
33312
  }
33291
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
+ }
33292
33369
  interface DomainBackendGroup {
33293
33370
  /**
33294
33371
  * Access port number.
@@ -33417,6 +33494,60 @@ export declare namespace waf {
33417
33494
  */
33418
33495
  statisticalKeyLists: string[];
33419
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
+ }
33420
33551
  interface GetDomainBackendGroup {
33421
33552
  /**
33422
33553
  * Access port number.