cribl-control-plane 0.2.1rc4__py3-none-any.whl → 0.2.1rc11__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 -4
- cribl_control_plane/acl.py +4 -4
- cribl_control_plane/branches.py +4 -4
- cribl_control_plane/commits.py +28 -28
- cribl_control_plane/commits_files.py +8 -8
- cribl_control_plane/configs_versions.py +4 -8
- cribl_control_plane/destinations.py +20 -20
- cribl_control_plane/destinations_pq.py +8 -8
- cribl_control_plane/groups_sdk.py +26 -50
- cribl_control_plane/hectokens.py +8 -16
- cribl_control_plane/lakedatasets.py +48 -40
- cribl_control_plane/models/__init__.py +260 -393
- cribl_control_plane/models/cacheconnection.py +20 -0
- cribl_control_plane/models/configgroup.py +20 -1
- cribl_control_plane/models/configgroupcloud.py +11 -1
- cribl_control_plane/models/{getversionbranchop.py → countedlistbranchinfo.py} +2 -6
- cribl_control_plane/models/countedlistconfiggroup.py +20 -0
- cribl_control_plane/models/countedlistcribllakedataset.py +20 -0
- cribl_control_plane/models/countedlistdistributedsummary.py +20 -0
- cribl_control_plane/models/countedlistgitcommitsummary.py +20 -0
- cribl_control_plane/models/countedlistgitcountresult.py +20 -0
- cribl_control_plane/models/{createinputop.py → countedlistgitdiffresult.py} +5 -9
- cribl_control_plane/models/countedlistgitfilesresponse.py +20 -0
- cribl_control_plane/models/{getversioninfoop.py → countedlistgitinfo.py} +2 -6
- cribl_control_plane/models/countedlistgitlogresult.py +20 -0
- cribl_control_plane/models/countedlistgitrevertresult.py +20 -0
- cribl_control_plane/models/countedlistgitshowresult.py +20 -0
- cribl_control_plane/models/countedlistgitstatusresult.py +20 -0
- cribl_control_plane/models/{listinputop.py → countedlistinput.py} +2 -6
- cribl_control_plane/models/countedlistinputsplunkhec.py +20 -0
- cribl_control_plane/models/countedlistjobinfo.py +20 -0
- cribl_control_plane/models/countedlistmasterworkerentry.py +20 -0
- cribl_control_plane/models/countedlistnumber.py +19 -0
- cribl_control_plane/models/countedlistobject.py +19 -0
- cribl_control_plane/models/{listoutputop.py → countedlistoutput.py} +2 -6
- cribl_control_plane/models/{createoutputop.py → countedlistoutputsamplesresponse.py} +5 -9
- cribl_control_plane/models/countedlistoutputtestresponse.py +20 -0
- cribl_control_plane/models/countedlistpackinfo.py +20 -0
- cribl_control_plane/models/{createpacksop.py → countedlistpackinstallinfo.py} +2 -6
- cribl_control_plane/models/{listpipelineop.py → countedlistpipeline.py} +2 -6
- cribl_control_plane/models/{listroutesop.py → countedlistroutes.py} +2 -6
- cribl_control_plane/models/{createversionpushop.py → countedliststring.py} +2 -6
- cribl_control_plane/models/{createpipelineop.py → countedlistteamaccesscontrollist.py} +5 -9
- cribl_control_plane/models/countedlistuseraccesscontrollist.py +20 -0
- cribl_control_plane/models/createconfiggroupbyproductop.py +13 -21
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +1 -19
- cribl_control_plane/models/createinputhectokenbyidop.py +1 -20
- cribl_control_plane/models/createoutputtestbyidop.py +1 -20
- cribl_control_plane/models/createroutesappendbyidop.py +2 -20
- cribl_control_plane/models/createversioncommitop.py +1 -19
- cribl_control_plane/models/createversionrevertop.py +1 -19
- cribl_control_plane/models/createversionundoop.py +1 -18
- cribl_control_plane/models/cribllakedataset.py +15 -1
- cribl_control_plane/models/cribllakedatasetupdate.py +15 -1
- cribl_control_plane/models/datasetmetadata.py +11 -1
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +11 -19
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/deleteinputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputpqbyidop.py +1 -19
- cribl_control_plane/models/deletepacksbyidop.py +1 -20
- cribl_control_plane/models/deletepipelinebyidop.py +1 -20
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +20 -18
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +20 -18
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +11 -18
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +11 -18
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +1 -20
- cribl_control_plane/models/getinputbyidop.py +1 -20
- cribl_control_plane/models/getmasterworkerentryop.py +1 -18
- cribl_control_plane/models/getoutputbyidop.py +1 -20
- cribl_control_plane/models/getoutputpqbyidop.py +1 -20
- cribl_control_plane/models/getoutputsamplesbyidop.py +1 -20
- cribl_control_plane/models/getpacksbyidop.py +1 -20
- cribl_control_plane/models/getpacksop.py +1 -19
- cribl_control_plane/models/getpipelinebyidop.py +1 -20
- cribl_control_plane/models/getroutesbyidop.py +1 -20
- cribl_control_plane/models/getsummaryop.py +11 -18
- cribl_control_plane/models/getversioncountop.py +1 -19
- cribl_control_plane/models/getversiondiffop.py +1 -19
- cribl_control_plane/models/getversionfilesop.py +1 -19
- cribl_control_plane/models/getversionop.py +1 -19
- cribl_control_plane/models/getversionshowop.py +1 -19
- cribl_control_plane/models/getversionstatusop.py +1 -19
- cribl_control_plane/models/groupcreaterequest.py +20 -1
- cribl_control_plane/models/hbcriblinfo.py +11 -1
- cribl_control_plane/models/healthserverstatus.py +20 -1
- cribl_control_plane/models/input.py +2 -2
- cribl_control_plane/models/inputappscope.py +56 -1
- cribl_control_plane/models/inputazureblob.py +29 -1
- cribl_control_plane/models/inputcollection.py +20 -1
- cribl_control_plane/models/inputconfluentcloud.py +78 -1
- cribl_control_plane/models/inputcribl.py +20 -1
- cribl_control_plane/models/inputcriblhttp.py +62 -7
- cribl_control_plane/models/inputcribllakehttp.py +38 -1
- cribl_control_plane/models/inputcriblmetrics.py +20 -1
- cribl_control_plane/models/inputcribltcp.py +63 -1
- cribl_control_plane/models/inputcrowdstrike.py +47 -1
- cribl_control_plane/models/inputdatadogagent.py +38 -1
- cribl_control_plane/models/inputdatagen.py +20 -1
- cribl_control_plane/models/inputedgeprometheus.py +94 -1
- cribl_control_plane/models/inputelastic.py +65 -1
- cribl_control_plane/models/inputeventhub.py +58 -1
- cribl_control_plane/models/inputexec.py +29 -1
- cribl_control_plane/models/inputfile.py +40 -7
- cribl_control_plane/models/inputfirehose.py +38 -1
- cribl_control_plane/models/inputgooglepubsub.py +29 -1
- cribl_control_plane/models/inputgrafana.py +110 -1
- cribl_control_plane/models/inputhttp.py +38 -1
- cribl_control_plane/models/inputhttpraw.py +38 -1
- cribl_control_plane/models/inputjournalfiles.py +20 -1
- cribl_control_plane/models/inputkafka.py +74 -1
- cribl_control_plane/models/inputkinesis.py +65 -1
- cribl_control_plane/models/inputkubeevents.py +20 -1
- cribl_control_plane/models/inputkubelogs.py +29 -1
- cribl_control_plane/models/inputkubemetrics.py +29 -1
- cribl_control_plane/models/inputloki.py +47 -1
- cribl_control_plane/models/inputmetrics.py +38 -1
- cribl_control_plane/models/inputmodeldriventelemetry.py +38 -1
- cribl_control_plane/models/inputmsk.py +74 -1
- cribl_control_plane/models/inputnetflow.py +20 -1
- cribl_control_plane/models/inputoffice365mgmt.py +56 -1
- cribl_control_plane/models/inputoffice365msgtrace.py +56 -1
- cribl_control_plane/models/inputoffice365service.py +56 -1
- cribl_control_plane/models/inputopentelemetry.py +65 -1
- cribl_control_plane/models/inputprometheus.py +87 -1
- cribl_control_plane/models/inputprometheusrw.py +47 -1
- cribl_control_plane/models/inputrawudp.py +20 -1
- cribl_control_plane/models/inputs3.py +38 -1
- cribl_control_plane/models/inputs3inventory.py +47 -1
- cribl_control_plane/models/inputsecuritylake.py +47 -1
- cribl_control_plane/models/inputsnmp.py +29 -1
- cribl_control_plane/models/inputsplunk.py +56 -1
- cribl_control_plane/models/inputsplunkhec.py +47 -1
- cribl_control_plane/models/inputsplunksearch.py +56 -1
- cribl_control_plane/models/inputsqs.py +47 -1
- cribl_control_plane/models/inputsyslog.py +74 -1
- cribl_control_plane/models/inputsystemmetrics.py +92 -1
- cribl_control_plane/models/inputsystemstate.py +29 -1
- cribl_control_plane/models/inputtcp.py +47 -1
- cribl_control_plane/models/inputtcpjson.py +47 -1
- cribl_control_plane/models/inputwef.py +65 -1
- cribl_control_plane/models/inputwindowsmetrics.py +83 -1
- cribl_control_plane/models/inputwineventlogs.py +38 -1
- cribl_control_plane/models/inputwiz.py +38 -1
- cribl_control_plane/models/inputwizwebhook.py +38 -1
- cribl_control_plane/models/inputzscalerhec.py +47 -1
- cribl_control_plane/models/jobinfo.py +10 -4
- cribl_control_plane/models/jobstatus.py +34 -3
- cribl_control_plane/models/lakedatasetmetrics.py +17 -0
- cribl_control_plane/models/listconfiggroupbyproductop.py +11 -18
- cribl_control_plane/models/listmasterworkerentryop.py +1 -19
- cribl_control_plane/models/masterworkerentry.py +11 -1
- cribl_control_plane/models/nodeupgradestatus.py +38 -0
- cribl_control_plane/models/output.py +13 -13
- cribl_control_plane/models/outputazureblob.py +83 -1
- cribl_control_plane/models/outputazuredataexplorer.py +148 -1
- cribl_control_plane/models/outputazureeventhub.py +98 -1
- cribl_control_plane/models/outputazurelogs.py +56 -1
- cribl_control_plane/models/outputchronicle.py +56 -1
- cribl_control_plane/models/outputclickhouse.py +92 -1
- cribl_control_plane/models/outputcloudwatch.py +47 -1
- cribl_control_plane/models/outputconfluentcloud.py +125 -1
- cribl_control_plane/models/outputcriblhttp.py +97 -1
- cribl_control_plane/models/outputcribllake.py +76 -1
- cribl_control_plane/models/outputcribltcp.py +99 -1
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +67 -1
- cribl_control_plane/models/outputdatabricks.py +69 -5
- cribl_control_plane/models/outputdatadog.py +83 -1
- cribl_control_plane/models/outputdataset.py +74 -1
- cribl_control_plane/models/outputdiskspool.py +11 -1
- cribl_control_plane/models/outputdls3.py +110 -1
- cribl_control_plane/models/outputdynatracehttp.py +92 -1
- cribl_control_plane/models/outputdynatraceotlp.py +92 -1
- cribl_control_plane/models/outputelastic.py +74 -1
- cribl_control_plane/models/outputelasticcloud.py +56 -1
- cribl_control_plane/models/outputexabeam.py +47 -1
- cribl_control_plane/models/outputfilesystem.py +65 -1
- cribl_control_plane/models/outputgooglechronicle.py +83 -1
- cribl_control_plane/models/outputgooglecloudlogging.py +65 -1
- cribl_control_plane/models/outputgooglecloudstorage.py +101 -1
- cribl_control_plane/models/outputgooglepubsub.py +47 -1
- cribl_control_plane/models/outputgrafanacloud.py +146 -1
- cribl_control_plane/models/outputgraphite.py +47 -1
- cribl_control_plane/models/outputhoneycomb.py +56 -1
- cribl_control_plane/models/outputhumiohec.py +65 -1
- cribl_control_plane/models/outputinfluxdb.py +65 -1
- cribl_control_plane/models/outputkafka.py +121 -1
- cribl_control_plane/models/outputkinesis.py +65 -1
- cribl_control_plane/models/outputloki.py +65 -1
- cribl_control_plane/models/outputminio.py +110 -1
- cribl_control_plane/models/outputmsk.py +121 -1
- cribl_control_plane/models/outputnewrelic.py +74 -1
- cribl_control_plane/models/outputnewrelicevents.py +65 -1
- cribl_control_plane/models/outputopentelemetry.py +110 -1
- cribl_control_plane/models/outputprometheus.py +56 -1
- cribl_control_plane/models/outputring.py +29 -1
- cribl_control_plane/models/outputs3.py +110 -1
- cribl_control_plane/models/outputsecuritylake.py +85 -1
- cribl_control_plane/models/outputsentinel.py +74 -1
- cribl_control_plane/models/outputsentineloneaisiem.py +74 -1
- cribl_control_plane/models/outputservicenow.py +101 -1
- cribl_control_plane/models/outputsignalfx.py +56 -1
- cribl_control_plane/models/outputsns.py +56 -1
- cribl_control_plane/models/outputsplunk.py +92 -1
- cribl_control_plane/models/outputsplunkhec.py +149 -1
- cribl_control_plane/models/outputsplunklb.py +121 -1
- cribl_control_plane/models/outputsqs.py +65 -1
- cribl_control_plane/models/outputstatsd.py +47 -1
- cribl_control_plane/models/outputstatsdext.py +47 -1
- cribl_control_plane/models/outputsumologic.py +56 -1
- cribl_control_plane/models/outputsyslog.py +110 -1
- cribl_control_plane/models/outputtcpjson.py +83 -1
- cribl_control_plane/models/outputwavefront.py +56 -1
- cribl_control_plane/models/outputwebhook.py +92 -1
- cribl_control_plane/models/outputxsiam.py +56 -1
- cribl_control_plane/models/resourcepolicy.py +11 -0
- cribl_control_plane/models/runnablejobcollection.py +64 -1
- cribl_control_plane/models/runnablejobexecutor.py +24 -1
- cribl_control_plane/models/runnablejobscheduledsearch.py +15 -1
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +11 -18
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +11 -19
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/updateinputbyidop.py +1 -19
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +1 -20
- cribl_control_plane/models/updateoutputbyidop.py +1 -19
- cribl_control_plane/models/updatepacksbyidop.py +1 -20
- cribl_control_plane/models/updatepipelinebyidop.py +1 -19
- cribl_control_plane/models/updateroutesbyidop.py +1 -19
- cribl_control_plane/nodes.py +8 -12
- cribl_control_plane/packs.py +20 -20
- cribl_control_plane/pipelines.py +20 -20
- cribl_control_plane/routes_sdk.py +16 -20
- cribl_control_plane/samples.py +8 -8
- cribl_control_plane/sdk.py +2 -2
- cribl_control_plane/sources.py +20 -20
- cribl_control_plane/statuses.py +4 -4
- cribl_control_plane/summaries.py +8 -4
- cribl_control_plane/teams.py +4 -4
- cribl_control_plane/versions_configs.py +4 -4
- {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/METADATA +25 -7
- cribl_control_plane-0.2.1rc11.dist-info/RECORD +350 -0
- cribl_control_plane-0.2.1rc4.dist-info/RECORD +0 -331
- {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/WHEEL +0 -0
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .routes import Routes, RoutesTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
-
from
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
class GetRoutesByIDRequestTypedDict(TypedDict):
|
|
@@ -18,20 +16,3 @@ class GetRoutesByIDRequest(BaseModel):
|
|
|
18
16
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
17
|
]
|
|
20
18
|
r"""The <code>id</code> of the Routing table to get. The supported value is <code>default</code>."""
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class GetRoutesByIDResponseTypedDict(TypedDict):
|
|
24
|
-
r"""a list of Routes objects"""
|
|
25
|
-
|
|
26
|
-
count: NotRequired[int]
|
|
27
|
-
r"""number of items present in the items array"""
|
|
28
|
-
items: NotRequired[List[RoutesTypedDict]]
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
class GetRoutesByIDResponse(BaseModel):
|
|
32
|
-
r"""a list of Routes objects"""
|
|
33
|
-
|
|
34
|
-
count: Optional[int] = None
|
|
35
|
-
r"""number of items present in the items array"""
|
|
36
|
-
|
|
37
|
-
items: Optional[List[Routes]] = None
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .distributedsummary import DistributedSummary, DistributedSummaryTypedDict
|
|
5
4
|
from .workertypes import WorkerTypes
|
|
5
|
+
from cribl_control_plane import models
|
|
6
6
|
from cribl_control_plane.types import BaseModel
|
|
7
7
|
from cribl_control_plane.utils import (
|
|
8
8
|
FieldMetadata,
|
|
9
9
|
QueryParamMetadata,
|
|
10
10
|
validate_open_enum,
|
|
11
11
|
)
|
|
12
|
+
from pydantic import field_serializer
|
|
12
13
|
from pydantic.functional_validators import PlainValidator
|
|
13
|
-
from typing import
|
|
14
|
+
from typing import Optional
|
|
14
15
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
15
16
|
|
|
16
17
|
|
|
@@ -26,19 +27,11 @@ class GetSummaryRequest(BaseModel):
|
|
|
26
27
|
] = None
|
|
27
28
|
r"""Filter for limiting the response by Cribl product: Cribl Stream (<code>worker</code>) or Cribl Edge (<code>managed-edge</code>)."""
|
|
28
29
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
class GetSummaryResponse(BaseModel):
|
|
39
|
-
r"""a list of DistributedSummary objects"""
|
|
40
|
-
|
|
41
|
-
count: Optional[int] = None
|
|
42
|
-
r"""number of items present in the items array"""
|
|
43
|
-
|
|
44
|
-
items: Optional[List[DistributedSummary]] = None
|
|
30
|
+
@field_serializer("mode")
|
|
31
|
+
def serialize_mode(self, value):
|
|
32
|
+
if isinstance(value, str):
|
|
33
|
+
try:
|
|
34
|
+
return models.WorkerTypes(value)
|
|
35
|
+
except ValueError:
|
|
36
|
+
return value
|
|
37
|
+
return value
|
|
@@ -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 .gitcountresult import GitCountResult, GitCountResultTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
7
6
|
import pydantic
|
|
8
|
-
from typing import
|
|
7
|
+
from typing import Optional
|
|
9
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
9
|
|
|
11
10
|
|
|
@@ -30,20 +29,3 @@ class GetVersionCountRequest(BaseModel):
|
|
|
30
29
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
31
30
|
] = None
|
|
32
31
|
r"""The Git commit hash to use as the starting point for the count."""
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
class GetVersionCountResponseTypedDict(TypedDict):
|
|
36
|
-
r"""a list of GitCountResult objects"""
|
|
37
|
-
|
|
38
|
-
count: NotRequired[int]
|
|
39
|
-
r"""number of items present in the items array"""
|
|
40
|
-
items: NotRequired[List[GitCountResultTypedDict]]
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
class GetVersionCountResponse(BaseModel):
|
|
44
|
-
r"""a list of GitCountResult objects"""
|
|
45
|
-
|
|
46
|
-
count: Optional[int] = None
|
|
47
|
-
r"""number of items present in the items array"""
|
|
48
|
-
|
|
49
|
-
items: Optional[List[GitCountResult]] = None
|
|
@@ -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 .gitdiffresult import GitDiffResult, GitDiffResultTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
7
6
|
import pydantic
|
|
8
|
-
from typing import
|
|
7
|
+
from typing import Optional
|
|
9
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
9
|
|
|
11
10
|
|
|
@@ -46,20 +45,3 @@ class GetVersionDiffRequest(BaseModel):
|
|
|
46
45
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
47
46
|
] = None
|
|
48
47
|
r"""Number of lines of the diff to return. Default is 1000. Set to <code>0</code> to return the full diff, regardless of the number of lines."""
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
class GetVersionDiffResponseTypedDict(TypedDict):
|
|
52
|
-
r"""a list of GitDiffResult objects"""
|
|
53
|
-
|
|
54
|
-
count: NotRequired[int]
|
|
55
|
-
r"""number of items present in the items array"""
|
|
56
|
-
items: NotRequired[List[GitDiffResultTypedDict]]
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
class GetVersionDiffResponse(BaseModel):
|
|
60
|
-
r"""a list of GitDiffResult objects"""
|
|
61
|
-
|
|
62
|
-
count: Optional[int] = None
|
|
63
|
-
r"""number of items present in the items array"""
|
|
64
|
-
|
|
65
|
-
items: Optional[List[GitDiffResult]] = None
|
|
@@ -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 .gitfilesresponse import GitFilesResponse, GitFilesResponseTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
7
6
|
import pydantic
|
|
8
|
-
from typing import
|
|
7
|
+
from typing import Optional
|
|
9
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
9
|
|
|
11
10
|
|
|
@@ -30,20 +29,3 @@ class GetVersionFilesRequest(BaseModel):
|
|
|
30
29
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
31
30
|
] = None
|
|
32
31
|
r"""The Git commit hash to use as the starting point for the request."""
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
class GetVersionFilesResponseTypedDict(TypedDict):
|
|
36
|
-
r"""a list of GitFilesResponse objects"""
|
|
37
|
-
|
|
38
|
-
count: NotRequired[int]
|
|
39
|
-
r"""number of items present in the items array"""
|
|
40
|
-
items: NotRequired[List[GitFilesResponseTypedDict]]
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
class GetVersionFilesResponse(BaseModel):
|
|
44
|
-
r"""a list of GitFilesResponse objects"""
|
|
45
|
-
|
|
46
|
-
count: Optional[int] = None
|
|
47
|
-
r"""number of items present in the items array"""
|
|
48
|
-
|
|
49
|
-
items: Optional[List[GitFilesResponse]] = None
|
|
@@ -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 .gitlogresult import GitLogResult, GitLogResultTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
7
6
|
import pydantic
|
|
8
|
-
from typing import
|
|
7
|
+
from typing import Optional
|
|
9
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
9
|
|
|
11
10
|
|
|
@@ -29,20 +28,3 @@ class GetVersionRequest(BaseModel):
|
|
|
29
28
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
30
29
|
] = None
|
|
31
30
|
r"""Maximum number of commits to return in the response for this request."""
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
class GetVersionResponseTypedDict(TypedDict):
|
|
35
|
-
r"""a list of GitLogResult objects"""
|
|
36
|
-
|
|
37
|
-
count: NotRequired[int]
|
|
38
|
-
r"""number of items present in the items array"""
|
|
39
|
-
items: NotRequired[List[GitLogResultTypedDict]]
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
class GetVersionResponse(BaseModel):
|
|
43
|
-
r"""a list of GitLogResult objects"""
|
|
44
|
-
|
|
45
|
-
count: Optional[int] = None
|
|
46
|
-
r"""number of items present in the items array"""
|
|
47
|
-
|
|
48
|
-
items: Optional[List[GitLogResult]] = None
|
|
@@ -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 .gitshowresult import GitShowResult, GitShowResultTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
7
6
|
import pydantic
|
|
8
|
-
from typing import
|
|
7
|
+
from typing import Optional
|
|
9
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
9
|
|
|
11
10
|
|
|
@@ -46,20 +45,3 @@ class GetVersionShowRequest(BaseModel):
|
|
|
46
45
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
47
46
|
] = None
|
|
48
47
|
r"""Number of lines of the diff to return. Default is 1000. Set to <code>0</code> to return the full diff, regardless of the number of lines."""
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
class GetVersionShowResponseTypedDict(TypedDict):
|
|
52
|
-
r"""a list of GitShowResult objects"""
|
|
53
|
-
|
|
54
|
-
count: NotRequired[int]
|
|
55
|
-
r"""number of items present in the items array"""
|
|
56
|
-
items: NotRequired[List[GitShowResultTypedDict]]
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
class GetVersionShowResponse(BaseModel):
|
|
60
|
-
r"""a list of GitShowResult objects"""
|
|
61
|
-
|
|
62
|
-
count: Optional[int] = None
|
|
63
|
-
r"""number of items present in the items array"""
|
|
64
|
-
|
|
65
|
-
items: Optional[List[GitShowResult]] = None
|
|
@@ -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 .gitstatusresult import GitStatusResult, GitStatusResultTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
7
6
|
import pydantic
|
|
8
|
-
from typing import
|
|
7
|
+
from typing import Optional
|
|
9
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
9
|
|
|
11
10
|
|
|
@@ -21,20 +20,3 @@ class GetVersionStatusRequest(BaseModel):
|
|
|
21
20
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
22
21
|
] = None
|
|
23
22
|
r"""The <code>id</code> of the Worker Group or Edge Fleet to get the status for."""
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
class GetVersionStatusResponseTypedDict(TypedDict):
|
|
27
|
-
r"""a list of GitStatusResult objects"""
|
|
28
|
-
|
|
29
|
-
count: NotRequired[int]
|
|
30
|
-
r"""number of items present in the items array"""
|
|
31
|
-
items: NotRequired[List[GitStatusResultTypedDict]]
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
class GetVersionStatusResponse(BaseModel):
|
|
35
|
-
r"""a list of GitStatusResult objects"""
|
|
36
|
-
|
|
37
|
-
count: Optional[int] = None
|
|
38
|
-
r"""number of items present in the items array"""
|
|
39
|
-
|
|
40
|
-
items: Optional[List[GitStatusResult]] = None
|
|
@@ -4,11 +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
|
+
from cribl_control_plane import models, utils
|
|
8
8
|
from cribl_control_plane.types import BaseModel
|
|
9
9
|
from cribl_control_plane.utils import validate_open_enum
|
|
10
10
|
from enum import Enum
|
|
11
11
|
import pydantic
|
|
12
|
+
from pydantic import field_serializer
|
|
12
13
|
from pydantic.functional_validators import PlainValidator
|
|
13
14
|
from typing import List, Optional
|
|
14
15
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -150,3 +151,21 @@ class GroupCreateRequest(BaseModel):
|
|
|
150
151
|
worker_remote_access: Annotated[
|
|
151
152
|
Optional[bool], pydantic.Field(alias="workerRemoteAccess")
|
|
152
153
|
] = None
|
|
154
|
+
|
|
155
|
+
@field_serializer("estimated_ingest_rate")
|
|
156
|
+
def serialize_estimated_ingest_rate(self, value):
|
|
157
|
+
if isinstance(value, str):
|
|
158
|
+
try:
|
|
159
|
+
return models.GroupCreateRequestEstimatedIngestRate(value)
|
|
160
|
+
except ValueError:
|
|
161
|
+
return value
|
|
162
|
+
return value
|
|
163
|
+
|
|
164
|
+
@field_serializer("type")
|
|
165
|
+
def serialize_type(self, value):
|
|
166
|
+
if isinstance(value, str):
|
|
167
|
+
try:
|
|
168
|
+
return models.GroupCreateRequestType(value)
|
|
169
|
+
except ValueError:
|
|
170
|
+
return value
|
|
171
|
+
return value
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .hbleaderinfo import HBLeaderInfo, HBLeaderInfoTypedDict
|
|
5
5
|
from .lookupversions import LookupVersions, LookupVersionsTypedDict
|
|
6
|
-
from cribl_control_plane import utils
|
|
6
|
+
from cribl_control_plane import models, utils
|
|
7
7
|
from cribl_control_plane.types import BaseModel
|
|
8
8
|
from cribl_control_plane.utils import validate_open_enum
|
|
9
9
|
from enum import Enum
|
|
10
10
|
import pydantic
|
|
11
|
+
from pydantic import field_serializer
|
|
11
12
|
from pydantic.functional_validators import PlainValidator
|
|
12
13
|
from typing import List, Optional
|
|
13
14
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -104,3 +105,12 @@ class HBCriblInfo(BaseModel):
|
|
|
104
105
|
)
|
|
105
106
|
|
|
106
107
|
version: Optional[str] = None
|
|
108
|
+
|
|
109
|
+
@field_serializer("dist_mode")
|
|
110
|
+
def serialize_dist_mode(self, value):
|
|
111
|
+
if isinstance(value, str):
|
|
112
|
+
try:
|
|
113
|
+
return models.DistMode(value)
|
|
114
|
+
except ValueError:
|
|
115
|
+
return value
|
|
116
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -34,3 +35,21 @@ class HealthServerStatus(BaseModel):
|
|
|
34
35
|
status: Annotated[Status, PlainValidator(validate_open_enum(False))]
|
|
35
36
|
|
|
36
37
|
role: Annotated[Optional[Role], PlainValidator(validate_open_enum(False))] = None
|
|
38
|
+
|
|
39
|
+
@field_serializer("role")
|
|
40
|
+
def serialize_role(self, value):
|
|
41
|
+
if isinstance(value, str):
|
|
42
|
+
try:
|
|
43
|
+
return models.Role(value)
|
|
44
|
+
except ValueError:
|
|
45
|
+
return value
|
|
46
|
+
return value
|
|
47
|
+
|
|
48
|
+
@field_serializer("status")
|
|
49
|
+
def serialize_status(self, value):
|
|
50
|
+
if isinstance(value, str):
|
|
51
|
+
try:
|
|
52
|
+
return models.Status(value)
|
|
53
|
+
except ValueError:
|
|
54
|
+
return value
|
|
55
|
+
return value
|
|
@@ -92,8 +92,8 @@ InputTypedDict = TypeAliasType(
|
|
|
92
92
|
InputSnmpTypedDict,
|
|
93
93
|
InputMetricsTypedDict,
|
|
94
94
|
InputWinEventLogsTypedDict,
|
|
95
|
-
InputCriblTCPTypedDict,
|
|
96
95
|
InputNetflowTypedDict,
|
|
96
|
+
InputCriblTCPTypedDict,
|
|
97
97
|
InputTcpjsonTypedDict,
|
|
98
98
|
InputGooglePubsubTypedDict,
|
|
99
99
|
InputOffice365ServiceTypedDict,
|
|
@@ -102,9 +102,9 @@ InputTypedDict = TypeAliasType(
|
|
|
102
102
|
InputCriblHTTPTypedDict,
|
|
103
103
|
InputDatadogAgentTypedDict,
|
|
104
104
|
InputOffice365MgmtTypedDict,
|
|
105
|
-
InputFileTypedDict,
|
|
106
105
|
InputTCPTypedDict,
|
|
107
106
|
InputSplunkTypedDict,
|
|
107
|
+
InputFileTypedDict,
|
|
108
108
|
InputAppscopeTypedDict,
|
|
109
109
|
InputWefTypedDict,
|
|
110
110
|
InputHTTPRawTypedDict,
|
|
@@ -1,11 +1,12 @@
|
|
|
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
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -106,6 +107,24 @@ class InputAppscopePq(BaseModel):
|
|
|
106
107
|
Optional[InputAppscopePqControls], pydantic.Field(alias="pqControls")
|
|
107
108
|
] = None
|
|
108
109
|
|
|
110
|
+
@field_serializer("mode")
|
|
111
|
+
def serialize_mode(self, value):
|
|
112
|
+
if isinstance(value, str):
|
|
113
|
+
try:
|
|
114
|
+
return models.InputAppscopeMode(value)
|
|
115
|
+
except ValueError:
|
|
116
|
+
return value
|
|
117
|
+
return value
|
|
118
|
+
|
|
119
|
+
@field_serializer("compress")
|
|
120
|
+
def serialize_compress(self, value):
|
|
121
|
+
if isinstance(value, str):
|
|
122
|
+
try:
|
|
123
|
+
return models.InputAppscopeCompression(value)
|
|
124
|
+
except ValueError:
|
|
125
|
+
return value
|
|
126
|
+
return value
|
|
127
|
+
|
|
109
128
|
|
|
110
129
|
class InputAppscopeMetadatumTypedDict(TypedDict):
|
|
111
130
|
name: str
|
|
@@ -197,6 +216,15 @@ class InputAppscopePersistence(BaseModel):
|
|
|
197
216
|
)
|
|
198
217
|
r"""Path to use to write metrics. Defaults to $CRIBL_HOME/state/appscope"""
|
|
199
218
|
|
|
219
|
+
@field_serializer("compress")
|
|
220
|
+
def serialize_compress(self, value):
|
|
221
|
+
if isinstance(value, str):
|
|
222
|
+
try:
|
|
223
|
+
return models.InputAppscopeDataCompressionFormat(value)
|
|
224
|
+
except ValueError:
|
|
225
|
+
return value
|
|
226
|
+
return value
|
|
227
|
+
|
|
200
228
|
|
|
201
229
|
class InputAppscopeAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
202
230
|
r"""Select Manual to enter an auth token directly, or select Secret to use a text secret to authenticate"""
|
|
@@ -290,6 +318,24 @@ class InputAppscopeTLSSettingsServerSide(BaseModel):
|
|
|
290
318
|
pydantic.Field(alias="maxVersion"),
|
|
291
319
|
] = None
|
|
292
320
|
|
|
321
|
+
@field_serializer("min_version")
|
|
322
|
+
def serialize_min_version(self, value):
|
|
323
|
+
if isinstance(value, str):
|
|
324
|
+
try:
|
|
325
|
+
return models.InputAppscopeMinimumTLSVersion(value)
|
|
326
|
+
except ValueError:
|
|
327
|
+
return value
|
|
328
|
+
return value
|
|
329
|
+
|
|
330
|
+
@field_serializer("max_version")
|
|
331
|
+
def serialize_max_version(self, value):
|
|
332
|
+
if isinstance(value, str):
|
|
333
|
+
try:
|
|
334
|
+
return models.InputAppscopeMaximumTLSVersion(value)
|
|
335
|
+
except ValueError:
|
|
336
|
+
return value
|
|
337
|
+
return value
|
|
338
|
+
|
|
293
339
|
|
|
294
340
|
class InputAppscopeTypedDict(TypedDict):
|
|
295
341
|
type: InputAppscopeType
|
|
@@ -467,3 +513,12 @@ class InputAppscope(BaseModel):
|
|
|
467
513
|
|
|
468
514
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
469
515
|
r"""Select or create a stored text secret"""
|
|
516
|
+
|
|
517
|
+
@field_serializer("auth_type")
|
|
518
|
+
def serialize_auth_type(self, value):
|
|
519
|
+
if isinstance(value, str):
|
|
520
|
+
try:
|
|
521
|
+
return models.InputAppscopeAuthenticationMethod(value)
|
|
522
|
+
except ValueError:
|
|
523
|
+
return value
|
|
524
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -106,6 +107,24 @@ class InputAzureBlobPq(BaseModel):
|
|
|
106
107
|
Optional[InputAzureBlobPqControls], pydantic.Field(alias="pqControls")
|
|
107
108
|
] = None
|
|
108
109
|
|
|
110
|
+
@field_serializer("mode")
|
|
111
|
+
def serialize_mode(self, value):
|
|
112
|
+
if isinstance(value, str):
|
|
113
|
+
try:
|
|
114
|
+
return models.InputAzureBlobMode(value)
|
|
115
|
+
except ValueError:
|
|
116
|
+
return value
|
|
117
|
+
return value
|
|
118
|
+
|
|
119
|
+
@field_serializer("compress")
|
|
120
|
+
def serialize_compress(self, value):
|
|
121
|
+
if isinstance(value, str):
|
|
122
|
+
try:
|
|
123
|
+
return models.InputAzureBlobCompression(value)
|
|
124
|
+
except ValueError:
|
|
125
|
+
return value
|
|
126
|
+
return value
|
|
127
|
+
|
|
109
128
|
|
|
110
129
|
class InputAzureBlobMetadatumTypedDict(TypedDict):
|
|
111
130
|
name: str
|
|
@@ -323,3 +342,12 @@ class InputAzureBlob(BaseModel):
|
|
|
323
342
|
r"""Select or create a stored text secret"""
|
|
324
343
|
|
|
325
344
|
certificate: Optional[InputAzureBlobCertificate] = None
|
|
345
|
+
|
|
346
|
+
@field_serializer("auth_type")
|
|
347
|
+
def serialize_auth_type(self, value):
|
|
348
|
+
if isinstance(value, str):
|
|
349
|
+
try:
|
|
350
|
+
return models.InputAzureBlobAuthenticationMethod(value)
|
|
351
|
+
except ValueError:
|
|
352
|
+
return value
|
|
353
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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
|
+
from cribl_control_plane import models, utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
+
from pydantic import field_serializer
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -106,6 +107,24 @@ class InputCollectionPq(BaseModel):
|
|
|
106
107
|
Optional[InputCollectionPqControls], pydantic.Field(alias="pqControls")
|
|
107
108
|
] = None
|
|
108
109
|
|
|
110
|
+
@field_serializer("mode")
|
|
111
|
+
def serialize_mode(self, value):
|
|
112
|
+
if isinstance(value, str):
|
|
113
|
+
try:
|
|
114
|
+
return models.InputCollectionMode(value)
|
|
115
|
+
except ValueError:
|
|
116
|
+
return value
|
|
117
|
+
return value
|
|
118
|
+
|
|
119
|
+
@field_serializer("compress")
|
|
120
|
+
def serialize_compress(self, value):
|
|
121
|
+
if isinstance(value, str):
|
|
122
|
+
try:
|
|
123
|
+
return models.InputCollectionCompression(value)
|
|
124
|
+
except ValueError:
|
|
125
|
+
return value
|
|
126
|
+
return value
|
|
127
|
+
|
|
109
128
|
|
|
110
129
|
class InputCollectionPreprocessTypedDict(TypedDict):
|
|
111
130
|
disabled: NotRequired[bool]
|