cribl-control-plane 0.4.0a12__py3-none-any.whl → 0.4.0b12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/acl.py +14 -6
- cribl_control_plane/branches.py +24 -8
- cribl_control_plane/commits.py +98 -42
- cribl_control_plane/commits_files.py +28 -12
- cribl_control_plane/configs_versions.py +14 -10
- cribl_control_plane/destinations.py +70 -30
- cribl_control_plane/destinations_pq.py +28 -12
- cribl_control_plane/groups_sdk.py +84 -60
- cribl_control_plane/health.py +10 -2
- cribl_control_plane/hectokens.py +28 -32
- cribl_control_plane/lakedatasets.py +70 -86
- cribl_control_plane/models/__init__.py +266 -438
- cribl_control_plane/models/addhectokenrequest.py +1 -7
- cribl_control_plane/models/configgroup.py +1 -0
- cribl_control_plane/models/{getversionbranchop.py → countedbranchinfo.py} +2 -6
- cribl_control_plane/models/countedconfiggroup.py +20 -0
- cribl_control_plane/models/countedcribllakedataset.py +20 -0
- cribl_control_plane/models/counteddistributedsummary.py +20 -0
- cribl_control_plane/models/countedgitcommitsummary.py +20 -0
- cribl_control_plane/models/countedgitcountresult.py +20 -0
- cribl_control_plane/models/{createinputop.py → countedgitdiffresult.py} +5 -9
- cribl_control_plane/models/countedgitfilesresponse.py +20 -0
- cribl_control_plane/models/{getversioninfoop.py → countedgitinfo.py} +2 -6
- cribl_control_plane/models/countedgitlogresult.py +20 -0
- cribl_control_plane/models/countedgitrevertresult.py +20 -0
- cribl_control_plane/models/countedgitshowresult.py +20 -0
- cribl_control_plane/models/countedgitstatusresult.py +20 -0
- cribl_control_plane/models/{listinputop.py → countedinput.py} +2 -6
- cribl_control_plane/models/countedinputsplunkhec.py +20 -0
- cribl_control_plane/models/countedjobinfo.py +20 -0
- cribl_control_plane/models/countedmasterworkerentry.py +20 -0
- cribl_control_plane/models/countednumber.py +19 -0
- cribl_control_plane/models/countedobject.py +19 -0
- cribl_control_plane/models/{listoutputop.py → countedoutput.py} +2 -6
- cribl_control_plane/models/{createoutputop.py → countedoutputsamplesresponse.py} +5 -9
- cribl_control_plane/models/countedoutputtestresponse.py +20 -0
- cribl_control_plane/models/countedpackinfo.py +20 -0
- cribl_control_plane/models/{createpacksop.py → countedpackinstallinfo.py} +2 -6
- cribl_control_plane/models/{listpipelineop.py → countedpipeline.py} +2 -6
- cribl_control_plane/models/{listroutesop.py → countedroutes.py} +2 -6
- cribl_control_plane/models/{createversionpushop.py → countedstring.py} +2 -6
- cribl_control_plane/models/countedteamaccesscontrollist.py +20 -0
- cribl_control_plane/models/counteduseraccesscontrollist.py +20 -0
- cribl_control_plane/models/createauthloginop.py +18 -0
- cribl_control_plane/models/createconfiggroupbyproductop.py +1 -20
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +1 -19
- cribl_control_plane/models/createinputhectokenbyidop.py +1 -20
- cribl_control_plane/models/createoutputtestbyidop.py +1 -20
- cribl_control_plane/models/createroutesappendbyidop.py +2 -20
- cribl_control_plane/models/createversioncommitop.py +1 -19
- cribl_control_plane/models/createversionrevertop.py +1 -19
- cribl_control_plane/models/createversionundoop.py +1 -18
- cribl_control_plane/models/criblevent.py +15 -0
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +1 -20
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/deleteinputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputpqbyidop.py +1 -19
- cribl_control_plane/models/deletepacksbyidop.py +1 -20
- cribl_control_plane/models/deletepipelinebyidop.py +1 -20
- cribl_control_plane/models/difffiles.py +5 -46
- cribl_control_plane/models/diffline.py +26 -0
- cribl_control_plane/models/difflinecontext.py +28 -0
- cribl_control_plane/models/difflinedelete.py +25 -0
- cribl_control_plane/models/difflineinsert.py +25 -0
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +1 -19
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +1 -19
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +1 -19
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +1 -19
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +2 -79
- cribl_control_plane/models/getinputbyidop.py +1 -20
- cribl_control_plane/models/getmasterworkerentryop.py +1 -18
- cribl_control_plane/models/getoutputbyidop.py +1 -20
- cribl_control_plane/models/getoutputpqbyidop.py +1 -20
- cribl_control_plane/models/getoutputsamplesbyidop.py +1 -20
- cribl_control_plane/models/getpacksbyidop.py +1 -20
- cribl_control_plane/models/getpacksop.py +1 -19
- cribl_control_plane/models/getpipelinebyidop.py +1 -20
- cribl_control_plane/models/getroutesbyidop.py +1 -20
- cribl_control_plane/models/getsummaryop.py +1 -19
- cribl_control_plane/models/getversioncountop.py +1 -19
- cribl_control_plane/models/getversiondiffop.py +1 -19
- cribl_control_plane/models/getversionfilesop.py +1 -19
- cribl_control_plane/models/getversionop.py +1 -19
- cribl_control_plane/models/getversionshowop.py +1 -19
- cribl_control_plane/models/getversionstatusop.py +1 -19
- cribl_control_plane/models/groupcreaterequest.py +1 -0
- cribl_control_plane/models/hbcriblinfo.py +3 -4
- cribl_control_plane/models/heartbeatmetadata.py +3 -11
- cribl_control_plane/models/inputcloudflarehec.py +9 -4
- cribl_control_plane/models/inputconfluentcloud.py +4 -2
- cribl_control_plane/models/inputcribllakehttp.py +15 -0
- cribl_control_plane/models/inputkafka.py +4 -2
- cribl_control_plane/models/inputmsk.py +4 -2
- cribl_control_plane/models/inputsnmp.py +33 -7
- cribl_control_plane/models/inputsplunkhec.py +8 -4
- cribl_control_plane/models/inputwef.py +23 -0
- cribl_control_plane/models/inputwiz.py +95 -0
- cribl_control_plane/models/inputzscalerhec.py +8 -4
- cribl_control_plane/models/listconfiggroupbyproductop.py +1 -19
- cribl_control_plane/models/listmasterworkerentryop.py +1 -19
- cribl_control_plane/models/masterworkerentry.py +3 -11
- cribl_control_plane/models/nodeprovidedinfo.py +2 -10
- cribl_control_plane/models/outputnetflow.py +0 -7
- cribl_control_plane/models/outputsplunklb.py +10 -0
- cribl_control_plane/models/runnablejobcollection.py +0 -56
- cribl_control_plane/models/runnablejobexecutor.py +0 -28
- cribl_control_plane/models/runnablejobscheduledsearch.py +0 -28
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +1 -19
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +1 -20
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/updatehectokenrequest.py +1 -7
- cribl_control_plane/models/updateinputbyidop.py +1 -19
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +1 -20
- cribl_control_plane/models/updateoutputbyidop.py +1 -19
- cribl_control_plane/models/updatepacksbyidop.py +1 -20
- cribl_control_plane/models/updatepipelinebyidop.py +1 -19
- cribl_control_plane/models/updateroutesbyidop.py +1 -19
- cribl_control_plane/nodes.py +28 -20
- cribl_control_plane/packs.py +80 -32
- cribl_control_plane/pipelines.py +70 -30
- cribl_control_plane/routes_sdk.py +56 -28
- cribl_control_plane/samples.py +28 -16
- cribl_control_plane/sources.py +70 -30
- cribl_control_plane/statuses.py +14 -6
- cribl_control_plane/summaries.py +14 -6
- cribl_control_plane/teams.py +14 -6
- cribl_control_plane/tokens.py +26 -8
- cribl_control_plane/versions_configs.py +14 -6
- {cribl_control_plane-0.4.0a12.dist-info → cribl_control_plane-0.4.0b12.dist-info}/METADATA +23 -23
- {cribl_control_plane-0.4.0a12.dist-info → cribl_control_plane-0.4.0b12.dist-info}/RECORD +135 -113
- cribl_control_plane/models/createpipelineop.py +0 -24
- cribl_control_plane/models/lookupversions.py +0 -13
- {cribl_control_plane-0.4.0a12.dist-info → cribl_control_plane-0.4.0b12.dist-info}/WHEEL +0 -0
- {cribl_control_plane-0.4.0a12.dist-info → cribl_control_plane-0.4.0b12.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .useraccesscontrollist import UserAccessControlList, UserAccessControlListTypedDict
|
|
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 CountedUserAccessControlListTypedDict(TypedDict):
|
|
11
|
+
count: NotRequired[int]
|
|
12
|
+
r"""number of items present in the items array"""
|
|
13
|
+
items: NotRequired[List[UserAccessControlListTypedDict]]
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class CountedUserAccessControlList(BaseModel):
|
|
17
|
+
count: Optional[int] = None
|
|
18
|
+
r"""number of items present in the items array"""
|
|
19
|
+
|
|
20
|
+
items: Optional[List[UserAccessControlList]] = None
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .authtoken import AuthToken, AuthTokenTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from typing import Dict, List
|
|
7
|
+
from typing_extensions import TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class CreateAuthLoginResponseTypedDict(TypedDict):
|
|
11
|
+
headers: Dict[str, List[str]]
|
|
12
|
+
result: AuthTokenTypedDict
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class CreateAuthLoginResponse(BaseModel):
|
|
16
|
+
headers: Dict[str, List[str]]
|
|
17
|
+
|
|
18
|
+
result: AuthToken
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
5
4
|
from .groupcreaterequest import GroupCreateRequest, GroupCreateRequestTypedDict
|
|
6
5
|
from .productscore import ProductsCore
|
|
7
6
|
from cribl_control_plane import models
|
|
@@ -14,8 +13,7 @@ from cribl_control_plane.utils import (
|
|
|
14
13
|
)
|
|
15
14
|
from pydantic import field_serializer
|
|
16
15
|
from pydantic.functional_validators import PlainValidator
|
|
17
|
-
from
|
|
18
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
16
|
+
from typing_extensions import Annotated, TypedDict
|
|
19
17
|
|
|
20
18
|
|
|
21
19
|
class CreateConfigGroupByProductRequestTypedDict(TypedDict):
|
|
@@ -46,20 +44,3 @@ class CreateConfigGroupByProductRequest(BaseModel):
|
|
|
46
44
|
except ValueError:
|
|
47
45
|
return value
|
|
48
46
|
return value
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
class CreateConfigGroupByProductResponseTypedDict(TypedDict):
|
|
52
|
-
r"""a list of ConfigGroup objects"""
|
|
53
|
-
|
|
54
|
-
count: NotRequired[int]
|
|
55
|
-
r"""number of items present in the items array"""
|
|
56
|
-
items: NotRequired[List[ConfigGroupTypedDict]]
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
class CreateConfigGroupByProductResponse(BaseModel):
|
|
60
|
-
r"""a list of ConfigGroup objects"""
|
|
61
|
-
|
|
62
|
-
count: Optional[int] = None
|
|
63
|
-
r"""number of items present in the items array"""
|
|
64
|
-
|
|
65
|
-
items: Optional[List[ConfigGroup]] = None
|
|
@@ -5,8 +5,7 @@ from .cribllakedataset import CriblLakeDataset, CriblLakeDatasetTypedDict
|
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
7
7
|
import pydantic
|
|
8
|
-
from
|
|
9
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
|
+
from typing_extensions import Annotated, TypedDict
|
|
10
9
|
|
|
11
10
|
|
|
12
11
|
class CreateCriblLakeDatasetByLakeIDRequestTypedDict(TypedDict):
|
|
@@ -29,20 +28,3 @@ class CreateCriblLakeDatasetByLakeIDRequest(BaseModel):
|
|
|
29
28
|
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
30
29
|
]
|
|
31
30
|
r"""CriblLakeDataset object"""
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
class CreateCriblLakeDatasetByLakeIDResponseTypedDict(TypedDict):
|
|
35
|
-
r"""a list of CriblLakeDataset objects"""
|
|
36
|
-
|
|
37
|
-
count: NotRequired[int]
|
|
38
|
-
r"""number of items present in the items array"""
|
|
39
|
-
items: NotRequired[List[CriblLakeDatasetTypedDict]]
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
class CreateCriblLakeDatasetByLakeIDResponse(BaseModel):
|
|
43
|
-
r"""a list of CriblLakeDataset objects"""
|
|
44
|
-
|
|
45
|
-
count: Optional[int] = None
|
|
46
|
-
r"""number of items present in the items array"""
|
|
47
|
-
|
|
48
|
-
items: Optional[List[CriblLakeDataset]] = None
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .addhectokenrequest import AddHecTokenRequest, AddHecTokenRequestTypedDict
|
|
5
|
-
from .inputsplunkhec import InputSplunkHec, InputSplunkHecTypedDict
|
|
6
5
|
from cribl_control_plane.types import BaseModel
|
|
7
6
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
8
|
-
from
|
|
9
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
7
|
+
from typing_extensions import Annotated, TypedDict
|
|
10
8
|
|
|
11
9
|
|
|
12
10
|
class CreateInputHecTokenByIDRequestTypedDict(TypedDict):
|
|
@@ -27,20 +25,3 @@ class CreateInputHecTokenByIDRequest(BaseModel):
|
|
|
27
25
|
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
28
26
|
]
|
|
29
27
|
r"""AddHecTokenRequest object"""
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
class CreateInputHecTokenByIDResponseTypedDict(TypedDict):
|
|
33
|
-
r"""a list of InputSplunkHec objects"""
|
|
34
|
-
|
|
35
|
-
count: NotRequired[int]
|
|
36
|
-
r"""number of items present in the items array"""
|
|
37
|
-
items: NotRequired[List[InputSplunkHecTypedDict]]
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
class CreateInputHecTokenByIDResponse(BaseModel):
|
|
41
|
-
r"""a list of InputSplunkHec objects"""
|
|
42
|
-
|
|
43
|
-
count: Optional[int] = None
|
|
44
|
-
r"""number of items present in the items array"""
|
|
45
|
-
|
|
46
|
-
items: Optional[List[InputSplunkHec]] = None
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .outputtestrequest import OutputTestRequest, OutputTestRequestTypedDict
|
|
5
|
-
from .outputtestresponse import OutputTestResponse, OutputTestResponseTypedDict
|
|
6
5
|
from cribl_control_plane.types import BaseModel
|
|
7
6
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
8
|
-
from
|
|
9
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
7
|
+
from typing_extensions import Annotated, TypedDict
|
|
10
8
|
|
|
11
9
|
|
|
12
10
|
class CreateOutputTestByIDRequestTypedDict(TypedDict):
|
|
@@ -27,20 +25,3 @@ class CreateOutputTestByIDRequest(BaseModel):
|
|
|
27
25
|
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
28
26
|
]
|
|
29
27
|
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
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .routeconf import RouteConf, RouteConfTypedDict
|
|
5
|
-
from .routes import Routes, RoutesTypedDict
|
|
6
5
|
from cribl_control_plane.types import BaseModel
|
|
7
6
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
8
|
-
from typing import List
|
|
9
|
-
from typing_extensions import Annotated,
|
|
7
|
+
from typing import List
|
|
8
|
+
from typing_extensions import Annotated, TypedDict
|
|
10
9
|
|
|
11
10
|
|
|
12
11
|
class CreateRoutesAppendByIDRequestTypedDict(TypedDict):
|
|
@@ -27,20 +26,3 @@ class CreateRoutesAppendByIDRequest(BaseModel):
|
|
|
27
26
|
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
28
27
|
]
|
|
29
28
|
r"""RouteDefinitions object"""
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
class CreateRoutesAppendByIDResponseTypedDict(TypedDict):
|
|
33
|
-
r"""a list of Routes objects"""
|
|
34
|
-
|
|
35
|
-
count: NotRequired[int]
|
|
36
|
-
r"""number of items present in the items array"""
|
|
37
|
-
items: NotRequired[List[RoutesTypedDict]]
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
class CreateRoutesAppendByIDResponse(BaseModel):
|
|
41
|
-
r"""a list of Routes objects"""
|
|
42
|
-
|
|
43
|
-
count: Optional[int] = None
|
|
44
|
-
r"""number of items present in the items array"""
|
|
45
|
-
|
|
46
|
-
items: Optional[List[Routes]] = None
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .gitcommitparams import GitCommitParams, GitCommitParamsTypedDict
|
|
5
|
-
from .gitcommitsummary import GitCommitSummary, GitCommitSummaryTypedDict
|
|
6
5
|
from cribl_control_plane.types import BaseModel
|
|
7
6
|
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata, RequestMetadata
|
|
8
7
|
import pydantic
|
|
9
|
-
from typing import
|
|
8
|
+
from typing import Optional
|
|
10
9
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
11
10
|
|
|
12
11
|
|
|
@@ -30,20 +29,3 @@ class CreateVersionCommitRequest(BaseModel):
|
|
|
30
29
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
31
30
|
] = None
|
|
32
31
|
r"""The <code>id</code> of the Worker Group or Edge Fleet to create a new commit for."""
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
class CreateVersionCommitResponseTypedDict(TypedDict):
|
|
36
|
-
r"""a list of GitCommitSummary objects"""
|
|
37
|
-
|
|
38
|
-
count: NotRequired[int]
|
|
39
|
-
r"""number of items present in the items array"""
|
|
40
|
-
items: NotRequired[List[GitCommitSummaryTypedDict]]
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
class CreateVersionCommitResponse(BaseModel):
|
|
44
|
-
r"""a list of GitCommitSummary objects"""
|
|
45
|
-
|
|
46
|
-
count: Optional[int] = None
|
|
47
|
-
r"""number of items present in the items array"""
|
|
48
|
-
|
|
49
|
-
items: Optional[List[GitCommitSummary]] = None
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .gitrevertparams import GitRevertParams, GitRevertParamsTypedDict
|
|
5
|
-
from .gitrevertresult import GitRevertResult, GitRevertResultTypedDict
|
|
6
5
|
from cribl_control_plane.types import BaseModel
|
|
7
6
|
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata, RequestMetadata
|
|
8
7
|
import pydantic
|
|
9
|
-
from typing import
|
|
8
|
+
from typing import Optional
|
|
10
9
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
11
10
|
|
|
12
11
|
|
|
@@ -30,20 +29,3 @@ class CreateVersionRevertRequest(BaseModel):
|
|
|
30
29
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
31
30
|
] = None
|
|
32
31
|
r"""The <code>id</code> of the Worker Group or Edge Fleet to revert the commit for. Required in Distributed deployments. Omit in Single-instance deployments."""
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
class CreateVersionRevertResponseTypedDict(TypedDict):
|
|
36
|
-
r"""a list of GitRevertResult objects"""
|
|
37
|
-
|
|
38
|
-
count: NotRequired[int]
|
|
39
|
-
r"""number of items present in the items array"""
|
|
40
|
-
items: NotRequired[List[GitRevertResultTypedDict]]
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
class CreateVersionRevertResponse(BaseModel):
|
|
44
|
-
r"""a list of GitRevertResult objects"""
|
|
45
|
-
|
|
46
|
-
count: Optional[int] = None
|
|
47
|
-
r"""number of items present in the items array"""
|
|
48
|
-
|
|
49
|
-
items: Optional[List[GitRevertResult]] = None
|
|
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
from cribl_control_plane.types import BaseModel
|
|
5
5
|
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
6
6
|
import pydantic
|
|
7
|
-
from typing import
|
|
7
|
+
from typing import Optional
|
|
8
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
9
|
|
|
10
10
|
|
|
@@ -20,20 +20,3 @@ class CreateVersionUndoRequest(BaseModel):
|
|
|
20
20
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
21
21
|
] = None
|
|
22
22
|
r"""The <code>id</code> of the Worker Group or Edge Fleet to undo the uncommited changes for."""
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
class CreateVersionUndoResponseTypedDict(TypedDict):
|
|
26
|
-
r"""a list of object objects"""
|
|
27
|
-
|
|
28
|
-
count: NotRequired[int]
|
|
29
|
-
r"""number of items present in the items array"""
|
|
30
|
-
items: NotRequired[List[Dict[str, Any]]]
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
class CreateVersionUndoResponse(BaseModel):
|
|
34
|
-
r"""a list of object objects"""
|
|
35
|
-
|
|
36
|
-
count: Optional[int] = None
|
|
37
|
-
r"""number of items present in the items array"""
|
|
38
|
-
|
|
39
|
-
items: Optional[List[Dict[str, Any]]] = None
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from cribl_control_plane.types import BaseModel
|
|
5
5
|
import pydantic
|
|
6
|
+
from pydantic import ConfigDict
|
|
7
|
+
from typing import Any, Dict
|
|
6
8
|
from typing_extensions import Annotated, TypedDict
|
|
7
9
|
|
|
8
10
|
|
|
@@ -11,4 +13,17 @@ class CriblEventTypedDict(TypedDict):
|
|
|
11
13
|
|
|
12
14
|
|
|
13
15
|
class CriblEvent(BaseModel):
|
|
16
|
+
model_config = ConfigDict(
|
|
17
|
+
populate_by_name=True, arbitrary_types_allowed=True, extra="allow"
|
|
18
|
+
)
|
|
19
|
+
__pydantic_extra__: Dict[str, Any] = pydantic.Field(init=False)
|
|
20
|
+
|
|
14
21
|
raw: Annotated[str, pydantic.Field(alias="_raw")]
|
|
22
|
+
|
|
23
|
+
@property
|
|
24
|
+
def additional_properties(self):
|
|
25
|
+
return self.__pydantic_extra__
|
|
26
|
+
|
|
27
|
+
@additional_properties.setter
|
|
28
|
+
def additional_properties(self, value):
|
|
29
|
+
self.__pydantic_extra__ = value # pyright: ignore[reportIncompatibleVariableOverride]
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
5
4
|
from .productscore import ProductsCore
|
|
6
5
|
from cribl_control_plane import models
|
|
7
6
|
from cribl_control_plane.types import BaseModel
|
|
@@ -12,8 +11,7 @@ from cribl_control_plane.utils import (
|
|
|
12
11
|
)
|
|
13
12
|
from pydantic import field_serializer
|
|
14
13
|
from pydantic.functional_validators import PlainValidator
|
|
15
|
-
from
|
|
16
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
14
|
+
from typing_extensions import Annotated, TypedDict
|
|
17
15
|
|
|
18
16
|
|
|
19
17
|
class DeleteConfigGroupByProductAndIDRequestTypedDict(TypedDict):
|
|
@@ -43,20 +41,3 @@ class DeleteConfigGroupByProductAndIDRequest(BaseModel):
|
|
|
43
41
|
except ValueError:
|
|
44
42
|
return value
|
|
45
43
|
return value
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
class DeleteConfigGroupByProductAndIDResponseTypedDict(TypedDict):
|
|
49
|
-
r"""a list of ConfigGroup objects"""
|
|
50
|
-
|
|
51
|
-
count: NotRequired[int]
|
|
52
|
-
r"""number of items present in the items array"""
|
|
53
|
-
items: NotRequired[List[ConfigGroupTypedDict]]
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
class DeleteConfigGroupByProductAndIDResponse(BaseModel):
|
|
57
|
-
r"""a list of ConfigGroup objects"""
|
|
58
|
-
|
|
59
|
-
count: Optional[int] = None
|
|
60
|
-
r"""number of items present in the items array"""
|
|
61
|
-
|
|
62
|
-
items: Optional[List[ConfigGroup]] = None
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .cribllakedataset import CriblLakeDataset, CriblLakeDatasetTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
6
|
import pydantic
|
|
8
|
-
from
|
|
9
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
7
|
+
from typing_extensions import Annotated, TypedDict
|
|
10
8
|
|
|
11
9
|
|
|
12
10
|
class DeleteCriblLakeDatasetByLakeIDAndIDRequestTypedDict(TypedDict):
|
|
@@ -28,20 +26,3 @@ class DeleteCriblLakeDatasetByLakeIDAndIDRequest(BaseModel):
|
|
|
28
26
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
29
27
|
]
|
|
30
28
|
r"""The <code>id</code> of the Lake Dataset to delete."""
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
class DeleteCriblLakeDatasetByLakeIDAndIDResponseTypedDict(TypedDict):
|
|
34
|
-
r"""a list of CriblLakeDataset objects"""
|
|
35
|
-
|
|
36
|
-
count: NotRequired[int]
|
|
37
|
-
r"""number of items present in the items array"""
|
|
38
|
-
items: NotRequired[List[CriblLakeDatasetTypedDict]]
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
class DeleteCriblLakeDatasetByLakeIDAndIDResponse(BaseModel):
|
|
42
|
-
r"""a list of CriblLakeDataset objects"""
|
|
43
|
-
|
|
44
|
-
count: Optional[int] = None
|
|
45
|
-
r"""number of items present in the items array"""
|
|
46
|
-
|
|
47
|
-
items: Optional[List[CriblLakeDataset]] = None
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .input import Input, InputTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
-
from
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
class DeleteInputByIDRequestTypedDict(TypedDict):
|
|
@@ -18,20 +16,3 @@ class DeleteInputByIDRequest(BaseModel):
|
|
|
18
16
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
17
|
]
|
|
20
18
|
r"""The <code>id</code> of the Source 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
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .output import Output, OutputTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
-
from
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
class DeleteOutputByIDRequestTypedDict(TypedDict):
|
|
@@ -18,20 +16,3 @@ class DeleteOutputByIDRequest(BaseModel):
|
|
|
18
16
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
17
|
]
|
|
20
18
|
r"""The <code>id</code> of the Destination to delete."""
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class DeleteOutputByIDResponseTypedDict(TypedDict):
|
|
24
|
-
r"""a list of Destination 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 Destination objects"""
|
|
33
|
-
|
|
34
|
-
count: Optional[int] = None
|
|
35
|
-
r"""number of items present in the items array"""
|
|
36
|
-
|
|
37
|
-
items: Optional[List[Output]] = None
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from cribl_control_plane.types import BaseModel
|
|
5
5
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
6
|
-
from
|
|
7
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
8
7
|
|
|
9
8
|
|
|
10
9
|
class DeleteOutputPqByIDRequestTypedDict(TypedDict):
|
|
@@ -17,20 +16,3 @@ class DeleteOutputPqByIDRequest(BaseModel):
|
|
|
17
16
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
18
17
|
]
|
|
19
18
|
r"""The <code>id</code> of the Destination to clear the PQ for."""
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
class DeleteOutputPqByIDResponseTypedDict(TypedDict):
|
|
23
|
-
r"""A list of job ids for the background job that clears the persistent queue"""
|
|
24
|
-
|
|
25
|
-
count: NotRequired[int]
|
|
26
|
-
r"""number of items present in the items array"""
|
|
27
|
-
items: NotRequired[List[str]]
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
class DeleteOutputPqByIDResponse(BaseModel):
|
|
31
|
-
r"""A list of job ids for the background job that clears the persistent queue"""
|
|
32
|
-
|
|
33
|
-
count: Optional[int] = None
|
|
34
|
-
r"""number of items present in the items array"""
|
|
35
|
-
|
|
36
|
-
items: Optional[List[str]] = None
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .packinstallinfo import PackInstallInfo, PackInstallInfoTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
-
from
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
class DeletePacksByIDRequestTypedDict(TypedDict):
|
|
@@ -18,20 +16,3 @@ class DeletePacksByIDRequest(BaseModel):
|
|
|
18
16
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
17
|
]
|
|
20
18
|
r"""The <code>id</code> of the Pack to uninstall."""
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class DeletePacksByIDResponseTypedDict(TypedDict):
|
|
24
|
-
r"""a list of PackInstallInfo objects"""
|
|
25
|
-
|
|
26
|
-
count: NotRequired[int]
|
|
27
|
-
r"""number of items present in the items array"""
|
|
28
|
-
items: NotRequired[List[PackInstallInfoTypedDict]]
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
class DeletePacksByIDResponse(BaseModel):
|
|
32
|
-
r"""a list of PackInstallInfo objects"""
|
|
33
|
-
|
|
34
|
-
count: Optional[int] = None
|
|
35
|
-
r"""number of items present in the items array"""
|
|
36
|
-
|
|
37
|
-
items: Optional[List[PackInstallInfo]] = None
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .pipeline import Pipeline, PipelineTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata
|
|
7
|
-
from
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
class DeletePipelineByIDRequestTypedDict(TypedDict):
|
|
@@ -18,20 +16,3 @@ class DeletePipelineByIDRequest(BaseModel):
|
|
|
18
16
|
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
17
|
]
|
|
20
18
|
r"""The <code>id</code> of the Pipeline to delete."""
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class DeletePipelineByIDResponseTypedDict(TypedDict):
|
|
24
|
-
r"""a list of Pipeline objects"""
|
|
25
|
-
|
|
26
|
-
count: NotRequired[int]
|
|
27
|
-
r"""number of items present in the items array"""
|
|
28
|
-
items: NotRequired[List[PipelineTypedDict]]
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
class DeletePipelineByIDResponse(BaseModel):
|
|
32
|
-
r"""a list of Pipeline objects"""
|
|
33
|
-
|
|
34
|
-
count: Optional[int] = None
|
|
35
|
-
r"""number of items present in the items array"""
|
|
36
|
-
|
|
37
|
-
items: Optional[List[Pipeline]] = None
|
|
@@ -1,59 +1,17 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from .diffline import DiffLine, DiffLineTypedDict
|
|
4
5
|
from cribl_control_plane.types import BaseModel
|
|
5
6
|
import pydantic
|
|
6
7
|
from typing import List, Optional, Union
|
|
7
8
|
from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
|
|
8
9
|
|
|
9
10
|
|
|
10
|
-
class Line3TypedDict(TypedDict):
|
|
11
|
-
content: str
|
|
12
|
-
new_number: float
|
|
13
|
-
old_number: float
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
class Line3(BaseModel):
|
|
17
|
-
content: str
|
|
18
|
-
|
|
19
|
-
new_number: Annotated[float, pydantic.Field(alias="newNumber")]
|
|
20
|
-
|
|
21
|
-
old_number: Annotated[float, pydantic.Field(alias="oldNumber")]
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
class Line2TypedDict(TypedDict):
|
|
25
|
-
content: str
|
|
26
|
-
new_number: float
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
class Line2(BaseModel):
|
|
30
|
-
content: str
|
|
31
|
-
|
|
32
|
-
new_number: Annotated[float, pydantic.Field(alias="newNumber")]
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
class Line1TypedDict(TypedDict):
|
|
36
|
-
content: str
|
|
37
|
-
old_number: float
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
class Line1(BaseModel):
|
|
41
|
-
content: str
|
|
42
|
-
|
|
43
|
-
old_number: Annotated[float, pydantic.Field(alias="oldNumber")]
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
LineUnionTypedDict = TypeAliasType(
|
|
47
|
-
"LineUnionTypedDict", Union[Line1TypedDict, Line2TypedDict, Line3TypedDict]
|
|
48
|
-
)
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
LineUnion = TypeAliasType("LineUnion", Union[Line1, Line2, Line3])
|
|
52
|
-
|
|
53
|
-
|
|
54
11
|
class BlockTypedDict(TypedDict):
|
|
55
12
|
header: str
|
|
56
|
-
lines: List[
|
|
13
|
+
lines: List[DiffLineTypedDict]
|
|
14
|
+
r"""Diff Line"""
|
|
57
15
|
new_start_line: float
|
|
58
16
|
old_start_line: float
|
|
59
17
|
old_start_line2: NotRequired[float]
|
|
@@ -62,7 +20,8 @@ class BlockTypedDict(TypedDict):
|
|
|
62
20
|
class Block(BaseModel):
|
|
63
21
|
header: str
|
|
64
22
|
|
|
65
|
-
lines: List[
|
|
23
|
+
lines: List[DiffLine]
|
|
24
|
+
r"""Diff Line"""
|
|
66
25
|
|
|
67
26
|
new_start_line: Annotated[float, pydantic.Field(alias="newStartLine")]
|
|
68
27
|
|