cribl-control-plane 0.2.1rc7__py3-none-any.whl → 0.2.1rc11__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 +4 -4
- cribl_control_plane/branches.py +4 -4
- cribl_control_plane/commits.py +28 -28
- cribl_control_plane/commits_files.py +8 -8
- cribl_control_plane/configs_versions.py +4 -8
- cribl_control_plane/destinations.py +20 -20
- cribl_control_plane/destinations_pq.py +8 -8
- cribl_control_plane/groups_sdk.py +26 -50
- cribl_control_plane/hectokens.py +8 -16
- cribl_control_plane/lakedatasets.py +48 -40
- cribl_control_plane/models/__init__.py +245 -392
- cribl_control_plane/models/configgroupcloud.py +1 -1
- cribl_control_plane/models/{getversionbranchop.py → countedlistbranchinfo.py} +2 -6
- cribl_control_plane/models/countedlistconfiggroup.py +20 -0
- cribl_control_plane/models/countedlistcribllakedataset.py +20 -0
- cribl_control_plane/models/countedlistdistributedsummary.py +20 -0
- cribl_control_plane/models/countedlistgitcommitsummary.py +20 -0
- cribl_control_plane/models/countedlistgitcountresult.py +20 -0
- cribl_control_plane/models/{createinputop.py → countedlistgitdiffresult.py} +5 -9
- cribl_control_plane/models/countedlistgitfilesresponse.py +20 -0
- cribl_control_plane/models/{getversioninfoop.py → countedlistgitinfo.py} +2 -6
- cribl_control_plane/models/countedlistgitlogresult.py +20 -0
- cribl_control_plane/models/countedlistgitrevertresult.py +20 -0
- cribl_control_plane/models/countedlistgitshowresult.py +20 -0
- cribl_control_plane/models/countedlistgitstatusresult.py +20 -0
- cribl_control_plane/models/{listinputop.py → countedlistinput.py} +2 -6
- cribl_control_plane/models/countedlistinputsplunkhec.py +20 -0
- cribl_control_plane/models/countedlistjobinfo.py +20 -0
- cribl_control_plane/models/countedlistmasterworkerentry.py +20 -0
- cribl_control_plane/models/countedlistnumber.py +19 -0
- cribl_control_plane/models/countedlistobject.py +19 -0
- cribl_control_plane/models/{listoutputop.py → countedlistoutput.py} +2 -6
- cribl_control_plane/models/{createoutputop.py → countedlistoutputsamplesresponse.py} +5 -9
- cribl_control_plane/models/countedlistoutputtestresponse.py +20 -0
- cribl_control_plane/models/countedlistpackinfo.py +20 -0
- cribl_control_plane/models/{createpacksop.py → countedlistpackinstallinfo.py} +2 -6
- cribl_control_plane/models/{listpipelineop.py → countedlistpipeline.py} +2 -6
- cribl_control_plane/models/{listroutesop.py → countedlistroutes.py} +2 -6
- cribl_control_plane/models/{createversionpushop.py → countedliststring.py} +2 -6
- cribl_control_plane/models/{createpipelineop.py → countedlistteamaccesscontrollist.py} +5 -9
- cribl_control_plane/models/countedlistuseraccesscontrollist.py +20 -0
- cribl_control_plane/models/createconfiggroupbyproductop.py +3 -22
- 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/cribllakedataset.py +4 -0
- cribl_control_plane/models/cribllakedatasetupdate.py +4 -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/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 +1 -20
- 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/input.py +1 -1
- cribl_control_plane/models/inputcriblhttp.py +24 -6
- cribl_control_plane/models/inputcribltcp.py +25 -0
- cribl_control_plane/models/inputfile.py +4 -4
- cribl_control_plane/models/jobinfo.py +10 -4
- cribl_control_plane/models/lakedatasetmetrics.py +17 -0
- cribl_control_plane/models/listconfiggroupbyproductop.py +1 -19
- cribl_control_plane/models/listmasterworkerentryop.py +1 -19
- cribl_control_plane/models/output.py +2 -2
- cribl_control_plane/models/outputconfluentcloud.py +2 -0
- cribl_control_plane/models/outputcriblhttp.py +23 -0
- cribl_control_plane/models/outputcribltcp.py +25 -0
- cribl_control_plane/models/outputdatabricks.py +4 -4
- cribl_control_plane/models/outputkafka.py +2 -0
- cribl_control_plane/models/outputmsk.py +2 -0
- cribl_control_plane/models/runnablejobcollection.py +8 -0
- cribl_control_plane/models/runnablejobexecutor.py +4 -0
- cribl_control_plane/models/runnablejobscheduledsearch.py +4 -0
- 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/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 +8 -12
- cribl_control_plane/packs.py +20 -20
- cribl_control_plane/pipelines.py +20 -20
- cribl_control_plane/routes_sdk.py +16 -20
- cribl_control_plane/samples.py +8 -8
- cribl_control_plane/sdk.py +2 -2
- cribl_control_plane/sources.py +20 -20
- cribl_control_plane/statuses.py +4 -4
- cribl_control_plane/summaries.py +8 -4
- cribl_control_plane/teams.py +4 -4
- cribl_control_plane/versions_configs.py +4 -4
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/METADATA +25 -7
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/RECORD +122 -103
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/WHEEL +0 -0
|
@@ -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 .cribllakedataset import CriblLakeDataset, CriblLakeDatasetTypedDict
|
|
5
4
|
from .cribllakedatasetupdate import (
|
|
6
5
|
CriblLakeDatasetUpdate,
|
|
7
6
|
CriblLakeDatasetUpdateTypedDict,
|
|
@@ -9,8 +8,7 @@ from .cribllakedatasetupdate import (
|
|
|
9
8
|
from cribl_control_plane.types import BaseModel
|
|
10
9
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
11
10
|
import pydantic
|
|
12
|
-
from
|
|
13
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
11
|
+
from typing_extensions import Annotated, TypedDict
|
|
14
12
|
|
|
15
13
|
|
|
16
14
|
class UpdateCriblLakeDatasetByLakeIDAndIDRequestTypedDict(TypedDict):
|
|
@@ -42,20 +40,3 @@ class UpdateCriblLakeDatasetByLakeIDAndIDRequest(BaseModel):
|
|
|
42
40
|
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
43
41
|
]
|
|
44
42
|
r"""CriblLakeDatasetUpdate object"""
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
class UpdateCriblLakeDatasetByLakeIDAndIDResponseTypedDict(TypedDict):
|
|
48
|
-
r"""a list of CriblLakeDataset objects"""
|
|
49
|
-
|
|
50
|
-
count: NotRequired[int]
|
|
51
|
-
r"""number of items present in the items array"""
|
|
52
|
-
items: NotRequired[List[CriblLakeDatasetTypedDict]]
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
class UpdateCriblLakeDatasetByLakeIDAndIDResponse(BaseModel):
|
|
56
|
-
r"""a list of CriblLakeDataset objects"""
|
|
57
|
-
|
|
58
|
-
count: Optional[int] = None
|
|
59
|
-
r"""number of items present in the items array"""
|
|
60
|
-
|
|
61
|
-
items: Optional[List[CriblLakeDataset]] = None
|
|
@@ -4,8 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
from .input import Input, InputTypedDict
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
7
|
-
from
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
7
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
8
|
|
|
10
9
|
|
|
11
10
|
class UpdateInputByIDRequestTypedDict(TypedDict):
|
|
@@ -25,20 +24,3 @@ class UpdateInputByIDRequest(BaseModel):
|
|
|
25
24
|
Input, FieldMetadata(request=RequestMetadata(media_type="application/json"))
|
|
26
25
|
]
|
|
27
26
|
r"""Input object"""
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
class UpdateInputByIDResponseTypedDict(TypedDict):
|
|
31
|
-
r"""a list of Source objects"""
|
|
32
|
-
|
|
33
|
-
count: NotRequired[int]
|
|
34
|
-
r"""number of items present in the items array"""
|
|
35
|
-
items: NotRequired[List[InputTypedDict]]
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
class UpdateInputByIDResponse(BaseModel):
|
|
39
|
-
r"""a list of Source objects"""
|
|
40
|
-
|
|
41
|
-
count: Optional[int] = None
|
|
42
|
-
r"""number of items present in the items array"""
|
|
43
|
-
|
|
44
|
-
items: Optional[List[Input]] = 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 .inputsplunkhec import InputSplunkHec, InputSplunkHecTypedDict
|
|
5
4
|
from .updatehectokenrequest import UpdateHecTokenRequest, UpdateHecTokenRequestTypedDict
|
|
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 UpdateInputHecTokenByIDAndTokenRequestTypedDict(TypedDict):
|
|
@@ -34,20 +32,3 @@ class UpdateInputHecTokenByIDAndTokenRequest(BaseModel):
|
|
|
34
32
|
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
35
33
|
]
|
|
36
34
|
r"""UpdateHecTokenRequest object"""
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
class UpdateInputHecTokenByIDAndTokenResponseTypedDict(TypedDict):
|
|
40
|
-
r"""a list of InputSplunkHec objects"""
|
|
41
|
-
|
|
42
|
-
count: NotRequired[int]
|
|
43
|
-
r"""number of items present in the items array"""
|
|
44
|
-
items: NotRequired[List[InputSplunkHecTypedDict]]
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
class UpdateInputHecTokenByIDAndTokenResponse(BaseModel):
|
|
48
|
-
r"""a list of InputSplunkHec objects"""
|
|
49
|
-
|
|
50
|
-
count: Optional[int] = None
|
|
51
|
-
r"""number of items present in the items array"""
|
|
52
|
-
|
|
53
|
-
items: Optional[List[InputSplunkHec]] = None
|
|
@@ -4,8 +4,7 @@ from __future__ import annotations
|
|
|
4
4
|
from .output import Output, OutputTypedDict
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
7
|
-
from
|
|
8
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
7
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
8
|
|
|
10
9
|
|
|
11
10
|
class UpdateOutputByIDRequestTypedDict(TypedDict):
|
|
@@ -25,20 +24,3 @@ class UpdateOutputByIDRequest(BaseModel):
|
|
|
25
24
|
Output, FieldMetadata(request=RequestMetadata(media_type="application/json"))
|
|
26
25
|
]
|
|
27
26
|
r"""Output object"""
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
class UpdateOutputByIDResponseTypedDict(TypedDict):
|
|
31
|
-
r"""a list of Destination objects"""
|
|
32
|
-
|
|
33
|
-
count: NotRequired[int]
|
|
34
|
-
r"""number of items present in the items array"""
|
|
35
|
-
items: NotRequired[List[OutputTypedDict]]
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
class UpdateOutputByIDResponse(BaseModel):
|
|
39
|
-
r"""a list of Destination objects"""
|
|
40
|
-
|
|
41
|
-
count: Optional[int] = None
|
|
42
|
-
r"""number of items present in the items array"""
|
|
43
|
-
|
|
44
|
-
items: Optional[List[Output]] = 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 .packinfo import PackInfo, PackInfoTypedDict
|
|
5
4
|
from .packupgraderequest import PackUpgradeRequest, PackUpgradeRequestTypedDict
|
|
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 UpdatePacksByIDRequestTypedDict(TypedDict):
|
|
@@ -27,20 +25,3 @@ class UpdatePacksByIDRequest(BaseModel):
|
|
|
27
25
|
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
28
26
|
]
|
|
29
27
|
r"""PackUpgradeRequest object"""
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
class UpdatePacksByIDResponseTypedDict(TypedDict):
|
|
33
|
-
r"""a list of PackInfo objects"""
|
|
34
|
-
|
|
35
|
-
count: NotRequired[int]
|
|
36
|
-
r"""number of items present in the items array"""
|
|
37
|
-
items: NotRequired[List[PackInfoTypedDict]]
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
class UpdatePacksByIDResponse(BaseModel):
|
|
41
|
-
r"""a list of PackInfo objects"""
|
|
42
|
-
|
|
43
|
-
count: Optional[int] = None
|
|
44
|
-
r"""number of items present in the items array"""
|
|
45
|
-
|
|
46
|
-
items: Optional[List[PackInfo]] = None
|
|
@@ -5,8 +5,7 @@ from .pipeline import Pipeline, PipelineTypedDict
|
|
|
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 UpdatePipelineByIDRequestTypedDict(TypedDict):
|
|
@@ -28,20 +27,3 @@ class UpdatePipelineByIDRequest(BaseModel):
|
|
|
28
27
|
Pipeline, FieldMetadata(request=RequestMetadata(media_type="application/json"))
|
|
29
28
|
]
|
|
30
29
|
r"""Pipeline object"""
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
class UpdatePipelineByIDResponseTypedDict(TypedDict):
|
|
34
|
-
r"""a list of Pipeline objects"""
|
|
35
|
-
|
|
36
|
-
count: NotRequired[int]
|
|
37
|
-
r"""number of items present in the items array"""
|
|
38
|
-
items: NotRequired[List[PipelineTypedDict]]
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
class UpdatePipelineByIDResponse(BaseModel):
|
|
42
|
-
r"""a list of Pipeline objects"""
|
|
43
|
-
|
|
44
|
-
count: Optional[int] = None
|
|
45
|
-
r"""number of items present in the items array"""
|
|
46
|
-
|
|
47
|
-
items: Optional[List[Pipeline]] = None
|
|
@@ -5,8 +5,7 @@ from .routes import Routes, RoutesTypedDict
|
|
|
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 UpdateRoutesByIDRequestTypedDict(TypedDict):
|
|
@@ -28,20 +27,3 @@ class UpdateRoutesByIDRequest(BaseModel):
|
|
|
28
27
|
Routes, FieldMetadata(request=RequestMetadata(media_type="application/json"))
|
|
29
28
|
]
|
|
30
29
|
r"""Routes object"""
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
class UpdateRoutesByIDResponseTypedDict(TypedDict):
|
|
34
|
-
r"""a list of Routes objects"""
|
|
35
|
-
|
|
36
|
-
count: NotRequired[int]
|
|
37
|
-
r"""number of items present in the items array"""
|
|
38
|
-
items: NotRequired[List[RoutesTypedDict]]
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
class UpdateRoutesByIDResponse(BaseModel):
|
|
42
|
-
r"""a list of Routes objects"""
|
|
43
|
-
|
|
44
|
-
count: Optional[int] = None
|
|
45
|
-
r"""number of items present in the items array"""
|
|
46
|
-
|
|
47
|
-
items: Optional[List[Routes]] = None
|
cribl_control_plane/nodes.py
CHANGED
|
@@ -37,7 +37,7 @@ class Nodes(BaseSDK):
|
|
|
37
37
|
server_url: Optional[str] = None,
|
|
38
38
|
timeout_ms: Optional[int] = None,
|
|
39
39
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
40
|
-
) -> models.
|
|
40
|
+
) -> models.CountedListMasterWorkerEntry:
|
|
41
41
|
r"""Get detailed metadata for Worker and Edge Nodes
|
|
42
42
|
|
|
43
43
|
Get detailed metadata for Worker and Edge Nodes.
|
|
@@ -114,7 +114,7 @@ class Nodes(BaseSDK):
|
|
|
114
114
|
response_data: Any = None
|
|
115
115
|
if utils.match_response(http_res, "200", "application/json"):
|
|
116
116
|
return unmarshal_json_response(
|
|
117
|
-
models.
|
|
117
|
+
models.CountedListMasterWorkerEntry, http_res
|
|
118
118
|
)
|
|
119
119
|
if utils.match_response(http_res, "500", "application/json"):
|
|
120
120
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
@@ -141,7 +141,7 @@ class Nodes(BaseSDK):
|
|
|
141
141
|
server_url: Optional[str] = None,
|
|
142
142
|
timeout_ms: Optional[int] = None,
|
|
143
143
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
144
|
-
) -> models.
|
|
144
|
+
) -> models.CountedListMasterWorkerEntry:
|
|
145
145
|
r"""Get detailed metadata for Worker and Edge Nodes
|
|
146
146
|
|
|
147
147
|
Get detailed metadata for Worker and Edge Nodes.
|
|
@@ -218,7 +218,7 @@ class Nodes(BaseSDK):
|
|
|
218
218
|
response_data: Any = None
|
|
219
219
|
if utils.match_response(http_res, "200", "application/json"):
|
|
220
220
|
return unmarshal_json_response(
|
|
221
|
-
models.
|
|
221
|
+
models.CountedListMasterWorkerEntry, http_res
|
|
222
222
|
)
|
|
223
223
|
if utils.match_response(http_res, "500", "application/json"):
|
|
224
224
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
@@ -240,7 +240,7 @@ class Nodes(BaseSDK):
|
|
|
240
240
|
server_url: Optional[str] = None,
|
|
241
241
|
timeout_ms: Optional[int] = None,
|
|
242
242
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
243
|
-
) -> models.
|
|
243
|
+
) -> models.CountedListnumber:
|
|
244
244
|
r"""Get a count of Worker and Edge Nodes
|
|
245
245
|
|
|
246
246
|
Get a count of all Worker and Edge Nodes.
|
|
@@ -306,9 +306,7 @@ class Nodes(BaseSDK):
|
|
|
306
306
|
|
|
307
307
|
response_data: Any = None
|
|
308
308
|
if utils.match_response(http_res, "200", "application/json"):
|
|
309
|
-
return unmarshal_json_response(
|
|
310
|
-
models.GetMasterWorkerEntryResponse, http_res
|
|
311
|
-
)
|
|
309
|
+
return unmarshal_json_response(models.CountedListnumber, http_res)
|
|
312
310
|
if utils.match_response(http_res, "500", "application/json"):
|
|
313
311
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
314
312
|
raise errors.Error(response_data, http_res)
|
|
@@ -329,7 +327,7 @@ class Nodes(BaseSDK):
|
|
|
329
327
|
server_url: Optional[str] = None,
|
|
330
328
|
timeout_ms: Optional[int] = None,
|
|
331
329
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
332
|
-
) -> models.
|
|
330
|
+
) -> models.CountedListnumber:
|
|
333
331
|
r"""Get a count of Worker and Edge Nodes
|
|
334
332
|
|
|
335
333
|
Get a count of all Worker and Edge Nodes.
|
|
@@ -395,9 +393,7 @@ class Nodes(BaseSDK):
|
|
|
395
393
|
|
|
396
394
|
response_data: Any = None
|
|
397
395
|
if utils.match_response(http_res, "200", "application/json"):
|
|
398
|
-
return unmarshal_json_response(
|
|
399
|
-
models.GetMasterWorkerEntryResponse, http_res
|
|
400
|
-
)
|
|
396
|
+
return unmarshal_json_response(models.CountedListnumber, http_res)
|
|
401
397
|
if utils.match_response(http_res, "500", "application/json"):
|
|
402
398
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
403
399
|
raise errors.Error(response_data, http_res)
|
cribl_control_plane/packs.py
CHANGED
|
@@ -23,7 +23,7 @@ class Packs(BaseSDK):
|
|
|
23
23
|
server_url: Optional[str] = None,
|
|
24
24
|
timeout_ms: Optional[int] = None,
|
|
25
25
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
26
|
-
) -> models.
|
|
26
|
+
) -> models.CountedListPackInstallInfo:
|
|
27
27
|
r"""Install a Pack
|
|
28
28
|
|
|
29
29
|
Install a Pack.<br><br>To install an uploaded Pack, provide the <code>source</code> value from the <code>PUT /packs</code> response as the <code>source</code> parameter in the request body.<br><br>To install a Pack by importing from a URL, provide the direct URL location of the <code>.crbl</code> file for the Pack as the <code>source</code> parameter in the request body.<br><br>To install a Pack by importing from a Git repository, provide <code>git+<repo-url></code> as the <code>source</code> parameter in the request body.<br><br>If you do not include the <code>source</code> parameter in the request body, an empty Pack is created.
|
|
@@ -92,7 +92,7 @@ class Packs(BaseSDK):
|
|
|
92
92
|
|
|
93
93
|
response_data: Any = None
|
|
94
94
|
if utils.match_response(http_res, "200", "application/json"):
|
|
95
|
-
return unmarshal_json_response(models.
|
|
95
|
+
return unmarshal_json_response(models.CountedListPackInstallInfo, http_res)
|
|
96
96
|
if utils.match_response(http_res, "500", "application/json"):
|
|
97
97
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
98
98
|
raise errors.Error(response_data, http_res)
|
|
@@ -115,7 +115,7 @@ class Packs(BaseSDK):
|
|
|
115
115
|
server_url: Optional[str] = None,
|
|
116
116
|
timeout_ms: Optional[int] = None,
|
|
117
117
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
118
|
-
) -> models.
|
|
118
|
+
) -> models.CountedListPackInstallInfo:
|
|
119
119
|
r"""Install a Pack
|
|
120
120
|
|
|
121
121
|
Install a Pack.<br><br>To install an uploaded Pack, provide the <code>source</code> value from the <code>PUT /packs</code> response as the <code>source</code> parameter in the request body.<br><br>To install a Pack by importing from a URL, provide the direct URL location of the <code>.crbl</code> file for the Pack as the <code>source</code> parameter in the request body.<br><br>To install a Pack by importing from a Git repository, provide <code>git+<repo-url></code> as the <code>source</code> parameter in the request body.<br><br>If you do not include the <code>source</code> parameter in the request body, an empty Pack is created.
|
|
@@ -184,7 +184,7 @@ class Packs(BaseSDK):
|
|
|
184
184
|
|
|
185
185
|
response_data: Any = None
|
|
186
186
|
if utils.match_response(http_res, "200", "application/json"):
|
|
187
|
-
return unmarshal_json_response(models.
|
|
187
|
+
return unmarshal_json_response(models.CountedListPackInstallInfo, http_res)
|
|
188
188
|
if utils.match_response(http_res, "500", "application/json"):
|
|
189
189
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
190
190
|
raise errors.Error(response_data, http_res)
|
|
@@ -205,7 +205,7 @@ class Packs(BaseSDK):
|
|
|
205
205
|
server_url: Optional[str] = None,
|
|
206
206
|
timeout_ms: Optional[int] = None,
|
|
207
207
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
208
|
-
) -> models.
|
|
208
|
+
) -> models.CountedListPackInfo:
|
|
209
209
|
r"""List all Packs
|
|
210
210
|
|
|
211
211
|
Get a list of all Packs.
|
|
@@ -271,7 +271,7 @@ class Packs(BaseSDK):
|
|
|
271
271
|
|
|
272
272
|
response_data: Any = None
|
|
273
273
|
if utils.match_response(http_res, "200", "application/json"):
|
|
274
|
-
return unmarshal_json_response(models.
|
|
274
|
+
return unmarshal_json_response(models.CountedListPackInfo, http_res)
|
|
275
275
|
if utils.match_response(http_res, "500", "application/json"):
|
|
276
276
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
277
277
|
raise errors.Error(response_data, http_res)
|
|
@@ -292,7 +292,7 @@ class Packs(BaseSDK):
|
|
|
292
292
|
server_url: Optional[str] = None,
|
|
293
293
|
timeout_ms: Optional[int] = None,
|
|
294
294
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
295
|
-
) -> models.
|
|
295
|
+
) -> models.CountedListPackInfo:
|
|
296
296
|
r"""List all Packs
|
|
297
297
|
|
|
298
298
|
Get a list of all Packs.
|
|
@@ -358,7 +358,7 @@ class Packs(BaseSDK):
|
|
|
358
358
|
|
|
359
359
|
response_data: Any = None
|
|
360
360
|
if utils.match_response(http_res, "200", "application/json"):
|
|
361
|
-
return unmarshal_json_response(models.
|
|
361
|
+
return unmarshal_json_response(models.CountedListPackInfo, http_res)
|
|
362
362
|
if utils.match_response(http_res, "500", "application/json"):
|
|
363
363
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
364
364
|
raise errors.Error(response_data, http_res)
|
|
@@ -573,7 +573,7 @@ class Packs(BaseSDK):
|
|
|
573
573
|
server_url: Optional[str] = None,
|
|
574
574
|
timeout_ms: Optional[int] = None,
|
|
575
575
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
576
|
-
) -> models.
|
|
576
|
+
) -> models.CountedListPackInstallInfo:
|
|
577
577
|
r"""Uninstall a Pack
|
|
578
578
|
|
|
579
579
|
Uninstall the specified Pack.
|
|
@@ -639,7 +639,7 @@ class Packs(BaseSDK):
|
|
|
639
639
|
|
|
640
640
|
response_data: Any = None
|
|
641
641
|
if utils.match_response(http_res, "200", "application/json"):
|
|
642
|
-
return unmarshal_json_response(models.
|
|
642
|
+
return unmarshal_json_response(models.CountedListPackInstallInfo, http_res)
|
|
643
643
|
if utils.match_response(http_res, "500", "application/json"):
|
|
644
644
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
645
645
|
raise errors.Error(response_data, http_res)
|
|
@@ -660,7 +660,7 @@ class Packs(BaseSDK):
|
|
|
660
660
|
server_url: Optional[str] = None,
|
|
661
661
|
timeout_ms: Optional[int] = None,
|
|
662
662
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
663
|
-
) -> models.
|
|
663
|
+
) -> models.CountedListPackInstallInfo:
|
|
664
664
|
r"""Uninstall a Pack
|
|
665
665
|
|
|
666
666
|
Uninstall the specified Pack.
|
|
@@ -726,7 +726,7 @@ class Packs(BaseSDK):
|
|
|
726
726
|
|
|
727
727
|
response_data: Any = None
|
|
728
728
|
if utils.match_response(http_res, "200", "application/json"):
|
|
729
|
-
return unmarshal_json_response(models.
|
|
729
|
+
return unmarshal_json_response(models.CountedListPackInstallInfo, http_res)
|
|
730
730
|
if utils.match_response(http_res, "500", "application/json"):
|
|
731
731
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
732
732
|
raise errors.Error(response_data, http_res)
|
|
@@ -747,7 +747,7 @@ class Packs(BaseSDK):
|
|
|
747
747
|
server_url: Optional[str] = None,
|
|
748
748
|
timeout_ms: Optional[int] = None,
|
|
749
749
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
750
|
-
) -> models.
|
|
750
|
+
) -> models.CountedListPackInfo:
|
|
751
751
|
r"""Get a Pack
|
|
752
752
|
|
|
753
753
|
Get the specified Pack.
|
|
@@ -813,7 +813,7 @@ class Packs(BaseSDK):
|
|
|
813
813
|
|
|
814
814
|
response_data: Any = None
|
|
815
815
|
if utils.match_response(http_res, "200", "application/json"):
|
|
816
|
-
return unmarshal_json_response(models.
|
|
816
|
+
return unmarshal_json_response(models.CountedListPackInfo, http_res)
|
|
817
817
|
if utils.match_response(http_res, "500", "application/json"):
|
|
818
818
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
819
819
|
raise errors.Error(response_data, http_res)
|
|
@@ -834,7 +834,7 @@ class Packs(BaseSDK):
|
|
|
834
834
|
server_url: Optional[str] = None,
|
|
835
835
|
timeout_ms: Optional[int] = None,
|
|
836
836
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
837
|
-
) -> models.
|
|
837
|
+
) -> models.CountedListPackInfo:
|
|
838
838
|
r"""Get a Pack
|
|
839
839
|
|
|
840
840
|
Get the specified Pack.
|
|
@@ -900,7 +900,7 @@ class Packs(BaseSDK):
|
|
|
900
900
|
|
|
901
901
|
response_data: Any = None
|
|
902
902
|
if utils.match_response(http_res, "200", "application/json"):
|
|
903
|
-
return unmarshal_json_response(models.
|
|
903
|
+
return unmarshal_json_response(models.CountedListPackInfo, http_res)
|
|
904
904
|
if utils.match_response(http_res, "500", "application/json"):
|
|
905
905
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
906
906
|
raise errors.Error(response_data, http_res)
|
|
@@ -925,7 +925,7 @@ class Packs(BaseSDK):
|
|
|
925
925
|
server_url: Optional[str] = None,
|
|
926
926
|
timeout_ms: Optional[int] = None,
|
|
927
927
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
928
|
-
) -> models.
|
|
928
|
+
) -> models.CountedListPackInfo:
|
|
929
929
|
r"""Upgrade a Pack
|
|
930
930
|
|
|
931
931
|
Upgrade the specified Pack.</br></br>If the Pack includes any user–modified versions of default Cribl Knowledge resources such as lookups, copy the modified files locally for safekeeping before upgrading the Pack.Copy the modified files back to the upgraded Pack after you install it with <code>POST /packs</code> to overwrite the default versions in the Pack.</br></br>After you upgrade the Pack, update any Routes, Pipelines, Sources, and Destinations that use the previous Pack version so that they reference the upgraded Pack.
|
|
@@ -1008,7 +1008,7 @@ class Packs(BaseSDK):
|
|
|
1008
1008
|
|
|
1009
1009
|
response_data: Any = None
|
|
1010
1010
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1011
|
-
return unmarshal_json_response(models.
|
|
1011
|
+
return unmarshal_json_response(models.CountedListPackInfo, http_res)
|
|
1012
1012
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1013
1013
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1014
1014
|
raise errors.Error(response_data, http_res)
|
|
@@ -1033,7 +1033,7 @@ class Packs(BaseSDK):
|
|
|
1033
1033
|
server_url: Optional[str] = None,
|
|
1034
1034
|
timeout_ms: Optional[int] = None,
|
|
1035
1035
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1036
|
-
) -> models.
|
|
1036
|
+
) -> models.CountedListPackInfo:
|
|
1037
1037
|
r"""Upgrade a Pack
|
|
1038
1038
|
|
|
1039
1039
|
Upgrade the specified Pack.</br></br>If the Pack includes any user–modified versions of default Cribl Knowledge resources such as lookups, copy the modified files locally for safekeeping before upgrading the Pack.Copy the modified files back to the upgraded Pack after you install it with <code>POST /packs</code> to overwrite the default versions in the Pack.</br></br>After you upgrade the Pack, update any Routes, Pipelines, Sources, and Destinations that use the previous Pack version so that they reference the upgraded Pack.
|
|
@@ -1116,7 +1116,7 @@ class Packs(BaseSDK):
|
|
|
1116
1116
|
|
|
1117
1117
|
response_data: Any = None
|
|
1118
1118
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1119
|
-
return unmarshal_json_response(models.
|
|
1119
|
+
return unmarshal_json_response(models.CountedListPackInfo, http_res)
|
|
1120
1120
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1121
1121
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1122
1122
|
raise errors.Error(response_data, http_res)
|
cribl_control_plane/pipelines.py
CHANGED
|
@@ -19,7 +19,7 @@ class Pipelines(BaseSDK):
|
|
|
19
19
|
server_url: Optional[str] = None,
|
|
20
20
|
timeout_ms: Optional[int] = None,
|
|
21
21
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
22
|
-
) -> models.
|
|
22
|
+
) -> models.CountedListPipeline:
|
|
23
23
|
r"""List all Pipelines
|
|
24
24
|
|
|
25
25
|
Get a list of all Pipelines.
|
|
@@ -79,7 +79,7 @@ class Pipelines(BaseSDK):
|
|
|
79
79
|
|
|
80
80
|
response_data: Any = None
|
|
81
81
|
if utils.match_response(http_res, "200", "application/json"):
|
|
82
|
-
return unmarshal_json_response(models.
|
|
82
|
+
return unmarshal_json_response(models.CountedListPipeline, http_res)
|
|
83
83
|
if utils.match_response(http_res, "500", "application/json"):
|
|
84
84
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
85
85
|
raise errors.Error(response_data, http_res)
|
|
@@ -99,7 +99,7 @@ class Pipelines(BaseSDK):
|
|
|
99
99
|
server_url: Optional[str] = None,
|
|
100
100
|
timeout_ms: Optional[int] = None,
|
|
101
101
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
102
|
-
) -> models.
|
|
102
|
+
) -> models.CountedListPipeline:
|
|
103
103
|
r"""List all Pipelines
|
|
104
104
|
|
|
105
105
|
Get a list of all Pipelines.
|
|
@@ -159,7 +159,7 @@ class Pipelines(BaseSDK):
|
|
|
159
159
|
|
|
160
160
|
response_data: Any = None
|
|
161
161
|
if utils.match_response(http_res, "200", "application/json"):
|
|
162
|
-
return unmarshal_json_response(models.
|
|
162
|
+
return unmarshal_json_response(models.CountedListPipeline, http_res)
|
|
163
163
|
if utils.match_response(http_res, "500", "application/json"):
|
|
164
164
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
165
165
|
raise errors.Error(response_data, http_res)
|
|
@@ -181,7 +181,7 @@ class Pipelines(BaseSDK):
|
|
|
181
181
|
server_url: Optional[str] = None,
|
|
182
182
|
timeout_ms: Optional[int] = None,
|
|
183
183
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
184
|
-
) -> models.
|
|
184
|
+
) -> models.CountedListPipeline:
|
|
185
185
|
r"""Create a Pipeline
|
|
186
186
|
|
|
187
187
|
Create a new Pipeline.
|
|
@@ -252,7 +252,7 @@ class Pipelines(BaseSDK):
|
|
|
252
252
|
|
|
253
253
|
response_data: Any = None
|
|
254
254
|
if utils.match_response(http_res, "200", "application/json"):
|
|
255
|
-
return unmarshal_json_response(models.
|
|
255
|
+
return unmarshal_json_response(models.CountedListPipeline, http_res)
|
|
256
256
|
if utils.match_response(http_res, "500", "application/json"):
|
|
257
257
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
258
258
|
raise errors.Error(response_data, http_res)
|
|
@@ -274,7 +274,7 @@ class Pipelines(BaseSDK):
|
|
|
274
274
|
server_url: Optional[str] = None,
|
|
275
275
|
timeout_ms: Optional[int] = None,
|
|
276
276
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
277
|
-
) -> models.
|
|
277
|
+
) -> models.CountedListPipeline:
|
|
278
278
|
r"""Create a Pipeline
|
|
279
279
|
|
|
280
280
|
Create a new Pipeline.
|
|
@@ -345,7 +345,7 @@ class Pipelines(BaseSDK):
|
|
|
345
345
|
|
|
346
346
|
response_data: Any = None
|
|
347
347
|
if utils.match_response(http_res, "200", "application/json"):
|
|
348
|
-
return unmarshal_json_response(models.
|
|
348
|
+
return unmarshal_json_response(models.CountedListPipeline, http_res)
|
|
349
349
|
if utils.match_response(http_res, "500", "application/json"):
|
|
350
350
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
351
351
|
raise errors.Error(response_data, http_res)
|
|
@@ -366,7 +366,7 @@ class Pipelines(BaseSDK):
|
|
|
366
366
|
server_url: Optional[str] = None,
|
|
367
367
|
timeout_ms: Optional[int] = None,
|
|
368
368
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
369
|
-
) -> models.
|
|
369
|
+
) -> models.CountedListPipeline:
|
|
370
370
|
r"""Get a Pipeline
|
|
371
371
|
|
|
372
372
|
Get the specified Pipeline.
|
|
@@ -432,7 +432,7 @@ class Pipelines(BaseSDK):
|
|
|
432
432
|
|
|
433
433
|
response_data: Any = None
|
|
434
434
|
if utils.match_response(http_res, "200", "application/json"):
|
|
435
|
-
return unmarshal_json_response(models.
|
|
435
|
+
return unmarshal_json_response(models.CountedListPipeline, http_res)
|
|
436
436
|
if utils.match_response(http_res, "500", "application/json"):
|
|
437
437
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
438
438
|
raise errors.Error(response_data, http_res)
|
|
@@ -453,7 +453,7 @@ class Pipelines(BaseSDK):
|
|
|
453
453
|
server_url: Optional[str] = None,
|
|
454
454
|
timeout_ms: Optional[int] = None,
|
|
455
455
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
456
|
-
) -> models.
|
|
456
|
+
) -> models.CountedListPipeline:
|
|
457
457
|
r"""Get a Pipeline
|
|
458
458
|
|
|
459
459
|
Get the specified Pipeline.
|
|
@@ -519,7 +519,7 @@ class Pipelines(BaseSDK):
|
|
|
519
519
|
|
|
520
520
|
response_data: Any = None
|
|
521
521
|
if utils.match_response(http_res, "200", "application/json"):
|
|
522
|
-
return unmarshal_json_response(models.
|
|
522
|
+
return unmarshal_json_response(models.CountedListPipeline, http_res)
|
|
523
523
|
if utils.match_response(http_res, "500", "application/json"):
|
|
524
524
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
525
525
|
raise errors.Error(response_data, http_res)
|
|
@@ -542,7 +542,7 @@ class Pipelines(BaseSDK):
|
|
|
542
542
|
server_url: Optional[str] = None,
|
|
543
543
|
timeout_ms: Optional[int] = None,
|
|
544
544
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
545
|
-
) -> models.
|
|
545
|
+
) -> models.CountedListPipeline:
|
|
546
546
|
r"""Update a Pipeline
|
|
547
547
|
|
|
548
548
|
Update the specified Pipeline.</br></br>Provide a complete representation of the Pipeline that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Pipeline.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Pipeline might not function as expected.
|
|
@@ -617,7 +617,7 @@ class Pipelines(BaseSDK):
|
|
|
617
617
|
|
|
618
618
|
response_data: Any = None
|
|
619
619
|
if utils.match_response(http_res, "200", "application/json"):
|
|
620
|
-
return unmarshal_json_response(models.
|
|
620
|
+
return unmarshal_json_response(models.CountedListPipeline, http_res)
|
|
621
621
|
if utils.match_response(http_res, "500", "application/json"):
|
|
622
622
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
623
623
|
raise errors.Error(response_data, http_res)
|
|
@@ -640,7 +640,7 @@ class Pipelines(BaseSDK):
|
|
|
640
640
|
server_url: Optional[str] = None,
|
|
641
641
|
timeout_ms: Optional[int] = None,
|
|
642
642
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
643
|
-
) -> models.
|
|
643
|
+
) -> models.CountedListPipeline:
|
|
644
644
|
r"""Update a Pipeline
|
|
645
645
|
|
|
646
646
|
Update the specified Pipeline.</br></br>Provide a complete representation of the Pipeline that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Pipeline.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Pipeline might not function as expected.
|
|
@@ -715,7 +715,7 @@ class Pipelines(BaseSDK):
|
|
|
715
715
|
|
|
716
716
|
response_data: Any = None
|
|
717
717
|
if utils.match_response(http_res, "200", "application/json"):
|
|
718
|
-
return unmarshal_json_response(models.
|
|
718
|
+
return unmarshal_json_response(models.CountedListPipeline, http_res)
|
|
719
719
|
if utils.match_response(http_res, "500", "application/json"):
|
|
720
720
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
721
721
|
raise errors.Error(response_data, http_res)
|
|
@@ -736,7 +736,7 @@ class Pipelines(BaseSDK):
|
|
|
736
736
|
server_url: Optional[str] = None,
|
|
737
737
|
timeout_ms: Optional[int] = None,
|
|
738
738
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
739
|
-
) -> models.
|
|
739
|
+
) -> models.CountedListPipeline:
|
|
740
740
|
r"""Delete a Pipeline
|
|
741
741
|
|
|
742
742
|
Delete the specified Pipeline.
|
|
@@ -802,7 +802,7 @@ class Pipelines(BaseSDK):
|
|
|
802
802
|
|
|
803
803
|
response_data: Any = None
|
|
804
804
|
if utils.match_response(http_res, "200", "application/json"):
|
|
805
|
-
return unmarshal_json_response(models.
|
|
805
|
+
return unmarshal_json_response(models.CountedListPipeline, http_res)
|
|
806
806
|
if utils.match_response(http_res, "500", "application/json"):
|
|
807
807
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
808
808
|
raise errors.Error(response_data, http_res)
|
|
@@ -823,7 +823,7 @@ class Pipelines(BaseSDK):
|
|
|
823
823
|
server_url: Optional[str] = None,
|
|
824
824
|
timeout_ms: Optional[int] = None,
|
|
825
825
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
826
|
-
) -> models.
|
|
826
|
+
) -> models.CountedListPipeline:
|
|
827
827
|
r"""Delete a Pipeline
|
|
828
828
|
|
|
829
829
|
Delete the specified Pipeline.
|
|
@@ -889,7 +889,7 @@ class Pipelines(BaseSDK):
|
|
|
889
889
|
|
|
890
890
|
response_data: Any = None
|
|
891
891
|
if utils.match_response(http_res, "200", "application/json"):
|
|
892
|
-
return unmarshal_json_response(models.
|
|
892
|
+
return unmarshal_json_response(models.CountedListPipeline, http_res)
|
|
893
893
|
if utils.match_response(http_res, "500", "application/json"):
|
|
894
894
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
895
895
|
raise errors.Error(response_data, http_res)
|