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
@@ -3,10 +3,12 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "cribl-control-plane"
6
- __version__: str = "0.0.50rc2"
7
- __openapi_doc_version__: str = "4.15.0-alpha.1759484970204-f93a1e61"
6
+ __version__: str = "0.0.51"
7
+ __openapi_doc_version__: str = "4.14.0-837595d5"
8
8
  __gen_version__: str = "2.721.0"
9
- __user_agent__: str = "speakeasy-sdk/python 0.0.50rc2 2.721.0 4.15.0-alpha.1759484970204-f93a1e61 cribl-control-plane"
9
+ __user_agent__: str = (
10
+ "speakeasy-sdk/python 0.0.51 2.721.0 4.14.0-837595d5 cribl-control-plane"
11
+ )
10
12
 
11
13
  try:
12
14
  if __package__ is not None:
@@ -4,25 +4,19 @@ from __future__ import annotations
4
4
  from cribl_control_plane.errors import CriblControlPlaneError
5
5
  from cribl_control_plane.models import healthstatus as models_healthstatus
6
6
  from cribl_control_plane.types import BaseModel
7
- from cribl_control_plane.utils import validate_open_enum
8
7
  from dataclasses import dataclass, field
9
8
  import httpx
10
9
  import pydantic
11
- from pydantic.functional_validators import PlainValidator
12
10
  from typing import Optional
13
11
  from typing_extensions import Annotated
14
12
 
15
13
 
16
14
  class HealthStatusErrorData(BaseModel):
17
- status: Annotated[
18
- models_healthstatus.Status, PlainValidator(validate_open_enum(False))
19
- ]
15
+ status: models_healthstatus.Status
20
16
 
21
17
  start_time: Annotated[float, pydantic.Field(alias="startTime")]
22
18
 
23
- role: Annotated[
24
- Optional[models_healthstatus.Role], PlainValidator(validate_open_enum(False))
25
- ] = None
19
+ role: Optional[models_healthstatus.Role] = None
26
20
 
27
21
 
28
22
  @dataclass(frozen=True)
@@ -224,7 +224,7 @@ class GroupsSDK(BaseSDK):
224
224
  config_version: Optional[str] = None,
225
225
  deploying_worker_count: Optional[float] = None,
226
226
  description: Optional[str] = None,
227
- estimated_ingest_rate: Optional[models.EstimatedIngestRate] = None,
227
+ estimated_ingest_rate: Optional[float] = None,
228
228
  git: Optional[Union[models.Git, models.GitTypedDict]] = None,
229
229
  incompatible_worker_count: Optional[float] = None,
230
230
  inherits: Optional[str] = None,
@@ -395,7 +395,7 @@ class GroupsSDK(BaseSDK):
395
395
  config_version: Optional[str] = None,
396
396
  deploying_worker_count: Optional[float] = None,
397
397
  description: Optional[str] = None,
398
- estimated_ingest_rate: Optional[models.EstimatedIngestRate] = None,
398
+ estimated_ingest_rate: Optional[float] = None,
399
399
  git: Optional[Union[models.Git, models.GitTypedDict]] = None,
400
400
  incompatible_worker_count: Optional[float] = None,
401
401
  inherits: Optional[str] = None,
@@ -757,7 +757,7 @@ class GroupsSDK(BaseSDK):
757
757
  config_version: Optional[str] = None,
758
758
  deploying_worker_count: Optional[float] = None,
759
759
  description: Optional[str] = None,
760
- estimated_ingest_rate: Optional[models.EstimatedIngestRate] = None,
760
+ estimated_ingest_rate: Optional[float] = None,
761
761
  git: Optional[Union[models.Git, models.GitTypedDict]] = None,
762
762
  incompatible_worker_count: Optional[float] = None,
763
763
  inherits: Optional[str] = None,
@@ -931,7 +931,7 @@ class GroupsSDK(BaseSDK):
931
931
  config_version: Optional[str] = None,
932
932
  deploying_worker_count: Optional[float] = None,
933
933
  description: Optional[str] = None,
934
- estimated_ingest_rate: Optional[models.EstimatedIngestRate] = None,
934
+ estimated_ingest_rate: Optional[float] = None,
935
935
  git: Optional[Union[models.Git, models.GitTypedDict]] = None,
936
936
  incompatible_worker_count: Optional[float] = None,
937
937
  inherits: Optional[str] = None,
@@ -18,7 +18,7 @@ class Health(BaseSDK):
18
18
  server_url: Optional[str] = None,
19
19
  timeout_ms: Optional[int] = None,
20
20
  http_headers: Optional[Mapping[str, str]] = None,
21
- ) -> models.GetHealthInfoResponse:
21
+ ) -> models.HealthStatus:
22
22
  r"""Retrieve health status of the server
23
23
 
24
24
  :param retries: Override the default retry configuration for this method
@@ -85,8 +85,6 @@ class Health(BaseSDK):
85
85
  if utils.match_response(http_res, "5XX", "*"):
86
86
  http_res_text = utils.stream_to_text(http_res)
87
87
  raise errors.APIError("API error occurred", http_res, http_res_text)
88
- if utils.match_response(http_res, "default", "application/json"):
89
- return unmarshal_json_response(models.Error, http_res)
90
88
 
91
89
  raise errors.APIError("Unexpected response received", http_res)
92
90
 
@@ -97,7 +95,7 @@ class Health(BaseSDK):
97
95
  server_url: Optional[str] = None,
98
96
  timeout_ms: Optional[int] = None,
99
97
  http_headers: Optional[Mapping[str, str]] = None,
100
- ) -> models.GetHealthInfoResponse:
98
+ ) -> models.HealthStatus:
101
99
  r"""Retrieve health status of the server
102
100
 
103
101
  :param retries: Override the default retry configuration for this method
@@ -164,7 +162,5 @@ class Health(BaseSDK):
164
162
  if utils.match_response(http_res, "5XX", "*"):
165
163
  http_res_text = await utils.stream_to_text_async(http_res)
166
164
  raise errors.APIError("API error occurred", http_res, http_res_text)
167
- if utils.match_response(http_res, "default", "application/json"):
168
- return unmarshal_json_response(models.Error, http_res)
169
165
 
170
166
  raise errors.APIError("Unexpected response received", http_res)
@@ -12,6 +12,7 @@ if TYPE_CHECKING:
12
12
  AddHecTokenRequestMetadatumTypedDict,
13
13
  AddHecTokenRequestTypedDict,
14
14
  )
15
+ from .appmode import AppMode
15
16
  from .authtoken import AuthToken, AuthTokenTypedDict
16
17
  from .branchinfo import BranchInfo, BranchInfoTypedDict
17
18
  from .cacheconnection import CacheConnection, CacheConnectionTypedDict
@@ -22,7 +23,6 @@ if TYPE_CHECKING:
22
23
  ConfigGroup,
23
24
  ConfigGroupType,
24
25
  ConfigGroupTypedDict,
25
- EstimatedIngestRate,
26
26
  Git,
27
27
  GitTypedDict,
28
28
  )
@@ -179,7 +179,6 @@ if TYPE_CHECKING:
179
179
  DistributedSummaryWorkers,
180
180
  DistributedSummaryWorkersTypedDict,
181
181
  )
182
- from .error import Error, ErrorTypedDict
183
182
  from .getconfiggroupaclbyproductandidop import (
184
183
  GetConfigGroupACLByProductAndIDRequest,
185
184
  GetConfigGroupACLByProductAndIDRequestTypedDict,
@@ -216,7 +215,6 @@ if TYPE_CHECKING:
216
215
  GetCriblLakeDatasetByLakeIDResponse,
217
216
  GetCriblLakeDatasetByLakeIDResponseTypedDict,
218
217
  )
219
- from .gethealthinfoop import GetHealthInfoResponse, GetHealthInfoResponseTypedDict
220
218
  from .getinputbyidop import (
221
219
  GetInputByIDRequest,
222
220
  GetInputByIDRequestTypedDict,
@@ -336,7 +334,7 @@ if TYPE_CHECKING:
336
334
  from .gitdiffresult import GitDiffResult, GitDiffResultTypedDict
337
335
  from .gitfile import GitFile, GitFileTypedDict
338
336
  from .gitfilesresponse import GitFilesResponse, GitFilesResponseTypedDict
339
- from .gitinfo import GitInfo, GitInfoTypedDict, Remote, RemoteEnum, RemoteTypedDict
337
+ from .gitinfo import GitInfo, GitInfoTypedDict, Remote, RemoteTypedDict
340
338
  from .gitlogresult import GitLogResult, GitLogResultTypedDict
341
339
  from .gitrevertparams import GitRevertParams, GitRevertParamsTypedDict
342
340
  from .gitrevertresult import (
@@ -347,7 +345,6 @@ if TYPE_CHECKING:
347
345
  GitRevertResultFilesTypedDict,
348
346
  GitRevertResultTypedDict,
349
347
  )
350
- from .gitshowresult import GitShowResult, GitShowResultTypedDict
351
348
  from .gitstatusresult import (
352
349
  File,
353
350
  FileTypedDict,
@@ -356,13 +353,7 @@ if TYPE_CHECKING:
356
353
  Renamed,
357
354
  RenamedTypedDict,
358
355
  )
359
- from .hbcriblinfo import (
360
- Config,
361
- ConfigTypedDict,
362
- DistMode,
363
- HBCriblInfo,
364
- HBCriblInfoTypedDict,
365
- )
356
+ from .hbcriblinfo import Config, ConfigTypedDict, HBCriblInfo, HBCriblInfoTypedDict
366
357
  from .hbleaderinfo import HBLeaderInfo, HBLeaderInfoTypedDict
367
358
  from .healthstatus import HealthStatus, HealthStatusTypedDict, Role, Status
368
359
  from .heartbeatmetadata import (
@@ -469,6 +460,7 @@ if TYPE_CHECKING:
469
460
  InputConfluentCloudPqControlsTypedDict,
470
461
  InputConfluentCloudPqTypedDict,
471
462
  InputConfluentCloudSASLMechanism,
463
+ InputConfluentCloudSchemaType,
472
464
  InputConfluentCloudTLSSettingsClientSide,
473
465
  InputConfluentCloudTLSSettingsClientSideTypedDict,
474
466
  InputConfluentCloudType,
@@ -927,6 +919,7 @@ if TYPE_CHECKING:
927
919
  InputKafkaPqControlsTypedDict,
928
920
  InputKafkaPqTypedDict,
929
921
  InputKafkaSASLMechanism,
922
+ InputKafkaSchemaType,
930
923
  InputKafkaTLSSettingsClientSide,
931
924
  InputKafkaTLSSettingsClientSideTypedDict,
932
925
  InputKafkaType,
@@ -1094,6 +1087,7 @@ if TYPE_CHECKING:
1094
1087
  InputMskPqControls,
1095
1088
  InputMskPqControlsTypedDict,
1096
1089
  InputMskPqTypedDict,
1090
+ InputMskSchemaType,
1097
1091
  InputMskSignatureVersion,
1098
1092
  InputMskTLSSettingsClientSide,
1099
1093
  InputMskTLSSettingsClientSideTypedDict,
@@ -1988,6 +1982,7 @@ if TYPE_CHECKING:
1988
1982
  OutputConfluentCloudQueueFullBehavior,
1989
1983
  OutputConfluentCloudRecordDataFormat,
1990
1984
  OutputConfluentCloudSASLMechanism,
1985
+ OutputConfluentCloudSchemaType,
1991
1986
  OutputConfluentCloudTLSSettingsClientSide,
1992
1987
  OutputConfluentCloudTLSSettingsClientSideTypedDict,
1993
1988
  OutputConfluentCloudType,
@@ -2070,15 +2065,6 @@ if TYPE_CHECKING:
2070
2065
  OutputCrowdstrikeNextGenSiemType,
2071
2066
  OutputCrowdstrikeNextGenSiemTypedDict,
2072
2067
  )
2073
- from .outputdatabricks import (
2074
- OutputDatabricks,
2075
- OutputDatabricksAuthenticationMethod,
2076
- OutputDatabricksBackpressureBehavior,
2077
- OutputDatabricksDataFormat,
2078
- OutputDatabricksDiskSpaceProtection,
2079
- OutputDatabricksType,
2080
- OutputDatabricksTypedDict,
2081
- )
2082
2068
  from .outputdatadog import (
2083
2069
  DatadogSite,
2084
2070
  OutputDatadog,
@@ -2497,6 +2483,7 @@ if TYPE_CHECKING:
2497
2483
  OutputKafkaQueueFullBehavior,
2498
2484
  OutputKafkaRecordDataFormat,
2499
2485
  OutputKafkaSASLMechanism,
2486
+ OutputKafkaSchemaType,
2500
2487
  OutputKafkaTLSSettingsClientSide,
2501
2488
  OutputKafkaTLSSettingsClientSideTypedDict,
2502
2489
  OutputKafkaType,
@@ -2579,6 +2566,7 @@ if TYPE_CHECKING:
2579
2566
  OutputMskPqControlsTypedDict,
2580
2567
  OutputMskQueueFullBehavior,
2581
2568
  OutputMskRecordDataFormat,
2569
+ OutputMskSchemaType,
2582
2570
  OutputMskSignatureVersion,
2583
2571
  OutputMskTLSSettingsClientSide,
2584
2572
  OutputMskTLSSettingsClientSideTypedDict,
@@ -3137,6 +3125,7 @@ if TYPE_CHECKING:
3137
3125
  from .productscore import ProductsCore
3138
3126
  from .rbacresource import RbacResource
3139
3127
  from .resourcepolicy import ResourcePolicy, ResourcePolicyTypedDict
3128
+ from .routecloneconf import RouteCloneConf, RouteCloneConfTypedDict
3140
3129
  from .routeconf import RouteConf, RouteConfTypedDict
3141
3130
  from .routes import (
3142
3131
  Comment,
@@ -3155,7 +3144,6 @@ if TYPE_CHECKING:
3155
3144
  CollectorSpecificSettings,
3156
3145
  CollectorSpecificSettingsTypedDict,
3157
3146
  CollectorTypedDict,
3158
- InputType,
3159
3147
  RunnableJobCollection,
3160
3148
  RunnableJobCollectionInput,
3161
3149
  RunnableJobCollectionInputTypedDict,
@@ -3178,6 +3166,7 @@ if TYPE_CHECKING:
3178
3166
  RunnableJobCollectionScheduleTypedDict,
3179
3167
  RunnableJobCollectionTimeWarning,
3180
3168
  RunnableJobCollectionTimeWarningTypedDict,
3169
+ RunnableJobCollectionType,
3181
3170
  RunnableJobCollectionTypedDict,
3182
3171
  TimeRange,
3183
3172
  WhereToCapture,
@@ -3297,6 +3286,7 @@ __all__ = [
3297
3286
  "AdditionalPropertyTypedDict",
3298
3287
  "Allow",
3299
3288
  "AllowTypedDict",
3289
+ "AppMode",
3300
3290
  "Audit",
3301
3291
  "AuditTypedDict",
3302
3292
  "AuthToken",
@@ -3446,7 +3436,6 @@ __all__ = [
3446
3436
  "DiffFilesTypedDict",
3447
3437
  "DisksAndFileSystems",
3448
3438
  "DisksAndFileSystemsTypedDict",
3449
- "DistMode",
3450
3439
  "DistributedSummary",
3451
3440
  "DistributedSummaryGroups",
3452
3441
  "DistributedSummaryGroupsTypedDict",
@@ -3463,9 +3452,6 @@ __all__ = [
3463
3452
  "EndpointParam",
3464
3453
  "EndpointParamTypedDict",
3465
3454
  "EndpointType",
3466
- "Error",
3467
- "ErrorTypedDict",
3468
- "EstimatedIngestRate",
3469
3455
  "EventFormat",
3470
3456
  "Executor",
3471
3457
  "ExecutorSpecificSettings",
@@ -3507,8 +3493,6 @@ __all__ = [
3507
3493
  "GetCriblLakeDatasetByLakeIDRequestTypedDict",
3508
3494
  "GetCriblLakeDatasetByLakeIDResponse",
3509
3495
  "GetCriblLakeDatasetByLakeIDResponseTypedDict",
3510
- "GetHealthInfoResponse",
3511
- "GetHealthInfoResponseTypedDict",
3512
3496
  "GetInputByIDRequest",
3513
3497
  "GetInputByIDRequestTypedDict",
3514
3498
  "GetInputByIDResponse",
@@ -3602,8 +3586,6 @@ __all__ = [
3602
3586
  "GitRevertResultFiles",
3603
3587
  "GitRevertResultFilesTypedDict",
3604
3588
  "GitRevertResultTypedDict",
3605
- "GitShowResult",
3606
- "GitShowResultTypedDict",
3607
3589
  "GitStatusResult",
3608
3590
  "GitStatusResultTypedDict",
3609
3591
  "GitTypedDict",
@@ -3717,6 +3699,7 @@ __all__ = [
3717
3699
  "InputConfluentCloudPqControlsTypedDict",
3718
3700
  "InputConfluentCloudPqTypedDict",
3719
3701
  "InputConfluentCloudSASLMechanism",
3702
+ "InputConfluentCloudSchemaType",
3720
3703
  "InputConfluentCloudTLSSettingsClientSide",
3721
3704
  "InputConfluentCloudTLSSettingsClientSideTypedDict",
3722
3705
  "InputConfluentCloudType",
@@ -4106,6 +4089,7 @@ __all__ = [
4106
4089
  "InputKafkaPqControlsTypedDict",
4107
4090
  "InputKafkaPqTypedDict",
4108
4091
  "InputKafkaSASLMechanism",
4092
+ "InputKafkaSchemaType",
4109
4093
  "InputKafkaTLSSettingsClientSide",
4110
4094
  "InputKafkaTLSSettingsClientSideTypedDict",
4111
4095
  "InputKafkaType",
@@ -4255,6 +4239,7 @@ __all__ = [
4255
4239
  "InputMskPqControls",
4256
4240
  "InputMskPqControlsTypedDict",
4257
4241
  "InputMskPqTypedDict",
4242
+ "InputMskSchemaType",
4258
4243
  "InputMskSignatureVersion",
4259
4244
  "InputMskTLSSettingsClientSide",
4260
4245
  "InputMskTLSSettingsClientSideTypedDict",
@@ -4701,7 +4686,6 @@ __all__ = [
4701
4686
  "InputTcpjsonTLSSettingsServerSideTypedDict",
4702
4687
  "InputTcpjsonType",
4703
4688
  "InputTcpjsonTypedDict",
4704
- "InputType",
4705
4689
  "InputTypedDict",
4706
4690
  "InputWef",
4707
4691
  "InputWefAuthenticationMethod",
@@ -5052,6 +5036,7 @@ __all__ = [
5052
5036
  "OutputConfluentCloudQueueFullBehavior",
5053
5037
  "OutputConfluentCloudRecordDataFormat",
5054
5038
  "OutputConfluentCloudSASLMechanism",
5039
+ "OutputConfluentCloudSchemaType",
5055
5040
  "OutputConfluentCloudTLSSettingsClientSide",
5056
5041
  "OutputConfluentCloudTLSSettingsClientSideTypedDict",
5057
5042
  "OutputConfluentCloudType",
@@ -5124,13 +5109,6 @@ __all__ = [
5124
5109
  "OutputCrowdstrikeNextGenSiemTimeoutRetrySettingsTypedDict",
5125
5110
  "OutputCrowdstrikeNextGenSiemType",
5126
5111
  "OutputCrowdstrikeNextGenSiemTypedDict",
5127
- "OutputDatabricks",
5128
- "OutputDatabricksAuthenticationMethod",
5129
- "OutputDatabricksBackpressureBehavior",
5130
- "OutputDatabricksDataFormat",
5131
- "OutputDatabricksDiskSpaceProtection",
5132
- "OutputDatabricksType",
5133
- "OutputDatabricksTypedDict",
5134
5112
  "OutputDatadog",
5135
5113
  "OutputDatadogAuthenticationMethod",
5136
5114
  "OutputDatadogBackpressureBehavior",
@@ -5494,6 +5472,7 @@ __all__ = [
5494
5472
  "OutputKafkaQueueFullBehavior",
5495
5473
  "OutputKafkaRecordDataFormat",
5496
5474
  "OutputKafkaSASLMechanism",
5475
+ "OutputKafkaSchemaType",
5497
5476
  "OutputKafkaTLSSettingsClientSide",
5498
5477
  "OutputKafkaTLSSettingsClientSideTypedDict",
5499
5478
  "OutputKafkaType",
@@ -5568,6 +5547,7 @@ __all__ = [
5568
5547
  "OutputMskPqControlsTypedDict",
5569
5548
  "OutputMskQueueFullBehavior",
5570
5549
  "OutputMskRecordDataFormat",
5550
+ "OutputMskSchemaType",
5571
5551
  "OutputMskSignatureVersion",
5572
5552
  "OutputMskTLSSettingsClientSide",
5573
5553
  "OutputMskTLSSettingsClientSideTypedDict",
@@ -6063,7 +6043,6 @@ __all__ = [
6063
6043
  "RbacResource",
6064
6044
  "ReadMode",
6065
6045
  "Remote",
6066
- "RemoteEnum",
6067
6046
  "RemoteTypedDict",
6068
6047
  "Renamed",
6069
6048
  "RenamedTypedDict",
@@ -6074,6 +6053,8 @@ __all__ = [
6074
6053
  "ResourceTypeLabel",
6075
6054
  "ResourceTypeLabelTypedDict",
6076
6055
  "Role",
6056
+ "RouteCloneConf",
6057
+ "RouteCloneConfTypedDict",
6077
6058
  "RouteConf",
6078
6059
  "RouteConfTypedDict",
6079
6060
  "Routes",
@@ -6105,6 +6086,7 @@ __all__ = [
6105
6086
  "RunnableJobCollectionScheduleTypedDict",
6106
6087
  "RunnableJobCollectionTimeWarning",
6107
6088
  "RunnableJobCollectionTimeWarningTypedDict",
6089
+ "RunnableJobCollectionType",
6108
6090
  "RunnableJobCollectionTypedDict",
6109
6091
  "RunnableJobExecutor",
6110
6092
  "RunnableJobExecutorJobType",
@@ -6224,6 +6206,7 @@ _dynamic_imports: dict[str, str] = {
6224
6206
  "AddHecTokenRequestMetadatum": ".addhectokenrequest",
6225
6207
  "AddHecTokenRequestMetadatumTypedDict": ".addhectokenrequest",
6226
6208
  "AddHecTokenRequestTypedDict": ".addhectokenrequest",
6209
+ "AppMode": ".appmode",
6227
6210
  "AuthToken": ".authtoken",
6228
6211
  "AuthTokenTypedDict": ".authtoken",
6229
6212
  "BranchInfo": ".branchinfo",
@@ -6237,7 +6220,6 @@ _dynamic_imports: dict[str, str] = {
6237
6220
  "ConfigGroup": ".configgroup",
6238
6221
  "ConfigGroupType": ".configgroup",
6239
6222
  "ConfigGroupTypedDict": ".configgroup",
6240
- "EstimatedIngestRate": ".configgroup",
6241
6223
  "Git": ".configgroup",
6242
6224
  "GitTypedDict": ".configgroup",
6243
6225
  "ConfigGroupCloud": ".configgroupcloud",
@@ -6356,8 +6338,6 @@ _dynamic_imports: dict[str, str] = {
6356
6338
  "DistributedSummaryTypedDict": ".distributedsummary",
6357
6339
  "DistributedSummaryWorkers": ".distributedsummary",
6358
6340
  "DistributedSummaryWorkersTypedDict": ".distributedsummary",
6359
- "Error": ".error",
6360
- "ErrorTypedDict": ".error",
6361
6341
  "GetConfigGroupACLByProductAndIDRequest": ".getconfiggroupaclbyproductandidop",
6362
6342
  "GetConfigGroupACLByProductAndIDRequestTypedDict": ".getconfiggroupaclbyproductandidop",
6363
6343
  "GetConfigGroupACLByProductAndIDResponse": ".getconfiggroupaclbyproductandidop",
@@ -6382,8 +6362,6 @@ _dynamic_imports: dict[str, str] = {
6382
6362
  "GetCriblLakeDatasetByLakeIDRequestTypedDict": ".getcribllakedatasetbylakeidop",
6383
6363
  "GetCriblLakeDatasetByLakeIDResponse": ".getcribllakedatasetbylakeidop",
6384
6364
  "GetCriblLakeDatasetByLakeIDResponseTypedDict": ".getcribllakedatasetbylakeidop",
6385
- "GetHealthInfoResponse": ".gethealthinfoop",
6386
- "GetHealthInfoResponseTypedDict": ".gethealthinfoop",
6387
6365
  "GetInputByIDRequest": ".getinputbyidop",
6388
6366
  "GetInputByIDRequestTypedDict": ".getinputbyidop",
6389
6367
  "GetInputByIDResponse": ".getinputbyidop",
@@ -6473,7 +6451,6 @@ _dynamic_imports: dict[str, str] = {
6473
6451
  "GitInfo": ".gitinfo",
6474
6452
  "GitInfoTypedDict": ".gitinfo",
6475
6453
  "Remote": ".gitinfo",
6476
- "RemoteEnum": ".gitinfo",
6477
6454
  "RemoteTypedDict": ".gitinfo",
6478
6455
  "GitLogResult": ".gitlogresult",
6479
6456
  "GitLogResultTypedDict": ".gitlogresult",
@@ -6485,8 +6462,6 @@ _dynamic_imports: dict[str, str] = {
6485
6462
  "GitRevertResultFiles": ".gitrevertresult",
6486
6463
  "GitRevertResultFilesTypedDict": ".gitrevertresult",
6487
6464
  "GitRevertResultTypedDict": ".gitrevertresult",
6488
- "GitShowResult": ".gitshowresult",
6489
- "GitShowResultTypedDict": ".gitshowresult",
6490
6465
  "File": ".gitstatusresult",
6491
6466
  "FileTypedDict": ".gitstatusresult",
6492
6467
  "GitStatusResult": ".gitstatusresult",
@@ -6495,7 +6470,6 @@ _dynamic_imports: dict[str, str] = {
6495
6470
  "RenamedTypedDict": ".gitstatusresult",
6496
6471
  "Config": ".hbcriblinfo",
6497
6472
  "ConfigTypedDict": ".hbcriblinfo",
6498
- "DistMode": ".hbcriblinfo",
6499
6473
  "HBCriblInfo": ".hbcriblinfo",
6500
6474
  "HBCriblInfoTypedDict": ".hbcriblinfo",
6501
6475
  "HBLeaderInfo": ".hbleaderinfo",
@@ -6600,6 +6574,7 @@ _dynamic_imports: dict[str, str] = {
6600
6574
  "InputConfluentCloudPqControlsTypedDict": ".inputconfluentcloud",
6601
6575
  "InputConfluentCloudPqTypedDict": ".inputconfluentcloud",
6602
6576
  "InputConfluentCloudSASLMechanism": ".inputconfluentcloud",
6577
+ "InputConfluentCloudSchemaType": ".inputconfluentcloud",
6603
6578
  "InputConfluentCloudTLSSettingsClientSide": ".inputconfluentcloud",
6604
6579
  "InputConfluentCloudTLSSettingsClientSideTypedDict": ".inputconfluentcloud",
6605
6580
  "InputConfluentCloudType": ".inputconfluentcloud",
@@ -7018,6 +6993,7 @@ _dynamic_imports: dict[str, str] = {
7018
6993
  "InputKafkaPqControlsTypedDict": ".inputkafka",
7019
6994
  "InputKafkaPqTypedDict": ".inputkafka",
7020
6995
  "InputKafkaSASLMechanism": ".inputkafka",
6996
+ "InputKafkaSchemaType": ".inputkafka",
7021
6997
  "InputKafkaTLSSettingsClientSide": ".inputkafka",
7022
6998
  "InputKafkaTLSSettingsClientSideTypedDict": ".inputkafka",
7023
6999
  "InputKafkaType": ".inputkafka",
@@ -7169,6 +7145,7 @@ _dynamic_imports: dict[str, str] = {
7169
7145
  "InputMskPqControls": ".inputmsk",
7170
7146
  "InputMskPqControlsTypedDict": ".inputmsk",
7171
7147
  "InputMskPqTypedDict": ".inputmsk",
7148
+ "InputMskSchemaType": ".inputmsk",
7172
7149
  "InputMskSignatureVersion": ".inputmsk",
7173
7150
  "InputMskTLSSettingsClientSide": ".inputmsk",
7174
7151
  "InputMskTLSSettingsClientSideTypedDict": ".inputmsk",
@@ -7995,6 +7972,7 @@ _dynamic_imports: dict[str, str] = {
7995
7972
  "OutputConfluentCloudQueueFullBehavior": ".outputconfluentcloud",
7996
7973
  "OutputConfluentCloudRecordDataFormat": ".outputconfluentcloud",
7997
7974
  "OutputConfluentCloudSASLMechanism": ".outputconfluentcloud",
7975
+ "OutputConfluentCloudSchemaType": ".outputconfluentcloud",
7998
7976
  "OutputConfluentCloudTLSSettingsClientSide": ".outputconfluentcloud",
7999
7977
  "OutputConfluentCloudTLSSettingsClientSideTypedDict": ".outputconfluentcloud",
8000
7978
  "OutputConfluentCloudType": ".outputconfluentcloud",
@@ -8068,13 +8046,6 @@ _dynamic_imports: dict[str, str] = {
8068
8046
  "OutputCrowdstrikeNextGenSiemTimeoutRetrySettingsTypedDict": ".outputcrowdstrikenextgensiem",
8069
8047
  "OutputCrowdstrikeNextGenSiemType": ".outputcrowdstrikenextgensiem",
8070
8048
  "OutputCrowdstrikeNextGenSiemTypedDict": ".outputcrowdstrikenextgensiem",
8071
- "OutputDatabricks": ".outputdatabricks",
8072
- "OutputDatabricksAuthenticationMethod": ".outputdatabricks",
8073
- "OutputDatabricksBackpressureBehavior": ".outputdatabricks",
8074
- "OutputDatabricksDataFormat": ".outputdatabricks",
8075
- "OutputDatabricksDiskSpaceProtection": ".outputdatabricks",
8076
- "OutputDatabricksType": ".outputdatabricks",
8077
- "OutputDatabricksTypedDict": ".outputdatabricks",
8078
8049
  "DatadogSite": ".outputdatadog",
8079
8050
  "OutputDatadog": ".outputdatadog",
8080
8051
  "OutputDatadogAuthenticationMethod": ".outputdatadog",
@@ -8458,6 +8429,7 @@ _dynamic_imports: dict[str, str] = {
8458
8429
  "OutputKafkaQueueFullBehavior": ".outputkafka",
8459
8430
  "OutputKafkaRecordDataFormat": ".outputkafka",
8460
8431
  "OutputKafkaSASLMechanism": ".outputkafka",
8432
+ "OutputKafkaSchemaType": ".outputkafka",
8461
8433
  "OutputKafkaTLSSettingsClientSide": ".outputkafka",
8462
8434
  "OutputKafkaTLSSettingsClientSideTypedDict": ".outputkafka",
8463
8435
  "OutputKafkaType": ".outputkafka",
@@ -8532,6 +8504,7 @@ _dynamic_imports: dict[str, str] = {
8532
8504
  "OutputMskPqControlsTypedDict": ".outputmsk",
8533
8505
  "OutputMskQueueFullBehavior": ".outputmsk",
8534
8506
  "OutputMskRecordDataFormat": ".outputmsk",
8507
+ "OutputMskSchemaType": ".outputmsk",
8535
8508
  "OutputMskSignatureVersion": ".outputmsk",
8536
8509
  "OutputMskTLSSettingsClientSide": ".outputmsk",
8537
8510
  "OutputMskTLSSettingsClientSideTypedDict": ".outputmsk",
@@ -9027,6 +9000,8 @@ _dynamic_imports: dict[str, str] = {
9027
9000
  "RbacResource": ".rbacresource",
9028
9001
  "ResourcePolicy": ".resourcepolicy",
9029
9002
  "ResourcePolicyTypedDict": ".resourcepolicy",
9003
+ "RouteCloneConf": ".routecloneconf",
9004
+ "RouteCloneConfTypedDict": ".routecloneconf",
9030
9005
  "RouteConf": ".routeconf",
9031
9006
  "RouteConfTypedDict": ".routeconf",
9032
9007
  "Comment": ".routes",
@@ -9045,7 +9020,6 @@ _dynamic_imports: dict[str, str] = {
9045
9020
  "CollectorSpecificSettings": ".runnablejobcollection",
9046
9021
  "CollectorSpecificSettingsTypedDict": ".runnablejobcollection",
9047
9022
  "CollectorTypedDict": ".runnablejobcollection",
9048
- "InputType": ".runnablejobcollection",
9049
9023
  "RunnableJobCollection": ".runnablejobcollection",
9050
9024
  "RunnableJobCollectionInput": ".runnablejobcollection",
9051
9025
  "RunnableJobCollectionInputTypedDict": ".runnablejobcollection",
@@ -9068,6 +9042,7 @@ _dynamic_imports: dict[str, str] = {
9068
9042
  "RunnableJobCollectionScheduleTypedDict": ".runnablejobcollection",
9069
9043
  "RunnableJobCollectionTimeWarning": ".runnablejobcollection",
9070
9044
  "RunnableJobCollectionTimeWarningTypedDict": ".runnablejobcollection",
9045
+ "RunnableJobCollectionType": ".runnablejobcollection",
9071
9046
  "RunnableJobCollectionTypedDict": ".runnablejobcollection",
9072
9047
  "TimeRange": ".runnablejobcollection",
9073
9048
  "WhereToCapture": ".runnablejobcollection",
@@ -0,0 +1,13 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from enum import Enum
5
+
6
+
7
+ class AppMode(str, Enum):
8
+ SINGLE = "single"
9
+ MASTER = "master"
10
+ WORKER = "worker"
11
+ EDGE = "edge"
12
+ MANAGED_EDGE = "managed-edge"
13
+ OUTPOST = "outpost"
@@ -4,9 +4,7 @@ from __future__ import annotations
4
4
  from .cacheconnectionbackfillstatus import CacheConnectionBackfillStatus
5
5
  from .lakehouseconnectiontype import LakehouseConnectionType
6
6
  from cribl_control_plane.types import BaseModel
7
- from cribl_control_plane.utils import validate_open_enum
8
7
  import pydantic
9
- from pydantic.functional_validators import PlainValidator
10
8
  from typing import List, Optional
11
9
  from typing_extensions import Annotated, NotRequired, TypedDict
12
10
 
@@ -33,17 +31,11 @@ class CacheConnection(BaseModel):
33
31
  ] = None
34
32
 
35
33
  backfill_status: Annotated[
36
- Annotated[
37
- Optional[CacheConnectionBackfillStatus],
38
- PlainValidator(validate_open_enum(False)),
39
- ],
40
- pydantic.Field(alias="backfillStatus"),
34
+ Optional[CacheConnectionBackfillStatus], pydantic.Field(alias="backfillStatus")
41
35
  ] = None
42
36
 
43
37
  lakehouse_connection_type: Annotated[
44
- Annotated[
45
- Optional[LakehouseConnectionType], PlainValidator(validate_open_enum(False))
46
- ],
38
+ Optional[LakehouseConnectionType],
47
39
  pydantic.Field(alias="lakehouseConnectionType"),
48
40
  ] = None
49
41
 
@@ -1,11 +1,10 @@
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 enum import Enum
6
5
 
7
6
 
8
- class CacheConnectionBackfillStatus(str, Enum, metaclass=utils.OpenEnumMeta):
7
+ class CacheConnectionBackfillStatus(str, Enum):
9
8
  SCHEDULED = "scheduled"
10
9
  PENDING = "pending"
11
10
  STARTED = "started"
@@ -1,10 +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 enum import Enum
6
5
 
7
6
 
8
- class CloudProvider(str, Enum, metaclass=utils.OpenEnumMeta):
7
+ class CloudProvider(str, Enum):
9
8
  AWS = "aws"
10
9
  AZURE = "azure"
@@ -4,28 +4,13 @@ from __future__ import annotations
4
4
  from .commit import Commit, CommitTypedDict
5
5
  from .configgroupcloud import ConfigGroupCloud, ConfigGroupCloudTypedDict
6
6
  from .configgrouplookups import ConfigGroupLookups, ConfigGroupLookupsTypedDict
7
- from cribl_control_plane import utils
8
7
  from cribl_control_plane.types import BaseModel
9
- from cribl_control_plane.utils import validate_open_enum
10
8
  from enum import Enum
11
9
  import pydantic
12
- from pydantic.functional_validators import PlainValidator
13
10
  from typing import List, Optional
14
11
  from typing_extensions import Annotated, NotRequired, TypedDict
15
12
 
16
13
 
17
- class EstimatedIngestRate(int, Enum, metaclass=utils.OpenEnumMeta):
18
- ONE_THOUSAND_AND_TWENTY_FOUR = 1024
19
- FOUR_THOUSAND_AND_NINETY_SIX = 4096
20
- TEN_THOUSAND_TWO_HUNDRED_AND_FORTY = 10240
21
- TWO_THOUSAND_AND_FORTY_EIGHT = 2048
22
- THREE_THOUSAND_AND_SEVENTY_TWO = 3072
23
- FIVE_THOUSAND_ONE_HUNDRED_AND_TWENTY = 5120
24
- SEVEN_THOUSAND_ONE_HUNDRED_AND_SIXTY_EIGHT = 7168
25
- THIRTEEN_THOUSAND_THREE_HUNDRED_AND_TWELVE = 13312
26
- FIFTEEN_THOUSAND_THREE_HUNDRED_AND_SIXTY = 15360
27
-
28
-
29
14
  class GitTypedDict(TypedDict):
30
15
  commit: NotRequired[str]
31
16
  local_changes: NotRequired[float]
@@ -42,7 +27,7 @@ class Git(BaseModel):
42
27
  log: Optional[List[Commit]] = None
43
28
 
44
29
 
45
- class ConfigGroupType(str, Enum, metaclass=utils.OpenEnumMeta):
30
+ class ConfigGroupType(str, Enum):
46
31
  LAKE_ACCESS = "lake_access"
47
32
 
48
33
 
@@ -52,7 +37,7 @@ class ConfigGroupTypedDict(TypedDict):
52
37
  config_version: NotRequired[str]
53
38
  deploying_worker_count: NotRequired[float]
54
39
  description: NotRequired[str]
55
- estimated_ingest_rate: NotRequired[EstimatedIngestRate]
40
+ estimated_ingest_rate: NotRequired[float]
56
41
  git: NotRequired[GitTypedDict]
57
42
  incompatible_worker_count: NotRequired[float]
58
43
  inherits: NotRequired[str]
@@ -87,10 +72,7 @@ class ConfigGroup(BaseModel):
87
72
  description: Optional[str] = None
88
73
 
89
74
  estimated_ingest_rate: Annotated[
90
- Annotated[
91
- Optional[EstimatedIngestRate], PlainValidator(validate_open_enum(True))
92
- ],
93
- pydantic.Field(alias="estimatedIngestRate"),
75
+ Optional[float], pydantic.Field(alias="estimatedIngestRate")
94
76
  ] = None
95
77
 
96
78
  git: Optional[Git] = None
@@ -123,9 +105,7 @@ class ConfigGroup(BaseModel):
123
105
 
124
106
  tags: Optional[str] = None
125
107
 
126
- type: Annotated[
127
- Optional[ConfigGroupType], PlainValidator(validate_open_enum(False))
128
- ] = None
108
+ type: Optional[ConfigGroupType] = None
129
109
 
130
110
  upgrade_version: Annotated[
131
111
  Optional[str], pydantic.Field(alias="upgradeVersion")