cribl-control-plane 0.3.0b6__py3-none-any.whl → 0.3.0b8__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/models/cacheconnection.py +0 -20
- cribl_control_plane/models/configgroup.py +1 -20
- cribl_control_plane/models/configgroupcloud.py +1 -11
- cribl_control_plane/models/createconfiggroupbyproductop.py +0 -11
- 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/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/getsummaryop.py +0 -11
- cribl_control_plane/models/groupcreaterequest.py +1 -20
- cribl_control_plane/models/hbcriblinfo.py +1 -11
- cribl_control_plane/models/healthserverstatus.py +1 -20
- cribl_control_plane/models/inputappscope.py +1 -56
- cribl_control_plane/models/inputazureblob.py +1 -29
- cribl_control_plane/models/inputcollection.py +1 -20
- cribl_control_plane/models/inputconfluentcloud.py +1 -78
- cribl_control_plane/models/inputcribl.py +1 -20
- cribl_control_plane/models/inputcriblhttp.py +1 -38
- cribl_control_plane/models/inputcribllakehttp.py +1 -38
- cribl_control_plane/models/inputcriblmetrics.py +1 -20
- cribl_control_plane/models/inputcribltcp.py +1 -38
- cribl_control_plane/models/inputcrowdstrike.py +1 -47
- cribl_control_plane/models/inputdatadogagent.py +1 -38
- cribl_control_plane/models/inputdatagen.py +1 -20
- cribl_control_plane/models/inputedgeprometheus.py +1 -94
- cribl_control_plane/models/inputelastic.py +1 -65
- cribl_control_plane/models/inputeventhub.py +1 -58
- cribl_control_plane/models/inputexec.py +1 -29
- cribl_control_plane/models/inputfile.py +1 -29
- cribl_control_plane/models/inputfirehose.py +1 -38
- cribl_control_plane/models/inputgooglepubsub.py +1 -29
- cribl_control_plane/models/inputgrafana.py +1 -110
- cribl_control_plane/models/inputhttp.py +1 -38
- cribl_control_plane/models/inputhttpraw.py +1 -38
- cribl_control_plane/models/inputjournalfiles.py +1 -20
- cribl_control_plane/models/inputkafka.py +1 -74
- cribl_control_plane/models/inputkinesis.py +1 -65
- cribl_control_plane/models/inputkubeevents.py +1 -20
- cribl_control_plane/models/inputkubelogs.py +1 -29
- cribl_control_plane/models/inputkubemetrics.py +1 -29
- cribl_control_plane/models/inputloki.py +1 -47
- cribl_control_plane/models/inputmetrics.py +1 -38
- cribl_control_plane/models/inputmodeldriventelemetry.py +1 -38
- cribl_control_plane/models/inputmsk.py +1 -74
- cribl_control_plane/models/inputnetflow.py +1 -20
- cribl_control_plane/models/inputoffice365mgmt.py +1 -56
- cribl_control_plane/models/inputoffice365msgtrace.py +1 -56
- cribl_control_plane/models/inputoffice365service.py +1 -56
- cribl_control_plane/models/inputopentelemetry.py +1 -65
- cribl_control_plane/models/inputprometheus.py +1 -87
- cribl_control_plane/models/inputprometheusrw.py +1 -47
- cribl_control_plane/models/inputrawudp.py +1 -20
- cribl_control_plane/models/inputs3.py +1 -38
- cribl_control_plane/models/inputs3inventory.py +1 -47
- cribl_control_plane/models/inputsecuritylake.py +1 -47
- cribl_control_plane/models/inputsnmp.py +1 -29
- cribl_control_plane/models/inputsplunk.py +1 -56
- cribl_control_plane/models/inputsplunkhec.py +1 -47
- cribl_control_plane/models/inputsplunksearch.py +1 -56
- cribl_control_plane/models/inputsqs.py +1 -47
- cribl_control_plane/models/inputsyslog.py +1 -74
- cribl_control_plane/models/inputsystemmetrics.py +1 -92
- cribl_control_plane/models/inputsystemstate.py +1 -29
- cribl_control_plane/models/inputtcp.py +1 -47
- cribl_control_plane/models/inputtcpjson.py +1 -47
- cribl_control_plane/models/inputwef.py +1 -65
- cribl_control_plane/models/inputwindowsmetrics.py +1 -83
- cribl_control_plane/models/inputwineventlogs.py +1 -38
- cribl_control_plane/models/inputwiz.py +1 -38
- cribl_control_plane/models/inputwizwebhook.py +1 -38
- cribl_control_plane/models/inputzscalerhec.py +1 -47
- cribl_control_plane/models/listconfiggroupbyproductop.py +0 -11
- cribl_control_plane/models/masterworkerentry.py +1 -11
- cribl_control_plane/models/nodeupgradestatus.py +0 -38
- cribl_control_plane/models/outputazureblob.py +1 -83
- cribl_control_plane/models/outputazuredataexplorer.py +1 -148
- cribl_control_plane/models/outputazureeventhub.py +1 -98
- cribl_control_plane/models/outputazurelogs.py +1 -56
- cribl_control_plane/models/outputchronicle.py +1 -56
- cribl_control_plane/models/outputclickhouse.py +1 -92
- cribl_control_plane/models/outputcloudwatch.py +1 -47
- cribl_control_plane/models/outputconfluentcloud.py +3 -123
- cribl_control_plane/models/outputcriblhttp.py +1 -74
- cribl_control_plane/models/outputcribllake.py +1 -76
- cribl_control_plane/models/outputcribltcp.py +1 -74
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +1 -67
- cribl_control_plane/models/outputdatabricks.py +1 -65
- cribl_control_plane/models/outputdatadog.py +1 -83
- cribl_control_plane/models/outputdataset.py +1 -74
- cribl_control_plane/models/outputdiskspool.py +1 -11
- cribl_control_plane/models/outputdls3.py +1 -110
- cribl_control_plane/models/outputdynatracehttp.py +1 -92
- cribl_control_plane/models/outputdynatraceotlp.py +1 -92
- cribl_control_plane/models/outputelastic.py +1 -74
- cribl_control_plane/models/outputelasticcloud.py +1 -56
- cribl_control_plane/models/outputexabeam.py +1 -47
- cribl_control_plane/models/outputfilesystem.py +1 -65
- cribl_control_plane/models/outputgooglechronicle.py +1 -83
- cribl_control_plane/models/outputgooglecloudlogging.py +1 -65
- cribl_control_plane/models/outputgooglecloudstorage.py +1 -101
- cribl_control_plane/models/outputgooglepubsub.py +1 -47
- cribl_control_plane/models/outputgrafanacloud.py +1 -146
- cribl_control_plane/models/outputgraphite.py +1 -47
- cribl_control_plane/models/outputhoneycomb.py +1 -56
- cribl_control_plane/models/outputhumiohec.py +1 -65
- cribl_control_plane/models/outputinfluxdb.py +1 -65
- cribl_control_plane/models/outputkafka.py +3 -119
- cribl_control_plane/models/outputkinesis.py +1 -65
- cribl_control_plane/models/outputloki.py +1 -65
- cribl_control_plane/models/outputminio.py +1 -110
- cribl_control_plane/models/outputmsk.py +3 -119
- cribl_control_plane/models/outputnewrelic.py +1 -74
- cribl_control_plane/models/outputnewrelicevents.py +1 -65
- cribl_control_plane/models/outputopentelemetry.py +1 -110
- cribl_control_plane/models/outputprometheus.py +1 -56
- cribl_control_plane/models/outputring.py +1 -29
- cribl_control_plane/models/outputs3.py +1 -110
- cribl_control_plane/models/outputsecuritylake.py +1 -85
- cribl_control_plane/models/outputsentinel.py +1 -74
- cribl_control_plane/models/outputsentineloneaisiem.py +1 -74
- cribl_control_plane/models/outputservicenow.py +1 -101
- cribl_control_plane/models/outputsignalfx.py +1 -56
- cribl_control_plane/models/outputsns.py +1 -56
- cribl_control_plane/models/outputsplunk.py +1 -92
- cribl_control_plane/models/outputsplunkhec.py +1 -74
- cribl_control_plane/models/outputsplunklb.py +1 -121
- cribl_control_plane/models/outputsqs.py +1 -65
- cribl_control_plane/models/outputstatsd.py +1 -47
- cribl_control_plane/models/outputstatsdext.py +1 -47
- cribl_control_plane/models/outputsumologic.py +1 -56
- cribl_control_plane/models/outputsyslog.py +1 -110
- cribl_control_plane/models/outputtcpjson.py +1 -83
- cribl_control_plane/models/outputwavefront.py +1 -56
- cribl_control_plane/models/outputwebhook.py +1 -92
- cribl_control_plane/models/outputxsiam.py +1 -56
- cribl_control_plane/models/resourcepolicy.py +0 -11
- cribl_control_plane/models/runnablejobcollection.py +1 -56
- cribl_control_plane/models/runnablejobexecutor.py +1 -20
- cribl_control_plane/models/runnablejobscheduledsearch.py +1 -11
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +0 -11
- {cribl_control_plane-0.3.0b6.dist-info → cribl_control_plane-0.3.0b8.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.3.0b6.dist-info → cribl_control_plane-0.3.0b8.dist-info}/RECORD +149 -149
- {cribl_control_plane-0.3.0b6.dist-info → cribl_control_plane-0.3.0b8.dist-info}/WHEEL +0 -0
cribl_control_plane/_version.py
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "cribl-control-plane"
|
|
6
|
-
__version__: str = "0.3.
|
|
7
|
-
__openapi_doc_version__: str = "4.15.0-alpha.
|
|
8
|
-
__gen_version__: str = "2.731.
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.3.
|
|
6
|
+
__version__: str = "0.3.0b8"
|
|
7
|
+
__openapi_doc_version__: str = "4.15.0-alpha.1761948329933-b8db79db"
|
|
8
|
+
__gen_version__: str = "2.731.6"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.3.0b8 2.731.6 4.15.0-alpha.1761948329933-b8db79db cribl-control-plane"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
|
@@ -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,12 +4,11 @@ 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
|
|
@@ -151,21 +150,3 @@ class ConfigGroup(BaseModel):
|
|
|
151
150
|
worker_remote_access: Annotated[
|
|
152
151
|
Optional[bool], pydantic.Field(alias="workerRemoteAccess")
|
|
153
152
|
] = 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 = []
|
|
@@ -4,7 +4,6 @@ from __future__ import annotations
|
|
|
4
4
|
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
5
5
|
from .groupcreaterequest import GroupCreateRequest, GroupCreateRequestTypedDict
|
|
6
6
|
from .productscore import ProductsCore
|
|
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
|
RequestMetadata,
|
|
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
|
|
@@ -38,15 +36,6 @@ class CreateConfigGroupByProductRequest(BaseModel):
|
|
|
38
36
|
]
|
|
39
37
|
r"""GroupCreateRequest object"""
|
|
40
38
|
|
|
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
|
|
49
|
-
|
|
50
39
|
|
|
51
40
|
class CreateConfigGroupByProductResponseTypedDict(TypedDict):
|
|
52
41
|
r"""a list of ConfigGroup objects"""
|
|
@@ -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"""
|
|
@@ -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"""
|
|
@@ -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"""
|
|
@@ -4,12 +4,11 @@ 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
|
|
@@ -151,21 +150,3 @@ class GroupCreateRequest(BaseModel):
|
|
|
151
150
|
worker_remote_access: Annotated[
|
|
152
151
|
Optional[bool], pydantic.Field(alias="workerRemoteAccess")
|
|
153
152
|
] = 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,12 +3,11 @@
|
|
|
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
|
|
6
|
+
from cribl_control_plane import 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
|
|
12
11
|
from pydantic.functional_validators import PlainValidator
|
|
13
12
|
from typing import List, Optional
|
|
14
13
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -105,12 +104,3 @@ class HBCriblInfo(BaseModel):
|
|
|
105
104
|
)
|
|
106
105
|
|
|
107
106
|
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,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import 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
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -35,21 +34,3 @@ class HealthServerStatus(BaseModel):
|
|
|
35
34
|
status: Annotated[Status, PlainValidator(validate_open_enum(False))]
|
|
36
35
|
|
|
37
36
|
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
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import 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
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputAppscopePq(BaseModel):
|
|
|
107
106
|
Optional[InputAppscopePqControls], pydantic.Field(alias="pqControls")
|
|
108
107
|
] = None
|
|
109
108
|
|
|
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
|
-
|
|
128
109
|
|
|
129
110
|
class InputAppscopeMetadatumTypedDict(TypedDict):
|
|
130
111
|
name: str
|
|
@@ -216,15 +197,6 @@ class InputAppscopePersistence(BaseModel):
|
|
|
216
197
|
)
|
|
217
198
|
r"""Path to use to write metrics. Defaults to $CRIBL_HOME/state/appscope"""
|
|
218
199
|
|
|
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
|
-
|
|
228
200
|
|
|
229
201
|
class InputAppscopeAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
230
202
|
r"""Select Manual to enter an auth token directly, or select Secret to use a text secret to authenticate"""
|
|
@@ -318,24 +290,6 @@ class InputAppscopeTLSSettingsServerSide(BaseModel):
|
|
|
318
290
|
pydantic.Field(alias="maxVersion"),
|
|
319
291
|
] = None
|
|
320
292
|
|
|
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
|
-
|
|
339
293
|
|
|
340
294
|
class InputAppscopeTypedDict(TypedDict):
|
|
341
295
|
type: InputAppscopeType
|
|
@@ -513,12 +467,3 @@ class InputAppscope(BaseModel):
|
|
|
513
467
|
|
|
514
468
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
515
469
|
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,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import 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
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputAzureBlobPq(BaseModel):
|
|
|
107
106
|
Optional[InputAzureBlobPqControls], pydantic.Field(alias="pqControls")
|
|
108
107
|
] = None
|
|
109
108
|
|
|
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
|
-
|
|
128
109
|
|
|
129
110
|
class InputAzureBlobMetadatumTypedDict(TypedDict):
|
|
130
111
|
name: str
|
|
@@ -342,12 +323,3 @@ class InputAzureBlob(BaseModel):
|
|
|
342
323
|
r"""Select or create a stored text secret"""
|
|
343
324
|
|
|
344
325
|
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
|