cribl-control-plane 0.0.50rc1__py3-none-any.whl → 0.0.50rc2__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.

@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "cribl-control-plane"
6
- __version__: str = "0.0.50rc1"
7
- __openapi_doc_version__: str = "4.14.1-alpha.1759328534491-00ee21bd"
8
- __gen_version__: str = "2.716.16"
9
- __user_agent__: str = "speakeasy-sdk/python 0.0.50rc1 2.716.16 4.14.1-alpha.1759328534491-00ee21bd cribl-control-plane"
6
+ __version__: str = "0.0.50rc2"
7
+ __openapi_doc_version__: str = "4.15.0-alpha.1759484970204-f93a1e61"
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"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -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[float] = None,
227
+ estimated_ingest_rate: Optional[models.EstimatedIngestRate] = 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[float] = None,
398
+ estimated_ingest_rate: Optional[models.EstimatedIngestRate] = 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[float] = None,
760
+ estimated_ingest_rate: Optional[models.EstimatedIngestRate] = 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[float] = None,
934
+ estimated_ingest_rate: Optional[models.EstimatedIngestRate] = 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,
@@ -107,7 +107,6 @@ def close_clients(
107
107
  # to them from the owning SDK instance and they can be reaped.
108
108
  owner.client = None
109
109
  owner.async_client = None
110
-
111
110
  if sync_client is not None and not sync_client_supplied:
112
111
  try:
113
112
  sync_client.close()
@@ -12,7 +12,6 @@ if TYPE_CHECKING:
12
12
  AddHecTokenRequestMetadatumTypedDict,
13
13
  AddHecTokenRequestTypedDict,
14
14
  )
15
- from .appmode import AppMode
16
15
  from .authtoken import AuthToken, AuthTokenTypedDict
17
16
  from .branchinfo import BranchInfo, BranchInfoTypedDict
18
17
  from .cacheconnection import CacheConnection, CacheConnectionTypedDict
@@ -23,6 +22,7 @@ if TYPE_CHECKING:
23
22
  ConfigGroup,
24
23
  ConfigGroupType,
25
24
  ConfigGroupTypedDict,
25
+ EstimatedIngestRate,
26
26
  Git,
27
27
  GitTypedDict,
28
28
  )
@@ -356,7 +356,13 @@ if TYPE_CHECKING:
356
356
  Renamed,
357
357
  RenamedTypedDict,
358
358
  )
359
- from .hbcriblinfo import Config, ConfigTypedDict, HBCriblInfo, HBCriblInfoTypedDict
359
+ from .hbcriblinfo import (
360
+ Config,
361
+ ConfigTypedDict,
362
+ DistMode,
363
+ HBCriblInfo,
364
+ HBCriblInfoTypedDict,
365
+ )
360
366
  from .hbleaderinfo import HBLeaderInfo, HBLeaderInfoTypedDict
361
367
  from .healthstatus import HealthStatus, HealthStatusTypedDict, Role, Status
362
368
  from .heartbeatmetadata import (
@@ -463,7 +469,6 @@ if TYPE_CHECKING:
463
469
  InputConfluentCloudPqControlsTypedDict,
464
470
  InputConfluentCloudPqTypedDict,
465
471
  InputConfluentCloudSASLMechanism,
466
- InputConfluentCloudSchemaType,
467
472
  InputConfluentCloudTLSSettingsClientSide,
468
473
  InputConfluentCloudTLSSettingsClientSideTypedDict,
469
474
  InputConfluentCloudType,
@@ -922,7 +927,6 @@ if TYPE_CHECKING:
922
927
  InputKafkaPqControlsTypedDict,
923
928
  InputKafkaPqTypedDict,
924
929
  InputKafkaSASLMechanism,
925
- InputKafkaSchemaType,
926
930
  InputKafkaTLSSettingsClientSide,
927
931
  InputKafkaTLSSettingsClientSideTypedDict,
928
932
  InputKafkaType,
@@ -1090,7 +1094,6 @@ if TYPE_CHECKING:
1090
1094
  InputMskPqControls,
1091
1095
  InputMskPqControlsTypedDict,
1092
1096
  InputMskPqTypedDict,
1093
- InputMskSchemaType,
1094
1097
  InputMskSignatureVersion,
1095
1098
  InputMskTLSSettingsClientSide,
1096
1099
  InputMskTLSSettingsClientSideTypedDict,
@@ -1985,7 +1988,6 @@ if TYPE_CHECKING:
1985
1988
  OutputConfluentCloudQueueFullBehavior,
1986
1989
  OutputConfluentCloudRecordDataFormat,
1987
1990
  OutputConfluentCloudSASLMechanism,
1988
- OutputConfluentCloudSchemaType,
1989
1991
  OutputConfluentCloudTLSSettingsClientSide,
1990
1992
  OutputConfluentCloudTLSSettingsClientSideTypedDict,
1991
1993
  OutputConfluentCloudType,
@@ -2068,6 +2070,15 @@ if TYPE_CHECKING:
2068
2070
  OutputCrowdstrikeNextGenSiemType,
2069
2071
  OutputCrowdstrikeNextGenSiemTypedDict,
2070
2072
  )
2073
+ from .outputdatabricks import (
2074
+ OutputDatabricks,
2075
+ OutputDatabricksAuthenticationMethod,
2076
+ OutputDatabricksBackpressureBehavior,
2077
+ OutputDatabricksDataFormat,
2078
+ OutputDatabricksDiskSpaceProtection,
2079
+ OutputDatabricksType,
2080
+ OutputDatabricksTypedDict,
2081
+ )
2071
2082
  from .outputdatadog import (
2072
2083
  DatadogSite,
2073
2084
  OutputDatadog,
@@ -2486,7 +2497,6 @@ if TYPE_CHECKING:
2486
2497
  OutputKafkaQueueFullBehavior,
2487
2498
  OutputKafkaRecordDataFormat,
2488
2499
  OutputKafkaSASLMechanism,
2489
- OutputKafkaSchemaType,
2490
2500
  OutputKafkaTLSSettingsClientSide,
2491
2501
  OutputKafkaTLSSettingsClientSideTypedDict,
2492
2502
  OutputKafkaType,
@@ -2569,7 +2579,6 @@ if TYPE_CHECKING:
2569
2579
  OutputMskPqControlsTypedDict,
2570
2580
  OutputMskQueueFullBehavior,
2571
2581
  OutputMskRecordDataFormat,
2572
- OutputMskSchemaType,
2573
2582
  OutputMskSignatureVersion,
2574
2583
  OutputMskTLSSettingsClientSide,
2575
2584
  OutputMskTLSSettingsClientSideTypedDict,
@@ -3128,7 +3137,6 @@ if TYPE_CHECKING:
3128
3137
  from .productscore import ProductsCore
3129
3138
  from .rbacresource import RbacResource
3130
3139
  from .resourcepolicy import ResourcePolicy, ResourcePolicyTypedDict
3131
- from .routecloneconf import RouteCloneConf, RouteCloneConfTypedDict
3132
3140
  from .routeconf import RouteConf, RouteConfTypedDict
3133
3141
  from .routes import (
3134
3142
  Comment,
@@ -3289,7 +3297,6 @@ __all__ = [
3289
3297
  "AdditionalPropertyTypedDict",
3290
3298
  "Allow",
3291
3299
  "AllowTypedDict",
3292
- "AppMode",
3293
3300
  "Audit",
3294
3301
  "AuditTypedDict",
3295
3302
  "AuthToken",
@@ -3439,6 +3446,7 @@ __all__ = [
3439
3446
  "DiffFilesTypedDict",
3440
3447
  "DisksAndFileSystems",
3441
3448
  "DisksAndFileSystemsTypedDict",
3449
+ "DistMode",
3442
3450
  "DistributedSummary",
3443
3451
  "DistributedSummaryGroups",
3444
3452
  "DistributedSummaryGroupsTypedDict",
@@ -3457,6 +3465,7 @@ __all__ = [
3457
3465
  "EndpointType",
3458
3466
  "Error",
3459
3467
  "ErrorTypedDict",
3468
+ "EstimatedIngestRate",
3460
3469
  "EventFormat",
3461
3470
  "Executor",
3462
3471
  "ExecutorSpecificSettings",
@@ -3708,7 +3717,6 @@ __all__ = [
3708
3717
  "InputConfluentCloudPqControlsTypedDict",
3709
3718
  "InputConfluentCloudPqTypedDict",
3710
3719
  "InputConfluentCloudSASLMechanism",
3711
- "InputConfluentCloudSchemaType",
3712
3720
  "InputConfluentCloudTLSSettingsClientSide",
3713
3721
  "InputConfluentCloudTLSSettingsClientSideTypedDict",
3714
3722
  "InputConfluentCloudType",
@@ -4098,7 +4106,6 @@ __all__ = [
4098
4106
  "InputKafkaPqControlsTypedDict",
4099
4107
  "InputKafkaPqTypedDict",
4100
4108
  "InputKafkaSASLMechanism",
4101
- "InputKafkaSchemaType",
4102
4109
  "InputKafkaTLSSettingsClientSide",
4103
4110
  "InputKafkaTLSSettingsClientSideTypedDict",
4104
4111
  "InputKafkaType",
@@ -4248,7 +4255,6 @@ __all__ = [
4248
4255
  "InputMskPqControls",
4249
4256
  "InputMskPqControlsTypedDict",
4250
4257
  "InputMskPqTypedDict",
4251
- "InputMskSchemaType",
4252
4258
  "InputMskSignatureVersion",
4253
4259
  "InputMskTLSSettingsClientSide",
4254
4260
  "InputMskTLSSettingsClientSideTypedDict",
@@ -5046,7 +5052,6 @@ __all__ = [
5046
5052
  "OutputConfluentCloudQueueFullBehavior",
5047
5053
  "OutputConfluentCloudRecordDataFormat",
5048
5054
  "OutputConfluentCloudSASLMechanism",
5049
- "OutputConfluentCloudSchemaType",
5050
5055
  "OutputConfluentCloudTLSSettingsClientSide",
5051
5056
  "OutputConfluentCloudTLSSettingsClientSideTypedDict",
5052
5057
  "OutputConfluentCloudType",
@@ -5119,6 +5124,13 @@ __all__ = [
5119
5124
  "OutputCrowdstrikeNextGenSiemTimeoutRetrySettingsTypedDict",
5120
5125
  "OutputCrowdstrikeNextGenSiemType",
5121
5126
  "OutputCrowdstrikeNextGenSiemTypedDict",
5127
+ "OutputDatabricks",
5128
+ "OutputDatabricksAuthenticationMethod",
5129
+ "OutputDatabricksBackpressureBehavior",
5130
+ "OutputDatabricksDataFormat",
5131
+ "OutputDatabricksDiskSpaceProtection",
5132
+ "OutputDatabricksType",
5133
+ "OutputDatabricksTypedDict",
5122
5134
  "OutputDatadog",
5123
5135
  "OutputDatadogAuthenticationMethod",
5124
5136
  "OutputDatadogBackpressureBehavior",
@@ -5482,7 +5494,6 @@ __all__ = [
5482
5494
  "OutputKafkaQueueFullBehavior",
5483
5495
  "OutputKafkaRecordDataFormat",
5484
5496
  "OutputKafkaSASLMechanism",
5485
- "OutputKafkaSchemaType",
5486
5497
  "OutputKafkaTLSSettingsClientSide",
5487
5498
  "OutputKafkaTLSSettingsClientSideTypedDict",
5488
5499
  "OutputKafkaType",
@@ -5557,7 +5568,6 @@ __all__ = [
5557
5568
  "OutputMskPqControlsTypedDict",
5558
5569
  "OutputMskQueueFullBehavior",
5559
5570
  "OutputMskRecordDataFormat",
5560
- "OutputMskSchemaType",
5561
5571
  "OutputMskSignatureVersion",
5562
5572
  "OutputMskTLSSettingsClientSide",
5563
5573
  "OutputMskTLSSettingsClientSideTypedDict",
@@ -6064,8 +6074,6 @@ __all__ = [
6064
6074
  "ResourceTypeLabel",
6065
6075
  "ResourceTypeLabelTypedDict",
6066
6076
  "Role",
6067
- "RouteCloneConf",
6068
- "RouteCloneConfTypedDict",
6069
6077
  "RouteConf",
6070
6078
  "RouteConfTypedDict",
6071
6079
  "Routes",
@@ -6216,7 +6224,6 @@ _dynamic_imports: dict[str, str] = {
6216
6224
  "AddHecTokenRequestMetadatum": ".addhectokenrequest",
6217
6225
  "AddHecTokenRequestMetadatumTypedDict": ".addhectokenrequest",
6218
6226
  "AddHecTokenRequestTypedDict": ".addhectokenrequest",
6219
- "AppMode": ".appmode",
6220
6227
  "AuthToken": ".authtoken",
6221
6228
  "AuthTokenTypedDict": ".authtoken",
6222
6229
  "BranchInfo": ".branchinfo",
@@ -6230,6 +6237,7 @@ _dynamic_imports: dict[str, str] = {
6230
6237
  "ConfigGroup": ".configgroup",
6231
6238
  "ConfigGroupType": ".configgroup",
6232
6239
  "ConfigGroupTypedDict": ".configgroup",
6240
+ "EstimatedIngestRate": ".configgroup",
6233
6241
  "Git": ".configgroup",
6234
6242
  "GitTypedDict": ".configgroup",
6235
6243
  "ConfigGroupCloud": ".configgroupcloud",
@@ -6487,6 +6495,7 @@ _dynamic_imports: dict[str, str] = {
6487
6495
  "RenamedTypedDict": ".gitstatusresult",
6488
6496
  "Config": ".hbcriblinfo",
6489
6497
  "ConfigTypedDict": ".hbcriblinfo",
6498
+ "DistMode": ".hbcriblinfo",
6490
6499
  "HBCriblInfo": ".hbcriblinfo",
6491
6500
  "HBCriblInfoTypedDict": ".hbcriblinfo",
6492
6501
  "HBLeaderInfo": ".hbleaderinfo",
@@ -6591,7 +6600,6 @@ _dynamic_imports: dict[str, str] = {
6591
6600
  "InputConfluentCloudPqControlsTypedDict": ".inputconfluentcloud",
6592
6601
  "InputConfluentCloudPqTypedDict": ".inputconfluentcloud",
6593
6602
  "InputConfluentCloudSASLMechanism": ".inputconfluentcloud",
6594
- "InputConfluentCloudSchemaType": ".inputconfluentcloud",
6595
6603
  "InputConfluentCloudTLSSettingsClientSide": ".inputconfluentcloud",
6596
6604
  "InputConfluentCloudTLSSettingsClientSideTypedDict": ".inputconfluentcloud",
6597
6605
  "InputConfluentCloudType": ".inputconfluentcloud",
@@ -7010,7 +7018,6 @@ _dynamic_imports: dict[str, str] = {
7010
7018
  "InputKafkaPqControlsTypedDict": ".inputkafka",
7011
7019
  "InputKafkaPqTypedDict": ".inputkafka",
7012
7020
  "InputKafkaSASLMechanism": ".inputkafka",
7013
- "InputKafkaSchemaType": ".inputkafka",
7014
7021
  "InputKafkaTLSSettingsClientSide": ".inputkafka",
7015
7022
  "InputKafkaTLSSettingsClientSideTypedDict": ".inputkafka",
7016
7023
  "InputKafkaType": ".inputkafka",
@@ -7162,7 +7169,6 @@ _dynamic_imports: dict[str, str] = {
7162
7169
  "InputMskPqControls": ".inputmsk",
7163
7170
  "InputMskPqControlsTypedDict": ".inputmsk",
7164
7171
  "InputMskPqTypedDict": ".inputmsk",
7165
- "InputMskSchemaType": ".inputmsk",
7166
7172
  "InputMskSignatureVersion": ".inputmsk",
7167
7173
  "InputMskTLSSettingsClientSide": ".inputmsk",
7168
7174
  "InputMskTLSSettingsClientSideTypedDict": ".inputmsk",
@@ -7989,7 +7995,6 @@ _dynamic_imports: dict[str, str] = {
7989
7995
  "OutputConfluentCloudQueueFullBehavior": ".outputconfluentcloud",
7990
7996
  "OutputConfluentCloudRecordDataFormat": ".outputconfluentcloud",
7991
7997
  "OutputConfluentCloudSASLMechanism": ".outputconfluentcloud",
7992
- "OutputConfluentCloudSchemaType": ".outputconfluentcloud",
7993
7998
  "OutputConfluentCloudTLSSettingsClientSide": ".outputconfluentcloud",
7994
7999
  "OutputConfluentCloudTLSSettingsClientSideTypedDict": ".outputconfluentcloud",
7995
8000
  "OutputConfluentCloudType": ".outputconfluentcloud",
@@ -8063,6 +8068,13 @@ _dynamic_imports: dict[str, str] = {
8063
8068
  "OutputCrowdstrikeNextGenSiemTimeoutRetrySettingsTypedDict": ".outputcrowdstrikenextgensiem",
8064
8069
  "OutputCrowdstrikeNextGenSiemType": ".outputcrowdstrikenextgensiem",
8065
8070
  "OutputCrowdstrikeNextGenSiemTypedDict": ".outputcrowdstrikenextgensiem",
8071
+ "OutputDatabricks": ".outputdatabricks",
8072
+ "OutputDatabricksAuthenticationMethod": ".outputdatabricks",
8073
+ "OutputDatabricksBackpressureBehavior": ".outputdatabricks",
8074
+ "OutputDatabricksDataFormat": ".outputdatabricks",
8075
+ "OutputDatabricksDiskSpaceProtection": ".outputdatabricks",
8076
+ "OutputDatabricksType": ".outputdatabricks",
8077
+ "OutputDatabricksTypedDict": ".outputdatabricks",
8066
8078
  "DatadogSite": ".outputdatadog",
8067
8079
  "OutputDatadog": ".outputdatadog",
8068
8080
  "OutputDatadogAuthenticationMethod": ".outputdatadog",
@@ -8446,7 +8458,6 @@ _dynamic_imports: dict[str, str] = {
8446
8458
  "OutputKafkaQueueFullBehavior": ".outputkafka",
8447
8459
  "OutputKafkaRecordDataFormat": ".outputkafka",
8448
8460
  "OutputKafkaSASLMechanism": ".outputkafka",
8449
- "OutputKafkaSchemaType": ".outputkafka",
8450
8461
  "OutputKafkaTLSSettingsClientSide": ".outputkafka",
8451
8462
  "OutputKafkaTLSSettingsClientSideTypedDict": ".outputkafka",
8452
8463
  "OutputKafkaType": ".outputkafka",
@@ -8521,7 +8532,6 @@ _dynamic_imports: dict[str, str] = {
8521
8532
  "OutputMskPqControlsTypedDict": ".outputmsk",
8522
8533
  "OutputMskQueueFullBehavior": ".outputmsk",
8523
8534
  "OutputMskRecordDataFormat": ".outputmsk",
8524
- "OutputMskSchemaType": ".outputmsk",
8525
8535
  "OutputMskSignatureVersion": ".outputmsk",
8526
8536
  "OutputMskTLSSettingsClientSide": ".outputmsk",
8527
8537
  "OutputMskTLSSettingsClientSideTypedDict": ".outputmsk",
@@ -9017,8 +9027,6 @@ _dynamic_imports: dict[str, str] = {
9017
9027
  "RbacResource": ".rbacresource",
9018
9028
  "ResourcePolicy": ".resourcepolicy",
9019
9029
  "ResourcePolicyTypedDict": ".resourcepolicy",
9020
- "RouteCloneConf": ".routecloneconf",
9021
- "RouteCloneConfTypedDict": ".routecloneconf",
9022
9030
  "RouteConf": ".routeconf",
9023
9031
  "RouteConfTypedDict": ".routeconf",
9024
9032
  "Comment": ".routes",
@@ -14,6 +14,18 @@ from typing import List, Optional
14
14
  from typing_extensions import Annotated, NotRequired, TypedDict
15
15
 
16
16
 
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
+
17
29
  class GitTypedDict(TypedDict):
18
30
  commit: NotRequired[str]
19
31
  local_changes: NotRequired[float]
@@ -40,7 +52,7 @@ class ConfigGroupTypedDict(TypedDict):
40
52
  config_version: NotRequired[str]
41
53
  deploying_worker_count: NotRequired[float]
42
54
  description: NotRequired[str]
43
- estimated_ingest_rate: NotRequired[float]
55
+ estimated_ingest_rate: NotRequired[EstimatedIngestRate]
44
56
  git: NotRequired[GitTypedDict]
45
57
  incompatible_worker_count: NotRequired[float]
46
58
  inherits: NotRequired[str]
@@ -75,7 +87,10 @@ class ConfigGroup(BaseModel):
75
87
  description: Optional[str] = None
76
88
 
77
89
  estimated_ingest_rate: Annotated[
78
- Optional[float], pydantic.Field(alias="estimatedIngestRate")
90
+ Annotated[
91
+ Optional[EstimatedIngestRate], PlainValidator(validate_open_enum(True))
92
+ ],
93
+ pydantic.Field(alias="estimatedIngestRate"),
79
94
  ] = None
80
95
 
81
96
  git: Optional[Git] = None
@@ -4,7 +4,7 @@ from __future__ import annotations
4
4
  from cribl_control_plane.types import BaseModel
5
5
  from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
6
6
  import pydantic
7
- from typing import Any, Dict, List, Optional
7
+ from typing import List, Optional
8
8
  from typing_extensions import Annotated, NotRequired, TypedDict
9
9
 
10
10
 
@@ -27,7 +27,7 @@ class CreateVersionUndoResponseTypedDict(TypedDict):
27
27
 
28
28
  count: NotRequired[int]
29
29
  r"""number of items present in the items array"""
30
- items: NotRequired[List[Dict[str, Any]]]
30
+ items: NotRequired[List[str]]
31
31
 
32
32
 
33
33
  class CreateVersionUndoResponse(BaseModel):
@@ -36,4 +36,4 @@ class CreateVersionUndoResponse(BaseModel):
36
36
  count: Optional[int] = None
37
37
  r"""number of items present in the items array"""
38
38
 
39
- items: Optional[List[Dict[str, Any]]] = None
39
+ items: Optional[List[str]] = None
@@ -1,11 +1,12 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
3
  from __future__ import annotations
4
- from .appmode import AppMode
5
4
  from .hbleaderinfo import HBLeaderInfo, HBLeaderInfoTypedDict
6
5
  from .lookupversions import LookupVersions, LookupVersionsTypedDict
6
+ from cribl_control_plane import utils
7
7
  from cribl_control_plane.types import BaseModel
8
8
  from cribl_control_plane.utils import validate_open_enum
9
+ from enum import Enum
9
10
  import pydantic
10
11
  from pydantic.functional_validators import PlainValidator
11
12
  from typing import List, Optional
@@ -36,9 +37,19 @@ class Config(BaseModel):
36
37
  version: Optional[str] = None
37
38
 
38
39
 
40
+ class DistMode(str, Enum, metaclass=utils.OpenEnumMeta):
41
+ EDGE = "edge"
42
+ WORKER = "worker"
43
+ SINGLE = "single"
44
+ MASTER = "master"
45
+ MANAGED_EDGE = "managed-edge"
46
+ OUTPOST = "outpost"
47
+ SEARCH_SUPERVISOR = "search-supervisor"
48
+
49
+
39
50
  class HBCriblInfoTypedDict(TypedDict):
40
51
  config: ConfigTypedDict
41
- dist_mode: AppMode
52
+ dist_mode: DistMode
42
53
  group: str
43
54
  guid: str
44
55
  start_time: float
@@ -58,7 +69,7 @@ class HBCriblInfo(BaseModel):
58
69
  config: Config
59
70
 
60
71
  dist_mode: Annotated[
61
- Annotated[AppMode, PlainValidator(validate_open_enum(False))],
72
+ Annotated[DistMode, PlainValidator(validate_open_enum(False))],
62
73
  pydantic.Field(alias="distMode"),
63
74
  ]
64
75
 
@@ -17,6 +17,7 @@ class HeartbeatMetadataTags(BaseModel):
17
17
 
18
18
  class HeartbeatMetadataAwsTypedDict(TypedDict):
19
19
  enabled: bool
20
+ instance_id: str
20
21
  region: str
21
22
  type: str
22
23
  zone: str
@@ -26,6 +27,8 @@ class HeartbeatMetadataAwsTypedDict(TypedDict):
26
27
  class HeartbeatMetadataAws(BaseModel):
27
28
  enabled: bool
28
29
 
30
+ instance_id: Annotated[str, pydantic.Field(alias="instanceId")]
31
+
29
32
  region: str
30
33
 
31
34
  type: str
@@ -66,8 +66,10 @@ from .inputwineventlogs import InputWinEventLogs, InputWinEventLogsTypedDict
66
66
  from .inputwiz import InputWiz, InputWizTypedDict
67
67
  from .inputwizwebhook import InputWizWebhook, InputWizWebhookTypedDict
68
68
  from .inputzscalerhec import InputZscalerHec, InputZscalerHecTypedDict
69
+ from cribl_control_plane.utils import get_discriminator
70
+ from pydantic import Discriminator, Tag
69
71
  from typing import Union
70
- from typing_extensions import TypeAliasType
72
+ from typing_extensions import Annotated, TypeAliasType
71
73
 
72
74
 
73
75
  InputTypedDict = TypeAliasType(
@@ -136,67 +138,67 @@ InputTypedDict = TypeAliasType(
136
138
  )
137
139
 
138
140
 
139
- Input = TypeAliasType(
140
- "Input",
141
+ Input = Annotated[
141
142
  Union[
142
- InputDatagen,
143
- InputKubeEvents,
144
- InputCribl,
145
- InputCriblmetrics,
146
- InputKubeMetrics,
147
- InputCollection,
148
- InputSystemState,
149
- InputModelDrivenTelemetry,
150
- InputSystemMetrics,
151
- InputWindowsMetrics,
152
- InputJournalFiles,
153
- InputWinEventLogs,
154
- InputRawUDP,
155
- InputExec,
156
- InputKubeLogs,
157
- InputMetrics,
158
- InputSnmp,
159
- InputCriblTCP,
160
- InputNetflow,
161
- InputTcpjson,
162
- InputGooglePubsub,
163
- InputOffice365Service,
164
- InputWiz,
165
- InputTCP,
166
- InputFirehose,
167
- InputCriblHTTP,
168
- InputDatadogAgent,
169
- InputOffice365Mgmt,
170
- InputFile,
171
- InputSplunk,
172
- InputWef,
173
- InputAppscope,
174
- InputHTTPRaw,
175
- InputWizWebhook,
176
- InputHTTP,
177
- InputCriblLakeHTTP,
178
- InputAzureBlob,
179
- InputSqs,
180
- InputZscalerHec,
181
- InputKinesis,
182
- InputConfluentCloud,
183
- InputEventhub,
184
- InputKafka,
185
- InputElastic,
186
- InputOffice365MsgTrace,
187
- InputSplunkHec,
188
- InputLoki,
189
- InputPrometheusRw,
190
- InputPrometheus,
191
- InputCrowdstrike,
192
- InputEdgePrometheus,
193
- InputOpenTelemetry,
194
- InputS3,
195
- InputSecurityLake,
196
- InputMsk,
197
- InputS3Inventory,
198
- InputSplunkSearch,
199
- InputSyslog,
200
- InputGrafana,
143
+ Annotated[InputCollection, Tag("collection")],
144
+ Annotated[InputKafka, Tag("kafka")],
145
+ Annotated[InputMsk, Tag("msk")],
146
+ Annotated[InputHTTP, Tag("http")],
147
+ Annotated[InputSplunk, Tag("splunk")],
148
+ Annotated[InputSplunkSearch, Tag("splunk_search")],
149
+ Annotated[InputSplunkHec, Tag("splunk_hec")],
150
+ Annotated[InputAzureBlob, Tag("azure_blob")],
151
+ Annotated[InputElastic, Tag("elastic")],
152
+ Annotated[InputConfluentCloud, Tag("confluent_cloud")],
153
+ Annotated[InputGrafana, Tag("grafana")],
154
+ Annotated[InputLoki, Tag("loki")],
155
+ Annotated[InputPrometheusRw, Tag("prometheus_rw")],
156
+ Annotated[InputPrometheus, Tag("prometheus")],
157
+ Annotated[InputEdgePrometheus, Tag("edge_prometheus")],
158
+ Annotated[InputOffice365Mgmt, Tag("office365_mgmt")],
159
+ Annotated[InputOffice365Service, Tag("office365_service")],
160
+ Annotated[InputOffice365MsgTrace, Tag("office365_msg_trace")],
161
+ Annotated[InputEventhub, Tag("eventhub")],
162
+ Annotated[InputExec, Tag("exec")],
163
+ Annotated[InputFirehose, Tag("firehose")],
164
+ Annotated[InputGooglePubsub, Tag("google_pubsub")],
165
+ Annotated[InputCribl, Tag("cribl")],
166
+ Annotated[InputCriblTCP, Tag("cribl_tcp")],
167
+ Annotated[InputCriblHTTP, Tag("cribl_http")],
168
+ Annotated[InputCriblLakeHTTP, Tag("cribl_lake_http")],
169
+ Annotated[InputTcpjson, Tag("tcpjson")],
170
+ Annotated[InputSystemMetrics, Tag("system_metrics")],
171
+ Annotated[InputSystemState, Tag("system_state")],
172
+ Annotated[InputKubeMetrics, Tag("kube_metrics")],
173
+ Annotated[InputKubeLogs, Tag("kube_logs")],
174
+ Annotated[InputKubeEvents, Tag("kube_events")],
175
+ Annotated[InputWindowsMetrics, Tag("windows_metrics")],
176
+ Annotated[InputCrowdstrike, Tag("crowdstrike")],
177
+ Annotated[InputDatadogAgent, Tag("datadog_agent")],
178
+ Annotated[InputDatagen, Tag("datagen")],
179
+ Annotated[InputHTTPRaw, Tag("http_raw")],
180
+ Annotated[InputKinesis, Tag("kinesis")],
181
+ Annotated[InputCriblmetrics, Tag("criblmetrics")],
182
+ Annotated[InputMetrics, Tag("metrics")],
183
+ Annotated[InputS3, Tag("s3")],
184
+ Annotated[InputS3Inventory, Tag("s3_inventory")],
185
+ Annotated[InputSnmp, Tag("snmp")],
186
+ Annotated[InputOpenTelemetry, Tag("open_telemetry")],
187
+ Annotated[InputModelDrivenTelemetry, Tag("model_driven_telemetry")],
188
+ Annotated[InputSqs, Tag("sqs")],
189
+ Annotated[InputSyslog, Tag("syslog")],
190
+ Annotated[InputFile, Tag("file")],
191
+ Annotated[InputTCP, Tag("tcp")],
192
+ Annotated[InputAppscope, Tag("appscope")],
193
+ Annotated[InputWef, Tag("wef")],
194
+ Annotated[InputWinEventLogs, Tag("win_event_logs")],
195
+ Annotated[InputRawUDP, Tag("raw_udp")],
196
+ Annotated[InputJournalFiles, Tag("journal_files")],
197
+ Annotated[InputWiz, Tag("wiz")],
198
+ Annotated[InputWizWebhook, Tag("wiz_webhook")],
199
+ Annotated[InputNetflow, Tag("netflow")],
200
+ Annotated[InputSecurityLake, Tag("security_lake")],
201
+ Annotated[InputZscalerHec, Tag("zscaler_hec")],
201
202
  ],
202
- )
203
+ Discriminator(lambda m: get_discriminator(m, "type", "type")),
204
+ ]
@@ -187,13 +187,6 @@ class InputConfluentCloudTLSSettingsClientSide(BaseModel):
187
187
  ] = None
188
188
 
189
189
 
190
- class InputConfluentCloudSchemaType(str, Enum, metaclass=utils.OpenEnumMeta):
191
- r"""The schema format used to encode and decode event data"""
192
-
193
- AVRO = "avro"
194
- JSON = "json"
195
-
196
-
197
190
  class InputConfluentCloudAuthTypedDict(TypedDict):
198
191
  r"""Credentials to use when authenticating with the schema registry using basic HTTP authentication"""
199
192
 
@@ -304,8 +297,6 @@ class InputConfluentCloudKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
304
297
  disabled: NotRequired[bool]
305
298
  schema_registry_url: NotRequired[str]
306
299
  r"""URL for accessing the Confluent Schema Registry. Example: http://localhost:8081. To connect over TLS, use https instead of http."""
307
- schema_type: NotRequired[InputConfluentCloudSchemaType]
308
- r"""The schema format used to encode and decode event data"""
309
300
  connection_timeout: NotRequired[float]
310
301
  r"""Maximum time to wait for a Schema Registry connection to complete successfully"""
311
302
  request_timeout: NotRequired[float]
@@ -327,15 +318,6 @@ class InputConfluentCloudKafkaSchemaRegistryAuthentication(BaseModel):
327
318
  ] = "http://localhost:8081"
328
319
  r"""URL for accessing the Confluent Schema Registry. Example: http://localhost:8081. To connect over TLS, use https instead of http."""
329
320
 
330
- schema_type: Annotated[
331
- Annotated[
332
- Optional[InputConfluentCloudSchemaType],
333
- PlainValidator(validate_open_enum(False)),
334
- ],
335
- pydantic.Field(alias="schemaType"),
336
- ] = InputConfluentCloudSchemaType.AVRO
337
- r"""The schema format used to encode and decode event data"""
338
-
339
321
  connection_timeout: Annotated[
340
322
  Optional[float], pydantic.Field(alias="connectionTimeout")
341
323
  ] = 30000