cribl-control-plane 0.0.13__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/__init__.py +17 -0
- cribl_control_plane/_hooks/__init__.py +5 -0
- cribl_control_plane/_hooks/clientcredentials.py +211 -0
- cribl_control_plane/_hooks/registration.py +13 -0
- cribl_control_plane/_hooks/sdkhooks.py +81 -0
- cribl_control_plane/_hooks/types.py +112 -0
- cribl_control_plane/_version.py +15 -0
- cribl_control_plane/auth_sdk.py +184 -0
- cribl_control_plane/basesdk.py +358 -0
- cribl_control_plane/errors/__init__.py +60 -0
- cribl_control_plane/errors/apierror.py +38 -0
- cribl_control_plane/errors/criblcontrolplaneerror.py +26 -0
- cribl_control_plane/errors/error.py +24 -0
- cribl_control_plane/errors/healthstatus_error.py +38 -0
- cribl_control_plane/errors/no_response_error.py +13 -0
- cribl_control_plane/errors/responsevalidationerror.py +25 -0
- cribl_control_plane/health.py +166 -0
- cribl_control_plane/httpclient.py +126 -0
- cribl_control_plane/models/__init__.py +7305 -0
- cribl_control_plane/models/addhectokenrequest.py +34 -0
- cribl_control_plane/models/authtoken.py +13 -0
- cribl_control_plane/models/createinputhectokenbyidop.py +45 -0
- cribl_control_plane/models/createinputop.py +24 -0
- cribl_control_plane/models/createoutputop.py +24 -0
- cribl_control_plane/models/createoutputtestbyidop.py +46 -0
- cribl_control_plane/models/criblevent.py +14 -0
- cribl_control_plane/models/deleteinputbyidop.py +37 -0
- cribl_control_plane/models/deleteoutputbyidop.py +37 -0
- cribl_control_plane/models/deleteoutputpqbyidop.py +36 -0
- cribl_control_plane/models/getinputbyidop.py +37 -0
- cribl_control_plane/models/getoutputbyidop.py +37 -0
- cribl_control_plane/models/getoutputpqbyidop.py +36 -0
- cribl_control_plane/models/getoutputsamplesbyidop.py +37 -0
- cribl_control_plane/models/healthstatus.py +36 -0
- cribl_control_plane/models/input.py +199 -0
- cribl_control_plane/models/inputappscope.py +448 -0
- cribl_control_plane/models/inputazureblob.py +308 -0
- cribl_control_plane/models/inputcollection.py +208 -0
- cribl_control_plane/models/inputconfluentcloud.py +585 -0
- cribl_control_plane/models/inputcribl.py +165 -0
- cribl_control_plane/models/inputcriblhttp.py +341 -0
- cribl_control_plane/models/inputcribllakehttp.py +342 -0
- cribl_control_plane/models/inputcriblmetrics.py +175 -0
- cribl_control_plane/models/inputcribltcp.py +299 -0
- cribl_control_plane/models/inputcrowdstrike.py +410 -0
- cribl_control_plane/models/inputdatadogagent.py +364 -0
- cribl_control_plane/models/inputdatagen.py +180 -0
- cribl_control_plane/models/inputedgeprometheus.py +551 -0
- cribl_control_plane/models/inputelastic.py +494 -0
- cribl_control_plane/models/inputeventhub.py +360 -0
- cribl_control_plane/models/inputexec.py +213 -0
- cribl_control_plane/models/inputfile.py +259 -0
- cribl_control_plane/models/inputfirehose.py +341 -0
- cribl_control_plane/models/inputgooglepubsub.py +247 -0
- cribl_control_plane/models/inputgrafana_union.py +1247 -0
- cribl_control_plane/models/inputhttp.py +403 -0
- cribl_control_plane/models/inputhttpraw.py +407 -0
- cribl_control_plane/models/inputjournalfiles.py +208 -0
- cribl_control_plane/models/inputkafka.py +581 -0
- cribl_control_plane/models/inputkinesis.py +363 -0
- cribl_control_plane/models/inputkubeevents.py +182 -0
- cribl_control_plane/models/inputkubelogs.py +256 -0
- cribl_control_plane/models/inputkubemetrics.py +233 -0
- cribl_control_plane/models/inputloki.py +468 -0
- cribl_control_plane/models/inputmetrics.py +290 -0
- cribl_control_plane/models/inputmodeldriventelemetry.py +274 -0
- cribl_control_plane/models/inputmsk.py +654 -0
- cribl_control_plane/models/inputnetflow.py +224 -0
- cribl_control_plane/models/inputoffice365mgmt.py +384 -0
- cribl_control_plane/models/inputoffice365msgtrace.py +449 -0
- cribl_control_plane/models/inputoffice365service.py +377 -0
- cribl_control_plane/models/inputopentelemetry.py +516 -0
- cribl_control_plane/models/inputprometheus.py +464 -0
- cribl_control_plane/models/inputprometheusrw.py +470 -0
- cribl_control_plane/models/inputrawudp.py +207 -0
- cribl_control_plane/models/inputs3.py +416 -0
- cribl_control_plane/models/inputs3inventory.py +440 -0
- cribl_control_plane/models/inputsecuritylake.py +425 -0
- cribl_control_plane/models/inputsnmp.py +274 -0
- cribl_control_plane/models/inputsplunk.py +387 -0
- cribl_control_plane/models/inputsplunkhec.py +478 -0
- cribl_control_plane/models/inputsplunksearch.py +537 -0
- cribl_control_plane/models/inputsqs.py +320 -0
- cribl_control_plane/models/inputsyslog_union.py +759 -0
- cribl_control_plane/models/inputsystemmetrics.py +533 -0
- cribl_control_plane/models/inputsystemstate.py +417 -0
- cribl_control_plane/models/inputtcp.py +359 -0
- cribl_control_plane/models/inputtcpjson.py +334 -0
- cribl_control_plane/models/inputwef.py +498 -0
- cribl_control_plane/models/inputwindowsmetrics.py +457 -0
- cribl_control_plane/models/inputwineventlogs.py +222 -0
- cribl_control_plane/models/inputwiz.py +334 -0
- cribl_control_plane/models/inputzscalerhec.py +439 -0
- cribl_control_plane/models/listinputop.py +24 -0
- cribl_control_plane/models/listoutputop.py +24 -0
- cribl_control_plane/models/logininfo.py +16 -0
- cribl_control_plane/models/output.py +229 -0
- cribl_control_plane/models/outputazureblob.py +471 -0
- cribl_control_plane/models/outputazuredataexplorer.py +660 -0
- cribl_control_plane/models/outputazureeventhub.py +321 -0
- cribl_control_plane/models/outputazurelogs.py +386 -0
- cribl_control_plane/models/outputclickhouse.py +650 -0
- cribl_control_plane/models/outputcloudwatch.py +273 -0
- cribl_control_plane/models/outputconfluentcloud.py +591 -0
- cribl_control_plane/models/outputcriblhttp.py +494 -0
- cribl_control_plane/models/outputcribllake.py +396 -0
- cribl_control_plane/models/outputcribltcp.py +387 -0
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +410 -0
- cribl_control_plane/models/outputdatadog.py +472 -0
- cribl_control_plane/models/outputdataset.py +437 -0
- cribl_control_plane/models/outputdefault.py +55 -0
- cribl_control_plane/models/outputdevnull.py +50 -0
- cribl_control_plane/models/outputdiskspool.py +89 -0
- cribl_control_plane/models/outputdls3.py +560 -0
- cribl_control_plane/models/outputdynatracehttp.py +454 -0
- cribl_control_plane/models/outputdynatraceotlp.py +486 -0
- cribl_control_plane/models/outputelastic.py +494 -0
- cribl_control_plane/models/outputelasticcloud.py +407 -0
- cribl_control_plane/models/outputexabeam.py +297 -0
- cribl_control_plane/models/outputfilesystem.py +357 -0
- cribl_control_plane/models/outputgooglechronicle.py +486 -0
- cribl_control_plane/models/outputgooglecloudlogging.py +557 -0
- cribl_control_plane/models/outputgooglecloudstorage.py +499 -0
- cribl_control_plane/models/outputgooglepubsub.py +274 -0
- cribl_control_plane/models/outputgrafanacloud_union.py +1024 -0
- cribl_control_plane/models/outputgraphite.py +225 -0
- cribl_control_plane/models/outputhoneycomb.py +369 -0
- cribl_control_plane/models/outputhumiohec.py +389 -0
- cribl_control_plane/models/outputinfluxdb.py +523 -0
- cribl_control_plane/models/outputkafka.py +581 -0
- cribl_control_plane/models/outputkinesis.py +312 -0
- cribl_control_plane/models/outputloki.py +425 -0
- cribl_control_plane/models/outputminio.py +512 -0
- cribl_control_plane/models/outputmsk.py +654 -0
- cribl_control_plane/models/outputnetflow.py +80 -0
- cribl_control_plane/models/outputnewrelic.py +424 -0
- cribl_control_plane/models/outputnewrelicevents.py +401 -0
- cribl_control_plane/models/outputopentelemetry.py +669 -0
- cribl_control_plane/models/outputprometheus.py +485 -0
- cribl_control_plane/models/outputring.py +121 -0
- cribl_control_plane/models/outputrouter.py +83 -0
- cribl_control_plane/models/outputs3.py +556 -0
- cribl_control_plane/models/outputsamplesresponse.py +14 -0
- cribl_control_plane/models/outputsecuritylake.py +505 -0
- cribl_control_plane/models/outputsentinel.py +488 -0
- cribl_control_plane/models/outputsentineloneaisiem.py +505 -0
- cribl_control_plane/models/outputservicenow.py +543 -0
- cribl_control_plane/models/outputsignalfx.py +369 -0
- cribl_control_plane/models/outputsnmp.py +80 -0
- cribl_control_plane/models/outputsns.py +274 -0
- cribl_control_plane/models/outputsplunk.py +383 -0
- cribl_control_plane/models/outputsplunkhec.py +434 -0
- cribl_control_plane/models/outputsplunklb.py +558 -0
- cribl_control_plane/models/outputsqs.py +328 -0
- cribl_control_plane/models/outputstatsd.py +224 -0
- cribl_control_plane/models/outputstatsdext.py +225 -0
- cribl_control_plane/models/outputsumologic.py +378 -0
- cribl_control_plane/models/outputsyslog.py +415 -0
- cribl_control_plane/models/outputtcpjson.py +413 -0
- cribl_control_plane/models/outputtestrequest.py +15 -0
- cribl_control_plane/models/outputtestresponse.py +29 -0
- cribl_control_plane/models/outputwavefront.py +369 -0
- cribl_control_plane/models/outputwebhook.py +689 -0
- cribl_control_plane/models/outputxsiam.py +415 -0
- cribl_control_plane/models/schemeclientoauth.py +24 -0
- cribl_control_plane/models/security.py +36 -0
- cribl_control_plane/models/updatehectokenrequest.py +31 -0
- cribl_control_plane/models/updateinputbyidop.py +44 -0
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +52 -0
- cribl_control_plane/models/updateoutputbyidop.py +44 -0
- cribl_control_plane/outputs.py +1615 -0
- cribl_control_plane/py.typed +1 -0
- cribl_control_plane/sdk.py +164 -0
- cribl_control_plane/sdkconfiguration.py +36 -0
- cribl_control_plane/sources.py +1355 -0
- cribl_control_plane/types/__init__.py +21 -0
- cribl_control_plane/types/basemodel.py +39 -0
- cribl_control_plane/utils/__init__.py +187 -0
- cribl_control_plane/utils/annotations.py +55 -0
- cribl_control_plane/utils/datetimes.py +23 -0
- cribl_control_plane/utils/enums.py +74 -0
- cribl_control_plane/utils/eventstreaming.py +238 -0
- cribl_control_plane/utils/forms.py +223 -0
- cribl_control_plane/utils/headers.py +136 -0
- cribl_control_plane/utils/logger.py +27 -0
- cribl_control_plane/utils/metadata.py +118 -0
- cribl_control_plane/utils/queryparams.py +205 -0
- cribl_control_plane/utils/requestbodies.py +66 -0
- cribl_control_plane/utils/retries.py +217 -0
- cribl_control_plane/utils/security.py +207 -0
- cribl_control_plane/utils/serializers.py +249 -0
- cribl_control_plane/utils/unmarshal_json_response.py +24 -0
- cribl_control_plane/utils/url.py +155 -0
- cribl_control_plane/utils/values.py +137 -0
- cribl_control_plane-0.0.13.dist-info/METADATA +489 -0
- cribl_control_plane-0.0.13.dist-info/RECORD +197 -0
- cribl_control_plane-0.0.13.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,34 @@
|
|
|
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 List, Optional
|
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class AddHecTokenRequestMetadatumTypedDict(TypedDict):
|
|
10
|
+
name: str
|
|
11
|
+
value: str
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class AddHecTokenRequestMetadatum(BaseModel):
|
|
15
|
+
name: str
|
|
16
|
+
|
|
17
|
+
value: str
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class AddHecTokenRequestTypedDict(TypedDict):
|
|
21
|
+
token: str
|
|
22
|
+
description: NotRequired[str]
|
|
23
|
+
enabled: NotRequired[bool]
|
|
24
|
+
metadata: NotRequired[List[AddHecTokenRequestMetadatumTypedDict]]
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class AddHecTokenRequest(BaseModel):
|
|
28
|
+
token: str
|
|
29
|
+
|
|
30
|
+
description: Optional[str] = None
|
|
31
|
+
|
|
32
|
+
enabled: Optional[bool] = None
|
|
33
|
+
|
|
34
|
+
metadata: Optional[List[AddHecTokenRequestMetadatum]] = None
|
|
@@ -0,0 +1,13 @@
|
|
|
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_extensions import TypedDict
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class AuthTokenTypedDict(TypedDict):
|
|
9
|
+
token: str
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class AuthToken(BaseModel):
|
|
13
|
+
token: str
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .addhectokenrequest import AddHecTokenRequest, AddHecTokenRequestTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
7
|
+
from typing import Any, Dict, List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class CreateInputHecTokenByIDRequestTypedDict(TypedDict):
|
|
12
|
+
id: str
|
|
13
|
+
r"""HEC Source id"""
|
|
14
|
+
add_hec_token_request: AddHecTokenRequestTypedDict
|
|
15
|
+
r"""AddHecTokenRequest object"""
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class CreateInputHecTokenByIDRequest(BaseModel):
|
|
19
|
+
id: Annotated[
|
|
20
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
21
|
+
]
|
|
22
|
+
r"""HEC Source id"""
|
|
23
|
+
|
|
24
|
+
add_hec_token_request: Annotated[
|
|
25
|
+
AddHecTokenRequest,
|
|
26
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
27
|
+
]
|
|
28
|
+
r"""AddHecTokenRequest object"""
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class CreateInputHecTokenByIDResponseTypedDict(TypedDict):
|
|
32
|
+
r"""a list of any objects"""
|
|
33
|
+
|
|
34
|
+
count: NotRequired[int]
|
|
35
|
+
r"""number of items present in the items array"""
|
|
36
|
+
items: NotRequired[List[Dict[str, Any]]]
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class CreateInputHecTokenByIDResponse(BaseModel):
|
|
40
|
+
r"""a list of any objects"""
|
|
41
|
+
|
|
42
|
+
count: Optional[int] = None
|
|
43
|
+
r"""number of items present in the items array"""
|
|
44
|
+
|
|
45
|
+
items: Optional[List[Dict[str, Any]]] = None
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .input import Input, InputTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from typing import List, Optional
|
|
7
|
+
from typing_extensions import NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class CreateInputResponseTypedDict(TypedDict):
|
|
11
|
+
r"""a list of Source objects"""
|
|
12
|
+
|
|
13
|
+
count: NotRequired[int]
|
|
14
|
+
r"""number of items present in the items array"""
|
|
15
|
+
items: NotRequired[List[InputTypedDict]]
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class CreateInputResponse(BaseModel):
|
|
19
|
+
r"""a list of Source objects"""
|
|
20
|
+
|
|
21
|
+
count: Optional[int] = None
|
|
22
|
+
r"""number of items present in the items array"""
|
|
23
|
+
|
|
24
|
+
items: Optional[List[Input]] = None
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .output import Output, OutputTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from typing import List, Optional
|
|
7
|
+
from typing_extensions import NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class CreateOutputResponseTypedDict(TypedDict):
|
|
11
|
+
r"""a list of Output objects"""
|
|
12
|
+
|
|
13
|
+
count: NotRequired[int]
|
|
14
|
+
r"""number of items present in the items array"""
|
|
15
|
+
items: NotRequired[List[OutputTypedDict]]
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class CreateOutputResponse(BaseModel):
|
|
19
|
+
r"""a list of Output objects"""
|
|
20
|
+
|
|
21
|
+
count: Optional[int] = None
|
|
22
|
+
r"""number of items present in the items array"""
|
|
23
|
+
|
|
24
|
+
items: Optional[List[Output]] = None
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .outputtestrequest import OutputTestRequest, OutputTestRequestTypedDict
|
|
5
|
+
from .outputtestresponse import OutputTestResponse, OutputTestResponseTypedDict
|
|
6
|
+
from cribl_control_plane.types import BaseModel
|
|
7
|
+
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
8
|
+
from typing import List, Optional
|
|
9
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class CreateOutputTestByIDRequestTypedDict(TypedDict):
|
|
13
|
+
id: str
|
|
14
|
+
r"""Output Id"""
|
|
15
|
+
output_test_request: OutputTestRequestTypedDict
|
|
16
|
+
r"""OutputTestRequest object"""
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class CreateOutputTestByIDRequest(BaseModel):
|
|
20
|
+
id: Annotated[
|
|
21
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
22
|
+
]
|
|
23
|
+
r"""Output Id"""
|
|
24
|
+
|
|
25
|
+
output_test_request: Annotated[
|
|
26
|
+
OutputTestRequest,
|
|
27
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
28
|
+
]
|
|
29
|
+
r"""OutputTestRequest object"""
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class CreateOutputTestByIDResponseTypedDict(TypedDict):
|
|
33
|
+
r"""a list of OutputTestResponse objects"""
|
|
34
|
+
|
|
35
|
+
count: NotRequired[int]
|
|
36
|
+
r"""number of items present in the items array"""
|
|
37
|
+
items: NotRequired[List[OutputTestResponseTypedDict]]
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class CreateOutputTestByIDResponse(BaseModel):
|
|
41
|
+
r"""a list of OutputTestResponse objects"""
|
|
42
|
+
|
|
43
|
+
count: Optional[int] = None
|
|
44
|
+
r"""number of items present in the items array"""
|
|
45
|
+
|
|
46
|
+
items: Optional[List[OutputTestResponse]] = None
|
|
@@ -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.types import BaseModel
|
|
5
|
+
import pydantic
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class CriblEventTypedDict(TypedDict):
|
|
10
|
+
raw: str
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class CriblEvent(BaseModel):
|
|
14
|
+
raw: Annotated[str, pydantic.Field(alias="_raw")]
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .input import Input, InputTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
+
from typing import List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class DeleteInputByIDRequestTypedDict(TypedDict):
|
|
12
|
+
id: str
|
|
13
|
+
r"""Unique ID to DELETE"""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class DeleteInputByIDRequest(BaseModel):
|
|
17
|
+
id: Annotated[
|
|
18
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
|
+
]
|
|
20
|
+
r"""Unique ID to DELETE"""
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class DeleteInputByIDResponseTypedDict(TypedDict):
|
|
24
|
+
r"""a list of Source objects"""
|
|
25
|
+
|
|
26
|
+
count: NotRequired[int]
|
|
27
|
+
r"""number of items present in the items array"""
|
|
28
|
+
items: NotRequired[List[InputTypedDict]]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class DeleteInputByIDResponse(BaseModel):
|
|
32
|
+
r"""a list of Source objects"""
|
|
33
|
+
|
|
34
|
+
count: Optional[int] = None
|
|
35
|
+
r"""number of items present in the items array"""
|
|
36
|
+
|
|
37
|
+
items: Optional[List[Input]] = None
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .output import Output, OutputTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
+
from typing import List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class DeleteOutputByIDRequestTypedDict(TypedDict):
|
|
12
|
+
id: str
|
|
13
|
+
r"""Unique ID to DELETE"""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class DeleteOutputByIDRequest(BaseModel):
|
|
17
|
+
id: Annotated[
|
|
18
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
|
+
]
|
|
20
|
+
r"""Unique ID to DELETE"""
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class DeleteOutputByIDResponseTypedDict(TypedDict):
|
|
24
|
+
r"""a list of Output objects"""
|
|
25
|
+
|
|
26
|
+
count: NotRequired[int]
|
|
27
|
+
r"""number of items present in the items array"""
|
|
28
|
+
items: NotRequired[List[OutputTypedDict]]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class DeleteOutputByIDResponse(BaseModel):
|
|
32
|
+
r"""a list of Output objects"""
|
|
33
|
+
|
|
34
|
+
count: Optional[int] = None
|
|
35
|
+
r"""number of items present in the items array"""
|
|
36
|
+
|
|
37
|
+
items: Optional[List[Output]] = None
|
|
@@ -0,0 +1,36 @@
|
|
|
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 cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
6
|
+
from typing import Any, Dict, List, Optional
|
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class DeleteOutputPqByIDRequestTypedDict(TypedDict):
|
|
11
|
+
id: str
|
|
12
|
+
r"""Output Id"""
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class DeleteOutputPqByIDRequest(BaseModel):
|
|
16
|
+
id: Annotated[
|
|
17
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
18
|
+
]
|
|
19
|
+
r"""Output Id"""
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class DeleteOutputPqByIDResponseTypedDict(TypedDict):
|
|
23
|
+
r"""a list of any objects"""
|
|
24
|
+
|
|
25
|
+
count: NotRequired[int]
|
|
26
|
+
r"""number of items present in the items array"""
|
|
27
|
+
items: NotRequired[List[Dict[str, Any]]]
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class DeleteOutputPqByIDResponse(BaseModel):
|
|
31
|
+
r"""a list of any objects"""
|
|
32
|
+
|
|
33
|
+
count: Optional[int] = None
|
|
34
|
+
r"""number of items present in the items array"""
|
|
35
|
+
|
|
36
|
+
items: Optional[List[Dict[str, Any]]] = None
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .input import Input, InputTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
+
from typing import List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class GetInputByIDRequestTypedDict(TypedDict):
|
|
12
|
+
id: str
|
|
13
|
+
r"""Unique ID to GET"""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class GetInputByIDRequest(BaseModel):
|
|
17
|
+
id: Annotated[
|
|
18
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
|
+
]
|
|
20
|
+
r"""Unique ID to GET"""
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class GetInputByIDResponseTypedDict(TypedDict):
|
|
24
|
+
r"""a list of Source objects"""
|
|
25
|
+
|
|
26
|
+
count: NotRequired[int]
|
|
27
|
+
r"""number of items present in the items array"""
|
|
28
|
+
items: NotRequired[List[InputTypedDict]]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class GetInputByIDResponse(BaseModel):
|
|
32
|
+
r"""a list of Source objects"""
|
|
33
|
+
|
|
34
|
+
count: Optional[int] = None
|
|
35
|
+
r"""number of items present in the items array"""
|
|
36
|
+
|
|
37
|
+
items: Optional[List[Input]] = None
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .output import Output, OutputTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
+
from typing import List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class GetOutputByIDRequestTypedDict(TypedDict):
|
|
12
|
+
id: str
|
|
13
|
+
r"""Unique ID to GET"""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class GetOutputByIDRequest(BaseModel):
|
|
17
|
+
id: Annotated[
|
|
18
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
|
+
]
|
|
20
|
+
r"""Unique ID to GET"""
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class GetOutputByIDResponseTypedDict(TypedDict):
|
|
24
|
+
r"""a list of Output objects"""
|
|
25
|
+
|
|
26
|
+
count: NotRequired[int]
|
|
27
|
+
r"""number of items present in the items array"""
|
|
28
|
+
items: NotRequired[List[OutputTypedDict]]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class GetOutputByIDResponse(BaseModel):
|
|
32
|
+
r"""a list of Output objects"""
|
|
33
|
+
|
|
34
|
+
count: Optional[int] = None
|
|
35
|
+
r"""number of items present in the items array"""
|
|
36
|
+
|
|
37
|
+
items: Optional[List[Output]] = None
|
|
@@ -0,0 +1,36 @@
|
|
|
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 cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
6
|
+
from typing import Any, Dict, List, Optional
|
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class GetOutputPqByIDRequestTypedDict(TypedDict):
|
|
11
|
+
id: str
|
|
12
|
+
r"""Output Id"""
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class GetOutputPqByIDRequest(BaseModel):
|
|
16
|
+
id: Annotated[
|
|
17
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
18
|
+
]
|
|
19
|
+
r"""Output Id"""
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class GetOutputPqByIDResponseTypedDict(TypedDict):
|
|
23
|
+
r"""a list of any objects"""
|
|
24
|
+
|
|
25
|
+
count: NotRequired[int]
|
|
26
|
+
r"""number of items present in the items array"""
|
|
27
|
+
items: NotRequired[List[Dict[str, Any]]]
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class GetOutputPqByIDResponse(BaseModel):
|
|
31
|
+
r"""a list of any objects"""
|
|
32
|
+
|
|
33
|
+
count: Optional[int] = None
|
|
34
|
+
r"""number of items present in the items array"""
|
|
35
|
+
|
|
36
|
+
items: Optional[List[Dict[str, Any]]] = None
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .outputsamplesresponse import OutputSamplesResponse, OutputSamplesResponseTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
+
from typing import List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class GetOutputSamplesByIDRequestTypedDict(TypedDict):
|
|
12
|
+
id: str
|
|
13
|
+
r"""Output Id"""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class GetOutputSamplesByIDRequest(BaseModel):
|
|
17
|
+
id: Annotated[
|
|
18
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
|
+
]
|
|
20
|
+
r"""Output Id"""
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class GetOutputSamplesByIDResponseTypedDict(TypedDict):
|
|
24
|
+
r"""a list of OutputSamplesResponse objects"""
|
|
25
|
+
|
|
26
|
+
count: NotRequired[int]
|
|
27
|
+
r"""number of items present in the items array"""
|
|
28
|
+
items: NotRequired[List[OutputSamplesResponseTypedDict]]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class GetOutputSamplesByIDResponse(BaseModel):
|
|
32
|
+
r"""a list of OutputSamplesResponse objects"""
|
|
33
|
+
|
|
34
|
+
count: Optional[int] = None
|
|
35
|
+
r"""number of items present in the items array"""
|
|
36
|
+
|
|
37
|
+
items: Optional[List[OutputSamplesResponse]] = None
|
|
@@ -0,0 +1,36 @@
|
|
|
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 cribl_control_plane.types import BaseModel
|
|
6
|
+
from cribl_control_plane.utils import validate_open_enum
|
|
7
|
+
from enum import Enum
|
|
8
|
+
import pydantic
|
|
9
|
+
from pydantic.functional_validators import PlainValidator
|
|
10
|
+
from typing import Optional
|
|
11
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class Role(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
15
|
+
PRIMARY = "primary"
|
|
16
|
+
STANDBY = "standby"
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class Status(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
20
|
+
HEALTHY = "healthy"
|
|
21
|
+
SHUTTING_DOWN = "shutting down"
|
|
22
|
+
STANDBY = "standby"
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class HealthStatusTypedDict(TypedDict):
|
|
26
|
+
status: Status
|
|
27
|
+
start_time: float
|
|
28
|
+
role: NotRequired[Role]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class HealthStatus(BaseModel):
|
|
32
|
+
status: Annotated[Status, PlainValidator(validate_open_enum(False))]
|
|
33
|
+
|
|
34
|
+
start_time: Annotated[float, pydantic.Field(alias="startTime")]
|
|
35
|
+
|
|
36
|
+
role: Annotated[Optional[Role], PlainValidator(validate_open_enum(False))] = None
|