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