cribl-control-plane 0.0.49__py3-none-any.whl → 0.1.0b1__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 +68 -30
- 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 +24 -3
- cribl_control_plane/models/healthstatus.py +7 -4
- cribl_control_plane/models/heartbeatmetadata.py +3 -0
- 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 +41 -32
- 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 +41 -28
- 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 +48 -30
- 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/nodeprovidedinfo.py +3 -0
- 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/output.py +3 -0
- 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 +71 -44
- 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/outputdatabricks.py +439 -0
- 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 +69 -40
- 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 +77 -42
- 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/routeconf.py +3 -4
- 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.0b1.dist-info}/METADATA +1 -1
- cribl_control_plane-0.1.0b1.dist-info/RECORD +327 -0
- cribl_control_plane/models/appmode.py +0 -13
- cribl_control_plane/models/routecloneconf.py +0 -13
- cribl_control_plane-0.0.49.dist-info/RECORD +0 -325
- {cribl_control_plane-0.0.49.dist-info → cribl_control_plane-0.1.0b1.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.
|
|
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.0b1"
|
|
7
|
+
__openapi_doc_version__: str = "4.15.0-alpha.1758872649120-b192666f"
|
|
8
|
+
__gen_version__: str = "2.716.16"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.1.0b1 2.716.16 4.15.0-alpha.1758872649120-b192666f 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)
|
|
@@ -12,7 +12,6 @@ if TYPE_CHECKING:
|
|
|
12
12
|
AddHecTokenRequestMetadatumTypedDict,
|
|
13
13
|
AddHecTokenRequestTypedDict,
|
|
14
14
|
)
|
|
15
|
-
from .appmode import AppMode
|
|
16
15
|
from .authtoken import AuthToken, AuthTokenTypedDict
|
|
17
16
|
from .branchinfo import BranchInfo, BranchInfoTypedDict
|
|
18
17
|
from .cacheconnection import CacheConnection, CacheConnectionTypedDict
|
|
@@ -179,6 +178,7 @@ if TYPE_CHECKING:
|
|
|
179
178
|
DistributedSummaryWorkers,
|
|
180
179
|
DistributedSummaryWorkersTypedDict,
|
|
181
180
|
)
|
|
181
|
+
from .error import Error, ErrorTypedDict
|
|
182
182
|
from .getconfiggroupaclbyproductandidop import (
|
|
183
183
|
GetConfigGroupACLByProductAndIDRequest,
|
|
184
184
|
GetConfigGroupACLByProductAndIDRequestTypedDict,
|
|
@@ -215,6 +215,7 @@ if TYPE_CHECKING:
|
|
|
215
215
|
GetCriblLakeDatasetByLakeIDResponse,
|
|
216
216
|
GetCriblLakeDatasetByLakeIDResponseTypedDict,
|
|
217
217
|
)
|
|
218
|
+
from .gethealthinfoop import GetHealthInfoResponse, GetHealthInfoResponseTypedDict
|
|
218
219
|
from .getinputbyidop import (
|
|
219
220
|
GetInputByIDRequest,
|
|
220
221
|
GetInputByIDRequestTypedDict,
|
|
@@ -345,6 +346,7 @@ if TYPE_CHECKING:
|
|
|
345
346
|
GitRevertResultFilesTypedDict,
|
|
346
347
|
GitRevertResultTypedDict,
|
|
347
348
|
)
|
|
349
|
+
from .gitshowresult import GitShowResult, GitShowResultTypedDict
|
|
348
350
|
from .gitstatusresult import (
|
|
349
351
|
File,
|
|
350
352
|
FileTypedDict,
|
|
@@ -353,7 +355,13 @@ if TYPE_CHECKING:
|
|
|
353
355
|
Renamed,
|
|
354
356
|
RenamedTypedDict,
|
|
355
357
|
)
|
|
356
|
-
from .hbcriblinfo import
|
|
358
|
+
from .hbcriblinfo import (
|
|
359
|
+
Config,
|
|
360
|
+
ConfigTypedDict,
|
|
361
|
+
DistMode,
|
|
362
|
+
HBCriblInfo,
|
|
363
|
+
HBCriblInfoTypedDict,
|
|
364
|
+
)
|
|
357
365
|
from .hbleaderinfo import HBLeaderInfo, HBLeaderInfoTypedDict
|
|
358
366
|
from .healthstatus import HealthStatus, HealthStatusTypedDict, Role, Status
|
|
359
367
|
from .heartbeatmetadata import (
|
|
@@ -460,7 +468,6 @@ if TYPE_CHECKING:
|
|
|
460
468
|
InputConfluentCloudPqControlsTypedDict,
|
|
461
469
|
InputConfluentCloudPqTypedDict,
|
|
462
470
|
InputConfluentCloudSASLMechanism,
|
|
463
|
-
InputConfluentCloudSchemaType,
|
|
464
471
|
InputConfluentCloudTLSSettingsClientSide,
|
|
465
472
|
InputConfluentCloudTLSSettingsClientSideTypedDict,
|
|
466
473
|
InputConfluentCloudType,
|
|
@@ -919,7 +926,6 @@ if TYPE_CHECKING:
|
|
|
919
926
|
InputKafkaPqControlsTypedDict,
|
|
920
927
|
InputKafkaPqTypedDict,
|
|
921
928
|
InputKafkaSASLMechanism,
|
|
922
|
-
InputKafkaSchemaType,
|
|
923
929
|
InputKafkaTLSSettingsClientSide,
|
|
924
930
|
InputKafkaTLSSettingsClientSideTypedDict,
|
|
925
931
|
InputKafkaType,
|
|
@@ -1087,7 +1093,6 @@ if TYPE_CHECKING:
|
|
|
1087
1093
|
InputMskPqControls,
|
|
1088
1094
|
InputMskPqControlsTypedDict,
|
|
1089
1095
|
InputMskPqTypedDict,
|
|
1090
|
-
InputMskSchemaType,
|
|
1091
1096
|
InputMskSignatureVersion,
|
|
1092
1097
|
InputMskTLSSettingsClientSide,
|
|
1093
1098
|
InputMskTLSSettingsClientSideTypedDict,
|
|
@@ -1982,7 +1987,6 @@ if TYPE_CHECKING:
|
|
|
1982
1987
|
OutputConfluentCloudQueueFullBehavior,
|
|
1983
1988
|
OutputConfluentCloudRecordDataFormat,
|
|
1984
1989
|
OutputConfluentCloudSASLMechanism,
|
|
1985
|
-
OutputConfluentCloudSchemaType,
|
|
1986
1990
|
OutputConfluentCloudTLSSettingsClientSide,
|
|
1987
1991
|
OutputConfluentCloudTLSSettingsClientSideTypedDict,
|
|
1988
1992
|
OutputConfluentCloudType,
|
|
@@ -2065,6 +2069,21 @@ if TYPE_CHECKING:
|
|
|
2065
2069
|
OutputCrowdstrikeNextGenSiemType,
|
|
2066
2070
|
OutputCrowdstrikeNextGenSiemTypedDict,
|
|
2067
2071
|
)
|
|
2072
|
+
from .outputdatabricks import (
|
|
2073
|
+
OutputDatabricks,
|
|
2074
|
+
OutputDatabricksAuthenticationMethod,
|
|
2075
|
+
OutputDatabricksBackpressureBehavior,
|
|
2076
|
+
OutputDatabricksCompression,
|
|
2077
|
+
OutputDatabricksCompressionLevel,
|
|
2078
|
+
OutputDatabricksDataFormat,
|
|
2079
|
+
OutputDatabricksDataPageVersion,
|
|
2080
|
+
OutputDatabricksDiskSpaceProtection,
|
|
2081
|
+
OutputDatabricksKeyValueMetadatum,
|
|
2082
|
+
OutputDatabricksKeyValueMetadatumTypedDict,
|
|
2083
|
+
OutputDatabricksParquetVersion,
|
|
2084
|
+
OutputDatabricksType,
|
|
2085
|
+
OutputDatabricksTypedDict,
|
|
2086
|
+
)
|
|
2068
2087
|
from .outputdatadog import (
|
|
2069
2088
|
DatadogSite,
|
|
2070
2089
|
OutputDatadog,
|
|
@@ -2483,7 +2502,6 @@ if TYPE_CHECKING:
|
|
|
2483
2502
|
OutputKafkaQueueFullBehavior,
|
|
2484
2503
|
OutputKafkaRecordDataFormat,
|
|
2485
2504
|
OutputKafkaSASLMechanism,
|
|
2486
|
-
OutputKafkaSchemaType,
|
|
2487
2505
|
OutputKafkaTLSSettingsClientSide,
|
|
2488
2506
|
OutputKafkaTLSSettingsClientSideTypedDict,
|
|
2489
2507
|
OutputKafkaType,
|
|
@@ -2566,7 +2584,6 @@ if TYPE_CHECKING:
|
|
|
2566
2584
|
OutputMskPqControlsTypedDict,
|
|
2567
2585
|
OutputMskQueueFullBehavior,
|
|
2568
2586
|
OutputMskRecordDataFormat,
|
|
2569
|
-
OutputMskSchemaType,
|
|
2570
2587
|
OutputMskSignatureVersion,
|
|
2571
2588
|
OutputMskTLSSettingsClientSide,
|
|
2572
2589
|
OutputMskTLSSettingsClientSideTypedDict,
|
|
@@ -3125,7 +3142,6 @@ if TYPE_CHECKING:
|
|
|
3125
3142
|
from .productscore import ProductsCore
|
|
3126
3143
|
from .rbacresource import RbacResource
|
|
3127
3144
|
from .resourcepolicy import ResourcePolicy, ResourcePolicyTypedDict
|
|
3128
|
-
from .routecloneconf import RouteCloneConf, RouteCloneConfTypedDict
|
|
3129
3145
|
from .routeconf import RouteConf, RouteConfTypedDict
|
|
3130
3146
|
from .routes import (
|
|
3131
3147
|
Comment,
|
|
@@ -3144,6 +3160,7 @@ if TYPE_CHECKING:
|
|
|
3144
3160
|
CollectorSpecificSettings,
|
|
3145
3161
|
CollectorSpecificSettingsTypedDict,
|
|
3146
3162
|
CollectorTypedDict,
|
|
3163
|
+
InputType,
|
|
3147
3164
|
RunnableJobCollection,
|
|
3148
3165
|
RunnableJobCollectionInput,
|
|
3149
3166
|
RunnableJobCollectionInputTypedDict,
|
|
@@ -3166,7 +3183,6 @@ if TYPE_CHECKING:
|
|
|
3166
3183
|
RunnableJobCollectionScheduleTypedDict,
|
|
3167
3184
|
RunnableJobCollectionTimeWarning,
|
|
3168
3185
|
RunnableJobCollectionTimeWarningTypedDict,
|
|
3169
|
-
RunnableJobCollectionType,
|
|
3170
3186
|
RunnableJobCollectionTypedDict,
|
|
3171
3187
|
TimeRange,
|
|
3172
3188
|
WhereToCapture,
|
|
@@ -3286,7 +3302,6 @@ __all__ = [
|
|
|
3286
3302
|
"AdditionalPropertyTypedDict",
|
|
3287
3303
|
"Allow",
|
|
3288
3304
|
"AllowTypedDict",
|
|
3289
|
-
"AppMode",
|
|
3290
3305
|
"Audit",
|
|
3291
3306
|
"AuditTypedDict",
|
|
3292
3307
|
"AuthToken",
|
|
@@ -3436,6 +3451,7 @@ __all__ = [
|
|
|
3436
3451
|
"DiffFilesTypedDict",
|
|
3437
3452
|
"DisksAndFileSystems",
|
|
3438
3453
|
"DisksAndFileSystemsTypedDict",
|
|
3454
|
+
"DistMode",
|
|
3439
3455
|
"DistributedSummary",
|
|
3440
3456
|
"DistributedSummaryGroups",
|
|
3441
3457
|
"DistributedSummaryGroupsTypedDict",
|
|
@@ -3452,6 +3468,8 @@ __all__ = [
|
|
|
3452
3468
|
"EndpointParam",
|
|
3453
3469
|
"EndpointParamTypedDict",
|
|
3454
3470
|
"EndpointType",
|
|
3471
|
+
"Error",
|
|
3472
|
+
"ErrorTypedDict",
|
|
3455
3473
|
"EventFormat",
|
|
3456
3474
|
"Executor",
|
|
3457
3475
|
"ExecutorSpecificSettings",
|
|
@@ -3493,6 +3511,8 @@ __all__ = [
|
|
|
3493
3511
|
"GetCriblLakeDatasetByLakeIDRequestTypedDict",
|
|
3494
3512
|
"GetCriblLakeDatasetByLakeIDResponse",
|
|
3495
3513
|
"GetCriblLakeDatasetByLakeIDResponseTypedDict",
|
|
3514
|
+
"GetHealthInfoResponse",
|
|
3515
|
+
"GetHealthInfoResponseTypedDict",
|
|
3496
3516
|
"GetInputByIDRequest",
|
|
3497
3517
|
"GetInputByIDRequestTypedDict",
|
|
3498
3518
|
"GetInputByIDResponse",
|
|
@@ -3586,6 +3606,8 @@ __all__ = [
|
|
|
3586
3606
|
"GitRevertResultFiles",
|
|
3587
3607
|
"GitRevertResultFilesTypedDict",
|
|
3588
3608
|
"GitRevertResultTypedDict",
|
|
3609
|
+
"GitShowResult",
|
|
3610
|
+
"GitShowResultTypedDict",
|
|
3589
3611
|
"GitStatusResult",
|
|
3590
3612
|
"GitStatusResultTypedDict",
|
|
3591
3613
|
"GitTypedDict",
|
|
@@ -3699,7 +3721,6 @@ __all__ = [
|
|
|
3699
3721
|
"InputConfluentCloudPqControlsTypedDict",
|
|
3700
3722
|
"InputConfluentCloudPqTypedDict",
|
|
3701
3723
|
"InputConfluentCloudSASLMechanism",
|
|
3702
|
-
"InputConfluentCloudSchemaType",
|
|
3703
3724
|
"InputConfluentCloudTLSSettingsClientSide",
|
|
3704
3725
|
"InputConfluentCloudTLSSettingsClientSideTypedDict",
|
|
3705
3726
|
"InputConfluentCloudType",
|
|
@@ -4089,7 +4110,6 @@ __all__ = [
|
|
|
4089
4110
|
"InputKafkaPqControlsTypedDict",
|
|
4090
4111
|
"InputKafkaPqTypedDict",
|
|
4091
4112
|
"InputKafkaSASLMechanism",
|
|
4092
|
-
"InputKafkaSchemaType",
|
|
4093
4113
|
"InputKafkaTLSSettingsClientSide",
|
|
4094
4114
|
"InputKafkaTLSSettingsClientSideTypedDict",
|
|
4095
4115
|
"InputKafkaType",
|
|
@@ -4239,7 +4259,6 @@ __all__ = [
|
|
|
4239
4259
|
"InputMskPqControls",
|
|
4240
4260
|
"InputMskPqControlsTypedDict",
|
|
4241
4261
|
"InputMskPqTypedDict",
|
|
4242
|
-
"InputMskSchemaType",
|
|
4243
4262
|
"InputMskSignatureVersion",
|
|
4244
4263
|
"InputMskTLSSettingsClientSide",
|
|
4245
4264
|
"InputMskTLSSettingsClientSideTypedDict",
|
|
@@ -4686,6 +4705,7 @@ __all__ = [
|
|
|
4686
4705
|
"InputTcpjsonTLSSettingsServerSideTypedDict",
|
|
4687
4706
|
"InputTcpjsonType",
|
|
4688
4707
|
"InputTcpjsonTypedDict",
|
|
4708
|
+
"InputType",
|
|
4689
4709
|
"InputTypedDict",
|
|
4690
4710
|
"InputWef",
|
|
4691
4711
|
"InputWefAuthenticationMethod",
|
|
@@ -5036,7 +5056,6 @@ __all__ = [
|
|
|
5036
5056
|
"OutputConfluentCloudQueueFullBehavior",
|
|
5037
5057
|
"OutputConfluentCloudRecordDataFormat",
|
|
5038
5058
|
"OutputConfluentCloudSASLMechanism",
|
|
5039
|
-
"OutputConfluentCloudSchemaType",
|
|
5040
5059
|
"OutputConfluentCloudTLSSettingsClientSide",
|
|
5041
5060
|
"OutputConfluentCloudTLSSettingsClientSideTypedDict",
|
|
5042
5061
|
"OutputConfluentCloudType",
|
|
@@ -5109,6 +5128,19 @@ __all__ = [
|
|
|
5109
5128
|
"OutputCrowdstrikeNextGenSiemTimeoutRetrySettingsTypedDict",
|
|
5110
5129
|
"OutputCrowdstrikeNextGenSiemType",
|
|
5111
5130
|
"OutputCrowdstrikeNextGenSiemTypedDict",
|
|
5131
|
+
"OutputDatabricks",
|
|
5132
|
+
"OutputDatabricksAuthenticationMethod",
|
|
5133
|
+
"OutputDatabricksBackpressureBehavior",
|
|
5134
|
+
"OutputDatabricksCompression",
|
|
5135
|
+
"OutputDatabricksCompressionLevel",
|
|
5136
|
+
"OutputDatabricksDataFormat",
|
|
5137
|
+
"OutputDatabricksDataPageVersion",
|
|
5138
|
+
"OutputDatabricksDiskSpaceProtection",
|
|
5139
|
+
"OutputDatabricksKeyValueMetadatum",
|
|
5140
|
+
"OutputDatabricksKeyValueMetadatumTypedDict",
|
|
5141
|
+
"OutputDatabricksParquetVersion",
|
|
5142
|
+
"OutputDatabricksType",
|
|
5143
|
+
"OutputDatabricksTypedDict",
|
|
5112
5144
|
"OutputDatadog",
|
|
5113
5145
|
"OutputDatadogAuthenticationMethod",
|
|
5114
5146
|
"OutputDatadogBackpressureBehavior",
|
|
@@ -5472,7 +5504,6 @@ __all__ = [
|
|
|
5472
5504
|
"OutputKafkaQueueFullBehavior",
|
|
5473
5505
|
"OutputKafkaRecordDataFormat",
|
|
5474
5506
|
"OutputKafkaSASLMechanism",
|
|
5475
|
-
"OutputKafkaSchemaType",
|
|
5476
5507
|
"OutputKafkaTLSSettingsClientSide",
|
|
5477
5508
|
"OutputKafkaTLSSettingsClientSideTypedDict",
|
|
5478
5509
|
"OutputKafkaType",
|
|
@@ -5547,7 +5578,6 @@ __all__ = [
|
|
|
5547
5578
|
"OutputMskPqControlsTypedDict",
|
|
5548
5579
|
"OutputMskQueueFullBehavior",
|
|
5549
5580
|
"OutputMskRecordDataFormat",
|
|
5550
|
-
"OutputMskSchemaType",
|
|
5551
5581
|
"OutputMskSignatureVersion",
|
|
5552
5582
|
"OutputMskTLSSettingsClientSide",
|
|
5553
5583
|
"OutputMskTLSSettingsClientSideTypedDict",
|
|
@@ -6053,8 +6083,6 @@ __all__ = [
|
|
|
6053
6083
|
"ResourceTypeLabel",
|
|
6054
6084
|
"ResourceTypeLabelTypedDict",
|
|
6055
6085
|
"Role",
|
|
6056
|
-
"RouteCloneConf",
|
|
6057
|
-
"RouteCloneConfTypedDict",
|
|
6058
6086
|
"RouteConf",
|
|
6059
6087
|
"RouteConfTypedDict",
|
|
6060
6088
|
"Routes",
|
|
@@ -6086,7 +6114,6 @@ __all__ = [
|
|
|
6086
6114
|
"RunnableJobCollectionScheduleTypedDict",
|
|
6087
6115
|
"RunnableJobCollectionTimeWarning",
|
|
6088
6116
|
"RunnableJobCollectionTimeWarningTypedDict",
|
|
6089
|
-
"RunnableJobCollectionType",
|
|
6090
6117
|
"RunnableJobCollectionTypedDict",
|
|
6091
6118
|
"RunnableJobExecutor",
|
|
6092
6119
|
"RunnableJobExecutorJobType",
|
|
@@ -6206,7 +6233,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
6206
6233
|
"AddHecTokenRequestMetadatum": ".addhectokenrequest",
|
|
6207
6234
|
"AddHecTokenRequestMetadatumTypedDict": ".addhectokenrequest",
|
|
6208
6235
|
"AddHecTokenRequestTypedDict": ".addhectokenrequest",
|
|
6209
|
-
"AppMode": ".appmode",
|
|
6210
6236
|
"AuthToken": ".authtoken",
|
|
6211
6237
|
"AuthTokenTypedDict": ".authtoken",
|
|
6212
6238
|
"BranchInfo": ".branchinfo",
|
|
@@ -6338,6 +6364,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
6338
6364
|
"DistributedSummaryTypedDict": ".distributedsummary",
|
|
6339
6365
|
"DistributedSummaryWorkers": ".distributedsummary",
|
|
6340
6366
|
"DistributedSummaryWorkersTypedDict": ".distributedsummary",
|
|
6367
|
+
"Error": ".error",
|
|
6368
|
+
"ErrorTypedDict": ".error",
|
|
6341
6369
|
"GetConfigGroupACLByProductAndIDRequest": ".getconfiggroupaclbyproductandidop",
|
|
6342
6370
|
"GetConfigGroupACLByProductAndIDRequestTypedDict": ".getconfiggroupaclbyproductandidop",
|
|
6343
6371
|
"GetConfigGroupACLByProductAndIDResponse": ".getconfiggroupaclbyproductandidop",
|
|
@@ -6362,6 +6390,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
6362
6390
|
"GetCriblLakeDatasetByLakeIDRequestTypedDict": ".getcribllakedatasetbylakeidop",
|
|
6363
6391
|
"GetCriblLakeDatasetByLakeIDResponse": ".getcribllakedatasetbylakeidop",
|
|
6364
6392
|
"GetCriblLakeDatasetByLakeIDResponseTypedDict": ".getcribllakedatasetbylakeidop",
|
|
6393
|
+
"GetHealthInfoResponse": ".gethealthinfoop",
|
|
6394
|
+
"GetHealthInfoResponseTypedDict": ".gethealthinfoop",
|
|
6365
6395
|
"GetInputByIDRequest": ".getinputbyidop",
|
|
6366
6396
|
"GetInputByIDRequestTypedDict": ".getinputbyidop",
|
|
6367
6397
|
"GetInputByIDResponse": ".getinputbyidop",
|
|
@@ -6462,6 +6492,8 @@ _dynamic_imports: dict[str, str] = {
|
|
|
6462
6492
|
"GitRevertResultFiles": ".gitrevertresult",
|
|
6463
6493
|
"GitRevertResultFilesTypedDict": ".gitrevertresult",
|
|
6464
6494
|
"GitRevertResultTypedDict": ".gitrevertresult",
|
|
6495
|
+
"GitShowResult": ".gitshowresult",
|
|
6496
|
+
"GitShowResultTypedDict": ".gitshowresult",
|
|
6465
6497
|
"File": ".gitstatusresult",
|
|
6466
6498
|
"FileTypedDict": ".gitstatusresult",
|
|
6467
6499
|
"GitStatusResult": ".gitstatusresult",
|
|
@@ -6470,6 +6502,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
6470
6502
|
"RenamedTypedDict": ".gitstatusresult",
|
|
6471
6503
|
"Config": ".hbcriblinfo",
|
|
6472
6504
|
"ConfigTypedDict": ".hbcriblinfo",
|
|
6505
|
+
"DistMode": ".hbcriblinfo",
|
|
6473
6506
|
"HBCriblInfo": ".hbcriblinfo",
|
|
6474
6507
|
"HBCriblInfoTypedDict": ".hbcriblinfo",
|
|
6475
6508
|
"HBLeaderInfo": ".hbleaderinfo",
|
|
@@ -6574,7 +6607,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
6574
6607
|
"InputConfluentCloudPqControlsTypedDict": ".inputconfluentcloud",
|
|
6575
6608
|
"InputConfluentCloudPqTypedDict": ".inputconfluentcloud",
|
|
6576
6609
|
"InputConfluentCloudSASLMechanism": ".inputconfluentcloud",
|
|
6577
|
-
"InputConfluentCloudSchemaType": ".inputconfluentcloud",
|
|
6578
6610
|
"InputConfluentCloudTLSSettingsClientSide": ".inputconfluentcloud",
|
|
6579
6611
|
"InputConfluentCloudTLSSettingsClientSideTypedDict": ".inputconfluentcloud",
|
|
6580
6612
|
"InputConfluentCloudType": ".inputconfluentcloud",
|
|
@@ -6993,7 +7025,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
6993
7025
|
"InputKafkaPqControlsTypedDict": ".inputkafka",
|
|
6994
7026
|
"InputKafkaPqTypedDict": ".inputkafka",
|
|
6995
7027
|
"InputKafkaSASLMechanism": ".inputkafka",
|
|
6996
|
-
"InputKafkaSchemaType": ".inputkafka",
|
|
6997
7028
|
"InputKafkaTLSSettingsClientSide": ".inputkafka",
|
|
6998
7029
|
"InputKafkaTLSSettingsClientSideTypedDict": ".inputkafka",
|
|
6999
7030
|
"InputKafkaType": ".inputkafka",
|
|
@@ -7145,7 +7176,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
7145
7176
|
"InputMskPqControls": ".inputmsk",
|
|
7146
7177
|
"InputMskPqControlsTypedDict": ".inputmsk",
|
|
7147
7178
|
"InputMskPqTypedDict": ".inputmsk",
|
|
7148
|
-
"InputMskSchemaType": ".inputmsk",
|
|
7149
7179
|
"InputMskSignatureVersion": ".inputmsk",
|
|
7150
7180
|
"InputMskTLSSettingsClientSide": ".inputmsk",
|
|
7151
7181
|
"InputMskTLSSettingsClientSideTypedDict": ".inputmsk",
|
|
@@ -7972,7 +8002,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
7972
8002
|
"OutputConfluentCloudQueueFullBehavior": ".outputconfluentcloud",
|
|
7973
8003
|
"OutputConfluentCloudRecordDataFormat": ".outputconfluentcloud",
|
|
7974
8004
|
"OutputConfluentCloudSASLMechanism": ".outputconfluentcloud",
|
|
7975
|
-
"OutputConfluentCloudSchemaType": ".outputconfluentcloud",
|
|
7976
8005
|
"OutputConfluentCloudTLSSettingsClientSide": ".outputconfluentcloud",
|
|
7977
8006
|
"OutputConfluentCloudTLSSettingsClientSideTypedDict": ".outputconfluentcloud",
|
|
7978
8007
|
"OutputConfluentCloudType": ".outputconfluentcloud",
|
|
@@ -8046,6 +8075,19 @@ _dynamic_imports: dict[str, str] = {
|
|
|
8046
8075
|
"OutputCrowdstrikeNextGenSiemTimeoutRetrySettingsTypedDict": ".outputcrowdstrikenextgensiem",
|
|
8047
8076
|
"OutputCrowdstrikeNextGenSiemType": ".outputcrowdstrikenextgensiem",
|
|
8048
8077
|
"OutputCrowdstrikeNextGenSiemTypedDict": ".outputcrowdstrikenextgensiem",
|
|
8078
|
+
"OutputDatabricks": ".outputdatabricks",
|
|
8079
|
+
"OutputDatabricksAuthenticationMethod": ".outputdatabricks",
|
|
8080
|
+
"OutputDatabricksBackpressureBehavior": ".outputdatabricks",
|
|
8081
|
+
"OutputDatabricksCompression": ".outputdatabricks",
|
|
8082
|
+
"OutputDatabricksCompressionLevel": ".outputdatabricks",
|
|
8083
|
+
"OutputDatabricksDataFormat": ".outputdatabricks",
|
|
8084
|
+
"OutputDatabricksDataPageVersion": ".outputdatabricks",
|
|
8085
|
+
"OutputDatabricksDiskSpaceProtection": ".outputdatabricks",
|
|
8086
|
+
"OutputDatabricksKeyValueMetadatum": ".outputdatabricks",
|
|
8087
|
+
"OutputDatabricksKeyValueMetadatumTypedDict": ".outputdatabricks",
|
|
8088
|
+
"OutputDatabricksParquetVersion": ".outputdatabricks",
|
|
8089
|
+
"OutputDatabricksType": ".outputdatabricks",
|
|
8090
|
+
"OutputDatabricksTypedDict": ".outputdatabricks",
|
|
8049
8091
|
"DatadogSite": ".outputdatadog",
|
|
8050
8092
|
"OutputDatadog": ".outputdatadog",
|
|
8051
8093
|
"OutputDatadogAuthenticationMethod": ".outputdatadog",
|
|
@@ -8429,7 +8471,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
8429
8471
|
"OutputKafkaQueueFullBehavior": ".outputkafka",
|
|
8430
8472
|
"OutputKafkaRecordDataFormat": ".outputkafka",
|
|
8431
8473
|
"OutputKafkaSASLMechanism": ".outputkafka",
|
|
8432
|
-
"OutputKafkaSchemaType": ".outputkafka",
|
|
8433
8474
|
"OutputKafkaTLSSettingsClientSide": ".outputkafka",
|
|
8434
8475
|
"OutputKafkaTLSSettingsClientSideTypedDict": ".outputkafka",
|
|
8435
8476
|
"OutputKafkaType": ".outputkafka",
|
|
@@ -8504,7 +8545,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
8504
8545
|
"OutputMskPqControlsTypedDict": ".outputmsk",
|
|
8505
8546
|
"OutputMskQueueFullBehavior": ".outputmsk",
|
|
8506
8547
|
"OutputMskRecordDataFormat": ".outputmsk",
|
|
8507
|
-
"OutputMskSchemaType": ".outputmsk",
|
|
8508
8548
|
"OutputMskSignatureVersion": ".outputmsk",
|
|
8509
8549
|
"OutputMskTLSSettingsClientSide": ".outputmsk",
|
|
8510
8550
|
"OutputMskTLSSettingsClientSideTypedDict": ".outputmsk",
|
|
@@ -9000,8 +9040,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
9000
9040
|
"RbacResource": ".rbacresource",
|
|
9001
9041
|
"ResourcePolicy": ".resourcepolicy",
|
|
9002
9042
|
"ResourcePolicyTypedDict": ".resourcepolicy",
|
|
9003
|
-
"RouteCloneConf": ".routecloneconf",
|
|
9004
|
-
"RouteCloneConfTypedDict": ".routecloneconf",
|
|
9005
9043
|
"RouteConf": ".routeconf",
|
|
9006
9044
|
"RouteConfTypedDict": ".routeconf",
|
|
9007
9045
|
"Comment": ".routes",
|
|
@@ -9020,6 +9058,7 @@ _dynamic_imports: dict[str, str] = {
|
|
|
9020
9058
|
"CollectorSpecificSettings": ".runnablejobcollection",
|
|
9021
9059
|
"CollectorSpecificSettingsTypedDict": ".runnablejobcollection",
|
|
9022
9060
|
"CollectorTypedDict": ".runnablejobcollection",
|
|
9061
|
+
"InputType": ".runnablejobcollection",
|
|
9023
9062
|
"RunnableJobCollection": ".runnablejobcollection",
|
|
9024
9063
|
"RunnableJobCollectionInput": ".runnablejobcollection",
|
|
9025
9064
|
"RunnableJobCollectionInputTypedDict": ".runnablejobcollection",
|
|
@@ -9042,7 +9081,6 @@ _dynamic_imports: dict[str, str] = {
|
|
|
9042
9081
|
"RunnableJobCollectionScheduleTypedDict": ".runnablejobcollection",
|
|
9043
9082
|
"RunnableJobCollectionTimeWarning": ".runnablejobcollection",
|
|
9044
9083
|
"RunnableJobCollectionTimeWarningTypedDict": ".runnablejobcollection",
|
|
9045
|
-
"RunnableJobCollectionType": ".runnablejobcollection",
|
|
9046
9084
|
"RunnableJobCollectionTypedDict": ".runnablejobcollection",
|
|
9047
9085
|
"TimeRange": ".runnablejobcollection",
|
|
9048
9086
|
"WhereToCapture": ".runnablejobcollection",
|
|
@@ -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
|