cribl-control-plane 0.2.0b8__py3-none-any.whl → 0.2.1__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.
- cribl_control_plane/_version.py +6 -4
- cribl_control_plane/groups_sdk.py +8 -8
- cribl_control_plane/models/__init__.py +27 -45
- cribl_control_plane/models/appmode.py +14 -0
- cribl_control_plane/models/authtoken.py +1 -8
- cribl_control_plane/models/configgroup.py +2 -30
- cribl_control_plane/models/createversionundoop.py +3 -3
- cribl_control_plane/models/distributedsummary.py +0 -6
- cribl_control_plane/models/hbcriblinfo.py +3 -14
- cribl_control_plane/models/heartbeatmetadata.py +0 -3
- cribl_control_plane/models/input.py +63 -65
- cribl_control_plane/models/inputappscope.py +0 -4
- cribl_control_plane/models/inputazureblob.py +0 -4
- cribl_control_plane/models/inputcollection.py +0 -4
- cribl_control_plane/models/inputconfluentcloud.py +18 -8
- cribl_control_plane/models/inputcribl.py +0 -4
- cribl_control_plane/models/inputcriblhttp.py +0 -4
- cribl_control_plane/models/inputcribllakehttp.py +0 -4
- cribl_control_plane/models/inputcriblmetrics.py +0 -4
- cribl_control_plane/models/inputcribltcp.py +0 -4
- cribl_control_plane/models/inputcrowdstrike.py +0 -7
- cribl_control_plane/models/inputdatadogagent.py +0 -4
- cribl_control_plane/models/inputdatagen.py +0 -4
- cribl_control_plane/models/inputedgeprometheus.py +0 -12
- cribl_control_plane/models/inputelastic.py +0 -11
- cribl_control_plane/models/inputeventhub.py +0 -6
- cribl_control_plane/models/inputexec.py +0 -4
- cribl_control_plane/models/inputfile.py +0 -6
- cribl_control_plane/models/inputfirehose.py +0 -4
- cribl_control_plane/models/inputgooglepubsub.py +0 -7
- cribl_control_plane/models/inputgrafana.py +0 -8
- cribl_control_plane/models/inputhttp.py +0 -4
- cribl_control_plane/models/inputhttpraw.py +0 -4
- cribl_control_plane/models/inputjournalfiles.py +0 -4
- cribl_control_plane/models/inputkafka.py +17 -8
- cribl_control_plane/models/inputkinesis.py +0 -15
- cribl_control_plane/models/inputkubeevents.py +0 -4
- cribl_control_plane/models/inputkubelogs.py +0 -4
- cribl_control_plane/models/inputkubemetrics.py +0 -4
- cribl_control_plane/models/inputloki.py +0 -4
- cribl_control_plane/models/inputmetrics.py +0 -4
- cribl_control_plane/models/inputmodeldriventelemetry.py +0 -4
- cribl_control_plane/models/inputmsk.py +17 -7
- cribl_control_plane/models/inputnetflow.py +0 -4
- cribl_control_plane/models/inputoffice365mgmt.py +0 -11
- cribl_control_plane/models/inputoffice365msgtrace.py +0 -11
- cribl_control_plane/models/inputoffice365service.py +0 -11
- cribl_control_plane/models/inputopentelemetry.py +0 -8
- cribl_control_plane/models/inputprometheus.py +0 -10
- cribl_control_plane/models/inputprometheusrw.py +0 -4
- cribl_control_plane/models/inputrawudp.py +0 -4
- cribl_control_plane/models/inputs3.py +0 -7
- cribl_control_plane/models/inputs3inventory.py +0 -7
- cribl_control_plane/models/inputsecuritylake.py +0 -7
- cribl_control_plane/models/inputsnmp.py +0 -11
- cribl_control_plane/models/inputsplunk.py +0 -9
- cribl_control_plane/models/inputsplunkhec.py +0 -4
- cribl_control_plane/models/inputsplunksearch.py +0 -7
- cribl_control_plane/models/inputsqs.py +0 -9
- cribl_control_plane/models/inputsyslog.py +0 -8
- cribl_control_plane/models/inputsystemmetrics.py +0 -32
- cribl_control_plane/models/inputsystemstate.py +0 -4
- cribl_control_plane/models/inputtcp.py +0 -4
- cribl_control_plane/models/inputtcpjson.py +0 -4
- cribl_control_plane/models/inputwef.py +0 -6
- cribl_control_plane/models/inputwindowsmetrics.py +0 -28
- cribl_control_plane/models/inputwineventlogs.py +0 -8
- cribl_control_plane/models/inputwiz.py +0 -7
- cribl_control_plane/models/inputwizwebhook.py +0 -4
- cribl_control_plane/models/inputzscalerhec.py +0 -4
- cribl_control_plane/models/jobinfo.py +1 -4
- cribl_control_plane/models/nodeprovidedinfo.py +1 -7
- cribl_control_plane/models/output.py +80 -85
- cribl_control_plane/models/outputazureblob.py +0 -20
- cribl_control_plane/models/outputazuredataexplorer.py +0 -28
- cribl_control_plane/models/outputazureeventhub.py +0 -17
- cribl_control_plane/models/outputazurelogs.py +0 -13
- cribl_control_plane/models/outputchronicle.py +0 -13
- cribl_control_plane/models/outputclickhouse.py +0 -17
- cribl_control_plane/models/outputcloudwatch.py +0 -13
- cribl_control_plane/models/outputconfluentcloud.py +18 -24
- cribl_control_plane/models/outputcriblhttp.py +0 -15
- cribl_control_plane/models/outputcribllake.py +0 -21
- cribl_control_plane/models/outputcribltcp.py +0 -12
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +0 -15
- cribl_control_plane/models/outputdatadog.py +0 -30
- cribl_control_plane/models/outputdataset.py +0 -23
- cribl_control_plane/models/outputdls3.py +0 -35
- cribl_control_plane/models/outputdynatracehttp.py +0 -22
- cribl_control_plane/models/outputdynatraceotlp.py +0 -22
- cribl_control_plane/models/outputelastic.py +0 -18
- cribl_control_plane/models/outputelasticcloud.py +0 -13
- cribl_control_plane/models/outputexabeam.py +0 -14
- cribl_control_plane/models/outputfilesystem.py +0 -15
- cribl_control_plane/models/outputgooglechronicle.py +0 -21
- cribl_control_plane/models/outputgooglecloudlogging.py +0 -19
- cribl_control_plane/models/outputgooglecloudstorage.py +0 -28
- cribl_control_plane/models/outputgooglepubsub.py +0 -13
- cribl_control_plane/models/outputgrafanacloud.py +0 -50
- cribl_control_plane/models/outputgraphite.py +0 -12
- cribl_control_plane/models/outputhoneycomb.py +0 -13
- cribl_control_plane/models/outputhumiohec.py +0 -15
- cribl_control_plane/models/outputinfluxdb.py +0 -19
- cribl_control_plane/models/outputkafka.py +17 -24
- cribl_control_plane/models/outputkinesis.py +0 -15
- cribl_control_plane/models/outputloki.py +0 -20
- cribl_control_plane/models/outputminio.py +0 -28
- cribl_control_plane/models/outputmsk.py +17 -23
- cribl_control_plane/models/outputnewrelic.py +0 -16
- cribl_control_plane/models/outputnewrelicevents.py +0 -16
- cribl_control_plane/models/outputopentelemetry.py +0 -22
- cribl_control_plane/models/outputprometheus.py +0 -13
- cribl_control_plane/models/outputring.py +0 -2
- cribl_control_plane/models/outputs3.py +0 -35
- cribl_control_plane/models/outputsecuritylake.py +0 -29
- cribl_control_plane/models/outputsentinel.py +0 -15
- cribl_control_plane/models/outputsentineloneaisiem.py +0 -13
- cribl_control_plane/models/outputservicenow.py +0 -21
- cribl_control_plane/models/outputsignalfx.py +0 -13
- cribl_control_plane/models/outputsns.py +0 -13
- cribl_control_plane/models/outputsplunk.py +0 -15
- cribl_control_plane/models/outputsplunkhec.py +0 -13
- cribl_control_plane/models/outputsplunklb.py +0 -15
- cribl_control_plane/models/outputsqs.py +0 -15
- cribl_control_plane/models/outputstatsd.py +0 -12
- cribl_control_plane/models/outputstatsdext.py +0 -12
- cribl_control_plane/models/outputsumologic.py +0 -15
- cribl_control_plane/models/outputsyslog.py +0 -24
- cribl_control_plane/models/outputtcpjson.py +0 -12
- cribl_control_plane/models/outputwavefront.py +0 -13
- cribl_control_plane/models/outputwebhook.py +0 -23
- cribl_control_plane/models/outputxsiam.py +0 -13
- cribl_control_plane/models/packinfo.py +5 -8
- cribl_control_plane/models/packinstallinfo.py +5 -8
- cribl_control_plane/models/{uploadpackresponse.py → routecloneconf.py} +4 -4
- cribl_control_plane/models/routeconf.py +4 -3
- cribl_control_plane/models/runnablejobcollection.py +0 -4
- cribl_control_plane/packs.py +7 -202
- {cribl_control_plane-0.2.0b8.dist-info → cribl_control_plane-0.2.1.dist-info}/METADATA +16 -39
- {cribl_control_plane-0.2.0b8.dist-info → cribl_control_plane-0.2.1.dist-info}/RECORD +141 -142
- cribl_control_plane/models/outputdatabricks.py +0 -291
- cribl_control_plane/models/updatepacksop.py +0 -25
- {cribl_control_plane-0.2.0b8.dist-info → cribl_control_plane-0.2.1.dist-info}/WHEEL +0 -0
cribl_control_plane/_version.py
CHANGED
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "cribl-control-plane"
|
|
6
|
-
__version__: str = "0.2.
|
|
7
|
-
__openapi_doc_version__: str = "4.
|
|
8
|
-
__gen_version__: str = "2.
|
|
9
|
-
__user_agent__: str =
|
|
6
|
+
__version__: str = "0.2.1"
|
|
7
|
+
__openapi_doc_version__: str = "4.14.1-68918e2c"
|
|
8
|
+
__gen_version__: str = "2.730.5"
|
|
9
|
+
__user_agent__: str = (
|
|
10
|
+
"speakeasy-sdk/python 0.2.1 2.730.5 4.14.1-68918e2c cribl-control-plane"
|
|
11
|
+
)
|
|
10
12
|
|
|
11
13
|
try:
|
|
12
14
|
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[
|
|
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,
|
|
@@ -261,7 +261,7 @@ class GroupsSDK(BaseSDK):
|
|
|
261
261
|
:param config_version:
|
|
262
262
|
:param deploying_worker_count:
|
|
263
263
|
:param description:
|
|
264
|
-
:param estimated_ingest_rate:
|
|
264
|
+
:param estimated_ingest_rate:
|
|
265
265
|
:param git:
|
|
266
266
|
:param incompatible_worker_count:
|
|
267
267
|
:param inherits:
|
|
@@ -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[
|
|
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,
|
|
@@ -432,7 +432,7 @@ class GroupsSDK(BaseSDK):
|
|
|
432
432
|
:param config_version:
|
|
433
433
|
:param deploying_worker_count:
|
|
434
434
|
:param description:
|
|
435
|
-
:param estimated_ingest_rate:
|
|
435
|
+
:param estimated_ingest_rate:
|
|
436
436
|
:param git:
|
|
437
437
|
:param incompatible_worker_count:
|
|
438
438
|
:param inherits:
|
|
@@ -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[
|
|
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,
|
|
@@ -795,7 +795,7 @@ class GroupsSDK(BaseSDK):
|
|
|
795
795
|
:param config_version:
|
|
796
796
|
:param deploying_worker_count:
|
|
797
797
|
:param description:
|
|
798
|
-
:param estimated_ingest_rate:
|
|
798
|
+
:param estimated_ingest_rate:
|
|
799
799
|
:param git:
|
|
800
800
|
:param incompatible_worker_count:
|
|
801
801
|
:param inherits:
|
|
@@ -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[
|
|
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,
|
|
@@ -969,7 +969,7 @@ class GroupsSDK(BaseSDK):
|
|
|
969
969
|
:param config_version:
|
|
970
970
|
:param deploying_worker_count:
|
|
971
971
|
:param description:
|
|
972
|
-
:param estimated_ingest_rate:
|
|
972
|
+
:param estimated_ingest_rate:
|
|
973
973
|
:param git:
|
|
974
974
|
:param incompatible_worker_count:
|
|
975
975
|
:param inherits:
|
|
@@ -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
|
)
|
|
@@ -361,13 +361,7 @@ if TYPE_CHECKING:
|
|
|
361
361
|
Renamed,
|
|
362
362
|
RenamedTypedDict,
|
|
363
363
|
)
|
|
364
|
-
from .hbcriblinfo import
|
|
365
|
-
Config,
|
|
366
|
-
ConfigTypedDict,
|
|
367
|
-
DistMode,
|
|
368
|
-
HBCriblInfo,
|
|
369
|
-
HBCriblInfoTypedDict,
|
|
370
|
-
)
|
|
364
|
+
from .hbcriblinfo import Config, ConfigTypedDict, HBCriblInfo, HBCriblInfoTypedDict
|
|
371
365
|
from .hbleaderinfo import HBLeaderInfo, HBLeaderInfoTypedDict
|
|
372
366
|
from .healthstatus import HealthStatus, HealthStatusTypedDict, Role, Status
|
|
373
367
|
from .heartbeatmetadata import (
|
|
@@ -474,6 +468,7 @@ if TYPE_CHECKING:
|
|
|
474
468
|
InputConfluentCloudPqControlsTypedDict,
|
|
475
469
|
InputConfluentCloudPqTypedDict,
|
|
476
470
|
InputConfluentCloudSASLMechanism,
|
|
471
|
+
InputConfluentCloudSchemaType,
|
|
477
472
|
InputConfluentCloudTLSSettingsClientSide,
|
|
478
473
|
InputConfluentCloudTLSSettingsClientSideTypedDict,
|
|
479
474
|
InputConfluentCloudType,
|
|
@@ -932,6 +927,7 @@ if TYPE_CHECKING:
|
|
|
932
927
|
InputKafkaPqControlsTypedDict,
|
|
933
928
|
InputKafkaPqTypedDict,
|
|
934
929
|
InputKafkaSASLMechanism,
|
|
930
|
+
InputKafkaSchemaType,
|
|
935
931
|
InputKafkaTLSSettingsClientSide,
|
|
936
932
|
InputKafkaTLSSettingsClientSideTypedDict,
|
|
937
933
|
InputKafkaType,
|
|
@@ -1099,6 +1095,7 @@ if TYPE_CHECKING:
|
|
|
1099
1095
|
InputMskPqControls,
|
|
1100
1096
|
InputMskPqControlsTypedDict,
|
|
1101
1097
|
InputMskPqTypedDict,
|
|
1098
|
+
InputMskSchemaType,
|
|
1102
1099
|
InputMskSignatureVersion,
|
|
1103
1100
|
InputMskTLSSettingsClientSide,
|
|
1104
1101
|
InputMskTLSSettingsClientSideTypedDict,
|
|
@@ -2014,6 +2011,7 @@ if TYPE_CHECKING:
|
|
|
2014
2011
|
OutputConfluentCloudQueueFullBehavior,
|
|
2015
2012
|
OutputConfluentCloudRecordDataFormat,
|
|
2016
2013
|
OutputConfluentCloudSASLMechanism,
|
|
2014
|
+
OutputConfluentCloudSchemaType,
|
|
2017
2015
|
OutputConfluentCloudTLSSettingsClientSide,
|
|
2018
2016
|
OutputConfluentCloudTLSSettingsClientSideTypedDict,
|
|
2019
2017
|
OutputConfluentCloudType,
|
|
@@ -2096,15 +2094,6 @@ if TYPE_CHECKING:
|
|
|
2096
2094
|
OutputCrowdstrikeNextGenSiemType,
|
|
2097
2095
|
OutputCrowdstrikeNextGenSiemTypedDict,
|
|
2098
2096
|
)
|
|
2099
|
-
from .outputdatabricks import (
|
|
2100
|
-
OutputDatabricks,
|
|
2101
|
-
OutputDatabricksAuthenticationMethod,
|
|
2102
|
-
OutputDatabricksBackpressureBehavior,
|
|
2103
|
-
OutputDatabricksDataFormat,
|
|
2104
|
-
OutputDatabricksDiskSpaceProtection,
|
|
2105
|
-
OutputDatabricksType,
|
|
2106
|
-
OutputDatabricksTypedDict,
|
|
2107
|
-
)
|
|
2108
2097
|
from .outputdatadog import (
|
|
2109
2098
|
DatadogSite,
|
|
2110
2099
|
OutputDatadog,
|
|
@@ -2523,6 +2512,7 @@ if TYPE_CHECKING:
|
|
|
2523
2512
|
OutputKafkaQueueFullBehavior,
|
|
2524
2513
|
OutputKafkaRecordDataFormat,
|
|
2525
2514
|
OutputKafkaSASLMechanism,
|
|
2515
|
+
OutputKafkaSchemaType,
|
|
2526
2516
|
OutputKafkaTLSSettingsClientSide,
|
|
2527
2517
|
OutputKafkaTLSSettingsClientSideTypedDict,
|
|
2528
2518
|
OutputKafkaType,
|
|
@@ -2605,6 +2595,7 @@ if TYPE_CHECKING:
|
|
|
2605
2595
|
OutputMskPqControlsTypedDict,
|
|
2606
2596
|
OutputMskQueueFullBehavior,
|
|
2607
2597
|
OutputMskRecordDataFormat,
|
|
2598
|
+
OutputMskSchemaType,
|
|
2608
2599
|
OutputMskSignatureVersion,
|
|
2609
2600
|
OutputMskTLSSettingsClientSide,
|
|
2610
2601
|
OutputMskTLSSettingsClientSideTypedDict,
|
|
@@ -3163,6 +3154,7 @@ if TYPE_CHECKING:
|
|
|
3163
3154
|
from .productscore import ProductsCore
|
|
3164
3155
|
from .rbacresource import RbacResource
|
|
3165
3156
|
from .resourcepolicy import ResourcePolicy, ResourcePolicyTypedDict
|
|
3157
|
+
from .routecloneconf import RouteCloneConf, RouteCloneConfTypedDict
|
|
3166
3158
|
from .routeconf import RouteConf, RouteConfTypedDict
|
|
3167
3159
|
from .routes import (
|
|
3168
3160
|
Comment,
|
|
@@ -3295,7 +3287,6 @@ if TYPE_CHECKING:
|
|
|
3295
3287
|
UpdatePacksByIDResponse,
|
|
3296
3288
|
UpdatePacksByIDResponseTypedDict,
|
|
3297
3289
|
)
|
|
3298
|
-
from .updatepacksop import UpdatePacksRequest, UpdatePacksRequestTypedDict
|
|
3299
3290
|
from .updatepipelinebyidop import (
|
|
3300
3291
|
UpdatePipelineByIDRequest,
|
|
3301
3292
|
UpdatePipelineByIDRequestTypedDict,
|
|
@@ -3308,7 +3299,6 @@ if TYPE_CHECKING:
|
|
|
3308
3299
|
UpdateRoutesByIDResponse,
|
|
3309
3300
|
UpdateRoutesByIDResponseTypedDict,
|
|
3310
3301
|
)
|
|
3311
|
-
from .uploadpackresponse import UploadPackResponse, UploadPackResponseTypedDict
|
|
3312
3302
|
from .useraccesscontrollist import (
|
|
3313
3303
|
UserAccessControlList,
|
|
3314
3304
|
UserAccessControlListTypedDict,
|
|
@@ -3325,6 +3315,7 @@ __all__ = [
|
|
|
3325
3315
|
"AdditionalPropertyTypedDict",
|
|
3326
3316
|
"Allow",
|
|
3327
3317
|
"AllowTypedDict",
|
|
3318
|
+
"AppMode",
|
|
3328
3319
|
"Audit",
|
|
3329
3320
|
"AuditTypedDict",
|
|
3330
3321
|
"AuthToken",
|
|
@@ -3475,7 +3466,6 @@ __all__ = [
|
|
|
3475
3466
|
"DiffFilesTypedDict",
|
|
3476
3467
|
"DisksAndFileSystems",
|
|
3477
3468
|
"DisksAndFileSystemsTypedDict",
|
|
3478
|
-
"DistMode",
|
|
3479
3469
|
"DistributedSummary",
|
|
3480
3470
|
"DistributedSummaryGroups",
|
|
3481
3471
|
"DistributedSummaryGroupsTypedDict",
|
|
@@ -3494,7 +3484,6 @@ __all__ = [
|
|
|
3494
3484
|
"EndpointType",
|
|
3495
3485
|
"Error",
|
|
3496
3486
|
"ErrorTypedDict",
|
|
3497
|
-
"EstimatedIngestRate",
|
|
3498
3487
|
"EventFormat",
|
|
3499
3488
|
"Executor",
|
|
3500
3489
|
"ExecutorSpecificSettings",
|
|
@@ -3746,6 +3735,7 @@ __all__ = [
|
|
|
3746
3735
|
"InputConfluentCloudPqControlsTypedDict",
|
|
3747
3736
|
"InputConfluentCloudPqTypedDict",
|
|
3748
3737
|
"InputConfluentCloudSASLMechanism",
|
|
3738
|
+
"InputConfluentCloudSchemaType",
|
|
3749
3739
|
"InputConfluentCloudTLSSettingsClientSide",
|
|
3750
3740
|
"InputConfluentCloudTLSSettingsClientSideTypedDict",
|
|
3751
3741
|
"InputConfluentCloudType",
|
|
@@ -4135,6 +4125,7 @@ __all__ = [
|
|
|
4135
4125
|
"InputKafkaPqControlsTypedDict",
|
|
4136
4126
|
"InputKafkaPqTypedDict",
|
|
4137
4127
|
"InputKafkaSASLMechanism",
|
|
4128
|
+
"InputKafkaSchemaType",
|
|
4138
4129
|
"InputKafkaTLSSettingsClientSide",
|
|
4139
4130
|
"InputKafkaTLSSettingsClientSideTypedDict",
|
|
4140
4131
|
"InputKafkaType",
|
|
@@ -4284,6 +4275,7 @@ __all__ = [
|
|
|
4284
4275
|
"InputMskPqControls",
|
|
4285
4276
|
"InputMskPqControlsTypedDict",
|
|
4286
4277
|
"InputMskPqTypedDict",
|
|
4278
|
+
"InputMskSchemaType",
|
|
4287
4279
|
"InputMskSignatureVersion",
|
|
4288
4280
|
"InputMskTLSSettingsClientSide",
|
|
4289
4281
|
"InputMskTLSSettingsClientSideTypedDict",
|
|
@@ -5100,6 +5092,7 @@ __all__ = [
|
|
|
5100
5092
|
"OutputConfluentCloudQueueFullBehavior",
|
|
5101
5093
|
"OutputConfluentCloudRecordDataFormat",
|
|
5102
5094
|
"OutputConfluentCloudSASLMechanism",
|
|
5095
|
+
"OutputConfluentCloudSchemaType",
|
|
5103
5096
|
"OutputConfluentCloudTLSSettingsClientSide",
|
|
5104
5097
|
"OutputConfluentCloudTLSSettingsClientSideTypedDict",
|
|
5105
5098
|
"OutputConfluentCloudType",
|
|
@@ -5172,13 +5165,6 @@ __all__ = [
|
|
|
5172
5165
|
"OutputCrowdstrikeNextGenSiemTimeoutRetrySettingsTypedDict",
|
|
5173
5166
|
"OutputCrowdstrikeNextGenSiemType",
|
|
5174
5167
|
"OutputCrowdstrikeNextGenSiemTypedDict",
|
|
5175
|
-
"OutputDatabricks",
|
|
5176
|
-
"OutputDatabricksAuthenticationMethod",
|
|
5177
|
-
"OutputDatabricksBackpressureBehavior",
|
|
5178
|
-
"OutputDatabricksDataFormat",
|
|
5179
|
-
"OutputDatabricksDiskSpaceProtection",
|
|
5180
|
-
"OutputDatabricksType",
|
|
5181
|
-
"OutputDatabricksTypedDict",
|
|
5182
5168
|
"OutputDatadog",
|
|
5183
5169
|
"OutputDatadogAuthenticationMethod",
|
|
5184
5170
|
"OutputDatadogBackpressureBehavior",
|
|
@@ -5544,6 +5530,7 @@ __all__ = [
|
|
|
5544
5530
|
"OutputKafkaQueueFullBehavior",
|
|
5545
5531
|
"OutputKafkaRecordDataFormat",
|
|
5546
5532
|
"OutputKafkaSASLMechanism",
|
|
5533
|
+
"OutputKafkaSchemaType",
|
|
5547
5534
|
"OutputKafkaTLSSettingsClientSide",
|
|
5548
5535
|
"OutputKafkaTLSSettingsClientSideTypedDict",
|
|
5549
5536
|
"OutputKafkaType",
|
|
@@ -5618,6 +5605,7 @@ __all__ = [
|
|
|
5618
5605
|
"OutputMskPqControlsTypedDict",
|
|
5619
5606
|
"OutputMskQueueFullBehavior",
|
|
5620
5607
|
"OutputMskRecordDataFormat",
|
|
5608
|
+
"OutputMskSchemaType",
|
|
5621
5609
|
"OutputMskSignatureVersion",
|
|
5622
5610
|
"OutputMskTLSSettingsClientSide",
|
|
5623
5611
|
"OutputMskTLSSettingsClientSideTypedDict",
|
|
@@ -6124,6 +6112,8 @@ __all__ = [
|
|
|
6124
6112
|
"ResourceTypeLabel",
|
|
6125
6113
|
"ResourceTypeLabelTypedDict",
|
|
6126
6114
|
"Role",
|
|
6115
|
+
"RouteCloneConf",
|
|
6116
|
+
"RouteCloneConfTypedDict",
|
|
6127
6117
|
"RouteConf",
|
|
6128
6118
|
"RouteConfTypedDict",
|
|
6129
6119
|
"Routes",
|
|
@@ -6250,8 +6240,6 @@ __all__ = [
|
|
|
6250
6240
|
"UpdatePacksByIDRequestTypedDict",
|
|
6251
6241
|
"UpdatePacksByIDResponse",
|
|
6252
6242
|
"UpdatePacksByIDResponseTypedDict",
|
|
6253
|
-
"UpdatePacksRequest",
|
|
6254
|
-
"UpdatePacksRequestTypedDict",
|
|
6255
6243
|
"UpdatePipelineByIDRequest",
|
|
6256
6244
|
"UpdatePipelineByIDRequestTypedDict",
|
|
6257
6245
|
"UpdatePipelineByIDResponse",
|
|
@@ -6260,8 +6248,6 @@ __all__ = [
|
|
|
6260
6248
|
"UpdateRoutesByIDRequestTypedDict",
|
|
6261
6249
|
"UpdateRoutesByIDResponse",
|
|
6262
6250
|
"UpdateRoutesByIDResponseTypedDict",
|
|
6263
|
-
"UploadPackResponse",
|
|
6264
|
-
"UploadPackResponseTypedDict",
|
|
6265
6251
|
"UserAccessControlList",
|
|
6266
6252
|
"UserAccessControlListTypedDict",
|
|
6267
6253
|
"UsersAndGroups",
|
|
@@ -6278,6 +6264,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
6278
6264
|
"AddHecTokenRequestMetadatum": ".addhectokenrequest",
|
|
6279
6265
|
"AddHecTokenRequestMetadatumTypedDict": ".addhectokenrequest",
|
|
6280
6266
|
"AddHecTokenRequestTypedDict": ".addhectokenrequest",
|
|
6267
|
+
"AppMode": ".appmode",
|
|
6281
6268
|
"AuthToken": ".authtoken",
|
|
6282
6269
|
"AuthTokenTypedDict": ".authtoken",
|
|
6283
6270
|
"BranchInfo": ".branchinfo",
|
|
@@ -6291,7 +6278,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
6291
6278
|
"ConfigGroup": ".configgroup",
|
|
6292
6279
|
"ConfigGroupType": ".configgroup",
|
|
6293
6280
|
"ConfigGroupTypedDict": ".configgroup",
|
|
6294
|
-
"EstimatedIngestRate": ".configgroup",
|
|
6295
6281
|
"Git": ".configgroup",
|
|
6296
6282
|
"GitTypedDict": ".configgroup",
|
|
6297
6283
|
"ConfigGroupCloud": ".configgroupcloud",
|
|
@@ -6552,7 +6538,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
6552
6538
|
"RenamedTypedDict": ".gitstatusresult",
|
|
6553
6539
|
"Config": ".hbcriblinfo",
|
|
6554
6540
|
"ConfigTypedDict": ".hbcriblinfo",
|
|
6555
|
-
"DistMode": ".hbcriblinfo",
|
|
6556
6541
|
"HBCriblInfo": ".hbcriblinfo",
|
|
6557
6542
|
"HBCriblInfoTypedDict": ".hbcriblinfo",
|
|
6558
6543
|
"HBLeaderInfo": ".hbleaderinfo",
|
|
@@ -6657,6 +6642,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
6657
6642
|
"InputConfluentCloudPqControlsTypedDict": ".inputconfluentcloud",
|
|
6658
6643
|
"InputConfluentCloudPqTypedDict": ".inputconfluentcloud",
|
|
6659
6644
|
"InputConfluentCloudSASLMechanism": ".inputconfluentcloud",
|
|
6645
|
+
"InputConfluentCloudSchemaType": ".inputconfluentcloud",
|
|
6660
6646
|
"InputConfluentCloudTLSSettingsClientSide": ".inputconfluentcloud",
|
|
6661
6647
|
"InputConfluentCloudTLSSettingsClientSideTypedDict": ".inputconfluentcloud",
|
|
6662
6648
|
"InputConfluentCloudType": ".inputconfluentcloud",
|
|
@@ -7075,6 +7061,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
7075
7061
|
"InputKafkaPqControlsTypedDict": ".inputkafka",
|
|
7076
7062
|
"InputKafkaPqTypedDict": ".inputkafka",
|
|
7077
7063
|
"InputKafkaSASLMechanism": ".inputkafka",
|
|
7064
|
+
"InputKafkaSchemaType": ".inputkafka",
|
|
7078
7065
|
"InputKafkaTLSSettingsClientSide": ".inputkafka",
|
|
7079
7066
|
"InputKafkaTLSSettingsClientSideTypedDict": ".inputkafka",
|
|
7080
7067
|
"InputKafkaType": ".inputkafka",
|
|
@@ -7226,6 +7213,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
7226
7213
|
"InputMskPqControls": ".inputmsk",
|
|
7227
7214
|
"InputMskPqControlsTypedDict": ".inputmsk",
|
|
7228
7215
|
"InputMskPqTypedDict": ".inputmsk",
|
|
7216
|
+
"InputMskSchemaType": ".inputmsk",
|
|
7229
7217
|
"InputMskSignatureVersion": ".inputmsk",
|
|
7230
7218
|
"InputMskTLSSettingsClientSide": ".inputmsk",
|
|
7231
7219
|
"InputMskTLSSettingsClientSideTypedDict": ".inputmsk",
|
|
@@ -8071,6 +8059,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
8071
8059
|
"OutputConfluentCloudQueueFullBehavior": ".outputconfluentcloud",
|
|
8072
8060
|
"OutputConfluentCloudRecordDataFormat": ".outputconfluentcloud",
|
|
8073
8061
|
"OutputConfluentCloudSASLMechanism": ".outputconfluentcloud",
|
|
8062
|
+
"OutputConfluentCloudSchemaType": ".outputconfluentcloud",
|
|
8074
8063
|
"OutputConfluentCloudTLSSettingsClientSide": ".outputconfluentcloud",
|
|
8075
8064
|
"OutputConfluentCloudTLSSettingsClientSideTypedDict": ".outputconfluentcloud",
|
|
8076
8065
|
"OutputConfluentCloudType": ".outputconfluentcloud",
|
|
@@ -8144,13 +8133,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
8144
8133
|
"OutputCrowdstrikeNextGenSiemTimeoutRetrySettingsTypedDict": ".outputcrowdstrikenextgensiem",
|
|
8145
8134
|
"OutputCrowdstrikeNextGenSiemType": ".outputcrowdstrikenextgensiem",
|
|
8146
8135
|
"OutputCrowdstrikeNextGenSiemTypedDict": ".outputcrowdstrikenextgensiem",
|
|
8147
|
-
"OutputDatabricks": ".outputdatabricks",
|
|
8148
|
-
"OutputDatabricksAuthenticationMethod": ".outputdatabricks",
|
|
8149
|
-
"OutputDatabricksBackpressureBehavior": ".outputdatabricks",
|
|
8150
|
-
"OutputDatabricksDataFormat": ".outputdatabricks",
|
|
8151
|
-
"OutputDatabricksDiskSpaceProtection": ".outputdatabricks",
|
|
8152
|
-
"OutputDatabricksType": ".outputdatabricks",
|
|
8153
|
-
"OutputDatabricksTypedDict": ".outputdatabricks",
|
|
8154
8136
|
"DatadogSite": ".outputdatadog",
|
|
8155
8137
|
"OutputDatadog": ".outputdatadog",
|
|
8156
8138
|
"OutputDatadogAuthenticationMethod": ".outputdatadog",
|
|
@@ -8534,6 +8516,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
8534
8516
|
"OutputKafkaQueueFullBehavior": ".outputkafka",
|
|
8535
8517
|
"OutputKafkaRecordDataFormat": ".outputkafka",
|
|
8536
8518
|
"OutputKafkaSASLMechanism": ".outputkafka",
|
|
8519
|
+
"OutputKafkaSchemaType": ".outputkafka",
|
|
8537
8520
|
"OutputKafkaTLSSettingsClientSide": ".outputkafka",
|
|
8538
8521
|
"OutputKafkaTLSSettingsClientSideTypedDict": ".outputkafka",
|
|
8539
8522
|
"OutputKafkaType": ".outputkafka",
|
|
@@ -8608,6 +8591,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
8608
8591
|
"OutputMskPqControlsTypedDict": ".outputmsk",
|
|
8609
8592
|
"OutputMskQueueFullBehavior": ".outputmsk",
|
|
8610
8593
|
"OutputMskRecordDataFormat": ".outputmsk",
|
|
8594
|
+
"OutputMskSchemaType": ".outputmsk",
|
|
8611
8595
|
"OutputMskSignatureVersion": ".outputmsk",
|
|
8612
8596
|
"OutputMskTLSSettingsClientSide": ".outputmsk",
|
|
8613
8597
|
"OutputMskTLSSettingsClientSideTypedDict": ".outputmsk",
|
|
@@ -9103,6 +9087,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
9103
9087
|
"RbacResource": ".rbacresource",
|
|
9104
9088
|
"ResourcePolicy": ".resourcepolicy",
|
|
9105
9089
|
"ResourcePolicyTypedDict": ".resourcepolicy",
|
|
9090
|
+
"RouteCloneConf": ".routecloneconf",
|
|
9091
|
+
"RouteCloneConfTypedDict": ".routecloneconf",
|
|
9106
9092
|
"RouteConf": ".routeconf",
|
|
9107
9093
|
"RouteConfTypedDict": ".routeconf",
|
|
9108
9094
|
"Comment": ".routes",
|
|
@@ -9214,8 +9200,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
9214
9200
|
"UpdatePacksByIDRequestTypedDict": ".updatepacksbyidop",
|
|
9215
9201
|
"UpdatePacksByIDResponse": ".updatepacksbyidop",
|
|
9216
9202
|
"UpdatePacksByIDResponseTypedDict": ".updatepacksbyidop",
|
|
9217
|
-
"UpdatePacksRequest": ".updatepacksop",
|
|
9218
|
-
"UpdatePacksRequestTypedDict": ".updatepacksop",
|
|
9219
9203
|
"UpdatePipelineByIDRequest": ".updatepipelinebyidop",
|
|
9220
9204
|
"UpdatePipelineByIDRequestTypedDict": ".updatepipelinebyidop",
|
|
9221
9205
|
"UpdatePipelineByIDResponse": ".updatepipelinebyidop",
|
|
@@ -9224,8 +9208,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
9224
9208
|
"UpdateRoutesByIDRequestTypedDict": ".updateroutesbyidop",
|
|
9225
9209
|
"UpdateRoutesByIDResponse": ".updateroutesbyidop",
|
|
9226
9210
|
"UpdateRoutesByIDResponseTypedDict": ".updateroutesbyidop",
|
|
9227
|
-
"UploadPackResponse": ".uploadpackresponse",
|
|
9228
|
-
"UploadPackResponseTypedDict": ".uploadpackresponse",
|
|
9229
9211
|
"UserAccessControlList": ".useraccesscontrollist",
|
|
9230
9212
|
"UserAccessControlListTypedDict": ".useraccesscontrollist",
|
|
9231
9213
|
"WorkerTypes": ".workertypes",
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
|
+
from enum import Enum
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class AppMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
9
|
+
SINGLE = "single"
|
|
10
|
+
MASTER = "master"
|
|
11
|
+
WORKER = "worker"
|
|
12
|
+
EDGE = "edge"
|
|
13
|
+
MANAGED_EDGE = "managed-edge"
|
|
14
|
+
OUTPOST = "outpost"
|
|
@@ -2,19 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from cribl_control_plane.types import BaseModel
|
|
5
|
-
import
|
|
6
|
-
from typing import Optional
|
|
7
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
5
|
+
from typing_extensions import TypedDict
|
|
8
6
|
|
|
9
7
|
|
|
10
8
|
class AuthTokenTypedDict(TypedDict):
|
|
11
9
|
token: str
|
|
12
|
-
force_password_change: NotRequired[bool]
|
|
13
10
|
|
|
14
11
|
|
|
15
12
|
class AuthToken(BaseModel):
|
|
16
13
|
token: str
|
|
17
|
-
|
|
18
|
-
force_password_change: Annotated[
|
|
19
|
-
Optional[bool], pydantic.Field(alias="forcePasswordChange")
|
|
20
|
-
] = None
|
|
@@ -14,29 +14,6 @@ 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
|
-
r"""Maximum expected volume of data ingested by the @{group}. (This setting is available only on @{group}s consisting of Cribl-managed Cribl.Cloud @{node}s.)"""
|
|
19
|
-
|
|
20
|
-
# 12 MB/sec
|
|
21
|
-
RATE12_MB_PER_SEC = 1024
|
|
22
|
-
# 24 MB/sec
|
|
23
|
-
RATE24_MB_PER_SEC = 2048
|
|
24
|
-
# 36 MB/sec
|
|
25
|
-
RATE36_MB_PER_SEC = 3072
|
|
26
|
-
# 48 MB/sec
|
|
27
|
-
RATE48_MB_PER_SEC = 4096
|
|
28
|
-
# 60 MB/sec
|
|
29
|
-
RATE60_MB_PER_SEC = 5120
|
|
30
|
-
# 84 MB/sec
|
|
31
|
-
RATE84_MB_PER_SEC = 7168
|
|
32
|
-
# 120 MB/sec
|
|
33
|
-
RATE120_MB_PER_SEC = 10240
|
|
34
|
-
# 156 MB/sec
|
|
35
|
-
RATE156_MB_PER_SEC = 13312
|
|
36
|
-
# 180 MB/sec
|
|
37
|
-
RATE180_MB_PER_SEC = 15360
|
|
38
|
-
|
|
39
|
-
|
|
40
17
|
class GitTypedDict(TypedDict):
|
|
41
18
|
commit: NotRequired[str]
|
|
42
19
|
local_changes: NotRequired[float]
|
|
@@ -63,8 +40,7 @@ class ConfigGroupTypedDict(TypedDict):
|
|
|
63
40
|
config_version: NotRequired[str]
|
|
64
41
|
deploying_worker_count: NotRequired[float]
|
|
65
42
|
description: NotRequired[str]
|
|
66
|
-
estimated_ingest_rate: NotRequired[
|
|
67
|
-
r"""Maximum expected volume of data ingested by the @{group}. (This setting is available only on @{group}s consisting of Cribl-managed Cribl.Cloud @{node}s.)"""
|
|
43
|
+
estimated_ingest_rate: NotRequired[float]
|
|
68
44
|
git: NotRequired[GitTypedDict]
|
|
69
45
|
incompatible_worker_count: NotRequired[float]
|
|
70
46
|
inherits: NotRequired[str]
|
|
@@ -99,12 +75,8 @@ class ConfigGroup(BaseModel):
|
|
|
99
75
|
description: Optional[str] = None
|
|
100
76
|
|
|
101
77
|
estimated_ingest_rate: Annotated[
|
|
102
|
-
|
|
103
|
-
Optional[EstimatedIngestRate], PlainValidator(validate_open_enum(True))
|
|
104
|
-
],
|
|
105
|
-
pydantic.Field(alias="estimatedIngestRate"),
|
|
78
|
+
Optional[float], pydantic.Field(alias="estimatedIngestRate")
|
|
106
79
|
] = None
|
|
107
|
-
r"""Maximum expected volume of data ingested by the @{group}. (This setting is available only on @{group}s consisting of Cribl-managed Cribl.Cloud @{node}s.)"""
|
|
108
80
|
|
|
109
81
|
git: Optional[Git] = None
|
|
110
82
|
|
|
@@ -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
|
|
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[
|
|
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[
|
|
39
|
+
items: Optional[List[str]] = None
|
|
@@ -9,9 +9,7 @@ from typing_extensions import Annotated, TypedDict
|
|
|
9
9
|
class DistributedSummaryGroupsTypedDict(TypedDict):
|
|
10
10
|
count: float
|
|
11
11
|
destinations: float
|
|
12
|
-
packs: float
|
|
13
12
|
pipelines: float
|
|
14
|
-
quick_connects: float
|
|
15
13
|
routes: float
|
|
16
14
|
sources: float
|
|
17
15
|
|
|
@@ -21,12 +19,8 @@ class DistributedSummaryGroups(BaseModel):
|
|
|
21
19
|
|
|
22
20
|
destinations: float
|
|
23
21
|
|
|
24
|
-
packs: float
|
|
25
|
-
|
|
26
22
|
pipelines: float
|
|
27
23
|
|
|
28
|
-
quick_connects: Annotated[float, pydantic.Field(alias="quickConnects")]
|
|
29
|
-
|
|
30
24
|
routes: float
|
|
31
25
|
|
|
32
26
|
sources: float
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from .appmode import AppMode
|
|
4
5
|
from .hbleaderinfo import HBLeaderInfo, HBLeaderInfoTypedDict
|
|
5
6
|
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
|
|
10
9
|
import pydantic
|
|
11
10
|
from pydantic.functional_validators import PlainValidator
|
|
12
11
|
from typing import List, Optional
|
|
@@ -37,19 +36,9 @@ class Config(BaseModel):
|
|
|
37
36
|
version: Optional[str] = None
|
|
38
37
|
|
|
39
38
|
|
|
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
|
-
|
|
50
39
|
class HBCriblInfoTypedDict(TypedDict):
|
|
51
40
|
config: ConfigTypedDict
|
|
52
|
-
dist_mode:
|
|
41
|
+
dist_mode: AppMode
|
|
53
42
|
group: str
|
|
54
43
|
guid: str
|
|
55
44
|
start_time: float
|
|
@@ -69,7 +58,7 @@ class HBCriblInfo(BaseModel):
|
|
|
69
58
|
config: Config
|
|
70
59
|
|
|
71
60
|
dist_mode: Annotated[
|
|
72
|
-
Annotated[
|
|
61
|
+
Annotated[AppMode, PlainValidator(validate_open_enum(False))],
|
|
73
62
|
pydantic.Field(alias="distMode"),
|
|
74
63
|
]
|
|
75
64
|
|
|
@@ -17,7 +17,6 @@ class HeartbeatMetadataTags(BaseModel):
|
|
|
17
17
|
|
|
18
18
|
class HeartbeatMetadataAwsTypedDict(TypedDict):
|
|
19
19
|
enabled: bool
|
|
20
|
-
instance_id: str
|
|
21
20
|
region: str
|
|
22
21
|
type: str
|
|
23
22
|
zone: str
|
|
@@ -27,8 +26,6 @@ class HeartbeatMetadataAwsTypedDict(TypedDict):
|
|
|
27
26
|
class HeartbeatMetadataAws(BaseModel):
|
|
28
27
|
enabled: bool
|
|
29
28
|
|
|
30
|
-
instance_id: Annotated[str, pydantic.Field(alias="instanceId")]
|
|
31
|
-
|
|
32
29
|
region: str
|
|
33
30
|
|
|
34
31
|
type: str
|