cribl-control-plane 0.2.1rc7__py3-none-any.whl → 0.3.0a1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/errors/__init__.py +5 -8
- cribl_control_plane/errors/{healthserverstatus_error.py → healthstatus_error.py} +9 -10
- cribl_control_plane/groups_sdk.py +28 -52
- cribl_control_plane/health.py +16 -22
- cribl_control_plane/models/__init__.py +54 -217
- cribl_control_plane/models/appmode.py +14 -0
- cribl_control_plane/models/authtoken.py +1 -5
- cribl_control_plane/models/cacheconnection.py +0 -20
- cribl_control_plane/models/configgroup.py +7 -55
- cribl_control_plane/models/configgroupcloud.py +1 -11
- cribl_control_plane/models/createconfiggroupbyproductop.py +5 -17
- cribl_control_plane/models/createroutesappendbyidop.py +2 -2
- cribl_control_plane/models/createversionundoop.py +3 -3
- cribl_control_plane/models/cribllakedataset.py +1 -11
- cribl_control_plane/models/cribllakedatasetupdate.py +1 -11
- cribl_control_plane/models/datasetmetadata.py +1 -11
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/deleteoutputpqbyidop.py +2 -2
- cribl_control_plane/models/distributedsummary.py +0 -6
- cribl_control_plane/models/error.py +16 -0
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +0 -20
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +0 -20
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +0 -11
- cribl_control_plane/models/gethealthinfoop.py +17 -0
- cribl_control_plane/models/getsummaryop.py +0 -11
- cribl_control_plane/models/hbcriblinfo.py +3 -24
- cribl_control_plane/models/{healthserverstatus.py → healthstatus.py} +8 -27
- cribl_control_plane/models/heartbeatmetadata.py +0 -3
- cribl_control_plane/models/input.py +78 -80
- cribl_control_plane/models/inputappscope.py +17 -80
- cribl_control_plane/models/inputazureblob.py +1 -33
- cribl_control_plane/models/inputcollection.py +1 -24
- cribl_control_plane/models/inputconfluentcloud.py +18 -195
- cribl_control_plane/models/inputcribl.py +1 -24
- cribl_control_plane/models/inputcriblhttp.py +17 -62
- cribl_control_plane/models/inputcribllakehttp.py +17 -62
- cribl_control_plane/models/inputcriblmetrics.py +1 -24
- cribl_control_plane/models/inputcribltcp.py +17 -62
- cribl_control_plane/models/inputcrowdstrike.py +1 -54
- cribl_control_plane/models/inputdatadogagent.py +17 -62
- cribl_control_plane/models/inputdatagen.py +1 -24
- cribl_control_plane/models/inputedgeprometheus.py +34 -147
- cribl_control_plane/models/inputelastic.py +27 -119
- cribl_control_plane/models/inputeventhub.py +1 -182
- cribl_control_plane/models/inputexec.py +1 -33
- cribl_control_plane/models/inputfile.py +3 -42
- cribl_control_plane/models/inputfirehose.py +17 -62
- cribl_control_plane/models/inputgooglepubsub.py +1 -36
- cribl_control_plane/models/inputgrafana.py +32 -157
- cribl_control_plane/models/inputhttp.py +17 -62
- cribl_control_plane/models/inputhttpraw.py +17 -62
- cribl_control_plane/models/inputjournalfiles.py +1 -24
- cribl_control_plane/models/inputkafka.py +17 -189
- cribl_control_plane/models/inputkinesis.py +1 -80
- cribl_control_plane/models/inputkubeevents.py +1 -24
- cribl_control_plane/models/inputkubelogs.py +1 -33
- cribl_control_plane/models/inputkubemetrics.py +1 -33
- cribl_control_plane/models/inputloki.py +17 -71
- cribl_control_plane/models/inputmetrics.py +17 -62
- cribl_control_plane/models/inputmodeldriventelemetry.py +17 -62
- cribl_control_plane/models/inputmsk.py +18 -81
- cribl_control_plane/models/inputnetflow.py +1 -24
- cribl_control_plane/models/inputoffice365mgmt.py +1 -67
- cribl_control_plane/models/inputoffice365msgtrace.py +1 -67
- cribl_control_plane/models/inputoffice365service.py +1 -67
- cribl_control_plane/models/inputopentelemetry.py +16 -92
- cribl_control_plane/models/inputprometheus.py +34 -138
- cribl_control_plane/models/inputprometheusrw.py +17 -71
- cribl_control_plane/models/inputrawudp.py +1 -24
- cribl_control_plane/models/inputs3.py +1 -45
- cribl_control_plane/models/inputs3inventory.py +1 -54
- cribl_control_plane/models/inputsecuritylake.py +1 -54
- cribl_control_plane/models/inputsnmp.py +1 -40
- cribl_control_plane/models/inputsplunk.py +17 -85
- cribl_control_plane/models/inputsplunkhec.py +16 -70
- cribl_control_plane/models/inputsplunksearch.py +1 -63
- cribl_control_plane/models/inputsqs.py +1 -56
- cribl_control_plane/models/inputsyslog.py +32 -121
- cribl_control_plane/models/inputsystemmetrics.py +9 -142
- cribl_control_plane/models/inputsystemstate.py +1 -33
- cribl_control_plane/models/inputtcp.py +17 -81
- cribl_control_plane/models/inputtcpjson.py +17 -71
- cribl_control_plane/models/inputwef.py +1 -71
- cribl_control_plane/models/inputwindowsmetrics.py +9 -129
- cribl_control_plane/models/inputwineventlogs.py +1 -60
- cribl_control_plane/models/inputwiz.py +1 -45
- cribl_control_plane/models/inputwizwebhook.py +17 -62
- cribl_control_plane/models/inputzscalerhec.py +16 -70
- cribl_control_plane/models/jobinfo.py +1 -4
- cribl_control_plane/models/jobstatus.py +3 -34
- cribl_control_plane/models/listconfiggroupbyproductop.py +0 -11
- cribl_control_plane/models/logininfo.py +3 -3
- cribl_control_plane/models/masterworkerentry.py +1 -11
- cribl_control_plane/models/nodeprovidedinfo.py +1 -11
- cribl_control_plane/models/nodeupgradestatus.py +0 -38
- cribl_control_plane/models/output.py +88 -93
- cribl_control_plane/models/outputazureblob.py +1 -110
- cribl_control_plane/models/outputazuredataexplorer.py +87 -452
- cribl_control_plane/models/outputazureeventhub.py +19 -281
- cribl_control_plane/models/outputazurelogs.py +19 -115
- cribl_control_plane/models/outputchronicle.py +19 -115
- cribl_control_plane/models/outputclickhouse.py +19 -155
- cribl_control_plane/models/outputcloudwatch.py +19 -106
- cribl_control_plane/models/outputconfluentcloud.py +38 -311
- cribl_control_plane/models/outputcriblhttp.py +19 -135
- cribl_control_plane/models/outputcribllake.py +1 -97
- cribl_control_plane/models/outputcribltcp.py +19 -132
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +20 -129
- cribl_control_plane/models/outputdatadog.py +19 -159
- cribl_control_plane/models/outputdataset.py +19 -143
- cribl_control_plane/models/outputdiskspool.py +1 -11
- cribl_control_plane/models/outputdls3.py +1 -152
- cribl_control_plane/models/outputdynatracehttp.py +19 -160
- cribl_control_plane/models/outputdynatraceotlp.py +19 -160
- cribl_control_plane/models/outputelastic.py +19 -163
- cribl_control_plane/models/outputelasticcloud.py +19 -140
- cribl_control_plane/models/outputexabeam.py +1 -61
- cribl_control_plane/models/outputfilesystem.py +1 -87
- cribl_control_plane/models/outputgooglechronicle.py +20 -166
- cribl_control_plane/models/outputgooglecloudlogging.py +20 -131
- cribl_control_plane/models/outputgooglecloudstorage.py +1 -136
- cribl_control_plane/models/outputgooglepubsub.py +19 -106
- cribl_control_plane/models/outputgrafanacloud.py +37 -288
- cribl_control_plane/models/outputgraphite.py +19 -105
- cribl_control_plane/models/outputhoneycomb.py +19 -115
- cribl_control_plane/models/outputhumiohec.py +19 -126
- cribl_control_plane/models/outputinfluxdb.py +19 -130
- cribl_control_plane/models/outputkafka.py +34 -302
- cribl_control_plane/models/outputkinesis.py +19 -133
- cribl_control_plane/models/outputloki.py +17 -129
- cribl_control_plane/models/outputminio.py +1 -145
- cribl_control_plane/models/outputmsk.py +34 -193
- cribl_control_plane/models/outputnewrelic.py +19 -136
- cribl_control_plane/models/outputnewrelicevents.py +20 -128
- cribl_control_plane/models/outputopentelemetry.py +19 -178
- cribl_control_plane/models/outputprometheus.py +19 -115
- cribl_control_plane/models/outputring.py +1 -31
- cribl_control_plane/models/outputs3.py +1 -152
- cribl_control_plane/models/outputsecuritylake.py +1 -114
- cribl_control_plane/models/outputsentinel.py +19 -135
- cribl_control_plane/models/outputsentineloneaisiem.py +20 -134
- cribl_control_plane/models/outputservicenow.py +19 -168
- cribl_control_plane/models/outputsignalfx.py +19 -115
- cribl_control_plane/models/outputsns.py +17 -113
- cribl_control_plane/models/outputsplunk.py +19 -153
- cribl_control_plane/models/outputsplunkhec.py +19 -208
- cribl_control_plane/models/outputsplunklb.py +19 -182
- cribl_control_plane/models/outputsqs.py +17 -124
- cribl_control_plane/models/outputstatsd.py +19 -105
- cribl_control_plane/models/outputstatsdext.py +19 -105
- cribl_control_plane/models/outputsumologic.py +19 -117
- cribl_control_plane/models/outputsyslog.py +96 -259
- cribl_control_plane/models/outputtcpjson.py +19 -141
- cribl_control_plane/models/outputwavefront.py +19 -115
- cribl_control_plane/models/outputwebhook.py +19 -161
- cribl_control_plane/models/outputxsiam.py +17 -113
- cribl_control_plane/models/packinfo.py +5 -8
- cribl_control_plane/models/packinstallinfo.py +5 -8
- cribl_control_plane/models/resourcepolicy.py +0 -11
- cribl_control_plane/models/{uploadpackresponse.py → routecloneconf.py} +4 -4
- cribl_control_plane/models/routeconf.py +4 -3
- cribl_control_plane/models/runnablejobcollection.py +9 -72
- cribl_control_plane/models/runnablejobexecutor.py +9 -32
- cribl_control_plane/models/runnablejobscheduledsearch.py +9 -23
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +0 -11
- cribl_control_plane/packs.py +7 -202
- cribl_control_plane/routes_sdk.py +6 -6
- cribl_control_plane/tokens.py +15 -23
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.3.0a1.dist-info}/METADATA +9 -50
- cribl_control_plane-0.3.0a1.dist-info/RECORD +330 -0
- cribl_control_plane/models/groupcreaterequest.py +0 -171
- cribl_control_plane/models/outpostnodeinfo.py +0 -16
- cribl_control_plane/models/outputdatabricks.py +0 -482
- cribl_control_plane/models/updatepacksop.py +0 -25
- cribl_control_plane-0.2.1rc7.dist-info/RECORD +0 -331
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.3.0a1.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
|
+
from enum import Enum
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class AppMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
9
|
+
SINGLE = "single"
|
|
10
|
+
MASTER = "master"
|
|
11
|
+
WORKER = "worker"
|
|
12
|
+
EDGE = "edge"
|
|
13
|
+
MANAGED_EDGE = "managed-edge"
|
|
14
|
+
OUTPOST = "outpost"
|
|
@@ -2,16 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from cribl_control_plane.types import BaseModel
|
|
5
|
-
import
|
|
6
|
-
from typing_extensions import Annotated, TypedDict
|
|
5
|
+
from typing_extensions import TypedDict
|
|
7
6
|
|
|
8
7
|
|
|
9
8
|
class AuthTokenTypedDict(TypedDict):
|
|
10
|
-
force_password_change: bool
|
|
11
9
|
token: str
|
|
12
10
|
|
|
13
11
|
|
|
14
12
|
class AuthToken(BaseModel):
|
|
15
|
-
force_password_change: Annotated[bool, pydantic.Field(alias="forcePasswordChange")]
|
|
16
|
-
|
|
17
13
|
token: str
|
|
@@ -3,11 +3,9 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .cacheconnectionbackfillstatus import CacheConnectionBackfillStatus
|
|
5
5
|
from .lakehouseconnectiontype import LakehouseConnectionType
|
|
6
|
-
from cribl_control_plane import models
|
|
7
6
|
from cribl_control_plane.types import BaseModel
|
|
8
7
|
from cribl_control_plane.utils import validate_open_enum
|
|
9
8
|
import pydantic
|
|
10
|
-
from pydantic import field_serializer
|
|
11
9
|
from pydantic.functional_validators import PlainValidator
|
|
12
10
|
from typing import List, Optional
|
|
13
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -52,21 +50,3 @@ class CacheConnection(BaseModel):
|
|
|
52
50
|
migration_query_id: Annotated[
|
|
53
51
|
Optional[str], pydantic.Field(alias="migrationQueryId")
|
|
54
52
|
] = None
|
|
55
|
-
|
|
56
|
-
@field_serializer("backfill_status")
|
|
57
|
-
def serialize_backfill_status(self, value):
|
|
58
|
-
if isinstance(value, str):
|
|
59
|
-
try:
|
|
60
|
-
return models.CacheConnectionBackfillStatus(value)
|
|
61
|
-
except ValueError:
|
|
62
|
-
return value
|
|
63
|
-
return value
|
|
64
|
-
|
|
65
|
-
@field_serializer("lakehouse_connection_type")
|
|
66
|
-
def serialize_lakehouse_connection_type(self, value):
|
|
67
|
-
if isinstance(value, str):
|
|
68
|
-
try:
|
|
69
|
-
return models.LakehouseConnectionType(value)
|
|
70
|
-
except ValueError:
|
|
71
|
-
return value
|
|
72
|
-
return value
|
|
@@ -4,47 +4,23 @@ 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
|
|
7
|
+
from cribl_control_plane import 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
|
|
13
12
|
from pydantic.functional_validators import PlainValidator
|
|
14
13
|
from typing import List, Optional
|
|
15
14
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
16
15
|
|
|
17
16
|
|
|
18
|
-
class
|
|
19
|
-
r"""Maximum expected volume of data ingested by the @{group}. (This setting is available only on @{group}s consisting of Cribl-managed Cribl.Cloud @{node}s.)"""
|
|
20
|
-
|
|
21
|
-
# 12 MB/sec
|
|
22
|
-
RATE12_MB_PER_SEC = 1024
|
|
23
|
-
# 24 MB/sec
|
|
24
|
-
RATE24_MB_PER_SEC = 2048
|
|
25
|
-
# 36 MB/sec
|
|
26
|
-
RATE36_MB_PER_SEC = 3072
|
|
27
|
-
# 48 MB/sec
|
|
28
|
-
RATE48_MB_PER_SEC = 4096
|
|
29
|
-
# 60 MB/sec
|
|
30
|
-
RATE60_MB_PER_SEC = 5120
|
|
31
|
-
# 84 MB/sec
|
|
32
|
-
RATE84_MB_PER_SEC = 7168
|
|
33
|
-
# 120 MB/sec
|
|
34
|
-
RATE120_MB_PER_SEC = 10240
|
|
35
|
-
# 156 MB/sec
|
|
36
|
-
RATE156_MB_PER_SEC = 13312
|
|
37
|
-
# 180 MB/sec
|
|
38
|
-
RATE180_MB_PER_SEC = 15360
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
class ConfigGroupGitTypedDict(TypedDict):
|
|
17
|
+
class GitTypedDict(TypedDict):
|
|
42
18
|
commit: NotRequired[str]
|
|
43
19
|
local_changes: NotRequired[float]
|
|
44
20
|
log: NotRequired[List[CommitTypedDict]]
|
|
45
21
|
|
|
46
22
|
|
|
47
|
-
class
|
|
23
|
+
class Git(BaseModel):
|
|
48
24
|
commit: Optional[str] = None
|
|
49
25
|
|
|
50
26
|
local_changes: Annotated[Optional[float], pydantic.Field(alias="localChanges")] = (
|
|
@@ -64,9 +40,8 @@ class ConfigGroupTypedDict(TypedDict):
|
|
|
64
40
|
config_version: NotRequired[str]
|
|
65
41
|
deploying_worker_count: NotRequired[float]
|
|
66
42
|
description: NotRequired[str]
|
|
67
|
-
estimated_ingest_rate: NotRequired[
|
|
68
|
-
|
|
69
|
-
git: NotRequired[ConfigGroupGitTypedDict]
|
|
43
|
+
estimated_ingest_rate: NotRequired[float]
|
|
44
|
+
git: NotRequired[GitTypedDict]
|
|
70
45
|
incompatible_worker_count: NotRequired[float]
|
|
71
46
|
inherits: NotRequired[str]
|
|
72
47
|
is_fleet: NotRequired[bool]
|
|
@@ -100,15 +75,10 @@ class ConfigGroup(BaseModel):
|
|
|
100
75
|
description: Optional[str] = None
|
|
101
76
|
|
|
102
77
|
estimated_ingest_rate: Annotated[
|
|
103
|
-
|
|
104
|
-
Optional[ConfigGroupEstimatedIngestRate],
|
|
105
|
-
PlainValidator(validate_open_enum(True)),
|
|
106
|
-
],
|
|
107
|
-
pydantic.Field(alias="estimatedIngestRate"),
|
|
78
|
+
Optional[float], pydantic.Field(alias="estimatedIngestRate")
|
|
108
79
|
] = None
|
|
109
|
-
r"""Maximum expected volume of data ingested by the @{group}. (This setting is available only on @{group}s consisting of Cribl-managed Cribl.Cloud @{node}s.)"""
|
|
110
80
|
|
|
111
|
-
git: Optional[
|
|
81
|
+
git: Optional[Git] = None
|
|
112
82
|
|
|
113
83
|
incompatible_worker_count: Annotated[
|
|
114
84
|
Optional[float], pydantic.Field(alias="incompatibleWorkerCount")
|
|
@@ -151,21 +121,3 @@ class ConfigGroup(BaseModel):
|
|
|
151
121
|
worker_remote_access: Annotated[
|
|
152
122
|
Optional[bool], pydantic.Field(alias="workerRemoteAccess")
|
|
153
123
|
] = 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.ConfigGroupEstimatedIngestRate(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.ConfigGroupType(value)
|
|
169
|
-
except ValueError:
|
|
170
|
-
return value
|
|
171
|
-
return value
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .cloudprovider import CloudProvider
|
|
5
|
-
from cribl_control_plane import models
|
|
6
5
|
from cribl_control_plane.types import BaseModel, Nullable, UNSET_SENTINEL
|
|
7
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
8
|
-
from pydantic import
|
|
7
|
+
from pydantic import model_serializer
|
|
9
8
|
from pydantic.functional_validators import PlainValidator
|
|
10
9
|
from typing_extensions import Annotated, TypedDict
|
|
11
10
|
|
|
@@ -22,15 +21,6 @@ class ConfigGroupCloud(BaseModel):
|
|
|
22
21
|
|
|
23
22
|
region: str
|
|
24
23
|
|
|
25
|
-
@field_serializer("provider")
|
|
26
|
-
def serialize_provider(self, value):
|
|
27
|
-
if isinstance(value, str):
|
|
28
|
-
try:
|
|
29
|
-
return Nullable[models.CloudProvider](value)
|
|
30
|
-
except ValueError:
|
|
31
|
-
return value
|
|
32
|
-
return value
|
|
33
|
-
|
|
34
24
|
@model_serializer(mode="wrap")
|
|
35
25
|
def serialize_model(self, handler):
|
|
36
26
|
optional_fields = []
|
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
5
|
-
from .groupcreaterequest import GroupCreateRequest, GroupCreateRequestTypedDict
|
|
6
5
|
from .productscore import ProductsCore
|
|
7
|
-
from cribl_control_plane import models
|
|
8
6
|
from cribl_control_plane.types import BaseModel
|
|
9
7
|
from cribl_control_plane.utils import (
|
|
10
8
|
FieldMetadata,
|
|
@@ -12,7 +10,6 @@ from cribl_control_plane.utils import (
|
|
|
12
10
|
RequestMetadata,
|
|
13
11
|
validate_open_enum,
|
|
14
12
|
)
|
|
15
|
-
from pydantic import field_serializer
|
|
16
13
|
from pydantic.functional_validators import PlainValidator
|
|
17
14
|
from typing import List, Optional
|
|
18
15
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -21,8 +18,8 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
21
18
|
class CreateConfigGroupByProductRequestTypedDict(TypedDict):
|
|
22
19
|
product: ProductsCore
|
|
23
20
|
r"""Name of the Cribl product to add the Worker Group or Edge Fleet to."""
|
|
24
|
-
|
|
25
|
-
r"""
|
|
21
|
+
config_group: ConfigGroupTypedDict
|
|
22
|
+
r"""ConfigGroup object"""
|
|
26
23
|
|
|
27
24
|
|
|
28
25
|
class CreateConfigGroupByProductRequest(BaseModel):
|
|
@@ -32,20 +29,11 @@ class CreateConfigGroupByProductRequest(BaseModel):
|
|
|
32
29
|
]
|
|
33
30
|
r"""Name of the Cribl product to add the Worker Group or Edge Fleet to."""
|
|
34
31
|
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
config_group: Annotated[
|
|
33
|
+
ConfigGroup,
|
|
37
34
|
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
38
35
|
]
|
|
39
|
-
r"""
|
|
40
|
-
|
|
41
|
-
@field_serializer("product")
|
|
42
|
-
def serialize_product(self, value):
|
|
43
|
-
if isinstance(value, str):
|
|
44
|
-
try:
|
|
45
|
-
return models.ProductsCore(value)
|
|
46
|
-
except ValueError:
|
|
47
|
-
return value
|
|
48
|
-
return value
|
|
36
|
+
r"""ConfigGroup object"""
|
|
49
37
|
|
|
50
38
|
|
|
51
39
|
class CreateConfigGroupByProductResponseTypedDict(TypedDict):
|
|
@@ -11,7 +11,7 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
11
11
|
|
|
12
12
|
class CreateRoutesAppendByIDRequestTypedDict(TypedDict):
|
|
13
13
|
id: str
|
|
14
|
-
r"""The <code>id</code> of the Routing table to
|
|
14
|
+
r"""The <code>id</code> of the Routing table to append the Route to. The supported value is <code>default</code>."""
|
|
15
15
|
request_body: List[RouteConfTypedDict]
|
|
16
16
|
r"""RouteDefinitions object"""
|
|
17
17
|
|
|
@@ -20,7 +20,7 @@ class CreateRoutesAppendByIDRequest(BaseModel):
|
|
|
20
20
|
id: Annotated[
|
|
21
21
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
22
22
|
]
|
|
23
|
-
r"""The <code>id</code> of the Routing table to
|
|
23
|
+
r"""The <code>id</code> of the Routing table to append the Route to. The supported value is <code>default</code>."""
|
|
24
24
|
|
|
25
25
|
request_body: Annotated[
|
|
26
26
|
List[RouteConf],
|
|
@@ -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,12 +6,11 @@ from .lakedatasetsearchconfig import (
|
|
|
6
6
|
LakeDatasetSearchConfig,
|
|
7
7
|
LakeDatasetSearchConfigTypedDict,
|
|
8
8
|
)
|
|
9
|
-
from cribl_control_plane import
|
|
9
|
+
from cribl_control_plane import utils
|
|
10
10
|
from cribl_control_plane.types import BaseModel
|
|
11
11
|
from cribl_control_plane.utils import validate_open_enum
|
|
12
12
|
from enum import Enum
|
|
13
13
|
import pydantic
|
|
14
|
-
from pydantic import field_serializer
|
|
15
14
|
from pydantic.functional_validators import PlainValidator
|
|
16
15
|
from typing import List, Optional
|
|
17
16
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -79,12 +78,3 @@ class CriblLakeDataset(BaseModel):
|
|
|
79
78
|
] = None
|
|
80
79
|
|
|
81
80
|
view_name: Annotated[Optional[str], pydantic.Field(alias="viewName")] = None
|
|
82
|
-
|
|
83
|
-
@field_serializer("format_")
|
|
84
|
-
def serialize_format_(self, value):
|
|
85
|
-
if isinstance(value, str):
|
|
86
|
-
try:
|
|
87
|
-
return models.CriblLakeDatasetFormat(value)
|
|
88
|
-
except ValueError:
|
|
89
|
-
return value
|
|
90
|
-
return value
|
|
@@ -6,12 +6,11 @@ from .lakedatasetsearchconfig import (
|
|
|
6
6
|
LakeDatasetSearchConfig,
|
|
7
7
|
LakeDatasetSearchConfigTypedDict,
|
|
8
8
|
)
|
|
9
|
-
from cribl_control_plane import
|
|
9
|
+
from cribl_control_plane import utils
|
|
10
10
|
from cribl_control_plane.types import BaseModel
|
|
11
11
|
from cribl_control_plane.utils import validate_open_enum
|
|
12
12
|
from enum import Enum
|
|
13
13
|
import pydantic
|
|
14
|
-
from pydantic import field_serializer
|
|
15
14
|
from pydantic.functional_validators import PlainValidator
|
|
16
15
|
from typing import List, Optional
|
|
17
16
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -80,12 +79,3 @@ class CriblLakeDatasetUpdate(BaseModel):
|
|
|
80
79
|
] = None
|
|
81
80
|
|
|
82
81
|
view_name: Annotated[Optional[str], pydantic.Field(alias="viewName")] = None
|
|
83
|
-
|
|
84
|
-
@field_serializer("format_")
|
|
85
|
-
def serialize_format_(self, value):
|
|
86
|
-
if isinstance(value, str):
|
|
87
|
-
try:
|
|
88
|
-
return models.CriblLakeDatasetUpdateFormat(value)
|
|
89
|
-
except ValueError:
|
|
90
|
-
return value
|
|
91
|
-
return value
|
|
@@ -5,12 +5,11 @@ from .datasetmetadataruninfo import (
|
|
|
5
5
|
DatasetMetadataRunInfo,
|
|
6
6
|
DatasetMetadataRunInfoTypedDict,
|
|
7
7
|
)
|
|
8
|
-
from cribl_control_plane import
|
|
8
|
+
from cribl_control_plane import utils
|
|
9
9
|
from cribl_control_plane.types import BaseModel
|
|
10
10
|
from cribl_control_plane.utils import validate_open_enum
|
|
11
11
|
from enum import Enum
|
|
12
12
|
import pydantic
|
|
13
|
-
from pydantic import field_serializer
|
|
14
13
|
from pydantic.functional_validators import PlainValidator
|
|
15
14
|
from typing import List, Optional
|
|
16
15
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -44,12 +43,3 @@ class DatasetMetadata(BaseModel):
|
|
|
44
43
|
latest_run_info: Annotated[
|
|
45
44
|
Optional[DatasetMetadataRunInfo], pydantic.Field(alias="latestRunInfo")
|
|
46
45
|
] = None
|
|
47
|
-
|
|
48
|
-
@field_serializer("scan_mode")
|
|
49
|
-
def serialize_scan_mode(self, value):
|
|
50
|
-
if isinstance(value, str):
|
|
51
|
-
try:
|
|
52
|
-
return models.ScanMode(value)
|
|
53
|
-
except ValueError:
|
|
54
|
-
return value
|
|
55
|
-
return value
|
|
@@ -3,14 +3,12 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
5
5
|
from .productscore import ProductsCore
|
|
6
|
-
from cribl_control_plane import models
|
|
7
6
|
from cribl_control_plane.types import BaseModel
|
|
8
7
|
from cribl_control_plane.utils import (
|
|
9
8
|
FieldMetadata,
|
|
10
9
|
PathParamMetadata,
|
|
11
10
|
validate_open_enum,
|
|
12
11
|
)
|
|
13
|
-
from pydantic import field_serializer
|
|
14
12
|
from pydantic.functional_validators import PlainValidator
|
|
15
13
|
from typing import List, Optional
|
|
16
14
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -35,15 +33,6 @@ class DeleteConfigGroupByProductAndIDRequest(BaseModel):
|
|
|
35
33
|
]
|
|
36
34
|
r"""The <code>id</code> of the Worker Group or Edge Fleet to delete."""
|
|
37
35
|
|
|
38
|
-
@field_serializer("product")
|
|
39
|
-
def serialize_product(self, value):
|
|
40
|
-
if isinstance(value, str):
|
|
41
|
-
try:
|
|
42
|
-
return models.ProductsCore(value)
|
|
43
|
-
except ValueError:
|
|
44
|
-
return value
|
|
45
|
-
return value
|
|
46
|
-
|
|
47
36
|
|
|
48
37
|
class DeleteConfigGroupByProductAndIDResponseTypedDict(TypedDict):
|
|
49
38
|
r"""a list of ConfigGroup objects"""
|
|
@@ -20,7 +20,7 @@ class DeleteOutputPqByIDRequest(BaseModel):
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
class DeleteOutputPqByIDResponseTypedDict(TypedDict):
|
|
23
|
-
r"""
|
|
23
|
+
r"""a list of string objects"""
|
|
24
24
|
|
|
25
25
|
count: NotRequired[int]
|
|
26
26
|
r"""number of items present in the items array"""
|
|
@@ -28,7 +28,7 @@ class DeleteOutputPqByIDResponseTypedDict(TypedDict):
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
class DeleteOutputPqByIDResponse(BaseModel):
|
|
31
|
-
r"""
|
|
31
|
+
r"""a list of string objects"""
|
|
32
32
|
|
|
33
33
|
count: Optional[int] = None
|
|
34
34
|
r"""number of items present in the items array"""
|
|
@@ -9,9 +9,7 @@ from typing_extensions import Annotated, TypedDict
|
|
|
9
9
|
class DistributedSummaryGroupsTypedDict(TypedDict):
|
|
10
10
|
count: float
|
|
11
11
|
destinations: float
|
|
12
|
-
packs: float
|
|
13
12
|
pipelines: float
|
|
14
|
-
quick_connects: float
|
|
15
13
|
routes: float
|
|
16
14
|
sources: float
|
|
17
15
|
|
|
@@ -21,12 +19,8 @@ class DistributedSummaryGroups(BaseModel):
|
|
|
21
19
|
|
|
22
20
|
destinations: float
|
|
23
21
|
|
|
24
|
-
packs: float
|
|
25
|
-
|
|
26
22
|
pipelines: float
|
|
27
23
|
|
|
28
|
-
quick_connects: Annotated[float, pydantic.Field(alias="quickConnects")]
|
|
29
|
-
|
|
30
24
|
routes: float
|
|
31
25
|
|
|
32
26
|
sources: float
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane.types import BaseModel
|
|
5
|
+
from typing import Optional
|
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ErrorTypedDict(TypedDict):
|
|
10
|
+
message: NotRequired[str]
|
|
11
|
+
r"""Error message"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class Error(BaseModel):
|
|
15
|
+
message: Optional[str] = None
|
|
16
|
+
r"""Error message"""
|
|
@@ -4,7 +4,6 @@ from __future__ import annotations
|
|
|
4
4
|
from .productscore import ProductsCore
|
|
5
5
|
from .rbacresource import RbacResource
|
|
6
6
|
from .useraccesscontrollist import UserAccessControlList, UserAccessControlListTypedDict
|
|
7
|
-
from cribl_control_plane import models
|
|
8
7
|
from cribl_control_plane.types import BaseModel
|
|
9
8
|
from cribl_control_plane.utils import (
|
|
10
9
|
FieldMetadata,
|
|
@@ -12,7 +11,6 @@ from cribl_control_plane.utils import (
|
|
|
12
11
|
QueryParamMetadata,
|
|
13
12
|
validate_open_enum,
|
|
14
13
|
)
|
|
15
|
-
from pydantic import field_serializer
|
|
16
14
|
from pydantic.functional_validators import PlainValidator
|
|
17
15
|
from typing import List, Optional
|
|
18
16
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -45,24 +43,6 @@ class GetConfigGroupACLByProductAndIDRequest(BaseModel):
|
|
|
45
43
|
] = None
|
|
46
44
|
r"""Filter for limiting the response to ACL entries for the specified RBAC resource type."""
|
|
47
45
|
|
|
48
|
-
@field_serializer("product")
|
|
49
|
-
def serialize_product(self, value):
|
|
50
|
-
if isinstance(value, str):
|
|
51
|
-
try:
|
|
52
|
-
return models.ProductsCore(value)
|
|
53
|
-
except ValueError:
|
|
54
|
-
return value
|
|
55
|
-
return value
|
|
56
|
-
|
|
57
|
-
@field_serializer("type")
|
|
58
|
-
def serialize_type(self, value):
|
|
59
|
-
if isinstance(value, str):
|
|
60
|
-
try:
|
|
61
|
-
return models.RbacResource(value)
|
|
62
|
-
except ValueError:
|
|
63
|
-
return value
|
|
64
|
-
return value
|
|
65
|
-
|
|
66
46
|
|
|
67
47
|
class GetConfigGroupACLByProductAndIDResponseTypedDict(TypedDict):
|
|
68
48
|
r"""a list of UserAccessControlList objects"""
|
|
@@ -4,7 +4,6 @@ from __future__ import annotations
|
|
|
4
4
|
from .productscore import ProductsCore
|
|
5
5
|
from .rbacresource import RbacResource
|
|
6
6
|
from .teamaccesscontrollist import TeamAccessControlList, TeamAccessControlListTypedDict
|
|
7
|
-
from cribl_control_plane import models
|
|
8
7
|
from cribl_control_plane.types import BaseModel
|
|
9
8
|
from cribl_control_plane.utils import (
|
|
10
9
|
FieldMetadata,
|
|
@@ -12,7 +11,6 @@ from cribl_control_plane.utils import (
|
|
|
12
11
|
QueryParamMetadata,
|
|
13
12
|
validate_open_enum,
|
|
14
13
|
)
|
|
15
|
-
from pydantic import field_serializer
|
|
16
14
|
from pydantic.functional_validators import PlainValidator
|
|
17
15
|
from typing import List, Optional
|
|
18
16
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -45,24 +43,6 @@ class GetConfigGroupACLTeamsByProductAndIDRequest(BaseModel):
|
|
|
45
43
|
] = None
|
|
46
44
|
r"""Filter for limiting the response to ACL entries for the specified RBAC resource type."""
|
|
47
45
|
|
|
48
|
-
@field_serializer("product")
|
|
49
|
-
def serialize_product(self, value):
|
|
50
|
-
if isinstance(value, str):
|
|
51
|
-
try:
|
|
52
|
-
return models.ProductsCore(value)
|
|
53
|
-
except ValueError:
|
|
54
|
-
return value
|
|
55
|
-
return value
|
|
56
|
-
|
|
57
|
-
@field_serializer("type")
|
|
58
|
-
def serialize_type(self, value):
|
|
59
|
-
if isinstance(value, str):
|
|
60
|
-
try:
|
|
61
|
-
return models.RbacResource(value)
|
|
62
|
-
except ValueError:
|
|
63
|
-
return value
|
|
64
|
-
return value
|
|
65
|
-
|
|
66
46
|
|
|
67
47
|
class GetConfigGroupACLTeamsByProductAndIDResponseTypedDict(TypedDict):
|
|
68
48
|
r"""a list of TeamAccessControlList objects"""
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
5
5
|
from .productscore import ProductsCore
|
|
6
|
-
from cribl_control_plane import models
|
|
7
6
|
from cribl_control_plane.types import BaseModel
|
|
8
7
|
from cribl_control_plane.utils import (
|
|
9
8
|
FieldMetadata,
|
|
@@ -11,7 +10,6 @@ from cribl_control_plane.utils import (
|
|
|
11
10
|
QueryParamMetadata,
|
|
12
11
|
validate_open_enum,
|
|
13
12
|
)
|
|
14
|
-
from pydantic import field_serializer
|
|
15
13
|
from pydantic.functional_validators import PlainValidator
|
|
16
14
|
from typing import List, Optional
|
|
17
15
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -44,15 +42,6 @@ class GetConfigGroupByProductAndIDRequest(BaseModel):
|
|
|
44
42
|
] = None
|
|
45
43
|
r"""Comma-separated list of additional properties to include in the response. Available values are <code>git.commit</code>, <code>git.localChanges</code>, and <code>git.log</code>."""
|
|
46
44
|
|
|
47
|
-
@field_serializer("product")
|
|
48
|
-
def serialize_product(self, value):
|
|
49
|
-
if isinstance(value, str):
|
|
50
|
-
try:
|
|
51
|
-
return models.ProductsCore(value)
|
|
52
|
-
except ValueError:
|
|
53
|
-
return value
|
|
54
|
-
return value
|
|
55
|
-
|
|
56
45
|
|
|
57
46
|
class GetConfigGroupByProductAndIDResponseTypedDict(TypedDict):
|
|
58
47
|
r"""a list of ConfigGroup objects"""
|
|
@@ -2,14 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .productscore import ProductsCore
|
|
5
|
-
from cribl_control_plane import models
|
|
6
5
|
from cribl_control_plane.types import BaseModel
|
|
7
6
|
from cribl_control_plane.utils import (
|
|
8
7
|
FieldMetadata,
|
|
9
8
|
PathParamMetadata,
|
|
10
9
|
validate_open_enum,
|
|
11
10
|
)
|
|
12
|
-
from pydantic import field_serializer
|
|
13
11
|
from pydantic.functional_validators import PlainValidator
|
|
14
12
|
from typing import List, Optional
|
|
15
13
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -34,15 +32,6 @@ class GetConfigGroupConfigVersionByProductAndIDRequest(BaseModel):
|
|
|
34
32
|
]
|
|
35
33
|
r"""The <code>id</code> of the Worker Group or Edge Fleet to get the configuration version for."""
|
|
36
34
|
|
|
37
|
-
@field_serializer("product")
|
|
38
|
-
def serialize_product(self, value):
|
|
39
|
-
if isinstance(value, str):
|
|
40
|
-
try:
|
|
41
|
-
return models.ProductsCore(value)
|
|
42
|
-
except ValueError:
|
|
43
|
-
return value
|
|
44
|
-
return value
|
|
45
|
-
|
|
46
35
|
|
|
47
36
|
class GetConfigGroupConfigVersionByProductAndIDResponseTypedDict(TypedDict):
|
|
48
37
|
r"""a list of string objects"""
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .error import Error, ErrorTypedDict
|
|
5
|
+
from .healthstatus import HealthStatus, HealthStatusTypedDict
|
|
6
|
+
from typing import Union
|
|
7
|
+
from typing_extensions import TypeAliasType
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
GetHealthInfoResponseTypedDict = TypeAliasType(
|
|
11
|
+
"GetHealthInfoResponseTypedDict", Union[ErrorTypedDict, HealthStatusTypedDict]
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
GetHealthInfoResponse = TypeAliasType(
|
|
16
|
+
"GetHealthInfoResponse", Union[Error, HealthStatus]
|
|
17
|
+
)
|
|
@@ -3,14 +3,12 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .distributedsummary import DistributedSummary, DistributedSummaryTypedDict
|
|
5
5
|
from .workertypes import WorkerTypes
|
|
6
|
-
from cribl_control_plane import models
|
|
7
6
|
from cribl_control_plane.types import BaseModel
|
|
8
7
|
from cribl_control_plane.utils import (
|
|
9
8
|
FieldMetadata,
|
|
10
9
|
QueryParamMetadata,
|
|
11
10
|
validate_open_enum,
|
|
12
11
|
)
|
|
13
|
-
from pydantic import field_serializer
|
|
14
12
|
from pydantic.functional_validators import PlainValidator
|
|
15
13
|
from typing import List, Optional
|
|
16
14
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -28,15 +26,6 @@ class GetSummaryRequest(BaseModel):
|
|
|
28
26
|
] = None
|
|
29
27
|
r"""Filter for limiting the response by Cribl product: Cribl Stream (<code>worker</code>) or Cribl Edge (<code>managed-edge</code>)."""
|
|
30
28
|
|
|
31
|
-
@field_serializer("mode")
|
|
32
|
-
def serialize_mode(self, value):
|
|
33
|
-
if isinstance(value, str):
|
|
34
|
-
try:
|
|
35
|
-
return models.WorkerTypes(value)
|
|
36
|
-
except ValueError:
|
|
37
|
-
return value
|
|
38
|
-
return value
|
|
39
|
-
|
|
40
29
|
|
|
41
30
|
class GetSummaryResponseTypedDict(TypedDict):
|
|
42
31
|
r"""a list of DistributedSummary objects"""
|