cribl-control-plane 0.2.1rc11__py3-none-any.whl → 0.3.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 +3 -3
- 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 +8 -4
- cribl_control_plane/destinations.py +20 -20
- cribl_control_plane/destinations_pq.py +8 -8
- cribl_control_plane/groups_sdk.py +48 -24
- cribl_control_plane/hectokens.py +16 -8
- cribl_control_plane/lakedatasets.py +40 -20
- cribl_control_plane/models/__init__.py +391 -235
- cribl_control_plane/models/createconfiggroupbyproductop.py +20 -1
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +19 -1
- cribl_control_plane/models/createinputhectokenbyidop.py +20 -1
- cribl_control_plane/models/{countedlistgitdiffresult.py → createinputop.py} +9 -5
- cribl_control_plane/models/{countedlistgitshowresult.py → createoutputop.py} +9 -5
- cribl_control_plane/models/createoutputtestbyidop.py +20 -1
- cribl_control_plane/models/{countedlistpackinstallinfo.py → createpacksop.py} +6 -2
- cribl_control_plane/models/createpipelineop.py +24 -0
- cribl_control_plane/models/createroutesappendbyidop.py +20 -2
- cribl_control_plane/models/createversioncommitop.py +19 -1
- cribl_control_plane/models/{countedliststring.py → createversionpushop.py} +6 -2
- cribl_control_plane/models/createversionrevertop.py +19 -1
- cribl_control_plane/models/createversionundoop.py +18 -1
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +20 -1
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +20 -1
- cribl_control_plane/models/deleteinputbyidop.py +20 -1
- cribl_control_plane/models/deleteoutputbyidop.py +20 -1
- cribl_control_plane/models/deleteoutputpqbyidop.py +19 -1
- cribl_control_plane/models/deletepacksbyidop.py +20 -1
- cribl_control_plane/models/deletepipelinebyidop.py +20 -1
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +19 -1
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +19 -1
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +19 -1
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +19 -1
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +20 -1
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +20 -1
- cribl_control_plane/models/getinputbyidop.py +20 -1
- cribl_control_plane/models/getmasterworkerentryop.py +18 -1
- cribl_control_plane/models/getoutputbyidop.py +20 -1
- cribl_control_plane/models/getoutputpqbyidop.py +20 -1
- cribl_control_plane/models/getoutputsamplesbyidop.py +20 -1
- cribl_control_plane/models/getpacksbyidop.py +20 -1
- cribl_control_plane/models/getpacksop.py +19 -1
- cribl_control_plane/models/getpipelinebyidop.py +20 -1
- cribl_control_plane/models/getroutesbyidop.py +20 -1
- cribl_control_plane/models/getsummaryop.py +19 -1
- cribl_control_plane/models/{countedlistbranchinfo.py → getversionbranchop.py} +6 -2
- cribl_control_plane/models/getversioncountop.py +19 -1
- cribl_control_plane/models/getversiondiffop.py +19 -1
- cribl_control_plane/models/getversionfilesop.py +19 -1
- cribl_control_plane/models/{countedlistgitinfo.py → getversioninfoop.py} +6 -2
- cribl_control_plane/models/getversionop.py +19 -1
- cribl_control_plane/models/getversionshowop.py +19 -1
- cribl_control_plane/models/getversionstatusop.py +19 -1
- cribl_control_plane/models/input.py +1 -1
- cribl_control_plane/models/inputcriblhttp.py +6 -24
- cribl_control_plane/models/inputcribltcp.py +0 -25
- cribl_control_plane/models/listconfiggroupbyproductop.py +19 -1
- cribl_control_plane/models/{countedlistinput.py → listinputop.py} +6 -2
- cribl_control_plane/models/listmasterworkerentryop.py +19 -1
- cribl_control_plane/models/{countedlistoutput.py → listoutputop.py} +6 -2
- cribl_control_plane/models/{countedlistpipeline.py → listpipelineop.py} +6 -2
- cribl_control_plane/models/{countedlistroutes.py → listroutesop.py} +6 -2
- cribl_control_plane/models/output.py +2 -2
- cribl_control_plane/models/outputcriblhttp.py +0 -23
- cribl_control_plane/models/outputcribltcp.py +0 -25
- cribl_control_plane/models/runnablejobcollection.py +0 -8
- cribl_control_plane/models/runnablejobexecutor.py +0 -4
- cribl_control_plane/models/runnablejobscheduledsearch.py +0 -4
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +19 -1
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +20 -1
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +20 -1
- cribl_control_plane/models/updateinputbyidop.py +19 -1
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +20 -1
- cribl_control_plane/models/updateoutputbyidop.py +19 -1
- cribl_control_plane/models/updatepacksbyidop.py +20 -1
- cribl_control_plane/models/updatepipelinebyidop.py +19 -1
- cribl_control_plane/models/updateroutesbyidop.py +19 -1
- cribl_control_plane/nodes.py +12 -8
- cribl_control_plane/packs.py +20 -20
- cribl_control_plane/pipelines.py +20 -20
- cribl_control_plane/routes_sdk.py +20 -16
- cribl_control_plane/samples.py +8 -8
- cribl_control_plane/sources.py +20 -20
- cribl_control_plane/statuses.py +4 -4
- cribl_control_plane/summaries.py +4 -8
- cribl_control_plane/teams.py +4 -4
- cribl_control_plane/versions_configs.py +4 -4
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.3.0b12.dist-info}/METADATA +5 -14
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.3.0b12.dist-info}/RECORD +93 -111
- cribl_control_plane/models/countedlistconfiggroup.py +0 -20
- cribl_control_plane/models/countedlistcribllakedataset.py +0 -20
- cribl_control_plane/models/countedlistdistributedsummary.py +0 -20
- cribl_control_plane/models/countedlistgitcommitsummary.py +0 -20
- cribl_control_plane/models/countedlistgitcountresult.py +0 -20
- cribl_control_plane/models/countedlistgitfilesresponse.py +0 -20
- cribl_control_plane/models/countedlistgitlogresult.py +0 -20
- cribl_control_plane/models/countedlistgitrevertresult.py +0 -20
- cribl_control_plane/models/countedlistgitstatusresult.py +0 -20
- cribl_control_plane/models/countedlistinputsplunkhec.py +0 -20
- cribl_control_plane/models/countedlistjobinfo.py +0 -20
- cribl_control_plane/models/countedlistmasterworkerentry.py +0 -20
- cribl_control_plane/models/countedlistnumber.py +0 -19
- cribl_control_plane/models/countedlistobject.py +0 -19
- cribl_control_plane/models/countedlistoutputsamplesresponse.py +0 -20
- cribl_control_plane/models/countedlistoutputtestresponse.py +0 -20
- cribl_control_plane/models/countedlistpackinfo.py +0 -20
- cribl_control_plane/models/countedlistteamaccesscontrollist.py +0 -20
- cribl_control_plane/models/countedlistuseraccesscontrollist.py +0 -20
- {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.3.0b12.dist-info}/WHEEL +0 -0
|
@@ -14,7 +14,8 @@ from cribl_control_plane.utils import (
|
|
|
14
14
|
import pydantic
|
|
15
15
|
from pydantic import field_serializer
|
|
16
16
|
from pydantic.functional_validators import PlainValidator
|
|
17
|
-
from
|
|
17
|
+
from typing import List, Optional
|
|
18
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
18
19
|
|
|
19
20
|
|
|
20
21
|
class UpdateConfigGroupByProductAndIDRequestTypedDict(TypedDict):
|
|
@@ -54,3 +55,20 @@ class UpdateConfigGroupByProductAndIDRequest(BaseModel):
|
|
|
54
55
|
except ValueError:
|
|
55
56
|
return value
|
|
56
57
|
return value
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class UpdateConfigGroupByProductAndIDResponseTypedDict(TypedDict):
|
|
61
|
+
r"""a list of ConfigGroup objects"""
|
|
62
|
+
|
|
63
|
+
count: NotRequired[int]
|
|
64
|
+
r"""number of items present in the items array"""
|
|
65
|
+
items: NotRequired[List[ConfigGroupTypedDict]]
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
class UpdateConfigGroupByProductAndIDResponse(BaseModel):
|
|
69
|
+
r"""a list of ConfigGroup objects"""
|
|
70
|
+
|
|
71
|
+
count: Optional[int] = None
|
|
72
|
+
r"""number of items present in the items array"""
|
|
73
|
+
|
|
74
|
+
items: Optional[List[ConfigGroup]] = None
|
|
@@ -1,6 +1,7 @@
|
|
|
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
|
|
4
5
|
from .deployrequest import DeployRequest, DeployRequestTypedDict
|
|
5
6
|
from .productscore import ProductsCore
|
|
6
7
|
from cribl_control_plane import models
|
|
@@ -13,7 +14,8 @@ from cribl_control_plane.utils import (
|
|
|
13
14
|
)
|
|
14
15
|
from pydantic import field_serializer
|
|
15
16
|
from pydantic.functional_validators import PlainValidator
|
|
16
|
-
from
|
|
17
|
+
from typing import List, Optional
|
|
18
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
17
19
|
|
|
18
20
|
|
|
19
21
|
class UpdateConfigGroupDeployByProductAndIDRequestTypedDict(TypedDict):
|
|
@@ -51,3 +53,20 @@ class UpdateConfigGroupDeployByProductAndIDRequest(BaseModel):
|
|
|
51
53
|
except ValueError:
|
|
52
54
|
return value
|
|
53
55
|
return value
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class UpdateConfigGroupDeployByProductAndIDResponseTypedDict(TypedDict):
|
|
59
|
+
r"""a list of ConfigGroup objects"""
|
|
60
|
+
|
|
61
|
+
count: NotRequired[int]
|
|
62
|
+
r"""number of items present in the items array"""
|
|
63
|
+
items: NotRequired[List[ConfigGroupTypedDict]]
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
class UpdateConfigGroupDeployByProductAndIDResponse(BaseModel):
|
|
67
|
+
r"""a list of ConfigGroup objects"""
|
|
68
|
+
|
|
69
|
+
count: Optional[int] = None
|
|
70
|
+
r"""number of items present in the items array"""
|
|
71
|
+
|
|
72
|
+
items: Optional[List[ConfigGroup]] = None
|
|
@@ -1,6 +1,7 @@
|
|
|
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
|
|
4
5
|
from .cribllakedatasetupdate import (
|
|
5
6
|
CriblLakeDatasetUpdate,
|
|
6
7
|
CriblLakeDatasetUpdateTypedDict,
|
|
@@ -8,7 +9,8 @@ from .cribllakedatasetupdate import (
|
|
|
8
9
|
from cribl_control_plane.types import BaseModel
|
|
9
10
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
10
11
|
import pydantic
|
|
11
|
-
from
|
|
12
|
+
from typing import List, Optional
|
|
13
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
12
14
|
|
|
13
15
|
|
|
14
16
|
class UpdateCriblLakeDatasetByLakeIDAndIDRequestTypedDict(TypedDict):
|
|
@@ -40,3 +42,20 @@ class UpdateCriblLakeDatasetByLakeIDAndIDRequest(BaseModel):
|
|
|
40
42
|
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
41
43
|
]
|
|
42
44
|
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,7 +4,8 @@ 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
|
|
7
|
+
from typing import List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
class UpdateInputByIDRequestTypedDict(TypedDict):
|
|
@@ -24,3 +25,20 @@ class UpdateInputByIDRequest(BaseModel):
|
|
|
24
25
|
Input, FieldMetadata(request=RequestMetadata(media_type="application/json"))
|
|
25
26
|
]
|
|
26
27
|
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,10 +1,12 @@
|
|
|
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
|
|
4
5
|
from .updatehectokenrequest import UpdateHecTokenRequest, UpdateHecTokenRequestTypedDict
|
|
5
6
|
from cribl_control_plane.types import BaseModel
|
|
6
7
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
7
|
-
from
|
|
8
|
+
from typing import List, Optional
|
|
9
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
10
|
|
|
9
11
|
|
|
10
12
|
class UpdateInputHecTokenByIDAndTokenRequestTypedDict(TypedDict):
|
|
@@ -32,3 +34,20 @@ class UpdateInputHecTokenByIDAndTokenRequest(BaseModel):
|
|
|
32
34
|
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
33
35
|
]
|
|
34
36
|
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,7 +4,8 @@ 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
|
|
7
|
+
from typing import List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
class UpdateOutputByIDRequestTypedDict(TypedDict):
|
|
@@ -24,3 +25,20 @@ class UpdateOutputByIDRequest(BaseModel):
|
|
|
24
25
|
Output, FieldMetadata(request=RequestMetadata(media_type="application/json"))
|
|
25
26
|
]
|
|
26
27
|
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,10 +1,12 @@
|
|
|
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
|
|
4
5
|
from .packupgraderequest import PackUpgradeRequest, PackUpgradeRequestTypedDict
|
|
5
6
|
from cribl_control_plane.types import BaseModel
|
|
6
7
|
from cribl_control_plane.utils import FieldMetadata, PathParamMetadata, RequestMetadata
|
|
7
|
-
from
|
|
8
|
+
from typing import List, Optional
|
|
9
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
10
|
|
|
9
11
|
|
|
10
12
|
class UpdatePacksByIDRequestTypedDict(TypedDict):
|
|
@@ -25,3 +27,20 @@ class UpdatePacksByIDRequest(BaseModel):
|
|
|
25
27
|
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
26
28
|
]
|
|
27
29
|
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,7 +5,8 @@ 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
|
|
8
|
+
from typing import List, Optional
|
|
9
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
class UpdatePipelineByIDRequestTypedDict(TypedDict):
|
|
@@ -27,3 +28,20 @@ class UpdatePipelineByIDRequest(BaseModel):
|
|
|
27
28
|
Pipeline, FieldMetadata(request=RequestMetadata(media_type="application/json"))
|
|
28
29
|
]
|
|
29
30
|
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,7 +5,8 @@ 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
|
|
8
|
+
from typing import List, Optional
|
|
9
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
10
|
|
|
10
11
|
|
|
11
12
|
class UpdateRoutesByIDRequestTypedDict(TypedDict):
|
|
@@ -27,3 +28,20 @@ class UpdateRoutesByIDRequest(BaseModel):
|
|
|
27
28
|
Routes, FieldMetadata(request=RequestMetadata(media_type="application/json"))
|
|
28
29
|
]
|
|
29
30
|
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.ListMasterWorkerEntryResponse:
|
|
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.ListMasterWorkerEntryResponse, 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.ListMasterWorkerEntryResponse:
|
|
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.ListMasterWorkerEntryResponse, 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.GetMasterWorkerEntryResponse:
|
|
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,7 +306,9 @@ 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(
|
|
309
|
+
return unmarshal_json_response(
|
|
310
|
+
models.GetMasterWorkerEntryResponse, http_res
|
|
311
|
+
)
|
|
310
312
|
if utils.match_response(http_res, "500", "application/json"):
|
|
311
313
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
312
314
|
raise errors.Error(response_data, http_res)
|
|
@@ -327,7 +329,7 @@ class Nodes(BaseSDK):
|
|
|
327
329
|
server_url: Optional[str] = None,
|
|
328
330
|
timeout_ms: Optional[int] = None,
|
|
329
331
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
330
|
-
) -> models.
|
|
332
|
+
) -> models.GetMasterWorkerEntryResponse:
|
|
331
333
|
r"""Get a count of Worker and Edge Nodes
|
|
332
334
|
|
|
333
335
|
Get a count of all Worker and Edge Nodes.
|
|
@@ -393,7 +395,9 @@ class Nodes(BaseSDK):
|
|
|
393
395
|
|
|
394
396
|
response_data: Any = None
|
|
395
397
|
if utils.match_response(http_res, "200", "application/json"):
|
|
396
|
-
return unmarshal_json_response(
|
|
398
|
+
return unmarshal_json_response(
|
|
399
|
+
models.GetMasterWorkerEntryResponse, http_res
|
|
400
|
+
)
|
|
397
401
|
if utils.match_response(http_res, "500", "application/json"):
|
|
398
402
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
399
403
|
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.CreatePacksResponse:
|
|
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.CreatePacksResponse, 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.CreatePacksResponse:
|
|
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.CreatePacksResponse, 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.GetPacksResponse:
|
|
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.GetPacksResponse, 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.GetPacksResponse:
|
|
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.GetPacksResponse, 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.DeletePacksByIDResponse:
|
|
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.DeletePacksByIDResponse, 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.DeletePacksByIDResponse:
|
|
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.DeletePacksByIDResponse, 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.GetPacksByIDResponse:
|
|
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.GetPacksByIDResponse, 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.GetPacksByIDResponse:
|
|
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.GetPacksByIDResponse, 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.UpdatePacksByIDResponse:
|
|
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.UpdatePacksByIDResponse, 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.UpdatePacksByIDResponse:
|
|
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.UpdatePacksByIDResponse, 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)
|