cribl-control-plane 0.1.1rc6__py3-none-any.whl → 0.2.0__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 +5 -3
- cribl_control_plane/groups_sdk.py +4 -4
- cribl_control_plane/models/__init__.py +27 -50
- cribl_control_plane/models/appmode.py +14 -0
- cribl_control_plane/models/authtoken.py +1 -5
- cribl_control_plane/models/configgroup.py +2 -17
- 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/tokens.py +6 -16
- {cribl_control_plane-0.1.1rc6.dist-info → cribl_control_plane-0.2.0.dist-info}/METADATA +3 -35
- {cribl_control_plane-0.1.1rc6.dist-info → cribl_control_plane-0.2.0.dist-info}/RECORD +142 -144
- cribl_control_plane/models/loginop.py +0 -18
- cribl_control_plane/models/outputdatabricks.py +0 -291
- cribl_control_plane/models/updatepacksop.py +0 -27
- {cribl_control_plane-0.1.1rc6.dist-info → cribl_control_plane-0.2.0.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.
|
|
7
|
-
__openapi_doc_version__: str = "4.
|
|
6
|
+
__version__: str = "0.2.0"
|
|
7
|
+
__openapi_doc_version__: str = "4.14.1-68918e2c"
|
|
8
8
|
__gen_version__: str = "2.723.11"
|
|
9
|
-
__user_agent__: str =
|
|
9
|
+
__user_agent__: str = (
|
|
10
|
+
"speakeasy-sdk/python 0.2.0 2.723.11 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,
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -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,
|
|
@@ -1803,7 +1800,6 @@ if TYPE_CHECKING:
|
|
|
1803
1800
|
from .listpipelineop import ListPipelineResponse, ListPipelineResponseTypedDict
|
|
1804
1801
|
from .listroutesop import ListRoutesResponse, ListRoutesResponseTypedDict
|
|
1805
1802
|
from .logininfo import LoginInfo, LoginInfoTypedDict
|
|
1806
|
-
from .loginop import LoginResponse, LoginResponseTypedDict
|
|
1807
1803
|
from .lookupversions import LookupVersions, LookupVersionsTypedDict
|
|
1808
1804
|
from .masterworkerentry import (
|
|
1809
1805
|
LastMetrics,
|
|
@@ -2015,6 +2011,7 @@ if TYPE_CHECKING:
|
|
|
2015
2011
|
OutputConfluentCloudQueueFullBehavior,
|
|
2016
2012
|
OutputConfluentCloudRecordDataFormat,
|
|
2017
2013
|
OutputConfluentCloudSASLMechanism,
|
|
2014
|
+
OutputConfluentCloudSchemaType,
|
|
2018
2015
|
OutputConfluentCloudTLSSettingsClientSide,
|
|
2019
2016
|
OutputConfluentCloudTLSSettingsClientSideTypedDict,
|
|
2020
2017
|
OutputConfluentCloudType,
|
|
@@ -2097,15 +2094,6 @@ if TYPE_CHECKING:
|
|
|
2097
2094
|
OutputCrowdstrikeNextGenSiemType,
|
|
2098
2095
|
OutputCrowdstrikeNextGenSiemTypedDict,
|
|
2099
2096
|
)
|
|
2100
|
-
from .outputdatabricks import (
|
|
2101
|
-
OutputDatabricks,
|
|
2102
|
-
OutputDatabricksAuthenticationMethod,
|
|
2103
|
-
OutputDatabricksBackpressureBehavior,
|
|
2104
|
-
OutputDatabricksDataFormat,
|
|
2105
|
-
OutputDatabricksDiskSpaceProtection,
|
|
2106
|
-
OutputDatabricksType,
|
|
2107
|
-
OutputDatabricksTypedDict,
|
|
2108
|
-
)
|
|
2109
2097
|
from .outputdatadog import (
|
|
2110
2098
|
DatadogSite,
|
|
2111
2099
|
OutputDatadog,
|
|
@@ -2524,6 +2512,7 @@ if TYPE_CHECKING:
|
|
|
2524
2512
|
OutputKafkaQueueFullBehavior,
|
|
2525
2513
|
OutputKafkaRecordDataFormat,
|
|
2526
2514
|
OutputKafkaSASLMechanism,
|
|
2515
|
+
OutputKafkaSchemaType,
|
|
2527
2516
|
OutputKafkaTLSSettingsClientSide,
|
|
2528
2517
|
OutputKafkaTLSSettingsClientSideTypedDict,
|
|
2529
2518
|
OutputKafkaType,
|
|
@@ -2606,6 +2595,7 @@ if TYPE_CHECKING:
|
|
|
2606
2595
|
OutputMskPqControlsTypedDict,
|
|
2607
2596
|
OutputMskQueueFullBehavior,
|
|
2608
2597
|
OutputMskRecordDataFormat,
|
|
2598
|
+
OutputMskSchemaType,
|
|
2609
2599
|
OutputMskSignatureVersion,
|
|
2610
2600
|
OutputMskTLSSettingsClientSide,
|
|
2611
2601
|
OutputMskTLSSettingsClientSideTypedDict,
|
|
@@ -3164,6 +3154,7 @@ if TYPE_CHECKING:
|
|
|
3164
3154
|
from .productscore import ProductsCore
|
|
3165
3155
|
from .rbacresource import RbacResource
|
|
3166
3156
|
from .resourcepolicy import ResourcePolicy, ResourcePolicyTypedDict
|
|
3157
|
+
from .routecloneconf import RouteCloneConf, RouteCloneConfTypedDict
|
|
3167
3158
|
from .routeconf import RouteConf, RouteConfTypedDict
|
|
3168
3159
|
from .routes import (
|
|
3169
3160
|
Comment,
|
|
@@ -3296,7 +3287,6 @@ if TYPE_CHECKING:
|
|
|
3296
3287
|
UpdatePacksByIDResponse,
|
|
3297
3288
|
UpdatePacksByIDResponseTypedDict,
|
|
3298
3289
|
)
|
|
3299
|
-
from .updatepacksop import UpdatePacksRequest, UpdatePacksRequestTypedDict
|
|
3300
3290
|
from .updatepipelinebyidop import (
|
|
3301
3291
|
UpdatePipelineByIDRequest,
|
|
3302
3292
|
UpdatePipelineByIDRequestTypedDict,
|
|
@@ -3309,7 +3299,6 @@ if TYPE_CHECKING:
|
|
|
3309
3299
|
UpdateRoutesByIDResponse,
|
|
3310
3300
|
UpdateRoutesByIDResponseTypedDict,
|
|
3311
3301
|
)
|
|
3312
|
-
from .uploadpackresponse import UploadPackResponse, UploadPackResponseTypedDict
|
|
3313
3302
|
from .useraccesscontrollist import (
|
|
3314
3303
|
UserAccessControlList,
|
|
3315
3304
|
UserAccessControlListTypedDict,
|
|
@@ -3326,6 +3315,7 @@ __all__ = [
|
|
|
3326
3315
|
"AdditionalPropertyTypedDict",
|
|
3327
3316
|
"Allow",
|
|
3328
3317
|
"AllowTypedDict",
|
|
3318
|
+
"AppMode",
|
|
3329
3319
|
"Audit",
|
|
3330
3320
|
"AuditTypedDict",
|
|
3331
3321
|
"AuthToken",
|
|
@@ -3476,7 +3466,6 @@ __all__ = [
|
|
|
3476
3466
|
"DiffFilesTypedDict",
|
|
3477
3467
|
"DisksAndFileSystems",
|
|
3478
3468
|
"DisksAndFileSystemsTypedDict",
|
|
3479
|
-
"DistMode",
|
|
3480
3469
|
"DistributedSummary",
|
|
3481
3470
|
"DistributedSummaryGroups",
|
|
3482
3471
|
"DistributedSummaryGroupsTypedDict",
|
|
@@ -3495,7 +3484,6 @@ __all__ = [
|
|
|
3495
3484
|
"EndpointType",
|
|
3496
3485
|
"Error",
|
|
3497
3486
|
"ErrorTypedDict",
|
|
3498
|
-
"EstimatedIngestRate",
|
|
3499
3487
|
"EventFormat",
|
|
3500
3488
|
"Executor",
|
|
3501
3489
|
"ExecutorSpecificSettings",
|
|
@@ -3747,6 +3735,7 @@ __all__ = [
|
|
|
3747
3735
|
"InputConfluentCloudPqControlsTypedDict",
|
|
3748
3736
|
"InputConfluentCloudPqTypedDict",
|
|
3749
3737
|
"InputConfluentCloudSASLMechanism",
|
|
3738
|
+
"InputConfluentCloudSchemaType",
|
|
3750
3739
|
"InputConfluentCloudTLSSettingsClientSide",
|
|
3751
3740
|
"InputConfluentCloudTLSSettingsClientSideTypedDict",
|
|
3752
3741
|
"InputConfluentCloudType",
|
|
@@ -4136,6 +4125,7 @@ __all__ = [
|
|
|
4136
4125
|
"InputKafkaPqControlsTypedDict",
|
|
4137
4126
|
"InputKafkaPqTypedDict",
|
|
4138
4127
|
"InputKafkaSASLMechanism",
|
|
4128
|
+
"InputKafkaSchemaType",
|
|
4139
4129
|
"InputKafkaTLSSettingsClientSide",
|
|
4140
4130
|
"InputKafkaTLSSettingsClientSideTypedDict",
|
|
4141
4131
|
"InputKafkaType",
|
|
@@ -4285,6 +4275,7 @@ __all__ = [
|
|
|
4285
4275
|
"InputMskPqControls",
|
|
4286
4276
|
"InputMskPqControlsTypedDict",
|
|
4287
4277
|
"InputMskPqTypedDict",
|
|
4278
|
+
"InputMskSchemaType",
|
|
4288
4279
|
"InputMskSignatureVersion",
|
|
4289
4280
|
"InputMskTLSSettingsClientSide",
|
|
4290
4281
|
"InputMskTLSSettingsClientSideTypedDict",
|
|
@@ -4909,8 +4900,6 @@ __all__ = [
|
|
|
4909
4900
|
"LoggedInUsersTypedDict",
|
|
4910
4901
|
"LoginInfo",
|
|
4911
4902
|
"LoginInfoTypedDict",
|
|
4912
|
-
"LoginResponse",
|
|
4913
|
-
"LoginResponseTypedDict",
|
|
4914
4903
|
"LokiAuthOauthHeader1",
|
|
4915
4904
|
"LokiAuthOauthHeader1TypedDict",
|
|
4916
4905
|
"LokiAuthOauthHeader2",
|
|
@@ -5103,6 +5092,7 @@ __all__ = [
|
|
|
5103
5092
|
"OutputConfluentCloudQueueFullBehavior",
|
|
5104
5093
|
"OutputConfluentCloudRecordDataFormat",
|
|
5105
5094
|
"OutputConfluentCloudSASLMechanism",
|
|
5095
|
+
"OutputConfluentCloudSchemaType",
|
|
5106
5096
|
"OutputConfluentCloudTLSSettingsClientSide",
|
|
5107
5097
|
"OutputConfluentCloudTLSSettingsClientSideTypedDict",
|
|
5108
5098
|
"OutputConfluentCloudType",
|
|
@@ -5175,13 +5165,6 @@ __all__ = [
|
|
|
5175
5165
|
"OutputCrowdstrikeNextGenSiemTimeoutRetrySettingsTypedDict",
|
|
5176
5166
|
"OutputCrowdstrikeNextGenSiemType",
|
|
5177
5167
|
"OutputCrowdstrikeNextGenSiemTypedDict",
|
|
5178
|
-
"OutputDatabricks",
|
|
5179
|
-
"OutputDatabricksAuthenticationMethod",
|
|
5180
|
-
"OutputDatabricksBackpressureBehavior",
|
|
5181
|
-
"OutputDatabricksDataFormat",
|
|
5182
|
-
"OutputDatabricksDiskSpaceProtection",
|
|
5183
|
-
"OutputDatabricksType",
|
|
5184
|
-
"OutputDatabricksTypedDict",
|
|
5185
5168
|
"OutputDatadog",
|
|
5186
5169
|
"OutputDatadogAuthenticationMethod",
|
|
5187
5170
|
"OutputDatadogBackpressureBehavior",
|
|
@@ -5547,6 +5530,7 @@ __all__ = [
|
|
|
5547
5530
|
"OutputKafkaQueueFullBehavior",
|
|
5548
5531
|
"OutputKafkaRecordDataFormat",
|
|
5549
5532
|
"OutputKafkaSASLMechanism",
|
|
5533
|
+
"OutputKafkaSchemaType",
|
|
5550
5534
|
"OutputKafkaTLSSettingsClientSide",
|
|
5551
5535
|
"OutputKafkaTLSSettingsClientSideTypedDict",
|
|
5552
5536
|
"OutputKafkaType",
|
|
@@ -5621,6 +5605,7 @@ __all__ = [
|
|
|
5621
5605
|
"OutputMskPqControlsTypedDict",
|
|
5622
5606
|
"OutputMskQueueFullBehavior",
|
|
5623
5607
|
"OutputMskRecordDataFormat",
|
|
5608
|
+
"OutputMskSchemaType",
|
|
5624
5609
|
"OutputMskSignatureVersion",
|
|
5625
5610
|
"OutputMskTLSSettingsClientSide",
|
|
5626
5611
|
"OutputMskTLSSettingsClientSideTypedDict",
|
|
@@ -6127,6 +6112,8 @@ __all__ = [
|
|
|
6127
6112
|
"ResourceTypeLabel",
|
|
6128
6113
|
"ResourceTypeLabelTypedDict",
|
|
6129
6114
|
"Role",
|
|
6115
|
+
"RouteCloneConf",
|
|
6116
|
+
"RouteCloneConfTypedDict",
|
|
6130
6117
|
"RouteConf",
|
|
6131
6118
|
"RouteConfTypedDict",
|
|
6132
6119
|
"Routes",
|
|
@@ -6253,8 +6240,6 @@ __all__ = [
|
|
|
6253
6240
|
"UpdatePacksByIDRequestTypedDict",
|
|
6254
6241
|
"UpdatePacksByIDResponse",
|
|
6255
6242
|
"UpdatePacksByIDResponseTypedDict",
|
|
6256
|
-
"UpdatePacksRequest",
|
|
6257
|
-
"UpdatePacksRequestTypedDict",
|
|
6258
6243
|
"UpdatePipelineByIDRequest",
|
|
6259
6244
|
"UpdatePipelineByIDRequestTypedDict",
|
|
6260
6245
|
"UpdatePipelineByIDResponse",
|
|
@@ -6263,8 +6248,6 @@ __all__ = [
|
|
|
6263
6248
|
"UpdateRoutesByIDRequestTypedDict",
|
|
6264
6249
|
"UpdateRoutesByIDResponse",
|
|
6265
6250
|
"UpdateRoutesByIDResponseTypedDict",
|
|
6266
|
-
"UploadPackResponse",
|
|
6267
|
-
"UploadPackResponseTypedDict",
|
|
6268
6251
|
"UserAccessControlList",
|
|
6269
6252
|
"UserAccessControlListTypedDict",
|
|
6270
6253
|
"UsersAndGroups",
|
|
@@ -6281,6 +6264,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
6281
6264
|
"AddHecTokenRequestMetadatum": ".addhectokenrequest",
|
|
6282
6265
|
"AddHecTokenRequestMetadatumTypedDict": ".addhectokenrequest",
|
|
6283
6266
|
"AddHecTokenRequestTypedDict": ".addhectokenrequest",
|
|
6267
|
+
"AppMode": ".appmode",
|
|
6284
6268
|
"AuthToken": ".authtoken",
|
|
6285
6269
|
"AuthTokenTypedDict": ".authtoken",
|
|
6286
6270
|
"BranchInfo": ".branchinfo",
|
|
@@ -6294,7 +6278,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
6294
6278
|
"ConfigGroup": ".configgroup",
|
|
6295
6279
|
"ConfigGroupType": ".configgroup",
|
|
6296
6280
|
"ConfigGroupTypedDict": ".configgroup",
|
|
6297
|
-
"EstimatedIngestRate": ".configgroup",
|
|
6298
6281
|
"Git": ".configgroup",
|
|
6299
6282
|
"GitTypedDict": ".configgroup",
|
|
6300
6283
|
"ConfigGroupCloud": ".configgroupcloud",
|
|
@@ -6555,7 +6538,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
6555
6538
|
"RenamedTypedDict": ".gitstatusresult",
|
|
6556
6539
|
"Config": ".hbcriblinfo",
|
|
6557
6540
|
"ConfigTypedDict": ".hbcriblinfo",
|
|
6558
|
-
"DistMode": ".hbcriblinfo",
|
|
6559
6541
|
"HBCriblInfo": ".hbcriblinfo",
|
|
6560
6542
|
"HBCriblInfoTypedDict": ".hbcriblinfo",
|
|
6561
6543
|
"HBLeaderInfo": ".hbleaderinfo",
|
|
@@ -6660,6 +6642,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
6660
6642
|
"InputConfluentCloudPqControlsTypedDict": ".inputconfluentcloud",
|
|
6661
6643
|
"InputConfluentCloudPqTypedDict": ".inputconfluentcloud",
|
|
6662
6644
|
"InputConfluentCloudSASLMechanism": ".inputconfluentcloud",
|
|
6645
|
+
"InputConfluentCloudSchemaType": ".inputconfluentcloud",
|
|
6663
6646
|
"InputConfluentCloudTLSSettingsClientSide": ".inputconfluentcloud",
|
|
6664
6647
|
"InputConfluentCloudTLSSettingsClientSideTypedDict": ".inputconfluentcloud",
|
|
6665
6648
|
"InputConfluentCloudType": ".inputconfluentcloud",
|
|
@@ -7078,6 +7061,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
7078
7061
|
"InputKafkaPqControlsTypedDict": ".inputkafka",
|
|
7079
7062
|
"InputKafkaPqTypedDict": ".inputkafka",
|
|
7080
7063
|
"InputKafkaSASLMechanism": ".inputkafka",
|
|
7064
|
+
"InputKafkaSchemaType": ".inputkafka",
|
|
7081
7065
|
"InputKafkaTLSSettingsClientSide": ".inputkafka",
|
|
7082
7066
|
"InputKafkaTLSSettingsClientSideTypedDict": ".inputkafka",
|
|
7083
7067
|
"InputKafkaType": ".inputkafka",
|
|
@@ -7229,6 +7213,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
7229
7213
|
"InputMskPqControls": ".inputmsk",
|
|
7230
7214
|
"InputMskPqControlsTypedDict": ".inputmsk",
|
|
7231
7215
|
"InputMskPqTypedDict": ".inputmsk",
|
|
7216
|
+
"InputMskSchemaType": ".inputmsk",
|
|
7232
7217
|
"InputMskSignatureVersion": ".inputmsk",
|
|
7233
7218
|
"InputMskTLSSettingsClientSide": ".inputmsk",
|
|
7234
7219
|
"InputMskTLSSettingsClientSideTypedDict": ".inputmsk",
|
|
@@ -7879,8 +7864,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
7879
7864
|
"ListRoutesResponseTypedDict": ".listroutesop",
|
|
7880
7865
|
"LoginInfo": ".logininfo",
|
|
7881
7866
|
"LoginInfoTypedDict": ".logininfo",
|
|
7882
|
-
"LoginResponse": ".loginop",
|
|
7883
|
-
"LoginResponseTypedDict": ".loginop",
|
|
7884
7867
|
"LookupVersions": ".lookupversions",
|
|
7885
7868
|
"LookupVersionsTypedDict": ".lookupversions",
|
|
7886
7869
|
"LastMetrics": ".masterworkerentry",
|
|
@@ -8076,6 +8059,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
8076
8059
|
"OutputConfluentCloudQueueFullBehavior": ".outputconfluentcloud",
|
|
8077
8060
|
"OutputConfluentCloudRecordDataFormat": ".outputconfluentcloud",
|
|
8078
8061
|
"OutputConfluentCloudSASLMechanism": ".outputconfluentcloud",
|
|
8062
|
+
"OutputConfluentCloudSchemaType": ".outputconfluentcloud",
|
|
8079
8063
|
"OutputConfluentCloudTLSSettingsClientSide": ".outputconfluentcloud",
|
|
8080
8064
|
"OutputConfluentCloudTLSSettingsClientSideTypedDict": ".outputconfluentcloud",
|
|
8081
8065
|
"OutputConfluentCloudType": ".outputconfluentcloud",
|
|
@@ -8149,13 +8133,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
8149
8133
|
"OutputCrowdstrikeNextGenSiemTimeoutRetrySettingsTypedDict": ".outputcrowdstrikenextgensiem",
|
|
8150
8134
|
"OutputCrowdstrikeNextGenSiemType": ".outputcrowdstrikenextgensiem",
|
|
8151
8135
|
"OutputCrowdstrikeNextGenSiemTypedDict": ".outputcrowdstrikenextgensiem",
|
|
8152
|
-
"OutputDatabricks": ".outputdatabricks",
|
|
8153
|
-
"OutputDatabricksAuthenticationMethod": ".outputdatabricks",
|
|
8154
|
-
"OutputDatabricksBackpressureBehavior": ".outputdatabricks",
|
|
8155
|
-
"OutputDatabricksDataFormat": ".outputdatabricks",
|
|
8156
|
-
"OutputDatabricksDiskSpaceProtection": ".outputdatabricks",
|
|
8157
|
-
"OutputDatabricksType": ".outputdatabricks",
|
|
8158
|
-
"OutputDatabricksTypedDict": ".outputdatabricks",
|
|
8159
8136
|
"DatadogSite": ".outputdatadog",
|
|
8160
8137
|
"OutputDatadog": ".outputdatadog",
|
|
8161
8138
|
"OutputDatadogAuthenticationMethod": ".outputdatadog",
|
|
@@ -8539,6 +8516,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
8539
8516
|
"OutputKafkaQueueFullBehavior": ".outputkafka",
|
|
8540
8517
|
"OutputKafkaRecordDataFormat": ".outputkafka",
|
|
8541
8518
|
"OutputKafkaSASLMechanism": ".outputkafka",
|
|
8519
|
+
"OutputKafkaSchemaType": ".outputkafka",
|
|
8542
8520
|
"OutputKafkaTLSSettingsClientSide": ".outputkafka",
|
|
8543
8521
|
"OutputKafkaTLSSettingsClientSideTypedDict": ".outputkafka",
|
|
8544
8522
|
"OutputKafkaType": ".outputkafka",
|
|
@@ -8613,6 +8591,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
8613
8591
|
"OutputMskPqControlsTypedDict": ".outputmsk",
|
|
8614
8592
|
"OutputMskQueueFullBehavior": ".outputmsk",
|
|
8615
8593
|
"OutputMskRecordDataFormat": ".outputmsk",
|
|
8594
|
+
"OutputMskSchemaType": ".outputmsk",
|
|
8616
8595
|
"OutputMskSignatureVersion": ".outputmsk",
|
|
8617
8596
|
"OutputMskTLSSettingsClientSide": ".outputmsk",
|
|
8618
8597
|
"OutputMskTLSSettingsClientSideTypedDict": ".outputmsk",
|
|
@@ -9108,6 +9087,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
9108
9087
|
"RbacResource": ".rbacresource",
|
|
9109
9088
|
"ResourcePolicy": ".resourcepolicy",
|
|
9110
9089
|
"ResourcePolicyTypedDict": ".resourcepolicy",
|
|
9090
|
+
"RouteCloneConf": ".routecloneconf",
|
|
9091
|
+
"RouteCloneConfTypedDict": ".routecloneconf",
|
|
9111
9092
|
"RouteConf": ".routeconf",
|
|
9112
9093
|
"RouteConfTypedDict": ".routeconf",
|
|
9113
9094
|
"Comment": ".routes",
|
|
@@ -9219,8 +9200,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
9219
9200
|
"UpdatePacksByIDRequestTypedDict": ".updatepacksbyidop",
|
|
9220
9201
|
"UpdatePacksByIDResponse": ".updatepacksbyidop",
|
|
9221
9202
|
"UpdatePacksByIDResponseTypedDict": ".updatepacksbyidop",
|
|
9222
|
-
"UpdatePacksRequest": ".updatepacksop",
|
|
9223
|
-
"UpdatePacksRequestTypedDict": ".updatepacksop",
|
|
9224
9203
|
"UpdatePipelineByIDRequest": ".updatepipelinebyidop",
|
|
9225
9204
|
"UpdatePipelineByIDRequestTypedDict": ".updatepipelinebyidop",
|
|
9226
9205
|
"UpdatePipelineByIDResponse": ".updatepipelinebyidop",
|
|
@@ -9229,8 +9208,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
9229
9208
|
"UpdateRoutesByIDRequestTypedDict": ".updateroutesbyidop",
|
|
9230
9209
|
"UpdateRoutesByIDResponse": ".updateroutesbyidop",
|
|
9231
9210
|
"UpdateRoutesByIDResponseTypedDict": ".updateroutesbyidop",
|
|
9232
|
-
"UploadPackResponse": ".uploadpackresponse",
|
|
9233
|
-
"UploadPackResponseTypedDict": ".uploadpackresponse",
|
|
9234
9211
|
"UserAccessControlList": ".useraccesscontrollist",
|
|
9235
9212
|
"UserAccessControlListTypedDict": ".useraccesscontrollist",
|
|
9236
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,16 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from cribl_control_plane.types import BaseModel
|
|
5
|
-
import
|
|
6
|
-
from typing_extensions import Annotated, TypedDict
|
|
5
|
+
from typing_extensions import TypedDict
|
|
7
6
|
|
|
8
7
|
|
|
9
8
|
class AuthTokenTypedDict(TypedDict):
|
|
10
9
|
token: str
|
|
11
|
-
force_password_change: bool
|
|
12
10
|
|
|
13
11
|
|
|
14
12
|
class AuthToken(BaseModel):
|
|
15
13
|
token: str
|
|
16
|
-
|
|
17
|
-
force_password_change: Annotated[bool, pydantic.Field(alias="forcePasswordChange")]
|
|
@@ -14,18 +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
|
-
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
17
|
class GitTypedDict(TypedDict):
|
|
30
18
|
commit: NotRequired[str]
|
|
31
19
|
local_changes: NotRequired[float]
|
|
@@ -52,7 +40,7 @@ class ConfigGroupTypedDict(TypedDict):
|
|
|
52
40
|
config_version: NotRequired[str]
|
|
53
41
|
deploying_worker_count: NotRequired[float]
|
|
54
42
|
description: NotRequired[str]
|
|
55
|
-
estimated_ingest_rate: NotRequired[
|
|
43
|
+
estimated_ingest_rate: NotRequired[float]
|
|
56
44
|
git: NotRequired[GitTypedDict]
|
|
57
45
|
incompatible_worker_count: NotRequired[float]
|
|
58
46
|
inherits: NotRequired[str]
|
|
@@ -87,10 +75,7 @@ class ConfigGroup(BaseModel):
|
|
|
87
75
|
description: Optional[str] = None
|
|
88
76
|
|
|
89
77
|
estimated_ingest_rate: Annotated[
|
|
90
|
-
|
|
91
|
-
Optional[EstimatedIngestRate], PlainValidator(validate_open_enum(True))
|
|
92
|
-
],
|
|
93
|
-
pydantic.Field(alias="estimatedIngestRate"),
|
|
78
|
+
Optional[float], pydantic.Field(alias="estimatedIngestRate")
|
|
94
79
|
] = None
|
|
95
80
|
|
|
96
81
|
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
|
|
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
|