cribl-control-plane 0.2.1rc7__py3-none-any.whl → 0.3.0a1__py3-none-any.whl

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.

Potentially problematic release.


This version of cribl-control-plane might be problematic. Click here for more details.

Files changed (179) hide show
  1. cribl_control_plane/_version.py +4 -4
  2. cribl_control_plane/errors/__init__.py +5 -8
  3. cribl_control_plane/errors/{healthserverstatus_error.py → healthstatus_error.py} +9 -10
  4. cribl_control_plane/groups_sdk.py +28 -52
  5. cribl_control_plane/health.py +16 -22
  6. cribl_control_plane/models/__init__.py +54 -217
  7. cribl_control_plane/models/appmode.py +14 -0
  8. cribl_control_plane/models/authtoken.py +1 -5
  9. cribl_control_plane/models/cacheconnection.py +0 -20
  10. cribl_control_plane/models/configgroup.py +7 -55
  11. cribl_control_plane/models/configgroupcloud.py +1 -11
  12. cribl_control_plane/models/createconfiggroupbyproductop.py +5 -17
  13. cribl_control_plane/models/createroutesappendbyidop.py +2 -2
  14. cribl_control_plane/models/createversionundoop.py +3 -3
  15. cribl_control_plane/models/cribllakedataset.py +1 -11
  16. cribl_control_plane/models/cribllakedatasetupdate.py +1 -11
  17. cribl_control_plane/models/datasetmetadata.py +1 -11
  18. cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +0 -11
  19. cribl_control_plane/models/deleteoutputpqbyidop.py +2 -2
  20. cribl_control_plane/models/distributedsummary.py +0 -6
  21. cribl_control_plane/models/error.py +16 -0
  22. cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +0 -20
  23. cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +0 -20
  24. cribl_control_plane/models/getconfiggroupbyproductandidop.py +0 -11
  25. cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +0 -11
  26. cribl_control_plane/models/gethealthinfoop.py +17 -0
  27. cribl_control_plane/models/getsummaryop.py +0 -11
  28. cribl_control_plane/models/hbcriblinfo.py +3 -24
  29. cribl_control_plane/models/{healthserverstatus.py → healthstatus.py} +8 -27
  30. cribl_control_plane/models/heartbeatmetadata.py +0 -3
  31. cribl_control_plane/models/input.py +78 -80
  32. cribl_control_plane/models/inputappscope.py +17 -80
  33. cribl_control_plane/models/inputazureblob.py +1 -33
  34. cribl_control_plane/models/inputcollection.py +1 -24
  35. cribl_control_plane/models/inputconfluentcloud.py +18 -195
  36. cribl_control_plane/models/inputcribl.py +1 -24
  37. cribl_control_plane/models/inputcriblhttp.py +17 -62
  38. cribl_control_plane/models/inputcribllakehttp.py +17 -62
  39. cribl_control_plane/models/inputcriblmetrics.py +1 -24
  40. cribl_control_plane/models/inputcribltcp.py +17 -62
  41. cribl_control_plane/models/inputcrowdstrike.py +1 -54
  42. cribl_control_plane/models/inputdatadogagent.py +17 -62
  43. cribl_control_plane/models/inputdatagen.py +1 -24
  44. cribl_control_plane/models/inputedgeprometheus.py +34 -147
  45. cribl_control_plane/models/inputelastic.py +27 -119
  46. cribl_control_plane/models/inputeventhub.py +1 -182
  47. cribl_control_plane/models/inputexec.py +1 -33
  48. cribl_control_plane/models/inputfile.py +3 -42
  49. cribl_control_plane/models/inputfirehose.py +17 -62
  50. cribl_control_plane/models/inputgooglepubsub.py +1 -36
  51. cribl_control_plane/models/inputgrafana.py +32 -157
  52. cribl_control_plane/models/inputhttp.py +17 -62
  53. cribl_control_plane/models/inputhttpraw.py +17 -62
  54. cribl_control_plane/models/inputjournalfiles.py +1 -24
  55. cribl_control_plane/models/inputkafka.py +17 -189
  56. cribl_control_plane/models/inputkinesis.py +1 -80
  57. cribl_control_plane/models/inputkubeevents.py +1 -24
  58. cribl_control_plane/models/inputkubelogs.py +1 -33
  59. cribl_control_plane/models/inputkubemetrics.py +1 -33
  60. cribl_control_plane/models/inputloki.py +17 -71
  61. cribl_control_plane/models/inputmetrics.py +17 -62
  62. cribl_control_plane/models/inputmodeldriventelemetry.py +17 -62
  63. cribl_control_plane/models/inputmsk.py +18 -81
  64. cribl_control_plane/models/inputnetflow.py +1 -24
  65. cribl_control_plane/models/inputoffice365mgmt.py +1 -67
  66. cribl_control_plane/models/inputoffice365msgtrace.py +1 -67
  67. cribl_control_plane/models/inputoffice365service.py +1 -67
  68. cribl_control_plane/models/inputopentelemetry.py +16 -92
  69. cribl_control_plane/models/inputprometheus.py +34 -138
  70. cribl_control_plane/models/inputprometheusrw.py +17 -71
  71. cribl_control_plane/models/inputrawudp.py +1 -24
  72. cribl_control_plane/models/inputs3.py +1 -45
  73. cribl_control_plane/models/inputs3inventory.py +1 -54
  74. cribl_control_plane/models/inputsecuritylake.py +1 -54
  75. cribl_control_plane/models/inputsnmp.py +1 -40
  76. cribl_control_plane/models/inputsplunk.py +17 -85
  77. cribl_control_plane/models/inputsplunkhec.py +16 -70
  78. cribl_control_plane/models/inputsplunksearch.py +1 -63
  79. cribl_control_plane/models/inputsqs.py +1 -56
  80. cribl_control_plane/models/inputsyslog.py +32 -121
  81. cribl_control_plane/models/inputsystemmetrics.py +9 -142
  82. cribl_control_plane/models/inputsystemstate.py +1 -33
  83. cribl_control_plane/models/inputtcp.py +17 -81
  84. cribl_control_plane/models/inputtcpjson.py +17 -71
  85. cribl_control_plane/models/inputwef.py +1 -71
  86. cribl_control_plane/models/inputwindowsmetrics.py +9 -129
  87. cribl_control_plane/models/inputwineventlogs.py +1 -60
  88. cribl_control_plane/models/inputwiz.py +1 -45
  89. cribl_control_plane/models/inputwizwebhook.py +17 -62
  90. cribl_control_plane/models/inputzscalerhec.py +16 -70
  91. cribl_control_plane/models/jobinfo.py +1 -4
  92. cribl_control_plane/models/jobstatus.py +3 -34
  93. cribl_control_plane/models/listconfiggroupbyproductop.py +0 -11
  94. cribl_control_plane/models/logininfo.py +3 -3
  95. cribl_control_plane/models/masterworkerentry.py +1 -11
  96. cribl_control_plane/models/nodeprovidedinfo.py +1 -11
  97. cribl_control_plane/models/nodeupgradestatus.py +0 -38
  98. cribl_control_plane/models/output.py +88 -93
  99. cribl_control_plane/models/outputazureblob.py +1 -110
  100. cribl_control_plane/models/outputazuredataexplorer.py +87 -452
  101. cribl_control_plane/models/outputazureeventhub.py +19 -281
  102. cribl_control_plane/models/outputazurelogs.py +19 -115
  103. cribl_control_plane/models/outputchronicle.py +19 -115
  104. cribl_control_plane/models/outputclickhouse.py +19 -155
  105. cribl_control_plane/models/outputcloudwatch.py +19 -106
  106. cribl_control_plane/models/outputconfluentcloud.py +38 -311
  107. cribl_control_plane/models/outputcriblhttp.py +19 -135
  108. cribl_control_plane/models/outputcribllake.py +1 -97
  109. cribl_control_plane/models/outputcribltcp.py +19 -132
  110. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +20 -129
  111. cribl_control_plane/models/outputdatadog.py +19 -159
  112. cribl_control_plane/models/outputdataset.py +19 -143
  113. cribl_control_plane/models/outputdiskspool.py +1 -11
  114. cribl_control_plane/models/outputdls3.py +1 -152
  115. cribl_control_plane/models/outputdynatracehttp.py +19 -160
  116. cribl_control_plane/models/outputdynatraceotlp.py +19 -160
  117. cribl_control_plane/models/outputelastic.py +19 -163
  118. cribl_control_plane/models/outputelasticcloud.py +19 -140
  119. cribl_control_plane/models/outputexabeam.py +1 -61
  120. cribl_control_plane/models/outputfilesystem.py +1 -87
  121. cribl_control_plane/models/outputgooglechronicle.py +20 -166
  122. cribl_control_plane/models/outputgooglecloudlogging.py +20 -131
  123. cribl_control_plane/models/outputgooglecloudstorage.py +1 -136
  124. cribl_control_plane/models/outputgooglepubsub.py +19 -106
  125. cribl_control_plane/models/outputgrafanacloud.py +37 -288
  126. cribl_control_plane/models/outputgraphite.py +19 -105
  127. cribl_control_plane/models/outputhoneycomb.py +19 -115
  128. cribl_control_plane/models/outputhumiohec.py +19 -126
  129. cribl_control_plane/models/outputinfluxdb.py +19 -130
  130. cribl_control_plane/models/outputkafka.py +34 -302
  131. cribl_control_plane/models/outputkinesis.py +19 -133
  132. cribl_control_plane/models/outputloki.py +17 -129
  133. cribl_control_plane/models/outputminio.py +1 -145
  134. cribl_control_plane/models/outputmsk.py +34 -193
  135. cribl_control_plane/models/outputnewrelic.py +19 -136
  136. cribl_control_plane/models/outputnewrelicevents.py +20 -128
  137. cribl_control_plane/models/outputopentelemetry.py +19 -178
  138. cribl_control_plane/models/outputprometheus.py +19 -115
  139. cribl_control_plane/models/outputring.py +1 -31
  140. cribl_control_plane/models/outputs3.py +1 -152
  141. cribl_control_plane/models/outputsecuritylake.py +1 -114
  142. cribl_control_plane/models/outputsentinel.py +19 -135
  143. cribl_control_plane/models/outputsentineloneaisiem.py +20 -134
  144. cribl_control_plane/models/outputservicenow.py +19 -168
  145. cribl_control_plane/models/outputsignalfx.py +19 -115
  146. cribl_control_plane/models/outputsns.py +17 -113
  147. cribl_control_plane/models/outputsplunk.py +19 -153
  148. cribl_control_plane/models/outputsplunkhec.py +19 -208
  149. cribl_control_plane/models/outputsplunklb.py +19 -182
  150. cribl_control_plane/models/outputsqs.py +17 -124
  151. cribl_control_plane/models/outputstatsd.py +19 -105
  152. cribl_control_plane/models/outputstatsdext.py +19 -105
  153. cribl_control_plane/models/outputsumologic.py +19 -117
  154. cribl_control_plane/models/outputsyslog.py +96 -259
  155. cribl_control_plane/models/outputtcpjson.py +19 -141
  156. cribl_control_plane/models/outputwavefront.py +19 -115
  157. cribl_control_plane/models/outputwebhook.py +19 -161
  158. cribl_control_plane/models/outputxsiam.py +17 -113
  159. cribl_control_plane/models/packinfo.py +5 -8
  160. cribl_control_plane/models/packinstallinfo.py +5 -8
  161. cribl_control_plane/models/resourcepolicy.py +0 -11
  162. cribl_control_plane/models/{uploadpackresponse.py → routecloneconf.py} +4 -4
  163. cribl_control_plane/models/routeconf.py +4 -3
  164. cribl_control_plane/models/runnablejobcollection.py +9 -72
  165. cribl_control_plane/models/runnablejobexecutor.py +9 -32
  166. cribl_control_plane/models/runnablejobscheduledsearch.py +9 -23
  167. cribl_control_plane/models/updateconfiggroupbyproductandidop.py +0 -11
  168. cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +0 -11
  169. cribl_control_plane/packs.py +7 -202
  170. cribl_control_plane/routes_sdk.py +6 -6
  171. cribl_control_plane/tokens.py +15 -23
  172. {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.3.0a1.dist-info}/METADATA +9 -50
  173. cribl_control_plane-0.3.0a1.dist-info/RECORD +330 -0
  174. cribl_control_plane/models/groupcreaterequest.py +0 -171
  175. cribl_control_plane/models/outpostnodeinfo.py +0 -16
  176. cribl_control_plane/models/outputdatabricks.py +0 -482
  177. cribl_control_plane/models/updatepacksop.py +0 -25
  178. cribl_control_plane-0.2.1rc7.dist-info/RECORD +0 -331
  179. {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.3.0a1.dist-info}/WHEEL +0 -0
@@ -1,12 +1,11 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from cribl_control_plane import models, utils
4
+ from cribl_control_plane import utils
5
5
  from cribl_control_plane.types import BaseModel
6
6
  from cribl_control_plane.utils import validate_open_enum
7
7
  from enum import Enum
8
8
  import pydantic
9
- from pydantic import field_serializer
10
9
  from pydantic.functional_validators import PlainValidator
11
10
  from typing import List, Optional
12
11
  from typing_extensions import Annotated, NotRequired, TypedDict
@@ -19,17 +18,11 @@ class OutputInfluxdbType(str, Enum):
19
18
  class TimestampPrecision(str, Enum, metaclass=utils.OpenEnumMeta):
20
19
  r"""Sets the precision for the supplied Unix time values. Defaults to milliseconds."""
21
20
 
22
- # Nanoseconds
23
21
  NS = "ns"
24
- # Microseconds
25
22
  U = "u"
26
- # Milliseconds
27
23
  MS = "ms"
28
- # Seconds
29
24
  S = "s"
30
- # Minutes
31
25
  M = "m"
32
- # Hours
33
26
  H = "h"
34
27
 
35
28
 
@@ -47,11 +40,8 @@ class OutputInfluxdbExtraHTTPHeader(BaseModel):
47
40
  class OutputInfluxdbFailedRequestLoggingMode(str, Enum, metaclass=utils.OpenEnumMeta):
48
41
  r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
49
42
 
50
- # Payload
51
43
  PAYLOAD = "payload"
52
- # Payload + Headers
53
44
  PAYLOAD_AND_HEADERS = "payloadAndHeaders"
54
- # None
55
45
  NONE = "none"
56
46
 
57
47
 
@@ -112,11 +102,8 @@ class OutputInfluxdbTimeoutRetrySettings(BaseModel):
112
102
  class OutputInfluxdbBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
113
103
  r"""How to handle events when all receivers are exerting backpressure"""
114
104
 
115
- # Block
116
105
  BLOCK = "block"
117
- # Drop
118
106
  DROP = "drop"
119
- # Persistent Queue
120
107
  QUEUE = "queue"
121
108
 
122
109
 
@@ -131,35 +118,28 @@ class OutputInfluxdbAuthenticationType(str, Enum, metaclass=utils.OpenEnumMeta):
131
118
  OAUTH = "oauth"
132
119
 
133
120
 
134
- class OutputInfluxdbMode(str, Enum, metaclass=utils.OpenEnumMeta):
135
- r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
136
-
137
- # Error
138
- ERROR = "error"
139
- # Backpressure
140
- ALWAYS = "always"
141
- # Always On
142
- BACKPRESSURE = "backpressure"
143
-
144
-
145
121
  class OutputInfluxdbCompression(str, Enum, metaclass=utils.OpenEnumMeta):
146
122
  r"""Codec to use to compress the persisted data"""
147
123
 
148
- # None
149
124
  NONE = "none"
150
- # Gzip
151
125
  GZIP = "gzip"
152
126
 
153
127
 
154
128
  class OutputInfluxdbQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
155
129
  r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
156
130
 
157
- # Block
158
131
  BLOCK = "block"
159
- # Drop new data
160
132
  DROP = "drop"
161
133
 
162
134
 
135
+ class OutputInfluxdbMode(str, Enum, metaclass=utils.OpenEnumMeta):
136
+ r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
137
+
138
+ ERROR = "error"
139
+ BACKPRESSURE = "backpressure"
140
+ ALWAYS = "always"
141
+
142
+
163
143
  class OutputInfluxdbPqControlsTypedDict(TypedDict):
164
144
  pass
165
145
 
@@ -263,16 +243,6 @@ class OutputInfluxdbTypedDict(TypedDict):
263
243
  r"""Bucket to write to."""
264
244
  org: NotRequired[str]
265
245
  r"""Organization ID for this bucket."""
266
- pq_strict_ordering: NotRequired[bool]
267
- r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
268
- pq_rate_per_sec: NotRequired[float]
269
- r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
270
- pq_mode: NotRequired[OutputInfluxdbMode]
271
- r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
272
- pq_max_buffer_size: NotRequired[float]
273
- r"""The maximum number of events to hold in memory before writing the events to disk"""
274
- pq_max_backpressure_sec: NotRequired[float]
275
- r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
276
246
  pq_max_file_size: NotRequired[str]
277
247
  r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
278
248
  pq_max_size: NotRequired[str]
@@ -283,6 +253,8 @@ class OutputInfluxdbTypedDict(TypedDict):
283
253
  r"""Codec to use to compress the persisted data"""
284
254
  pq_on_backpressure: NotRequired[OutputInfluxdbQueueFullBehavior]
285
255
  r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
256
+ pq_mode: NotRequired[OutputInfluxdbMode]
257
+ r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
286
258
  pq_controls: NotRequired[OutputInfluxdbPqControlsTypedDict]
287
259
  username: NotRequired[str]
288
260
  password: NotRequired[str]
@@ -456,34 +428,6 @@ class OutputInfluxdb(BaseModel):
456
428
  org: Optional[str] = None
457
429
  r"""Organization ID for this bucket."""
458
430
 
459
- pq_strict_ordering: Annotated[
460
- Optional[bool], pydantic.Field(alias="pqStrictOrdering")
461
- ] = True
462
- r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
463
-
464
- pq_rate_per_sec: Annotated[
465
- Optional[float], pydantic.Field(alias="pqRatePerSec")
466
- ] = 0
467
- r"""Throttling rate (in events per second) to impose while writing to Destinations from PQ. Defaults to 0, which disables throttling."""
468
-
469
- pq_mode: Annotated[
470
- Annotated[
471
- Optional[OutputInfluxdbMode], PlainValidator(validate_open_enum(False))
472
- ],
473
- pydantic.Field(alias="pqMode"),
474
- ] = OutputInfluxdbMode.ERROR
475
- r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
476
-
477
- pq_max_buffer_size: Annotated[
478
- Optional[float], pydantic.Field(alias="pqMaxBufferSize")
479
- ] = 42
480
- r"""The maximum number of events to hold in memory before writing the events to disk"""
481
-
482
- pq_max_backpressure_sec: Annotated[
483
- Optional[float], pydantic.Field(alias="pqMaxBackpressureSec")
484
- ] = 30
485
- r"""How long (in seconds) to wait for backpressure to resolve before engaging the queue"""
486
-
487
431
  pq_max_file_size: Annotated[
488
432
  Optional[str], pydantic.Field(alias="pqMaxFileSize")
489
433
  ] = "1 MB"
@@ -515,6 +459,14 @@ class OutputInfluxdb(BaseModel):
515
459
  ] = OutputInfluxdbQueueFullBehavior.BLOCK
516
460
  r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
517
461
 
462
+ pq_mode: Annotated[
463
+ Annotated[
464
+ Optional[OutputInfluxdbMode], PlainValidator(validate_open_enum(False))
465
+ ],
466
+ pydantic.Field(alias="pqMode"),
467
+ ] = OutputInfluxdbMode.ERROR
468
+ r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
469
+
518
470
  pq_controls: Annotated[
519
471
  Optional[OutputInfluxdbPqControls], pydantic.Field(alias="pqControls")
520
472
  ] = None
@@ -569,66 +521,3 @@ class OutputInfluxdb(BaseModel):
569
521
  Optional[List[OutputInfluxdbOauthHeader]], pydantic.Field(alias="oauthHeaders")
570
522
  ] = None
571
523
  r"""Additional headers to send in the OAuth login request. @{product} will automatically add the content-type header 'application/x-www-form-urlencoded' when sending this request."""
572
-
573
- @field_serializer("timestamp_precision")
574
- def serialize_timestamp_precision(self, value):
575
- if isinstance(value, str):
576
- try:
577
- return models.TimestampPrecision(value)
578
- except ValueError:
579
- return value
580
- return value
581
-
582
- @field_serializer("failed_request_logging_mode")
583
- def serialize_failed_request_logging_mode(self, value):
584
- if isinstance(value, str):
585
- try:
586
- return models.OutputInfluxdbFailedRequestLoggingMode(value)
587
- except ValueError:
588
- return value
589
- return value
590
-
591
- @field_serializer("on_backpressure")
592
- def serialize_on_backpressure(self, value):
593
- if isinstance(value, str):
594
- try:
595
- return models.OutputInfluxdbBackpressureBehavior(value)
596
- except ValueError:
597
- return value
598
- return value
599
-
600
- @field_serializer("auth_type")
601
- def serialize_auth_type(self, value):
602
- if isinstance(value, str):
603
- try:
604
- return models.OutputInfluxdbAuthenticationType(value)
605
- except ValueError:
606
- return value
607
- return value
608
-
609
- @field_serializer("pq_mode")
610
- def serialize_pq_mode(self, value):
611
- if isinstance(value, str):
612
- try:
613
- return models.OutputInfluxdbMode(value)
614
- except ValueError:
615
- return value
616
- return value
617
-
618
- @field_serializer("pq_compress")
619
- def serialize_pq_compress(self, value):
620
- if isinstance(value, str):
621
- try:
622
- return models.OutputInfluxdbCompression(value)
623
- except ValueError:
624
- return value
625
- return value
626
-
627
- @field_serializer("pq_on_backpressure")
628
- def serialize_pq_on_backpressure(self, value):
629
- if isinstance(value, str):
630
- try:
631
- return models.OutputInfluxdbQueueFullBehavior(value)
632
- except ValueError:
633
- return value
634
- return value