cribl-control-plane 0.0.50rc2__py3-none-any.whl → 0.0.51__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 (176) hide show
  1. cribl_control_plane/_version.py +5 -3
  2. cribl_control_plane/errors/healthstatus_error.py +2 -8
  3. cribl_control_plane/groups_sdk.py +4 -4
  4. cribl_control_plane/health.py +2 -6
  5. cribl_control_plane/models/__init__.py +31 -56
  6. cribl_control_plane/models/appmode.py +13 -0
  7. cribl_control_plane/models/cacheconnection.py +2 -10
  8. cribl_control_plane/models/cacheconnectionbackfillstatus.py +1 -2
  9. cribl_control_plane/models/cloudprovider.py +1 -2
  10. cribl_control_plane/models/configgroup.py +4 -24
  11. cribl_control_plane/models/configgroupcloud.py +2 -6
  12. cribl_control_plane/models/createconfiggroupbyproductop.py +2 -8
  13. cribl_control_plane/models/createinputhectokenbyidop.py +5 -6
  14. cribl_control_plane/models/createversionpushop.py +5 -5
  15. cribl_control_plane/models/cribllakedataset.py +2 -8
  16. cribl_control_plane/models/datasetmetadata.py +2 -8
  17. cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +2 -7
  18. cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +2 -4
  19. cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +2 -4
  20. cribl_control_plane/models/getconfiggroupbyproductandidop.py +1 -3
  21. cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +2 -7
  22. cribl_control_plane/models/getsummaryop.py +2 -7
  23. cribl_control_plane/models/getversionshowop.py +5 -6
  24. cribl_control_plane/models/gitinfo.py +3 -14
  25. cribl_control_plane/models/hbcriblinfo.py +3 -24
  26. cribl_control_plane/models/healthstatus.py +4 -7
  27. cribl_control_plane/models/heartbeatmetadata.py +0 -3
  28. cribl_control_plane/models/input.py +63 -65
  29. cribl_control_plane/models/inputappscope.py +14 -34
  30. cribl_control_plane/models/inputazureblob.py +6 -17
  31. cribl_control_plane/models/inputcollection.py +4 -11
  32. cribl_control_plane/models/inputconfluentcloud.py +32 -41
  33. cribl_control_plane/models/inputcribl.py +4 -11
  34. cribl_control_plane/models/inputcriblhttp.py +8 -23
  35. cribl_control_plane/models/inputcribllakehttp.py +10 -22
  36. cribl_control_plane/models/inputcriblmetrics.py +4 -12
  37. cribl_control_plane/models/inputcribltcp.py +8 -23
  38. cribl_control_plane/models/inputcrowdstrike.py +10 -26
  39. cribl_control_plane/models/inputdatadogagent.py +8 -24
  40. cribl_control_plane/models/inputdatagen.py +4 -11
  41. cribl_control_plane/models/inputedgeprometheus.py +24 -58
  42. cribl_control_plane/models/inputelastic.py +14 -40
  43. cribl_control_plane/models/inputeventhub.py +6 -15
  44. cribl_control_plane/models/inputexec.py +6 -14
  45. cribl_control_plane/models/inputfile.py +6 -15
  46. cribl_control_plane/models/inputfirehose.py +8 -23
  47. cribl_control_plane/models/inputgooglepubsub.py +6 -19
  48. cribl_control_plane/models/inputgrafana.py +24 -67
  49. cribl_control_plane/models/inputhttp.py +8 -23
  50. cribl_control_plane/models/inputhttpraw.py +8 -23
  51. cribl_control_plane/models/inputjournalfiles.py +4 -12
  52. cribl_control_plane/models/inputkafka.py +28 -41
  53. cribl_control_plane/models/inputkinesis.py +14 -38
  54. cribl_control_plane/models/inputkubeevents.py +4 -11
  55. cribl_control_plane/models/inputkubelogs.py +8 -16
  56. cribl_control_plane/models/inputkubemetrics.py +8 -16
  57. cribl_control_plane/models/inputloki.py +10 -29
  58. cribl_control_plane/models/inputmetrics.py +8 -23
  59. cribl_control_plane/models/inputmodeldriventelemetry.py +10 -32
  60. cribl_control_plane/models/inputmsk.py +30 -48
  61. cribl_control_plane/models/inputnetflow.py +4 -11
  62. cribl_control_plane/models/inputoffice365mgmt.py +14 -33
  63. cribl_control_plane/models/inputoffice365msgtrace.py +16 -35
  64. cribl_control_plane/models/inputoffice365service.py +16 -35
  65. cribl_control_plane/models/inputopentelemetry.py +16 -38
  66. cribl_control_plane/models/inputprometheus.py +18 -50
  67. cribl_control_plane/models/inputprometheusrw.py +10 -30
  68. cribl_control_plane/models/inputrawudp.py +4 -11
  69. cribl_control_plane/models/inputs3.py +8 -21
  70. cribl_control_plane/models/inputs3inventory.py +10 -26
  71. cribl_control_plane/models/inputsecuritylake.py +10 -27
  72. cribl_control_plane/models/inputsnmp.py +6 -16
  73. cribl_control_plane/models/inputsplunk.py +12 -33
  74. cribl_control_plane/models/inputsplunkhec.py +10 -29
  75. cribl_control_plane/models/inputsplunksearch.py +14 -33
  76. cribl_control_plane/models/inputsqs.py +10 -27
  77. cribl_control_plane/models/inputsyslog.py +16 -43
  78. cribl_control_plane/models/inputsystemmetrics.py +24 -48
  79. cribl_control_plane/models/inputsystemstate.py +8 -16
  80. cribl_control_plane/models/inputtcp.py +10 -29
  81. cribl_control_plane/models/inputtcpjson.py +10 -29
  82. cribl_control_plane/models/inputwef.py +14 -37
  83. cribl_control_plane/models/inputwindowsmetrics.py +24 -44
  84. cribl_control_plane/models/inputwineventlogs.py +10 -20
  85. cribl_control_plane/models/inputwiz.py +8 -21
  86. cribl_control_plane/models/inputwizwebhook.py +8 -23
  87. cribl_control_plane/models/inputzscalerhec.py +10 -29
  88. cribl_control_plane/models/lakehouseconnectiontype.py +1 -2
  89. cribl_control_plane/models/listconfiggroupbyproductop.py +1 -3
  90. cribl_control_plane/models/masterworkerentry.py +2 -7
  91. cribl_control_plane/models/nodeactiveupgradestatus.py +1 -2
  92. cribl_control_plane/models/nodefailedupgradestatus.py +1 -2
  93. cribl_control_plane/models/nodeprovidedinfo.py +0 -3
  94. cribl_control_plane/models/nodeskippedupgradestatus.py +1 -2
  95. cribl_control_plane/models/nodeupgradestate.py +1 -2
  96. cribl_control_plane/models/nodeupgradestatus.py +5 -13
  97. cribl_control_plane/models/output.py +79 -84
  98. cribl_control_plane/models/outputazureblob.py +18 -48
  99. cribl_control_plane/models/outputazuredataexplorer.py +28 -73
  100. cribl_control_plane/models/outputazureeventhub.py +18 -40
  101. cribl_control_plane/models/outputazurelogs.py +12 -35
  102. cribl_control_plane/models/outputclickhouse.py +20 -55
  103. cribl_control_plane/models/outputcloudwatch.py +10 -29
  104. cribl_control_plane/models/outputconfluentcloud.py +44 -71
  105. cribl_control_plane/models/outputcriblhttp.py +16 -44
  106. cribl_control_plane/models/outputcribllake.py +16 -46
  107. cribl_control_plane/models/outputcribltcp.py +18 -45
  108. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +14 -49
  109. cribl_control_plane/models/outputdatadog.py +20 -48
  110. cribl_control_plane/models/outputdataset.py +18 -46
  111. cribl_control_plane/models/outputdiskspool.py +2 -7
  112. cribl_control_plane/models/outputdls3.py +24 -68
  113. cribl_control_plane/models/outputdynatracehttp.py +20 -53
  114. cribl_control_plane/models/outputdynatraceotlp.py +22 -55
  115. cribl_control_plane/models/outputelastic.py +18 -43
  116. cribl_control_plane/models/outputelasticcloud.py +12 -36
  117. cribl_control_plane/models/outputexabeam.py +10 -29
  118. cribl_control_plane/models/outputfilesystem.py +14 -39
  119. cribl_control_plane/models/outputgooglechronicle.py +16 -50
  120. cribl_control_plane/models/outputgooglecloudlogging.py +18 -50
  121. cribl_control_plane/models/outputgooglecloudstorage.py +24 -66
  122. cribl_control_plane/models/outputgooglepubsub.py +10 -31
  123. cribl_control_plane/models/outputgrafanacloud.py +32 -97
  124. cribl_control_plane/models/outputgraphite.py +14 -31
  125. cribl_control_plane/models/outputhoneycomb.py +12 -35
  126. cribl_control_plane/models/outputhumiohec.py +16 -43
  127. cribl_control_plane/models/outputinfluxdb.py +16 -42
  128. cribl_control_plane/models/outputkafka.py +40 -69
  129. cribl_control_plane/models/outputkinesis.py +16 -40
  130. cribl_control_plane/models/outputloki.py +16 -41
  131. cribl_control_plane/models/outputminio.py +24 -65
  132. cribl_control_plane/models/outputmsk.py +42 -77
  133. cribl_control_plane/models/outputnewrelic.py +18 -43
  134. cribl_control_plane/models/outputnewrelicevents.py +14 -41
  135. cribl_control_plane/models/outputopentelemetry.py +26 -67
  136. cribl_control_plane/models/outputprometheus.py +12 -35
  137. cribl_control_plane/models/outputring.py +8 -19
  138. cribl_control_plane/models/outputs3.py +26 -68
  139. cribl_control_plane/models/outputsecuritylake.py +18 -52
  140. cribl_control_plane/models/outputsentinel.py +18 -45
  141. cribl_control_plane/models/outputsentineloneaisiem.py +18 -50
  142. cribl_control_plane/models/outputservicenow.py +24 -60
  143. cribl_control_plane/models/outputsignalfx.py +14 -37
  144. cribl_control_plane/models/outputsns.py +14 -36
  145. cribl_control_plane/models/outputsplunk.py +24 -60
  146. cribl_control_plane/models/outputsplunkhec.py +12 -35
  147. cribl_control_plane/models/outputsplunklb.py +30 -77
  148. cribl_control_plane/models/outputsqs.py +16 -41
  149. cribl_control_plane/models/outputstatsd.py +14 -30
  150. cribl_control_plane/models/outputstatsdext.py +12 -29
  151. cribl_control_plane/models/outputsumologic.py +12 -35
  152. cribl_control_plane/models/outputsyslog.py +24 -58
  153. cribl_control_plane/models/outputtcpjson.py +20 -52
  154. cribl_control_plane/models/outputwavefront.py +12 -35
  155. cribl_control_plane/models/outputwebhook.py +22 -58
  156. cribl_control_plane/models/outputxsiam.py +14 -35
  157. cribl_control_plane/models/productscore.py +1 -2
  158. cribl_control_plane/models/rbacresource.py +1 -2
  159. cribl_control_plane/models/resourcepolicy.py +2 -4
  160. cribl_control_plane/models/routecloneconf.py +13 -0
  161. cribl_control_plane/models/routeconf.py +4 -3
  162. cribl_control_plane/models/runnablejobcollection.py +13 -30
  163. cribl_control_plane/models/runnablejobexecutor.py +4 -13
  164. cribl_control_plane/models/runnablejobscheduledsearch.py +2 -7
  165. cribl_control_plane/models/updateconfiggroupbyproductandidop.py +2 -8
  166. cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +2 -8
  167. cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +5 -6
  168. cribl_control_plane/models/workertypes.py +1 -2
  169. {cribl_control_plane-0.0.50rc2.dist-info → cribl_control_plane-0.0.51.dist-info}/METADATA +14 -5
  170. cribl_control_plane-0.0.51.dist-info/RECORD +325 -0
  171. cribl_control_plane/models/error.py +0 -16
  172. cribl_control_plane/models/gethealthinfoop.py +0 -17
  173. cribl_control_plane/models/gitshowresult.py +0 -19
  174. cribl_control_plane/models/outputdatabricks.py +0 -282
  175. cribl_control_plane-0.0.50rc2.dist-info/RECORD +0 -327
  176. {cribl_control_plane-0.0.50rc2.dist-info → cribl_control_plane-0.0.51.dist-info}/WHEEL +0 -0
@@ -1,12 +1,9 @@
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 utils
5
4
  from cribl_control_plane.types import BaseModel
6
- from cribl_control_plane.utils import validate_open_enum
7
5
  from enum import Enum
8
6
  import pydantic
9
- from pydantic.functional_validators import PlainValidator
10
7
  from typing import Any, List, Optional
11
8
  from typing_extensions import Annotated, NotRequired, TypedDict
12
9
 
@@ -26,14 +23,14 @@ class InputCriblLakeHTTPConnection(BaseModel):
26
23
  pipeline: Optional[str] = None
27
24
 
28
25
 
29
- class InputCriblLakeHTTPMode(str, Enum, metaclass=utils.OpenEnumMeta):
26
+ class InputCriblLakeHTTPMode(str, Enum):
30
27
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
28
 
32
29
  SMART = "smart"
33
30
  ALWAYS = "always"
34
31
 
35
32
 
36
- class InputCriblLakeHTTPCompression(str, Enum, metaclass=utils.OpenEnumMeta):
33
+ class InputCriblLakeHTTPCompression(str, Enum):
37
34
  r"""Codec to use to compress the persisted data"""
38
35
 
39
36
  NONE = "none"
@@ -67,9 +64,7 @@ class InputCriblLakeHTTPPqTypedDict(TypedDict):
67
64
 
68
65
 
69
66
  class InputCriblLakeHTTPPq(BaseModel):
70
- mode: Annotated[
71
- Optional[InputCriblLakeHTTPMode], PlainValidator(validate_open_enum(False))
72
- ] = InputCriblLakeHTTPMode.ALWAYS
67
+ mode: Optional[InputCriblLakeHTTPMode] = InputCriblLakeHTTPMode.ALWAYS
73
68
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
74
69
 
75
70
  max_buffer_size: Annotated[
@@ -93,10 +88,9 @@ class InputCriblLakeHTTPPq(BaseModel):
93
88
  path: Optional[str] = "$CRIBL_HOME/state/queues"
94
89
  r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
95
90
 
96
- compress: Annotated[
97
- Optional[InputCriblLakeHTTPCompression],
98
- PlainValidator(validate_open_enum(False)),
99
- ] = InputCriblLakeHTTPCompression.NONE
91
+ compress: Optional[InputCriblLakeHTTPCompression] = (
92
+ InputCriblLakeHTTPCompression.NONE
93
+ )
100
94
  r"""Codec to use to compress the persisted data"""
101
95
 
102
96
  pq_controls: Annotated[
@@ -104,14 +98,14 @@ class InputCriblLakeHTTPPq(BaseModel):
104
98
  ] = None
105
99
 
106
100
 
107
- class InputCriblLakeHTTPMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
101
+ class InputCriblLakeHTTPMinimumTLSVersion(str, Enum):
108
102
  TL_SV1 = "TLSv1"
109
103
  TL_SV1_1 = "TLSv1.1"
110
104
  TL_SV1_2 = "TLSv1.2"
111
105
  TL_SV1_3 = "TLSv1.3"
112
106
 
113
107
 
114
- class InputCriblLakeHTTPMaximumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
108
+ class InputCriblLakeHTTPMaximumTLSVersion(str, Enum):
115
109
  TL_SV1 = "TLSv1"
116
110
  TL_SV1_1 = "TLSv1.1"
117
111
  TL_SV1_2 = "TLSv1.2"
@@ -170,18 +164,12 @@ class InputCriblLakeHTTPTLSSettingsServerSide(BaseModel):
170
164
  ] = None
171
165
 
172
166
  min_version: Annotated[
173
- Annotated[
174
- Optional[InputCriblLakeHTTPMinimumTLSVersion],
175
- PlainValidator(validate_open_enum(False)),
176
- ],
167
+ Optional[InputCriblLakeHTTPMinimumTLSVersion],
177
168
  pydantic.Field(alias="minVersion"),
178
169
  ] = None
179
170
 
180
171
  max_version: Annotated[
181
- Annotated[
182
- Optional[InputCriblLakeHTTPMaximumTLSVersion],
183
- PlainValidator(validate_open_enum(False)),
184
- ],
172
+ Optional[InputCriblLakeHTTPMaximumTLSVersion],
185
173
  pydantic.Field(alias="maxVersion"),
186
174
  ] = None
187
175
 
@@ -1,12 +1,9 @@
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 utils
5
4
  from cribl_control_plane.types import BaseModel
6
- from cribl_control_plane.utils import validate_open_enum
7
5
  from enum import Enum
8
6
  import pydantic
9
- from pydantic.functional_validators import PlainValidator
10
7
  from typing import List, Optional
11
8
  from typing_extensions import Annotated, NotRequired, TypedDict
12
9
 
@@ -26,14 +23,14 @@ class InputCriblmetricsConnection(BaseModel):
26
23
  pipeline: Optional[str] = None
27
24
 
28
25
 
29
- class InputCriblmetricsMode(str, Enum, metaclass=utils.OpenEnumMeta):
26
+ class InputCriblmetricsMode(str, Enum):
30
27
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
28
 
32
29
  SMART = "smart"
33
30
  ALWAYS = "always"
34
31
 
35
32
 
36
- class InputCriblmetricsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
33
+ class InputCriblmetricsCompression(str, Enum):
37
34
  r"""Codec to use to compress the persisted data"""
38
35
 
39
36
  NONE = "none"
@@ -67,9 +64,7 @@ class InputCriblmetricsPqTypedDict(TypedDict):
67
64
 
68
65
 
69
66
  class InputCriblmetricsPq(BaseModel):
70
- mode: Annotated[
71
- Optional[InputCriblmetricsMode], PlainValidator(validate_open_enum(False))
72
- ] = InputCriblmetricsMode.ALWAYS
67
+ mode: Optional[InputCriblmetricsMode] = InputCriblmetricsMode.ALWAYS
73
68
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
74
69
 
75
70
  max_buffer_size: Annotated[
@@ -93,10 +88,7 @@ class InputCriblmetricsPq(BaseModel):
93
88
  path: Optional[str] = "$CRIBL_HOME/state/queues"
94
89
  r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
95
90
 
96
- compress: Annotated[
97
- Optional[InputCriblmetricsCompression],
98
- PlainValidator(validate_open_enum(False)),
99
- ] = InputCriblmetricsCompression.NONE
91
+ compress: Optional[InputCriblmetricsCompression] = InputCriblmetricsCompression.NONE
100
92
  r"""Codec to use to compress the persisted data"""
101
93
 
102
94
  pq_controls: Annotated[
@@ -1,12 +1,9 @@
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 utils
5
4
  from cribl_control_plane.types import BaseModel
6
- from cribl_control_plane.utils import validate_open_enum
7
5
  from enum import Enum
8
6
  import pydantic
9
- from pydantic.functional_validators import PlainValidator
10
7
  from typing import Any, List, Optional
11
8
  from typing_extensions import Annotated, NotRequired, TypedDict
12
9
 
@@ -26,14 +23,14 @@ class InputCriblTCPConnection(BaseModel):
26
23
  pipeline: Optional[str] = None
27
24
 
28
25
 
29
- class InputCriblTCPMode(str, Enum, metaclass=utils.OpenEnumMeta):
26
+ class InputCriblTCPMode(str, Enum):
30
27
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
28
 
32
29
  SMART = "smart"
33
30
  ALWAYS = "always"
34
31
 
35
32
 
36
- class InputCriblTCPCompression(str, Enum, metaclass=utils.OpenEnumMeta):
33
+ class InputCriblTCPCompression(str, Enum):
37
34
  r"""Codec to use to compress the persisted data"""
38
35
 
39
36
  NONE = "none"
@@ -67,9 +64,7 @@ class InputCriblTCPPqTypedDict(TypedDict):
67
64
 
68
65
 
69
66
  class InputCriblTCPPq(BaseModel):
70
- mode: Annotated[
71
- Optional[InputCriblTCPMode], PlainValidator(validate_open_enum(False))
72
- ] = InputCriblTCPMode.ALWAYS
67
+ mode: Optional[InputCriblTCPMode] = InputCriblTCPMode.ALWAYS
73
68
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
74
69
 
75
70
  max_buffer_size: Annotated[
@@ -93,9 +88,7 @@ class InputCriblTCPPq(BaseModel):
93
88
  path: Optional[str] = "$CRIBL_HOME/state/queues"
94
89
  r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
95
90
 
96
- compress: Annotated[
97
- Optional[InputCriblTCPCompression], PlainValidator(validate_open_enum(False))
98
- ] = InputCriblTCPCompression.NONE
91
+ compress: Optional[InputCriblTCPCompression] = InputCriblTCPCompression.NONE
99
92
  r"""Codec to use to compress the persisted data"""
100
93
 
101
94
  pq_controls: Annotated[
@@ -103,14 +96,14 @@ class InputCriblTCPPq(BaseModel):
103
96
  ] = None
104
97
 
105
98
 
106
- class InputCriblTCPMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
99
+ class InputCriblTCPMinimumTLSVersion(str, Enum):
107
100
  TL_SV1 = "TLSv1"
108
101
  TL_SV1_1 = "TLSv1.1"
109
102
  TL_SV1_2 = "TLSv1.2"
110
103
  TL_SV1_3 = "TLSv1.3"
111
104
 
112
105
 
113
- class InputCriblTCPMaximumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
106
+ class InputCriblTCPMaximumTLSVersion(str, Enum):
114
107
  TL_SV1 = "TLSv1"
115
108
  TL_SV1_1 = "TLSv1.1"
116
109
  TL_SV1_2 = "TLSv1.2"
@@ -169,19 +162,11 @@ class InputCriblTCPTLSSettingsServerSide(BaseModel):
169
162
  ] = None
170
163
 
171
164
  min_version: Annotated[
172
- Annotated[
173
- Optional[InputCriblTCPMinimumTLSVersion],
174
- PlainValidator(validate_open_enum(False)),
175
- ],
176
- pydantic.Field(alias="minVersion"),
165
+ Optional[InputCriblTCPMinimumTLSVersion], pydantic.Field(alias="minVersion")
177
166
  ] = None
178
167
 
179
168
  max_version: Annotated[
180
- Annotated[
181
- Optional[InputCriblTCPMaximumTLSVersion],
182
- PlainValidator(validate_open_enum(False)),
183
- ],
184
- pydantic.Field(alias="maxVersion"),
169
+ Optional[InputCriblTCPMaximumTLSVersion], pydantic.Field(alias="maxVersion")
185
170
  ] = None
186
171
 
187
172
 
@@ -1,12 +1,9 @@
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 utils
5
4
  from cribl_control_plane.types import BaseModel
6
- from cribl_control_plane.utils import validate_open_enum
7
5
  from enum import Enum
8
6
  import pydantic
9
- from pydantic.functional_validators import PlainValidator
10
7
  from typing import List, Optional
11
8
  from typing_extensions import Annotated, NotRequired, TypedDict
12
9
 
@@ -26,14 +23,14 @@ class InputCrowdstrikeConnection(BaseModel):
26
23
  pipeline: Optional[str] = None
27
24
 
28
25
 
29
- class InputCrowdstrikeMode(str, Enum, metaclass=utils.OpenEnumMeta):
26
+ class InputCrowdstrikeMode(str, Enum):
30
27
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
28
 
32
29
  SMART = "smart"
33
30
  ALWAYS = "always"
34
31
 
35
32
 
36
- class InputCrowdstrikeCompression(str, Enum, metaclass=utils.OpenEnumMeta):
33
+ class InputCrowdstrikeCompression(str, Enum):
37
34
  r"""Codec to use to compress the persisted data"""
38
35
 
39
36
  NONE = "none"
@@ -67,9 +64,7 @@ class InputCrowdstrikePqTypedDict(TypedDict):
67
64
 
68
65
 
69
66
  class InputCrowdstrikePq(BaseModel):
70
- mode: Annotated[
71
- Optional[InputCrowdstrikeMode], PlainValidator(validate_open_enum(False))
72
- ] = InputCrowdstrikeMode.ALWAYS
67
+ mode: Optional[InputCrowdstrikeMode] = InputCrowdstrikeMode.ALWAYS
73
68
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
74
69
 
75
70
  max_buffer_size: Annotated[
@@ -93,9 +88,7 @@ class InputCrowdstrikePq(BaseModel):
93
88
  path: Optional[str] = "$CRIBL_HOME/state/queues"
94
89
  r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
95
90
 
96
- compress: Annotated[
97
- Optional[InputCrowdstrikeCompression], PlainValidator(validate_open_enum(False))
98
- ] = InputCrowdstrikeCompression.NONE
91
+ compress: Optional[InputCrowdstrikeCompression] = InputCrowdstrikeCompression.NONE
99
92
  r"""Codec to use to compress the persisted data"""
100
93
 
101
94
  pq_controls: Annotated[
@@ -103,7 +96,7 @@ class InputCrowdstrikePq(BaseModel):
103
96
  ] = None
104
97
 
105
98
 
106
- class InputCrowdstrikeAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
99
+ class InputCrowdstrikeAuthenticationMethod(str, Enum):
107
100
  r"""AWS authentication method. Choose Auto to use IAM roles."""
108
101
 
109
102
  AUTO = "auto"
@@ -111,7 +104,7 @@ class InputCrowdstrikeAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMe
111
104
  SECRET = "secret"
112
105
 
113
106
 
114
- class InputCrowdstrikeSignatureVersion(str, Enum, metaclass=utils.OpenEnumMeta):
107
+ class InputCrowdstrikeSignatureVersion(str, Enum):
115
108
  r"""Signature version to use for signing S3 requests"""
116
109
 
117
110
  V2 = "v2"
@@ -164,7 +157,7 @@ class InputCrowdstrikeCheckpointing(BaseModel):
164
157
  r"""The number of times to retry processing when a processing error occurs. If Skip file on error is enabled, this setting is ignored."""
165
158
 
166
159
 
167
- class InputCrowdstrikeTagAfterProcessing(str, Enum, metaclass=utils.OpenEnumMeta):
160
+ class InputCrowdstrikeTagAfterProcessing(str, Enum):
168
161
  FALSE = "false"
169
162
  TRUE = "true"
170
163
 
@@ -293,10 +286,7 @@ class InputCrowdstrike(BaseModel):
293
286
  r"""SQS queue owner's AWS account ID. Leave empty if SQS queue is in same AWS account."""
294
287
 
295
288
  aws_authentication_method: Annotated[
296
- Annotated[
297
- Optional[InputCrowdstrikeAuthenticationMethod],
298
- PlainValidator(validate_open_enum(False)),
299
- ],
289
+ Optional[InputCrowdstrikeAuthenticationMethod],
300
290
  pydantic.Field(alias="awsAuthenticationMethod"),
301
291
  ] = InputCrowdstrikeAuthenticationMethod.AUTO
302
292
  r"""AWS authentication method. Choose Auto to use IAM roles."""
@@ -312,10 +302,7 @@ class InputCrowdstrike(BaseModel):
312
302
  r"""S3 service endpoint. If empty, defaults to the AWS Region-specific endpoint. Otherwise, it must point to S3-compatible endpoint."""
313
303
 
314
304
  signature_version: Annotated[
315
- Annotated[
316
- Optional[InputCrowdstrikeSignatureVersion],
317
- PlainValidator(validate_open_enum(False)),
318
- ],
305
+ Optional[InputCrowdstrikeSignatureVersion],
319
306
  pydantic.Field(alias="signatureVersion"),
320
307
  ] = InputCrowdstrikeSignatureVersion.V4
321
308
  r"""Signature version to use for signing S3 requests"""
@@ -412,10 +399,7 @@ class InputCrowdstrike(BaseModel):
412
399
  r"""Select or create a stored secret that references your access key and secret key"""
413
400
 
414
401
  tag_after_processing: Annotated[
415
- Annotated[
416
- Optional[InputCrowdstrikeTagAfterProcessing],
417
- PlainValidator(validate_open_enum(False)),
418
- ],
402
+ Optional[InputCrowdstrikeTagAfterProcessing],
419
403
  pydantic.Field(alias="tagAfterProcessing"),
420
404
  ] = None
421
405
 
@@ -1,12 +1,9 @@
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 utils
5
4
  from cribl_control_plane.types import BaseModel
6
- from cribl_control_plane.utils import validate_open_enum
7
5
  from enum import Enum
8
6
  import pydantic
9
- from pydantic.functional_validators import PlainValidator
10
7
  from typing import Any, List, Optional
11
8
  from typing_extensions import Annotated, NotRequired, TypedDict
12
9
 
@@ -26,14 +23,14 @@ class InputDatadogAgentConnection(BaseModel):
26
23
  pipeline: Optional[str] = None
27
24
 
28
25
 
29
- class InputDatadogAgentMode(str, Enum, metaclass=utils.OpenEnumMeta):
26
+ class InputDatadogAgentMode(str, Enum):
30
27
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
28
 
32
29
  SMART = "smart"
33
30
  ALWAYS = "always"
34
31
 
35
32
 
36
- class InputDatadogAgentCompression(str, Enum, metaclass=utils.OpenEnumMeta):
33
+ class InputDatadogAgentCompression(str, Enum):
37
34
  r"""Codec to use to compress the persisted data"""
38
35
 
39
36
  NONE = "none"
@@ -67,9 +64,7 @@ class InputDatadogAgentPqTypedDict(TypedDict):
67
64
 
68
65
 
69
66
  class InputDatadogAgentPq(BaseModel):
70
- mode: Annotated[
71
- Optional[InputDatadogAgentMode], PlainValidator(validate_open_enum(False))
72
- ] = InputDatadogAgentMode.ALWAYS
67
+ mode: Optional[InputDatadogAgentMode] = InputDatadogAgentMode.ALWAYS
73
68
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
74
69
 
75
70
  max_buffer_size: Annotated[
@@ -93,10 +88,7 @@ class InputDatadogAgentPq(BaseModel):
93
88
  path: Optional[str] = "$CRIBL_HOME/state/queues"
94
89
  r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
95
90
 
96
- compress: Annotated[
97
- Optional[InputDatadogAgentCompression],
98
- PlainValidator(validate_open_enum(False)),
99
- ] = InputDatadogAgentCompression.NONE
91
+ compress: Optional[InputDatadogAgentCompression] = InputDatadogAgentCompression.NONE
100
92
  r"""Codec to use to compress the persisted data"""
101
93
 
102
94
  pq_controls: Annotated[
@@ -104,14 +96,14 @@ class InputDatadogAgentPq(BaseModel):
104
96
  ] = None
105
97
 
106
98
 
107
- class InputDatadogAgentMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
99
+ class InputDatadogAgentMinimumTLSVersion(str, Enum):
108
100
  TL_SV1 = "TLSv1"
109
101
  TL_SV1_1 = "TLSv1.1"
110
102
  TL_SV1_2 = "TLSv1.2"
111
103
  TL_SV1_3 = "TLSv1.3"
112
104
 
113
105
 
114
- class InputDatadogAgentMaximumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
106
+ class InputDatadogAgentMaximumTLSVersion(str, Enum):
115
107
  TL_SV1 = "TLSv1"
116
108
  TL_SV1_1 = "TLSv1.1"
117
109
  TL_SV1_2 = "TLSv1.2"
@@ -170,19 +162,11 @@ class InputDatadogAgentTLSSettingsServerSide(BaseModel):
170
162
  ] = None
171
163
 
172
164
  min_version: Annotated[
173
- Annotated[
174
- Optional[InputDatadogAgentMinimumTLSVersion],
175
- PlainValidator(validate_open_enum(False)),
176
- ],
177
- pydantic.Field(alias="minVersion"),
165
+ Optional[InputDatadogAgentMinimumTLSVersion], pydantic.Field(alias="minVersion")
178
166
  ] = None
179
167
 
180
168
  max_version: Annotated[
181
- Annotated[
182
- Optional[InputDatadogAgentMaximumTLSVersion],
183
- PlainValidator(validate_open_enum(False)),
184
- ],
185
- pydantic.Field(alias="maxVersion"),
169
+ Optional[InputDatadogAgentMaximumTLSVersion], pydantic.Field(alias="maxVersion")
186
170
  ] = None
187
171
 
188
172
 
@@ -1,12 +1,9 @@
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 utils
5
4
  from cribl_control_plane.types import BaseModel
6
- from cribl_control_plane.utils import validate_open_enum
7
5
  from enum import Enum
8
6
  import pydantic
9
- from pydantic.functional_validators import PlainValidator
10
7
  from typing import List, Optional
11
8
  from typing_extensions import Annotated, NotRequired, TypedDict
12
9
 
@@ -26,14 +23,14 @@ class InputDatagenConnection(BaseModel):
26
23
  pipeline: Optional[str] = None
27
24
 
28
25
 
29
- class InputDatagenMode(str, Enum, metaclass=utils.OpenEnumMeta):
26
+ class InputDatagenMode(str, Enum):
30
27
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
28
 
32
29
  SMART = "smart"
33
30
  ALWAYS = "always"
34
31
 
35
32
 
36
- class InputDatagenCompression(str, Enum, metaclass=utils.OpenEnumMeta):
33
+ class InputDatagenCompression(str, Enum):
37
34
  r"""Codec to use to compress the persisted data"""
38
35
 
39
36
  NONE = "none"
@@ -67,9 +64,7 @@ class InputDatagenPqTypedDict(TypedDict):
67
64
 
68
65
 
69
66
  class InputDatagenPq(BaseModel):
70
- mode: Annotated[
71
- Optional[InputDatagenMode], PlainValidator(validate_open_enum(False))
72
- ] = InputDatagenMode.ALWAYS
67
+ mode: Optional[InputDatagenMode] = InputDatagenMode.ALWAYS
73
68
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
74
69
 
75
70
  max_buffer_size: Annotated[
@@ -93,9 +88,7 @@ class InputDatagenPq(BaseModel):
93
88
  path: Optional[str] = "$CRIBL_HOME/state/queues"
94
89
  r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/inputs/<input-id>"""
95
90
 
96
- compress: Annotated[
97
- Optional[InputDatagenCompression], PlainValidator(validate_open_enum(False))
98
- ] = InputDatagenCompression.NONE
91
+ compress: Optional[InputDatagenCompression] = InputDatagenCompression.NONE
99
92
  r"""Codec to use to compress the persisted data"""
100
93
 
101
94
  pq_controls: Annotated[