cribl-control-plane 0.3.0b4__py3-none-any.whl → 0.3.0b5__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 +3 -3
- 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/createconfiggroupbyproductop.py +11 -0
- cribl_control_plane/models/cribllakedataset.py +11 -1
- cribl_control_plane/models/cribllakedatasetupdate.py +11 -1
- cribl_control_plane/models/datasetmetadata.py +11 -1
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +11 -0
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +20 -0
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +20 -0
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +11 -0
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +11 -0
- cribl_control_plane/models/getsummaryop.py +11 -0
- 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/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 +38 -1
- cribl_control_plane/models/inputcribllakehttp.py +38 -1
- cribl_control_plane/models/inputcriblmetrics.py +20 -1
- cribl_control_plane/models/inputcribltcp.py +38 -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 +29 -1
- 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/listconfiggroupbyproductop.py +11 -0
- cribl_control_plane/models/masterworkerentry.py +11 -1
- cribl_control_plane/models/nodeupgradestatus.py +38 -0
- 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 +123 -1
- cribl_control_plane/models/outputcriblhttp.py +74 -1
- cribl_control_plane/models/outputcribllake.py +76 -1
- cribl_control_plane/models/outputcribltcp.py +74 -1
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +67 -1
- cribl_control_plane/models/outputdatabricks.py +65 -1
- 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 +119 -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 +119 -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 +74 -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 +56 -1
- cribl_control_plane/models/runnablejobexecutor.py +20 -1
- cribl_control_plane/models/runnablejobscheduledsearch.py +11 -1
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +11 -0
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +11 -0
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b5.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b5.dist-info}/RECORD +149 -149
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b5.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.
|
|
6
|
+
__version__: str = "0.3.0b5"
|
|
7
7
|
__openapi_doc_version__: str = "4.15.0-alpha.1761865929483-3f85e35a"
|
|
8
|
-
__gen_version__: str = "2.
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.3.
|
|
8
|
+
__gen_version__: str = "2.731.9"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.3.0b5 2.731.9 4.15.0-alpha.1761865929483-3f85e35a cribl-control-plane"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
|
@@ -3,9 +3,11 @@
|
|
|
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
|
|
6
7
|
from cribl_control_plane.types import BaseModel
|
|
7
8
|
from cribl_control_plane.utils import validate_open_enum
|
|
8
9
|
import pydantic
|
|
10
|
+
from pydantic import field_serializer
|
|
9
11
|
from pydantic.functional_validators import PlainValidator
|
|
10
12
|
from typing import List, Optional
|
|
11
13
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -50,3 +52,21 @@ class CacheConnection(BaseModel):
|
|
|
50
52
|
migration_query_id: Annotated[
|
|
51
53
|
Optional[str], pydantic.Field(alias="migrationQueryId")
|
|
52
54
|
] = 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,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 ConfigGroup(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.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,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .cloudprovider import CloudProvider
|
|
5
|
+
from cribl_control_plane import models
|
|
5
6
|
from cribl_control_plane.types import BaseModel, Nullable, UNSET_SENTINEL
|
|
6
7
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
|
-
from pydantic import model_serializer
|
|
8
|
+
from pydantic import field_serializer, model_serializer
|
|
8
9
|
from pydantic.functional_validators import PlainValidator
|
|
9
10
|
from typing_extensions import Annotated, TypedDict
|
|
10
11
|
|
|
@@ -21,6 +22,15 @@ class ConfigGroupCloud(BaseModel):
|
|
|
21
22
|
|
|
22
23
|
region: str
|
|
23
24
|
|
|
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
|
+
|
|
24
34
|
@model_serializer(mode="wrap")
|
|
25
35
|
def serialize_model(self, handler):
|
|
26
36
|
optional_fields = []
|
|
@@ -4,6 +4,7 @@ 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
|
|
7
8
|
from cribl_control_plane.types import BaseModel
|
|
8
9
|
from cribl_control_plane.utils import (
|
|
9
10
|
FieldMetadata,
|
|
@@ -11,6 +12,7 @@ from cribl_control_plane.utils import (
|
|
|
11
12
|
RequestMetadata,
|
|
12
13
|
validate_open_enum,
|
|
13
14
|
)
|
|
15
|
+
from pydantic import field_serializer
|
|
14
16
|
from pydantic.functional_validators import PlainValidator
|
|
15
17
|
from typing import List, Optional
|
|
16
18
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -36,6 +38,15 @@ class CreateConfigGroupByProductRequest(BaseModel):
|
|
|
36
38
|
]
|
|
37
39
|
r"""GroupCreateRequest object"""
|
|
38
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
|
|
49
|
+
|
|
39
50
|
|
|
40
51
|
class CreateConfigGroupByProductResponseTypedDict(TypedDict):
|
|
41
52
|
r"""a list of ConfigGroup objects"""
|
|
@@ -6,11 +6,12 @@ from .lakedatasetsearchconfig import (
|
|
|
6
6
|
LakeDatasetSearchConfig,
|
|
7
7
|
LakeDatasetSearchConfigTypedDict,
|
|
8
8
|
)
|
|
9
|
-
from cribl_control_plane import utils
|
|
9
|
+
from cribl_control_plane import models, 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
|
|
14
15
|
from pydantic.functional_validators import PlainValidator
|
|
15
16
|
from typing import List, Optional
|
|
16
17
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -78,3 +79,12 @@ class CriblLakeDataset(BaseModel):
|
|
|
78
79
|
] = None
|
|
79
80
|
|
|
80
81
|
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,11 +6,12 @@ from .lakedatasetsearchconfig import (
|
|
|
6
6
|
LakeDatasetSearchConfig,
|
|
7
7
|
LakeDatasetSearchConfigTypedDict,
|
|
8
8
|
)
|
|
9
|
-
from cribl_control_plane import utils
|
|
9
|
+
from cribl_control_plane import models, 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
|
|
14
15
|
from pydantic.functional_validators import PlainValidator
|
|
15
16
|
from typing import List, Optional
|
|
16
17
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -79,3 +80,12 @@ class CriblLakeDatasetUpdate(BaseModel):
|
|
|
79
80
|
] = None
|
|
80
81
|
|
|
81
82
|
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,11 +5,12 @@ from .datasetmetadataruninfo import (
|
|
|
5
5
|
DatasetMetadataRunInfo,
|
|
6
6
|
DatasetMetadataRunInfoTypedDict,
|
|
7
7
|
)
|
|
8
|
-
from cribl_control_plane import utils
|
|
8
|
+
from cribl_control_plane import models, 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
|
|
13
14
|
from pydantic.functional_validators import PlainValidator
|
|
14
15
|
from typing import List, Optional
|
|
15
16
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -43,3 +44,12 @@ class DatasetMetadata(BaseModel):
|
|
|
43
44
|
latest_run_info: Annotated[
|
|
44
45
|
Optional[DatasetMetadataRunInfo], pydantic.Field(alias="latestRunInfo")
|
|
45
46
|
] = 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,12 +3,14 @@
|
|
|
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
|
|
6
7
|
from cribl_control_plane.types import BaseModel
|
|
7
8
|
from cribl_control_plane.utils import (
|
|
8
9
|
FieldMetadata,
|
|
9
10
|
PathParamMetadata,
|
|
10
11
|
validate_open_enum,
|
|
11
12
|
)
|
|
13
|
+
from pydantic import field_serializer
|
|
12
14
|
from pydantic.functional_validators import PlainValidator
|
|
13
15
|
from typing import List, Optional
|
|
14
16
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -33,6 +35,15 @@ class DeleteConfigGroupByProductAndIDRequest(BaseModel):
|
|
|
33
35
|
]
|
|
34
36
|
r"""The <code>id</code> of the Worker Group or Edge Fleet to delete."""
|
|
35
37
|
|
|
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
|
+
|
|
36
47
|
|
|
37
48
|
class DeleteConfigGroupByProductAndIDResponseTypedDict(TypedDict):
|
|
38
49
|
r"""a list of ConfigGroup objects"""
|
|
@@ -4,6 +4,7 @@ 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
|
|
7
8
|
from cribl_control_plane.types import BaseModel
|
|
8
9
|
from cribl_control_plane.utils import (
|
|
9
10
|
FieldMetadata,
|
|
@@ -11,6 +12,7 @@ from cribl_control_plane.utils import (
|
|
|
11
12
|
QueryParamMetadata,
|
|
12
13
|
validate_open_enum,
|
|
13
14
|
)
|
|
15
|
+
from pydantic import field_serializer
|
|
14
16
|
from pydantic.functional_validators import PlainValidator
|
|
15
17
|
from typing import List, Optional
|
|
16
18
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -43,6 +45,24 @@ class GetConfigGroupACLByProductAndIDRequest(BaseModel):
|
|
|
43
45
|
] = None
|
|
44
46
|
r"""Filter for limiting the response to ACL entries for the specified RBAC resource type."""
|
|
45
47
|
|
|
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
|
+
|
|
46
66
|
|
|
47
67
|
class GetConfigGroupACLByProductAndIDResponseTypedDict(TypedDict):
|
|
48
68
|
r"""a list of UserAccessControlList objects"""
|
|
@@ -4,6 +4,7 @@ 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
|
|
7
8
|
from cribl_control_plane.types import BaseModel
|
|
8
9
|
from cribl_control_plane.utils import (
|
|
9
10
|
FieldMetadata,
|
|
@@ -11,6 +12,7 @@ from cribl_control_plane.utils import (
|
|
|
11
12
|
QueryParamMetadata,
|
|
12
13
|
validate_open_enum,
|
|
13
14
|
)
|
|
15
|
+
from pydantic import field_serializer
|
|
14
16
|
from pydantic.functional_validators import PlainValidator
|
|
15
17
|
from typing import List, Optional
|
|
16
18
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -43,6 +45,24 @@ class GetConfigGroupACLTeamsByProductAndIDRequest(BaseModel):
|
|
|
43
45
|
] = None
|
|
44
46
|
r"""Filter for limiting the response to ACL entries for the specified RBAC resource type."""
|
|
45
47
|
|
|
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
|
+
|
|
46
66
|
|
|
47
67
|
class GetConfigGroupACLTeamsByProductAndIDResponseTypedDict(TypedDict):
|
|
48
68
|
r"""a list of TeamAccessControlList objects"""
|
|
@@ -3,6 +3,7 @@
|
|
|
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
|
|
6
7
|
from cribl_control_plane.types import BaseModel
|
|
7
8
|
from cribl_control_plane.utils import (
|
|
8
9
|
FieldMetadata,
|
|
@@ -10,6 +11,7 @@ from cribl_control_plane.utils import (
|
|
|
10
11
|
QueryParamMetadata,
|
|
11
12
|
validate_open_enum,
|
|
12
13
|
)
|
|
14
|
+
from pydantic import field_serializer
|
|
13
15
|
from pydantic.functional_validators import PlainValidator
|
|
14
16
|
from typing import List, Optional
|
|
15
17
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -42,6 +44,15 @@ class GetConfigGroupByProductAndIDRequest(BaseModel):
|
|
|
42
44
|
] = None
|
|
43
45
|
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>."""
|
|
44
46
|
|
|
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
|
+
|
|
45
56
|
|
|
46
57
|
class GetConfigGroupByProductAndIDResponseTypedDict(TypedDict):
|
|
47
58
|
r"""a list of ConfigGroup objects"""
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .productscore import ProductsCore
|
|
5
|
+
from cribl_control_plane import models
|
|
5
6
|
from cribl_control_plane.types import BaseModel
|
|
6
7
|
from cribl_control_plane.utils import (
|
|
7
8
|
FieldMetadata,
|
|
8
9
|
PathParamMetadata,
|
|
9
10
|
validate_open_enum,
|
|
10
11
|
)
|
|
12
|
+
from pydantic import field_serializer
|
|
11
13
|
from pydantic.functional_validators import PlainValidator
|
|
12
14
|
from typing import List, Optional
|
|
13
15
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -32,6 +34,15 @@ class GetConfigGroupConfigVersionByProductAndIDRequest(BaseModel):
|
|
|
32
34
|
]
|
|
33
35
|
r"""The <code>id</code> of the Worker Group or Edge Fleet to get the configuration version for."""
|
|
34
36
|
|
|
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
|
+
|
|
35
46
|
|
|
36
47
|
class GetConfigGroupConfigVersionByProductAndIDResponseTypedDict(TypedDict):
|
|
37
48
|
r"""a list of string objects"""
|
|
@@ -3,12 +3,14 @@
|
|
|
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
|
|
6
7
|
from cribl_control_plane.types import BaseModel
|
|
7
8
|
from cribl_control_plane.utils import (
|
|
8
9
|
FieldMetadata,
|
|
9
10
|
QueryParamMetadata,
|
|
10
11
|
validate_open_enum,
|
|
11
12
|
)
|
|
13
|
+
from pydantic import field_serializer
|
|
12
14
|
from pydantic.functional_validators import PlainValidator
|
|
13
15
|
from typing import List, Optional
|
|
14
16
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -26,6 +28,15 @@ class GetSummaryRequest(BaseModel):
|
|
|
26
28
|
] = None
|
|
27
29
|
r"""Filter for limiting the response by Cribl product: Cribl Stream (<code>worker</code>) or Cribl Edge (<code>managed-edge</code>)."""
|
|
28
30
|
|
|
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
|
+
|
|
29
40
|
|
|
30
41
|
class GetSummaryResponseTypedDict(TypedDict):
|
|
31
42
|
r"""a list of DistributedSummary objects"""
|
|
@@ -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
|
|
@@ -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
|