cribl-control-plane 0.0.49__py3-none-any.whl → 0.1.0a1__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 +4 -6
- cribl_control_plane/errors/healthstatus_error.py +8 -2
- cribl_control_plane/health.py +6 -2
- cribl_control_plane/models/__init__.py +18 -3
- cribl_control_plane/models/appmode.py +2 -1
- cribl_control_plane/models/cacheconnection.py +10 -2
- cribl_control_plane/models/cacheconnectionbackfillstatus.py +2 -1
- cribl_control_plane/models/cloudprovider.py +2 -1
- cribl_control_plane/models/configgroup.py +7 -2
- cribl_control_plane/models/configgroupcloud.py +6 -2
- cribl_control_plane/models/createconfiggroupbyproductop.py +8 -2
- cribl_control_plane/models/createinputhectokenbyidop.py +6 -5
- cribl_control_plane/models/createversionpushop.py +5 -5
- cribl_control_plane/models/cribllakedataset.py +8 -2
- cribl_control_plane/models/datasetmetadata.py +8 -2
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +7 -2
- cribl_control_plane/models/error.py +16 -0
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +4 -2
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +4 -2
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +3 -1
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +7 -2
- cribl_control_plane/models/gethealthinfoop.py +17 -0
- cribl_control_plane/models/getsummaryop.py +7 -2
- cribl_control_plane/models/getversionshowop.py +6 -5
- cribl_control_plane/models/gitshowresult.py +19 -0
- cribl_control_plane/models/hbcriblinfo.py +6 -1
- cribl_control_plane/models/healthstatus.py +7 -4
- cribl_control_plane/models/inputappscope.py +34 -14
- cribl_control_plane/models/inputazureblob.py +17 -6
- cribl_control_plane/models/inputcollection.py +11 -4
- cribl_control_plane/models/inputconfluentcloud.py +47 -20
- cribl_control_plane/models/inputcribl.py +11 -4
- cribl_control_plane/models/inputcriblhttp.py +23 -8
- cribl_control_plane/models/inputcribllakehttp.py +22 -10
- cribl_control_plane/models/inputcriblmetrics.py +12 -4
- cribl_control_plane/models/inputcribltcp.py +23 -8
- cribl_control_plane/models/inputcrowdstrike.py +26 -10
- cribl_control_plane/models/inputdatadogagent.py +24 -8
- cribl_control_plane/models/inputdatagen.py +11 -4
- cribl_control_plane/models/inputedgeprometheus.py +58 -24
- cribl_control_plane/models/inputelastic.py +40 -14
- cribl_control_plane/models/inputeventhub.py +15 -6
- cribl_control_plane/models/inputexec.py +14 -6
- cribl_control_plane/models/inputfile.py +15 -6
- cribl_control_plane/models/inputfirehose.py +23 -8
- cribl_control_plane/models/inputgooglepubsub.py +19 -6
- cribl_control_plane/models/inputgrafana.py +67 -24
- cribl_control_plane/models/inputhttp.py +23 -8
- cribl_control_plane/models/inputhttpraw.py +23 -8
- cribl_control_plane/models/inputjournalfiles.py +12 -4
- cribl_control_plane/models/inputkafka.py +46 -16
- cribl_control_plane/models/inputkinesis.py +38 -14
- cribl_control_plane/models/inputkubeevents.py +11 -4
- cribl_control_plane/models/inputkubelogs.py +16 -8
- cribl_control_plane/models/inputkubemetrics.py +16 -8
- cribl_control_plane/models/inputloki.py +29 -10
- cribl_control_plane/models/inputmetrics.py +23 -8
- cribl_control_plane/models/inputmodeldriventelemetry.py +32 -10
- cribl_control_plane/models/inputmsk.py +53 -18
- cribl_control_plane/models/inputnetflow.py +11 -4
- cribl_control_plane/models/inputoffice365mgmt.py +33 -14
- cribl_control_plane/models/inputoffice365msgtrace.py +35 -16
- cribl_control_plane/models/inputoffice365service.py +35 -16
- cribl_control_plane/models/inputopentelemetry.py +38 -16
- cribl_control_plane/models/inputprometheus.py +50 -18
- cribl_control_plane/models/inputprometheusrw.py +30 -10
- cribl_control_plane/models/inputrawudp.py +11 -4
- cribl_control_plane/models/inputs3.py +21 -8
- cribl_control_plane/models/inputs3inventory.py +26 -10
- cribl_control_plane/models/inputsecuritylake.py +27 -10
- cribl_control_plane/models/inputsnmp.py +16 -6
- cribl_control_plane/models/inputsplunk.py +33 -12
- cribl_control_plane/models/inputsplunkhec.py +29 -10
- cribl_control_plane/models/inputsplunksearch.py +33 -14
- cribl_control_plane/models/inputsqs.py +27 -10
- cribl_control_plane/models/inputsyslog.py +43 -16
- cribl_control_plane/models/inputsystemmetrics.py +48 -24
- cribl_control_plane/models/inputsystemstate.py +16 -8
- cribl_control_plane/models/inputtcp.py +29 -10
- cribl_control_plane/models/inputtcpjson.py +29 -10
- cribl_control_plane/models/inputwef.py +37 -14
- cribl_control_plane/models/inputwindowsmetrics.py +44 -24
- cribl_control_plane/models/inputwineventlogs.py +20 -10
- cribl_control_plane/models/inputwiz.py +21 -8
- cribl_control_plane/models/inputwizwebhook.py +23 -8
- cribl_control_plane/models/inputzscalerhec.py +29 -10
- cribl_control_plane/models/lakehouseconnectiontype.py +2 -1
- cribl_control_plane/models/listconfiggroupbyproductop.py +3 -1
- cribl_control_plane/models/masterworkerentry.py +7 -2
- cribl_control_plane/models/nodeactiveupgradestatus.py +2 -1
- cribl_control_plane/models/nodefailedupgradestatus.py +2 -1
- cribl_control_plane/models/nodeskippedupgradestatus.py +2 -1
- cribl_control_plane/models/nodeupgradestate.py +2 -1
- cribl_control_plane/models/nodeupgradestatus.py +13 -5
- cribl_control_plane/models/outputazureblob.py +48 -18
- cribl_control_plane/models/outputazuredataexplorer.py +73 -28
- cribl_control_plane/models/outputazureeventhub.py +40 -18
- cribl_control_plane/models/outputazurelogs.py +35 -12
- cribl_control_plane/models/outputclickhouse.py +55 -20
- cribl_control_plane/models/outputcloudwatch.py +29 -10
- cribl_control_plane/models/outputconfluentcloud.py +77 -32
- cribl_control_plane/models/outputcriblhttp.py +44 -16
- cribl_control_plane/models/outputcribllake.py +46 -16
- cribl_control_plane/models/outputcribltcp.py +45 -18
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +49 -14
- cribl_control_plane/models/outputdatadog.py +48 -20
- cribl_control_plane/models/outputdataset.py +46 -18
- cribl_control_plane/models/outputdiskspool.py +7 -2
- cribl_control_plane/models/outputdls3.py +68 -24
- cribl_control_plane/models/outputdynatracehttp.py +53 -20
- cribl_control_plane/models/outputdynatraceotlp.py +55 -22
- cribl_control_plane/models/outputelastic.py +43 -18
- cribl_control_plane/models/outputelasticcloud.py +36 -12
- cribl_control_plane/models/outputexabeam.py +29 -10
- cribl_control_plane/models/outputfilesystem.py +39 -14
- cribl_control_plane/models/outputgooglechronicle.py +50 -16
- cribl_control_plane/models/outputgooglecloudlogging.py +41 -14
- cribl_control_plane/models/outputgooglecloudstorage.py +66 -24
- cribl_control_plane/models/outputgooglepubsub.py +31 -10
- cribl_control_plane/models/outputgrafanacloud.py +97 -32
- cribl_control_plane/models/outputgraphite.py +31 -14
- cribl_control_plane/models/outputhoneycomb.py +35 -12
- cribl_control_plane/models/outputhumiohec.py +43 -16
- cribl_control_plane/models/outputinfluxdb.py +42 -16
- cribl_control_plane/models/outputkafka.py +74 -28
- cribl_control_plane/models/outputkinesis.py +40 -16
- cribl_control_plane/models/outputloki.py +41 -16
- cribl_control_plane/models/outputminio.py +65 -24
- cribl_control_plane/models/outputmsk.py +82 -30
- cribl_control_plane/models/outputnewrelic.py +43 -18
- cribl_control_plane/models/outputnewrelicevents.py +41 -14
- cribl_control_plane/models/outputopentelemetry.py +67 -26
- cribl_control_plane/models/outputprometheus.py +35 -12
- cribl_control_plane/models/outputring.py +19 -8
- cribl_control_plane/models/outputs3.py +68 -26
- cribl_control_plane/models/outputsecuritylake.py +52 -18
- cribl_control_plane/models/outputsentinel.py +45 -18
- cribl_control_plane/models/outputsentineloneaisiem.py +50 -18
- cribl_control_plane/models/outputservicenow.py +60 -24
- cribl_control_plane/models/outputsignalfx.py +37 -14
- cribl_control_plane/models/outputsns.py +36 -14
- cribl_control_plane/models/outputsplunk.py +60 -24
- cribl_control_plane/models/outputsplunkhec.py +35 -12
- cribl_control_plane/models/outputsplunklb.py +77 -30
- cribl_control_plane/models/outputsqs.py +41 -16
- cribl_control_plane/models/outputstatsd.py +30 -14
- cribl_control_plane/models/outputstatsdext.py +29 -12
- cribl_control_plane/models/outputsumologic.py +35 -12
- cribl_control_plane/models/outputsyslog.py +58 -24
- cribl_control_plane/models/outputtcpjson.py +52 -20
- cribl_control_plane/models/outputwavefront.py +35 -12
- cribl_control_plane/models/outputwebhook.py +58 -22
- cribl_control_plane/models/outputxsiam.py +35 -14
- cribl_control_plane/models/productscore.py +2 -1
- cribl_control_plane/models/rbacresource.py +2 -1
- cribl_control_plane/models/resourcepolicy.py +4 -2
- cribl_control_plane/models/runnablejobcollection.py +30 -13
- cribl_control_plane/models/runnablejobexecutor.py +13 -4
- cribl_control_plane/models/runnablejobscheduledsearch.py +7 -2
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +8 -2
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +8 -2
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +6 -5
- cribl_control_plane/models/workertypes.py +2 -1
- {cribl_control_plane-0.0.49.dist-info → cribl_control_plane-0.1.0a1.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.0.49.dist-info → cribl_control_plane-0.1.0a1.dist-info}/RECORD +166 -163
- {cribl_control_plane-0.0.49.dist-info → cribl_control_plane-0.1.0a1.dist-info}/WHEEL +0 -0
cribl_control_plane/_version.py
CHANGED
|
@@ -3,12 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "cribl-control-plane"
|
|
6
|
-
__version__: str = "0.
|
|
7
|
-
__openapi_doc_version__: str = "4.14.
|
|
8
|
-
__gen_version__: str = "2.716.
|
|
9
|
-
__user_agent__: str =
|
|
10
|
-
"speakeasy-sdk/python 0.0.49 2.716.10 4.14.0-837595d5 cribl-control-plane"
|
|
11
|
-
)
|
|
6
|
+
__version__: str = "0.1.0a1"
|
|
7
|
+
__openapi_doc_version__: str = "4.14.1-alpha.1758626754698-b3680673"
|
|
8
|
+
__gen_version__: str = "2.716.16"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.1.0a1 2.716.16 4.14.1-alpha.1758626754698-b3680673 cribl-control-plane"
|
|
12
10
|
|
|
13
11
|
try:
|
|
14
12
|
if __package__ is not None:
|
|
@@ -4,19 +4,25 @@ from __future__ import annotations
|
|
|
4
4
|
from cribl_control_plane.errors import CriblControlPlaneError
|
|
5
5
|
from cribl_control_plane.models import healthstatus as models_healthstatus
|
|
6
6
|
from cribl_control_plane.types import BaseModel
|
|
7
|
+
from cribl_control_plane.utils import validate_open_enum
|
|
7
8
|
from dataclasses import dataclass, field
|
|
8
9
|
import httpx
|
|
9
10
|
import pydantic
|
|
11
|
+
from pydantic.functional_validators import PlainValidator
|
|
10
12
|
from typing import Optional
|
|
11
13
|
from typing_extensions import Annotated
|
|
12
14
|
|
|
13
15
|
|
|
14
16
|
class HealthStatusErrorData(BaseModel):
|
|
15
|
-
status:
|
|
17
|
+
status: Annotated[
|
|
18
|
+
models_healthstatus.Status, PlainValidator(validate_open_enum(False))
|
|
19
|
+
]
|
|
16
20
|
|
|
17
21
|
start_time: Annotated[float, pydantic.Field(alias="startTime")]
|
|
18
22
|
|
|
19
|
-
role:
|
|
23
|
+
role: Annotated[
|
|
24
|
+
Optional[models_healthstatus.Role], PlainValidator(validate_open_enum(False))
|
|
25
|
+
] = None
|
|
20
26
|
|
|
21
27
|
|
|
22
28
|
@dataclass(frozen=True)
|
cribl_control_plane/health.py
CHANGED
|
@@ -18,7 +18,7 @@ class Health(BaseSDK):
|
|
|
18
18
|
server_url: Optional[str] = None,
|
|
19
19
|
timeout_ms: Optional[int] = None,
|
|
20
20
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
21
|
-
) -> models.
|
|
21
|
+
) -> models.GetHealthInfoResponse:
|
|
22
22
|
r"""Retrieve health status of the server
|
|
23
23
|
|
|
24
24
|
:param retries: Override the default retry configuration for this method
|
|
@@ -85,6 +85,8 @@ class Health(BaseSDK):
|
|
|
85
85
|
if utils.match_response(http_res, "5XX", "*"):
|
|
86
86
|
http_res_text = utils.stream_to_text(http_res)
|
|
87
87
|
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
88
|
+
if utils.match_response(http_res, "default", "application/json"):
|
|
89
|
+
return unmarshal_json_response(models.Error, http_res)
|
|
88
90
|
|
|
89
91
|
raise errors.APIError("Unexpected response received", http_res)
|
|
90
92
|
|
|
@@ -95,7 +97,7 @@ class Health(BaseSDK):
|
|
|
95
97
|
server_url: Optional[str] = None,
|
|
96
98
|
timeout_ms: Optional[int] = None,
|
|
97
99
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
98
|
-
) -> models.
|
|
100
|
+
) -> models.GetHealthInfoResponse:
|
|
99
101
|
r"""Retrieve health status of the server
|
|
100
102
|
|
|
101
103
|
:param retries: Override the default retry configuration for this method
|
|
@@ -162,5 +164,7 @@ class Health(BaseSDK):
|
|
|
162
164
|
if utils.match_response(http_res, "5XX", "*"):
|
|
163
165
|
http_res_text = await utils.stream_to_text_async(http_res)
|
|
164
166
|
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
167
|
+
if utils.match_response(http_res, "default", "application/json"):
|
|
168
|
+
return unmarshal_json_response(models.Error, http_res)
|
|
165
169
|
|
|
166
170
|
raise errors.APIError("Unexpected response received", http_res)
|
|
@@ -179,6 +179,7 @@ if TYPE_CHECKING:
|
|
|
179
179
|
DistributedSummaryWorkers,
|
|
180
180
|
DistributedSummaryWorkersTypedDict,
|
|
181
181
|
)
|
|
182
|
+
from .error import Error, ErrorTypedDict
|
|
182
183
|
from .getconfiggroupaclbyproductandidop import (
|
|
183
184
|
GetConfigGroupACLByProductAndIDRequest,
|
|
184
185
|
GetConfigGroupACLByProductAndIDRequestTypedDict,
|
|
@@ -215,6 +216,7 @@ if TYPE_CHECKING:
|
|
|
215
216
|
GetCriblLakeDatasetByLakeIDResponse,
|
|
216
217
|
GetCriblLakeDatasetByLakeIDResponseTypedDict,
|
|
217
218
|
)
|
|
219
|
+
from .gethealthinfoop import GetHealthInfoResponse, GetHealthInfoResponseTypedDict
|
|
218
220
|
from .getinputbyidop import (
|
|
219
221
|
GetInputByIDRequest,
|
|
220
222
|
GetInputByIDRequestTypedDict,
|
|
@@ -345,6 +347,7 @@ if TYPE_CHECKING:
|
|
|
345
347
|
GitRevertResultFilesTypedDict,
|
|
346
348
|
GitRevertResultTypedDict,
|
|
347
349
|
)
|
|
350
|
+
from .gitshowresult import GitShowResult, GitShowResultTypedDict
|
|
348
351
|
from .gitstatusresult import (
|
|
349
352
|
File,
|
|
350
353
|
FileTypedDict,
|
|
@@ -3144,6 +3147,7 @@ if TYPE_CHECKING:
|
|
|
3144
3147
|
CollectorSpecificSettings,
|
|
3145
3148
|
CollectorSpecificSettingsTypedDict,
|
|
3146
3149
|
CollectorTypedDict,
|
|
3150
|
+
InputType,
|
|
3147
3151
|
RunnableJobCollection,
|
|
3148
3152
|
RunnableJobCollectionInput,
|
|
3149
3153
|
RunnableJobCollectionInputTypedDict,
|
|
@@ -3166,7 +3170,6 @@ if TYPE_CHECKING:
|
|
|
3166
3170
|
RunnableJobCollectionScheduleTypedDict,
|
|
3167
3171
|
RunnableJobCollectionTimeWarning,
|
|
3168
3172
|
RunnableJobCollectionTimeWarningTypedDict,
|
|
3169
|
-
RunnableJobCollectionType,
|
|
3170
3173
|
RunnableJobCollectionTypedDict,
|
|
3171
3174
|
TimeRange,
|
|
3172
3175
|
WhereToCapture,
|
|
@@ -3452,6 +3455,8 @@ __all__ = [
|
|
|
3452
3455
|
"EndpointParam",
|
|
3453
3456
|
"EndpointParamTypedDict",
|
|
3454
3457
|
"EndpointType",
|
|
3458
|
+
"Error",
|
|
3459
|
+
"ErrorTypedDict",
|
|
3455
3460
|
"EventFormat",
|
|
3456
3461
|
"Executor",
|
|
3457
3462
|
"ExecutorSpecificSettings",
|
|
@@ -3493,6 +3498,8 @@ __all__ = [
|
|
|
3493
3498
|
"GetCriblLakeDatasetByLakeIDRequestTypedDict",
|
|
3494
3499
|
"GetCriblLakeDatasetByLakeIDResponse",
|
|
3495
3500
|
"GetCriblLakeDatasetByLakeIDResponseTypedDict",
|
|
3501
|
+
"GetHealthInfoResponse",
|
|
3502
|
+
"GetHealthInfoResponseTypedDict",
|
|
3496
3503
|
"GetInputByIDRequest",
|
|
3497
3504
|
"GetInputByIDRequestTypedDict",
|
|
3498
3505
|
"GetInputByIDResponse",
|
|
@@ -3586,6 +3593,8 @@ __all__ = [
|
|
|
3586
3593
|
"GitRevertResultFiles",
|
|
3587
3594
|
"GitRevertResultFilesTypedDict",
|
|
3588
3595
|
"GitRevertResultTypedDict",
|
|
3596
|
+
"GitShowResult",
|
|
3597
|
+
"GitShowResultTypedDict",
|
|
3589
3598
|
"GitStatusResult",
|
|
3590
3599
|
"GitStatusResultTypedDict",
|
|
3591
3600
|
"GitTypedDict",
|
|
@@ -4686,6 +4695,7 @@ __all__ = [
|
|
|
4686
4695
|
"InputTcpjsonTLSSettingsServerSideTypedDict",
|
|
4687
4696
|
"InputTcpjsonType",
|
|
4688
4697
|
"InputTcpjsonTypedDict",
|
|
4698
|
+
"InputType",
|
|
4689
4699
|
"InputTypedDict",
|
|
4690
4700
|
"InputWef",
|
|
4691
4701
|
"InputWefAuthenticationMethod",
|
|
@@ -6086,7 +6096,6 @@ __all__ = [
|
|
|
6086
6096
|
"RunnableJobCollectionScheduleTypedDict",
|
|
6087
6097
|
"RunnableJobCollectionTimeWarning",
|
|
6088
6098
|
"RunnableJobCollectionTimeWarningTypedDict",
|
|
6089
|
-
"RunnableJobCollectionType",
|
|
6090
6099
|
"RunnableJobCollectionTypedDict",
|
|
6091
6100
|
"RunnableJobExecutor",
|
|
6092
6101
|
"RunnableJobExecutorJobType",
|
|
@@ -6338,6 +6347,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
6338
6347
|
"DistributedSummaryTypedDict": ".distributedsummary",
|
|
6339
6348
|
"DistributedSummaryWorkers": ".distributedsummary",
|
|
6340
6349
|
"DistributedSummaryWorkersTypedDict": ".distributedsummary",
|
|
6350
|
+
"Error": ".error",
|
|
6351
|
+
"ErrorTypedDict": ".error",
|
|
6341
6352
|
"GetConfigGroupACLByProductAndIDRequest": ".getconfiggroupaclbyproductandidop",
|
|
6342
6353
|
"GetConfigGroupACLByProductAndIDRequestTypedDict": ".getconfiggroupaclbyproductandidop",
|
|
6343
6354
|
"GetConfigGroupACLByProductAndIDResponse": ".getconfiggroupaclbyproductandidop",
|
|
@@ -6362,6 +6373,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
6362
6373
|
"GetCriblLakeDatasetByLakeIDRequestTypedDict": ".getcribllakedatasetbylakeidop",
|
|
6363
6374
|
"GetCriblLakeDatasetByLakeIDResponse": ".getcribllakedatasetbylakeidop",
|
|
6364
6375
|
"GetCriblLakeDatasetByLakeIDResponseTypedDict": ".getcribllakedatasetbylakeidop",
|
|
6376
|
+
"GetHealthInfoResponse": ".gethealthinfoop",
|
|
6377
|
+
"GetHealthInfoResponseTypedDict": ".gethealthinfoop",
|
|
6365
6378
|
"GetInputByIDRequest": ".getinputbyidop",
|
|
6366
6379
|
"GetInputByIDRequestTypedDict": ".getinputbyidop",
|
|
6367
6380
|
"GetInputByIDResponse": ".getinputbyidop",
|
|
@@ -6462,6 +6475,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
6462
6475
|
"GitRevertResultFiles": ".gitrevertresult",
|
|
6463
6476
|
"GitRevertResultFilesTypedDict": ".gitrevertresult",
|
|
6464
6477
|
"GitRevertResultTypedDict": ".gitrevertresult",
|
|
6478
|
+
"GitShowResult": ".gitshowresult",
|
|
6479
|
+
"GitShowResultTypedDict": ".gitshowresult",
|
|
6465
6480
|
"File": ".gitstatusresult",
|
|
6466
6481
|
"FileTypedDict": ".gitstatusresult",
|
|
6467
6482
|
"GitStatusResult": ".gitstatusresult",
|
|
@@ -9020,6 +9035,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
9020
9035
|
"CollectorSpecificSettings": ".runnablejobcollection",
|
|
9021
9036
|
"CollectorSpecificSettingsTypedDict": ".runnablejobcollection",
|
|
9022
9037
|
"CollectorTypedDict": ".runnablejobcollection",
|
|
9038
|
+
"InputType": ".runnablejobcollection",
|
|
9023
9039
|
"RunnableJobCollection": ".runnablejobcollection",
|
|
9024
9040
|
"RunnableJobCollectionInput": ".runnablejobcollection",
|
|
9025
9041
|
"RunnableJobCollectionInputTypedDict": ".runnablejobcollection",
|
|
@@ -9042,7 +9058,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
9042
9058
|
"RunnableJobCollectionScheduleTypedDict": ".runnablejobcollection",
|
|
9043
9059
|
"RunnableJobCollectionTimeWarning": ".runnablejobcollection",
|
|
9044
9060
|
"RunnableJobCollectionTimeWarningTypedDict": ".runnablejobcollection",
|
|
9045
|
-
"RunnableJobCollectionType": ".runnablejobcollection",
|
|
9046
9061
|
"RunnableJobCollectionTypedDict": ".runnablejobcollection",
|
|
9047
9062
|
"TimeRange": ".runnablejobcollection",
|
|
9048
9063
|
"WhereToCapture": ".runnablejobcollection",
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane import utils
|
|
4
5
|
from enum import Enum
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
class AppMode(str, Enum):
|
|
8
|
+
class AppMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
8
9
|
SINGLE = "single"
|
|
9
10
|
MASTER = "master"
|
|
10
11
|
WORKER = "worker"
|
|
@@ -4,7 +4,9 @@ from __future__ import annotations
|
|
|
4
4
|
from .cacheconnectionbackfillstatus import CacheConnectionBackfillStatus
|
|
5
5
|
from .lakehouseconnectiontype import LakehouseConnectionType
|
|
6
6
|
from cribl_control_plane.types import BaseModel
|
|
7
|
+
from cribl_control_plane.utils import validate_open_enum
|
|
7
8
|
import pydantic
|
|
9
|
+
from pydantic.functional_validators import PlainValidator
|
|
8
10
|
from typing import List, Optional
|
|
9
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
12
|
|
|
@@ -31,11 +33,17 @@ class CacheConnection(BaseModel):
|
|
|
31
33
|
] = None
|
|
32
34
|
|
|
33
35
|
backfill_status: Annotated[
|
|
34
|
-
|
|
36
|
+
Annotated[
|
|
37
|
+
Optional[CacheConnectionBackfillStatus],
|
|
38
|
+
PlainValidator(validate_open_enum(False)),
|
|
39
|
+
],
|
|
40
|
+
pydantic.Field(alias="backfillStatus"),
|
|
35
41
|
] = None
|
|
36
42
|
|
|
37
43
|
lakehouse_connection_type: Annotated[
|
|
38
|
-
|
|
44
|
+
Annotated[
|
|
45
|
+
Optional[LakehouseConnectionType], PlainValidator(validate_open_enum(False))
|
|
46
|
+
],
|
|
39
47
|
pydantic.Field(alias="lakehouseConnectionType"),
|
|
40
48
|
] = None
|
|
41
49
|
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane import utils
|
|
4
5
|
from enum import Enum
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
class CacheConnectionBackfillStatus(str, Enum):
|
|
8
|
+
class CacheConnectionBackfillStatus(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
8
9
|
SCHEDULED = "scheduled"
|
|
9
10
|
PENDING = "pending"
|
|
10
11
|
STARTED = "started"
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane import utils
|
|
4
5
|
from enum import Enum
|
|
5
6
|
|
|
6
7
|
|
|
7
|
-
class CloudProvider(str, Enum):
|
|
8
|
+
class CloudProvider(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
8
9
|
AWS = "aws"
|
|
9
10
|
AZURE = "azure"
|
|
@@ -4,9 +4,12 @@ from __future__ import annotations
|
|
|
4
4
|
from .commit import Commit, CommitTypedDict
|
|
5
5
|
from .configgroupcloud import ConfigGroupCloud, ConfigGroupCloudTypedDict
|
|
6
6
|
from .configgrouplookups import ConfigGroupLookups, ConfigGroupLookupsTypedDict
|
|
7
|
+
from cribl_control_plane import utils
|
|
7
8
|
from cribl_control_plane.types import BaseModel
|
|
9
|
+
from cribl_control_plane.utils import validate_open_enum
|
|
8
10
|
from enum import Enum
|
|
9
11
|
import pydantic
|
|
12
|
+
from pydantic.functional_validators import PlainValidator
|
|
10
13
|
from typing import List, Optional
|
|
11
14
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
12
15
|
|
|
@@ -27,7 +30,7 @@ class Git(BaseModel):
|
|
|
27
30
|
log: Optional[List[Commit]] = None
|
|
28
31
|
|
|
29
32
|
|
|
30
|
-
class ConfigGroupType(str, Enum):
|
|
33
|
+
class ConfigGroupType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
31
34
|
LAKE_ACCESS = "lake_access"
|
|
32
35
|
|
|
33
36
|
|
|
@@ -105,7 +108,9 @@ class ConfigGroup(BaseModel):
|
|
|
105
108
|
|
|
106
109
|
tags: Optional[str] = None
|
|
107
110
|
|
|
108
|
-
type:
|
|
111
|
+
type: Annotated[
|
|
112
|
+
Optional[ConfigGroupType], PlainValidator(validate_open_enum(False))
|
|
113
|
+
] = None
|
|
109
114
|
|
|
110
115
|
upgrade_version: Annotated[
|
|
111
116
|
Optional[str], pydantic.Field(alias="upgradeVersion")
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .cloudprovider import CloudProvider
|
|
5
5
|
from cribl_control_plane.types import BaseModel, Nullable, UNSET_SENTINEL
|
|
6
|
+
from cribl_control_plane.utils import validate_open_enum
|
|
6
7
|
from pydantic import model_serializer
|
|
7
|
-
from
|
|
8
|
+
from pydantic.functional_validators import PlainValidator
|
|
9
|
+
from typing_extensions import Annotated, TypedDict
|
|
8
10
|
|
|
9
11
|
|
|
10
12
|
class ConfigGroupCloudTypedDict(TypedDict):
|
|
@@ -13,7 +15,9 @@ class ConfigGroupCloudTypedDict(TypedDict):
|
|
|
13
15
|
|
|
14
16
|
|
|
15
17
|
class ConfigGroupCloud(BaseModel):
|
|
16
|
-
provider:
|
|
18
|
+
provider: Annotated[
|
|
19
|
+
Nullable[CloudProvider], PlainValidator(validate_open_enum(False))
|
|
20
|
+
]
|
|
17
21
|
|
|
18
22
|
region: str
|
|
19
23
|
|
|
@@ -4,7 +4,13 @@ from __future__ import annotations
|
|
|
4
4
|
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
5
5
|
from .productscore import ProductsCore
|
|
6
6
|
from cribl_control_plane.types import BaseModel
|
|
7
|
-
from cribl_control_plane.utils import
|
|
7
|
+
from cribl_control_plane.utils import (
|
|
8
|
+
FieldMetadata,
|
|
9
|
+
PathParamMetadata,
|
|
10
|
+
RequestMetadata,
|
|
11
|
+
validate_open_enum,
|
|
12
|
+
)
|
|
13
|
+
from pydantic.functional_validators import PlainValidator
|
|
8
14
|
from typing import List, Optional
|
|
9
15
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
16
|
|
|
@@ -18,7 +24,7 @@ class CreateConfigGroupByProductRequestTypedDict(TypedDict):
|
|
|
18
24
|
|
|
19
25
|
class CreateConfigGroupByProductRequest(BaseModel):
|
|
20
26
|
product: Annotated[
|
|
21
|
-
ProductsCore,
|
|
27
|
+
Annotated[ProductsCore, PlainValidator(validate_open_enum(False))],
|
|
22
28
|
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
23
29
|
]
|
|
24
30
|
r"""Name of the Cribl product to add the Worker Group or Edge Fleet to."""
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .addhectokenrequest import AddHecTokenRequest, AddHecTokenRequestTypedDict
|
|
5
|
+
from .inputsplunkhec import InputSplunkHec, InputSplunkHecTypedDict
|
|
5
6
|
from cribl_control_plane.types import BaseModel
|
|
6
7
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
7
|
-
from typing import
|
|
8
|
+
from typing import List, Optional
|
|
8
9
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
10
|
|
|
10
11
|
|
|
@@ -29,17 +30,17 @@ class CreateInputHecTokenByIDRequest(BaseModel):
|
|
|
29
30
|
|
|
30
31
|
|
|
31
32
|
class CreateInputHecTokenByIDResponseTypedDict(TypedDict):
|
|
32
|
-
r"""a list of
|
|
33
|
+
r"""a list of InputSplunkHec objects"""
|
|
33
34
|
|
|
34
35
|
count: NotRequired[int]
|
|
35
36
|
r"""number of items present in the items array"""
|
|
36
|
-
items: NotRequired[List[
|
|
37
|
+
items: NotRequired[List[InputSplunkHecTypedDict]]
|
|
37
38
|
|
|
38
39
|
|
|
39
40
|
class CreateInputHecTokenByIDResponse(BaseModel):
|
|
40
|
-
r"""a list of
|
|
41
|
+
r"""a list of InputSplunkHec objects"""
|
|
41
42
|
|
|
42
43
|
count: Optional[int] = None
|
|
43
44
|
r"""number of items present in the items array"""
|
|
44
45
|
|
|
45
|
-
items: Optional[List[
|
|
46
|
+
items: Optional[List[InputSplunkHec]] = None
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from cribl_control_plane.types import BaseModel
|
|
5
|
-
from typing import
|
|
5
|
+
from typing import List, Optional
|
|
6
6
|
from typing_extensions import NotRequired, TypedDict
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class CreateVersionPushResponseTypedDict(TypedDict):
|
|
10
|
-
r"""a list of
|
|
10
|
+
r"""a list of string objects"""
|
|
11
11
|
|
|
12
12
|
count: NotRequired[int]
|
|
13
13
|
r"""number of items present in the items array"""
|
|
14
|
-
items: NotRequired[List[
|
|
14
|
+
items: NotRequired[List[str]]
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class CreateVersionPushResponse(BaseModel):
|
|
18
|
-
r"""a list of
|
|
18
|
+
r"""a list of string objects"""
|
|
19
19
|
|
|
20
20
|
count: Optional[int] = None
|
|
21
21
|
r"""number of items present in the items array"""
|
|
22
22
|
|
|
23
|
-
items: Optional[List[
|
|
23
|
+
items: Optional[List[str]] = None
|
|
@@ -6,14 +6,17 @@ from .lakedatasetsearchconfig import (
|
|
|
6
6
|
LakeDatasetSearchConfig,
|
|
7
7
|
LakeDatasetSearchConfigTypedDict,
|
|
8
8
|
)
|
|
9
|
+
from cribl_control_plane import utils
|
|
9
10
|
from cribl_control_plane.types import BaseModel
|
|
11
|
+
from cribl_control_plane.utils import validate_open_enum
|
|
10
12
|
from enum import Enum
|
|
11
13
|
import pydantic
|
|
14
|
+
from pydantic.functional_validators import PlainValidator
|
|
12
15
|
from typing import List, Optional
|
|
13
16
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
14
17
|
|
|
15
18
|
|
|
16
|
-
class CriblLakeDatasetFormat(str, Enum):
|
|
19
|
+
class CriblLakeDatasetFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
17
20
|
JSON = "json"
|
|
18
21
|
DDSS = "ddss"
|
|
19
22
|
PARQUET = "parquet"
|
|
@@ -54,7 +57,10 @@ class CriblLakeDataset(BaseModel):
|
|
|
54
57
|
description: Optional[str] = None
|
|
55
58
|
|
|
56
59
|
format_: Annotated[
|
|
57
|
-
|
|
60
|
+
Annotated[
|
|
61
|
+
Optional[CriblLakeDatasetFormat], PlainValidator(validate_open_enum(False))
|
|
62
|
+
],
|
|
63
|
+
pydantic.Field(alias="format"),
|
|
58
64
|
] = None
|
|
59
65
|
|
|
60
66
|
http_da_used: Annotated[Optional[bool], pydantic.Field(alias="httpDAUsed")] = None
|
|
@@ -5,14 +5,17 @@ from .datasetmetadataruninfo import (
|
|
|
5
5
|
DatasetMetadataRunInfo,
|
|
6
6
|
DatasetMetadataRunInfoTypedDict,
|
|
7
7
|
)
|
|
8
|
+
from cribl_control_plane import utils
|
|
8
9
|
from cribl_control_plane.types import BaseModel
|
|
10
|
+
from cribl_control_plane.utils import validate_open_enum
|
|
9
11
|
from enum import Enum
|
|
10
12
|
import pydantic
|
|
13
|
+
from pydantic.functional_validators import PlainValidator
|
|
11
14
|
from typing import List, Optional
|
|
12
15
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
13
16
|
|
|
14
17
|
|
|
15
|
-
class ScanMode(str, Enum):
|
|
18
|
+
class ScanMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
16
19
|
DETAILED = "detailed"
|
|
17
20
|
QUICK = "quick"
|
|
18
21
|
|
|
@@ -32,7 +35,10 @@ class DatasetMetadata(BaseModel):
|
|
|
32
35
|
|
|
33
36
|
field_list: Annotated[List[str], pydantic.Field(alias="fieldList")]
|
|
34
37
|
|
|
35
|
-
scan_mode: Annotated[
|
|
38
|
+
scan_mode: Annotated[
|
|
39
|
+
Annotated[ScanMode, PlainValidator(validate_open_enum(False))],
|
|
40
|
+
pydantic.Field(alias="scanMode"),
|
|
41
|
+
]
|
|
36
42
|
|
|
37
43
|
latest_run_info: Annotated[
|
|
38
44
|
Optional[DatasetMetadataRunInfo], pydantic.Field(alias="latestRunInfo")
|
|
@@ -4,7 +4,12 @@ from __future__ import annotations
|
|
|
4
4
|
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
5
5
|
from .productscore import ProductsCore
|
|
6
6
|
from cribl_control_plane.types import BaseModel
|
|
7
|
-
from cribl_control_plane.utils import
|
|
7
|
+
from cribl_control_plane.utils import (
|
|
8
|
+
FieldMetadata,
|
|
9
|
+
PathParamMetadata,
|
|
10
|
+
validate_open_enum,
|
|
11
|
+
)
|
|
12
|
+
from pydantic.functional_validators import PlainValidator
|
|
8
13
|
from typing import List, Optional
|
|
9
14
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
15
|
|
|
@@ -18,7 +23,7 @@ class DeleteConfigGroupByProductAndIDRequestTypedDict(TypedDict):
|
|
|
18
23
|
|
|
19
24
|
class DeleteConfigGroupByProductAndIDRequest(BaseModel):
|
|
20
25
|
product: Annotated[
|
|
21
|
-
ProductsCore,
|
|
26
|
+
Annotated[ProductsCore, PlainValidator(validate_open_enum(False))],
|
|
22
27
|
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
23
28
|
]
|
|
24
29
|
r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane.types import BaseModel
|
|
5
|
+
from typing import Optional
|
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ErrorTypedDict(TypedDict):
|
|
10
|
+
message: NotRequired[str]
|
|
11
|
+
r"""Error message"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class Error(BaseModel):
|
|
15
|
+
message: Optional[str] = None
|
|
16
|
+
r"""Error message"""
|
|
@@ -9,7 +9,9 @@ from cribl_control_plane.utils import (
|
|
|
9
9
|
FieldMetadata,
|
|
10
10
|
PathParamMetadata,
|
|
11
11
|
QueryParamMetadata,
|
|
12
|
+
validate_open_enum,
|
|
12
13
|
)
|
|
14
|
+
from pydantic.functional_validators import PlainValidator
|
|
13
15
|
from typing import List, Optional
|
|
14
16
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
15
17
|
|
|
@@ -25,7 +27,7 @@ class GetConfigGroupACLByProductAndIDRequestTypedDict(TypedDict):
|
|
|
25
27
|
|
|
26
28
|
class GetConfigGroupACLByProductAndIDRequest(BaseModel):
|
|
27
29
|
product: Annotated[
|
|
28
|
-
ProductsCore,
|
|
30
|
+
Annotated[ProductsCore, PlainValidator(validate_open_enum(False))],
|
|
29
31
|
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
30
32
|
]
|
|
31
33
|
r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
|
|
@@ -36,7 +38,7 @@ class GetConfigGroupACLByProductAndIDRequest(BaseModel):
|
|
|
36
38
|
r"""The <code>id</code> of the Worker Group or Edge Fleet to get the ACL for."""
|
|
37
39
|
|
|
38
40
|
type: Annotated[
|
|
39
|
-
Optional[RbacResource],
|
|
41
|
+
Annotated[Optional[RbacResource], PlainValidator(validate_open_enum(False))],
|
|
40
42
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
41
43
|
] = None
|
|
42
44
|
r"""Filter for limiting the response to ACL entries for the specified RBAC resource type."""
|
|
@@ -9,7 +9,9 @@ from cribl_control_plane.utils import (
|
|
|
9
9
|
FieldMetadata,
|
|
10
10
|
PathParamMetadata,
|
|
11
11
|
QueryParamMetadata,
|
|
12
|
+
validate_open_enum,
|
|
12
13
|
)
|
|
14
|
+
from pydantic.functional_validators import PlainValidator
|
|
13
15
|
from typing import List, Optional
|
|
14
16
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
15
17
|
|
|
@@ -25,7 +27,7 @@ class GetConfigGroupACLTeamsByProductAndIDRequestTypedDict(TypedDict):
|
|
|
25
27
|
|
|
26
28
|
class GetConfigGroupACLTeamsByProductAndIDRequest(BaseModel):
|
|
27
29
|
product: Annotated[
|
|
28
|
-
ProductsCore,
|
|
30
|
+
Annotated[ProductsCore, PlainValidator(validate_open_enum(False))],
|
|
29
31
|
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
30
32
|
]
|
|
31
33
|
r"""Name of the Cribl product that contains the Worker Group or Edge Fleet."""
|
|
@@ -36,7 +38,7 @@ class GetConfigGroupACLTeamsByProductAndIDRequest(BaseModel):
|
|
|
36
38
|
r"""The <code>id</code> of the Worker Group or Edge Fleet to get the team ACL for."""
|
|
37
39
|
|
|
38
40
|
type: Annotated[
|
|
39
|
-
Optional[RbacResource],
|
|
41
|
+
Annotated[Optional[RbacResource], PlainValidator(validate_open_enum(False))],
|
|
40
42
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
41
43
|
] = None
|
|
42
44
|
r"""Filter for limiting the response to ACL entries for the specified RBAC resource type."""
|
|
@@ -8,7 +8,9 @@ from cribl_control_plane.utils import (
|
|
|
8
8
|
FieldMetadata,
|
|
9
9
|
PathParamMetadata,
|
|
10
10
|
QueryParamMetadata,
|
|
11
|
+
validate_open_enum,
|
|
11
12
|
)
|
|
13
|
+
from pydantic.functional_validators import PlainValidator
|
|
12
14
|
from typing import List, Optional
|
|
13
15
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
14
16
|
|
|
@@ -24,7 +26,7 @@ class GetConfigGroupByProductAndIDRequestTypedDict(TypedDict):
|
|
|
24
26
|
|
|
25
27
|
class GetConfigGroupByProductAndIDRequest(BaseModel):
|
|
26
28
|
product: Annotated[
|
|
27
|
-
ProductsCore,
|
|
29
|
+
Annotated[ProductsCore, PlainValidator(validate_open_enum(False))],
|
|
28
30
|
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
29
31
|
]
|
|
30
32
|
r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
|
|
@@ -3,7 +3,12 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .productscore import ProductsCore
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
|
-
from cribl_control_plane.utils import
|
|
6
|
+
from cribl_control_plane.utils import (
|
|
7
|
+
FieldMetadata,
|
|
8
|
+
PathParamMetadata,
|
|
9
|
+
validate_open_enum,
|
|
10
|
+
)
|
|
11
|
+
from pydantic.functional_validators import PlainValidator
|
|
7
12
|
from typing import List, Optional
|
|
8
13
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
14
|
|
|
@@ -17,7 +22,7 @@ class GetConfigGroupConfigVersionByProductAndIDRequestTypedDict(TypedDict):
|
|
|
17
22
|
|
|
18
23
|
class GetConfigGroupConfigVersionByProductAndIDRequest(BaseModel):
|
|
19
24
|
product: Annotated[
|
|
20
|
-
ProductsCore,
|
|
25
|
+
Annotated[ProductsCore, PlainValidator(validate_open_enum(False))],
|
|
21
26
|
FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
|
|
22
27
|
]
|
|
23
28
|
r"""Name of the Cribl product to get the Worker Groups or Edge Fleets for."""
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .error import Error, ErrorTypedDict
|
|
5
|
+
from .healthstatus import HealthStatus, HealthStatusTypedDict
|
|
6
|
+
from typing import Union
|
|
7
|
+
from typing_extensions import TypeAliasType
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
GetHealthInfoResponseTypedDict = TypeAliasType(
|
|
11
|
+
"GetHealthInfoResponseTypedDict", Union[ErrorTypedDict, HealthStatusTypedDict]
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
GetHealthInfoResponse = TypeAliasType(
|
|
16
|
+
"GetHealthInfoResponse", Union[Error, HealthStatus]
|
|
17
|
+
)
|
|
@@ -4,7 +4,12 @@ from __future__ import annotations
|
|
|
4
4
|
from .distributedsummary import DistributedSummary, DistributedSummaryTypedDict
|
|
5
5
|
from .workertypes import WorkerTypes
|
|
6
6
|
from cribl_control_plane.types import BaseModel
|
|
7
|
-
from cribl_control_plane.utils import
|
|
7
|
+
from cribl_control_plane.utils import (
|
|
8
|
+
FieldMetadata,
|
|
9
|
+
QueryParamMetadata,
|
|
10
|
+
validate_open_enum,
|
|
11
|
+
)
|
|
12
|
+
from pydantic.functional_validators import PlainValidator
|
|
8
13
|
from typing import List, Optional
|
|
9
14
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
15
|
|
|
@@ -16,7 +21,7 @@ class GetSummaryRequestTypedDict(TypedDict):
|
|
|
16
21
|
|
|
17
22
|
class GetSummaryRequest(BaseModel):
|
|
18
23
|
mode: Annotated[
|
|
19
|
-
Optional[WorkerTypes],
|
|
24
|
+
Annotated[Optional[WorkerTypes], PlainValidator(validate_open_enum(False))],
|
|
20
25
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
21
26
|
] = None
|
|
22
27
|
r"""Filter for limiting the response by Cribl product: Cribl Stream (<code>worker</code>) or Cribl Edge (<code>managed-edge</code>)."""
|