cribl-control-plane 0.0.23__py3-none-any.whl → 0.0.24__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/auth_sdk.py +4 -4
- cribl_control_plane/{distributed.py → deployments.py} +3 -5
- cribl_control_plane/destinations.py +36 -36
- cribl_control_plane/groups_sdk.py +222 -32
- cribl_control_plane/{health.py → healthinfo.py} +5 -7
- cribl_control_plane/{lake.py → lakedatasets.py} +21 -23
- cribl_control_plane/models/createpipelineop.py +2 -2
- cribl_control_plane/models/updatepipelinebyidop.py +2 -2
- cribl_control_plane/models/updateroutesbyidop.py +2 -2
- cribl_control_plane/{workers_sdk.py → nodes.py} +13 -15
- cribl_control_plane/packs.py +16 -16
- cribl_control_plane/pipelines.py +10 -10
- cribl_control_plane/routes_sdk.py +10 -10
- cribl_control_plane/sdk.py +12 -20
- cribl_control_plane/sources.py +28 -28
- cribl_control_plane/versioning.py +52 -52
- {cribl_control_plane-0.0.23.dist-info → cribl_control_plane-0.0.24.dist-info}/METADATA +73 -76
- {cribl_control_plane-0.0.23.dist-info → cribl_control_plane-0.0.24.dist-info}/RECORD +20 -21
- cribl_control_plane/teams.py +0 -203
- {cribl_control_plane-0.0.23.dist-info → cribl_control_plane-0.0.24.dist-info}/WHEEL +0 -0
|
@@ -8,7 +8,7 @@ from typing_extensions import NotRequired, TypedDict
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class CreatePipelineResponseTypedDict(TypedDict):
|
|
11
|
-
r"""a list of
|
|
11
|
+
r"""a list of Pipelines objects"""
|
|
12
12
|
|
|
13
13
|
count: NotRequired[int]
|
|
14
14
|
r"""number of items present in the items array"""
|
|
@@ -16,7 +16,7 @@ class CreatePipelineResponseTypedDict(TypedDict):
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
class CreatePipelineResponse(BaseModel):
|
|
19
|
-
r"""a list of
|
|
19
|
+
r"""a list of Pipelines objects"""
|
|
20
20
|
|
|
21
21
|
count: Optional[int] = None
|
|
22
22
|
r"""number of items present in the items array"""
|
|
@@ -31,7 +31,7 @@ class UpdatePipelineByIDRequest(BaseModel):
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
class UpdatePipelineByIDResponseTypedDict(TypedDict):
|
|
34
|
-
r"""a list of
|
|
34
|
+
r"""a list of any objects"""
|
|
35
35
|
|
|
36
36
|
count: NotRequired[int]
|
|
37
37
|
r"""number of items present in the items array"""
|
|
@@ -39,7 +39,7 @@ class UpdatePipelineByIDResponseTypedDict(TypedDict):
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
class UpdatePipelineByIDResponse(BaseModel):
|
|
42
|
-
r"""a list of
|
|
42
|
+
r"""a list of any objects"""
|
|
43
43
|
|
|
44
44
|
count: Optional[int] = None
|
|
45
45
|
r"""number of items present in the items array"""
|
|
@@ -13,7 +13,7 @@ class UpdateRoutesByIDRequestTypedDict(TypedDict):
|
|
|
13
13
|
id_param: str
|
|
14
14
|
r"""Unique ID to PATCH"""
|
|
15
15
|
routes: RoutesTypedDict
|
|
16
|
-
r"""Routes object
|
|
16
|
+
r"""Routes object"""
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class UpdateRoutesByIDRequest(BaseModel):
|
|
@@ -27,7 +27,7 @@ class UpdateRoutesByIDRequest(BaseModel):
|
|
|
27
27
|
routes: Annotated[
|
|
28
28
|
Routes, FieldMetadata(request=RequestMetadata(media_type="application/json"))
|
|
29
29
|
]
|
|
30
|
-
r"""Routes object
|
|
30
|
+
r"""Routes object"""
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
class UpdateRoutesByIDResponseTypedDict(TypedDict):
|
|
@@ -9,10 +9,8 @@ from cribl_control_plane.utils.unmarshal_json_response import unmarshal_json_res
|
|
|
9
9
|
from typing import Any, Mapping, Optional
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
def get_summary_workers(
|
|
12
|
+
class Nodes(BaseSDK):
|
|
13
|
+
def get_count(
|
|
16
14
|
self,
|
|
17
15
|
*,
|
|
18
16
|
filter_exp: Optional[str] = None,
|
|
@@ -21,7 +19,7 @@ class WorkersSDK(BaseSDK):
|
|
|
21
19
|
timeout_ms: Optional[int] = None,
|
|
22
20
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
23
21
|
) -> models.GetSummaryWorkersResponse:
|
|
24
|
-
r"""
|
|
22
|
+
r"""Retrieve a count of Worker and Edge Nodes
|
|
25
23
|
|
|
26
24
|
get worker and edge nodes count
|
|
27
25
|
|
|
@@ -99,7 +97,7 @@ class WorkersSDK(BaseSDK):
|
|
|
99
97
|
|
|
100
98
|
raise errors.APIError("Unexpected response received", http_res)
|
|
101
99
|
|
|
102
|
-
async def
|
|
100
|
+
async def get_count_async(
|
|
103
101
|
self,
|
|
104
102
|
*,
|
|
105
103
|
filter_exp: Optional[str] = None,
|
|
@@ -108,7 +106,7 @@ class WorkersSDK(BaseSDK):
|
|
|
108
106
|
timeout_ms: Optional[int] = None,
|
|
109
107
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
110
108
|
) -> models.GetSummaryWorkersResponse:
|
|
111
|
-
r"""
|
|
109
|
+
r"""Retrieve a count of Worker and Edge Nodes
|
|
112
110
|
|
|
113
111
|
get worker and edge nodes count
|
|
114
112
|
|
|
@@ -186,7 +184,7 @@ class WorkersSDK(BaseSDK):
|
|
|
186
184
|
|
|
187
185
|
raise errors.APIError("Unexpected response received", http_res)
|
|
188
186
|
|
|
189
|
-
def
|
|
187
|
+
def list(
|
|
190
188
|
self,
|
|
191
189
|
*,
|
|
192
190
|
filter_exp: Optional[str] = None,
|
|
@@ -200,7 +198,7 @@ class WorkersSDK(BaseSDK):
|
|
|
200
198
|
timeout_ms: Optional[int] = None,
|
|
201
199
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
202
200
|
) -> models.GetWorkersResponse:
|
|
203
|
-
r"""
|
|
201
|
+
r"""Retrieve detailed metadata for Worker and Edge Nodes
|
|
204
202
|
|
|
205
203
|
get worker and edge nodes
|
|
206
204
|
|
|
@@ -288,7 +286,7 @@ class WorkersSDK(BaseSDK):
|
|
|
288
286
|
|
|
289
287
|
raise errors.APIError("Unexpected response received", http_res)
|
|
290
288
|
|
|
291
|
-
async def
|
|
289
|
+
async def list_async(
|
|
292
290
|
self,
|
|
293
291
|
*,
|
|
294
292
|
filter_exp: Optional[str] = None,
|
|
@@ -302,7 +300,7 @@ class WorkersSDK(BaseSDK):
|
|
|
302
300
|
timeout_ms: Optional[int] = None,
|
|
303
301
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
304
302
|
) -> models.GetWorkersResponse:
|
|
305
|
-
r"""
|
|
303
|
+
r"""Retrieve detailed metadata for Worker and Edge Nodes
|
|
306
304
|
|
|
307
305
|
get worker and edge nodes
|
|
308
306
|
|
|
@@ -390,7 +388,7 @@ class WorkersSDK(BaseSDK):
|
|
|
390
388
|
|
|
391
389
|
raise errors.APIError("Unexpected response received", http_res)
|
|
392
390
|
|
|
393
|
-
def
|
|
391
|
+
def restart(
|
|
394
392
|
self,
|
|
395
393
|
*,
|
|
396
394
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -398,7 +396,7 @@ class WorkersSDK(BaseSDK):
|
|
|
398
396
|
timeout_ms: Optional[int] = None,
|
|
399
397
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
400
398
|
) -> models.UpdateWorkersRestartResponse:
|
|
401
|
-
r"""
|
|
399
|
+
r"""Restart Worker and Edge Nodes
|
|
402
400
|
|
|
403
401
|
restarts worker nodes
|
|
404
402
|
|
|
@@ -472,7 +470,7 @@ class WorkersSDK(BaseSDK):
|
|
|
472
470
|
|
|
473
471
|
raise errors.APIError("Unexpected response received", http_res)
|
|
474
472
|
|
|
475
|
-
async def
|
|
473
|
+
async def restart_async(
|
|
476
474
|
self,
|
|
477
475
|
*,
|
|
478
476
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -480,7 +478,7 @@ class WorkersSDK(BaseSDK):
|
|
|
480
478
|
timeout_ms: Optional[int] = None,
|
|
481
479
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
482
480
|
) -> models.UpdateWorkersRestartResponse:
|
|
483
|
-
r"""
|
|
481
|
+
r"""Restart Worker and Edge Nodes
|
|
484
482
|
|
|
485
483
|
restarts worker nodes
|
|
486
484
|
|
cribl_control_plane/packs.py
CHANGED
|
@@ -12,7 +12,7 @@ from typing import Any, List, Mapping, Optional, Union
|
|
|
12
12
|
class Packs(BaseSDK):
|
|
13
13
|
r"""Actions related to Packs"""
|
|
14
14
|
|
|
15
|
-
def
|
|
15
|
+
def install(
|
|
16
16
|
self,
|
|
17
17
|
*,
|
|
18
18
|
id: str,
|
|
@@ -36,7 +36,7 @@ class Packs(BaseSDK):
|
|
|
36
36
|
timeout_ms: Optional[int] = None,
|
|
37
37
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
38
38
|
) -> models.CreatePacksResponse:
|
|
39
|
-
r"""Install Pack
|
|
39
|
+
r"""Install a Pack
|
|
40
40
|
|
|
41
41
|
Install Pack
|
|
42
42
|
|
|
@@ -143,7 +143,7 @@ class Packs(BaseSDK):
|
|
|
143
143
|
|
|
144
144
|
raise errors.APIError("Unexpected response received", http_res)
|
|
145
145
|
|
|
146
|
-
async def
|
|
146
|
+
async def install_async(
|
|
147
147
|
self,
|
|
148
148
|
*,
|
|
149
149
|
id: str,
|
|
@@ -167,7 +167,7 @@ class Packs(BaseSDK):
|
|
|
167
167
|
timeout_ms: Optional[int] = None,
|
|
168
168
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
169
169
|
) -> models.CreatePacksResponse:
|
|
170
|
-
r"""Install Pack
|
|
170
|
+
r"""Install a Pack
|
|
171
171
|
|
|
172
172
|
Install Pack
|
|
173
173
|
|
|
@@ -274,7 +274,7 @@ class Packs(BaseSDK):
|
|
|
274
274
|
|
|
275
275
|
raise errors.APIError("Unexpected response received", http_res)
|
|
276
276
|
|
|
277
|
-
def
|
|
277
|
+
def list(
|
|
278
278
|
self,
|
|
279
279
|
*,
|
|
280
280
|
with_: Optional[str] = None,
|
|
@@ -283,7 +283,7 @@ class Packs(BaseSDK):
|
|
|
283
283
|
timeout_ms: Optional[int] = None,
|
|
284
284
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
285
285
|
) -> models.GetPacksResponse:
|
|
286
|
-
r"""
|
|
286
|
+
r"""List all Packs
|
|
287
287
|
|
|
288
288
|
Get info on packs
|
|
289
289
|
|
|
@@ -361,7 +361,7 @@ class Packs(BaseSDK):
|
|
|
361
361
|
|
|
362
362
|
raise errors.APIError("Unexpected response received", http_res)
|
|
363
363
|
|
|
364
|
-
async def
|
|
364
|
+
async def list_async(
|
|
365
365
|
self,
|
|
366
366
|
*,
|
|
367
367
|
with_: Optional[str] = None,
|
|
@@ -370,7 +370,7 @@ class Packs(BaseSDK):
|
|
|
370
370
|
timeout_ms: Optional[int] = None,
|
|
371
371
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
372
372
|
) -> models.GetPacksResponse:
|
|
373
|
-
r"""
|
|
373
|
+
r"""List all Packs
|
|
374
374
|
|
|
375
375
|
Get info on packs
|
|
376
376
|
|
|
@@ -448,7 +448,7 @@ class Packs(BaseSDK):
|
|
|
448
448
|
|
|
449
449
|
raise errors.APIError("Unexpected response received", http_res)
|
|
450
450
|
|
|
451
|
-
def
|
|
451
|
+
def delete(
|
|
452
452
|
self,
|
|
453
453
|
*,
|
|
454
454
|
id: str,
|
|
@@ -457,7 +457,7 @@ class Packs(BaseSDK):
|
|
|
457
457
|
timeout_ms: Optional[int] = None,
|
|
458
458
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
459
459
|
) -> models.DeletePacksByIDResponse:
|
|
460
|
-
r"""Uninstall Pack
|
|
460
|
+
r"""Uninstall a Pack
|
|
461
461
|
|
|
462
462
|
Uninstall Pack from the system
|
|
463
463
|
|
|
@@ -535,7 +535,7 @@ class Packs(BaseSDK):
|
|
|
535
535
|
|
|
536
536
|
raise errors.APIError("Unexpected response received", http_res)
|
|
537
537
|
|
|
538
|
-
async def
|
|
538
|
+
async def delete_async(
|
|
539
539
|
self,
|
|
540
540
|
*,
|
|
541
541
|
id: str,
|
|
@@ -544,7 +544,7 @@ class Packs(BaseSDK):
|
|
|
544
544
|
timeout_ms: Optional[int] = None,
|
|
545
545
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
546
546
|
) -> models.DeletePacksByIDResponse:
|
|
547
|
-
r"""Uninstall Pack
|
|
547
|
+
r"""Uninstall a Pack
|
|
548
548
|
|
|
549
549
|
Uninstall Pack from the system
|
|
550
550
|
|
|
@@ -622,7 +622,7 @@ class Packs(BaseSDK):
|
|
|
622
622
|
|
|
623
623
|
raise errors.APIError("Unexpected response received", http_res)
|
|
624
624
|
|
|
625
|
-
def
|
|
625
|
+
def update(
|
|
626
626
|
self,
|
|
627
627
|
*,
|
|
628
628
|
id: str,
|
|
@@ -634,7 +634,7 @@ class Packs(BaseSDK):
|
|
|
634
634
|
timeout_ms: Optional[int] = None,
|
|
635
635
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
636
636
|
) -> models.UpdatePacksByIDResponse:
|
|
637
|
-
r"""
|
|
637
|
+
r"""Update a Pack
|
|
638
638
|
|
|
639
639
|
Upgrade Pack
|
|
640
640
|
|
|
@@ -718,7 +718,7 @@ class Packs(BaseSDK):
|
|
|
718
718
|
|
|
719
719
|
raise errors.APIError("Unexpected response received", http_res)
|
|
720
720
|
|
|
721
|
-
async def
|
|
721
|
+
async def update_async(
|
|
722
722
|
self,
|
|
723
723
|
*,
|
|
724
724
|
id: str,
|
|
@@ -730,7 +730,7 @@ class Packs(BaseSDK):
|
|
|
730
730
|
timeout_ms: Optional[int] = None,
|
|
731
731
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
732
732
|
) -> models.UpdatePacksByIDResponse:
|
|
733
|
-
r"""
|
|
733
|
+
r"""Update a Pack
|
|
734
734
|
|
|
735
735
|
Upgrade Pack
|
|
736
736
|
|
cribl_control_plane/pipelines.py
CHANGED
|
@@ -172,7 +172,7 @@ class Pipelines(BaseSDK):
|
|
|
172
172
|
|
|
173
173
|
raise errors.APIError("Unexpected response received", http_res)
|
|
174
174
|
|
|
175
|
-
def
|
|
175
|
+
def create(
|
|
176
176
|
self,
|
|
177
177
|
*,
|
|
178
178
|
id: str,
|
|
@@ -182,9 +182,9 @@ class Pipelines(BaseSDK):
|
|
|
182
182
|
timeout_ms: Optional[int] = None,
|
|
183
183
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
184
184
|
) -> models.CreatePipelineResponse:
|
|
185
|
-
r"""Create Pipeline
|
|
185
|
+
r"""Create a Pipeline
|
|
186
186
|
|
|
187
|
-
Create Pipeline
|
|
187
|
+
Create a Pipeline
|
|
188
188
|
|
|
189
189
|
:param id:
|
|
190
190
|
:param conf:
|
|
@@ -265,7 +265,7 @@ class Pipelines(BaseSDK):
|
|
|
265
265
|
|
|
266
266
|
raise errors.APIError("Unexpected response received", http_res)
|
|
267
267
|
|
|
268
|
-
async def
|
|
268
|
+
async def create_async(
|
|
269
269
|
self,
|
|
270
270
|
*,
|
|
271
271
|
id: str,
|
|
@@ -275,9 +275,9 @@ class Pipelines(BaseSDK):
|
|
|
275
275
|
timeout_ms: Optional[int] = None,
|
|
276
276
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
277
277
|
) -> models.CreatePipelineResponse:
|
|
278
|
-
r"""Create Pipeline
|
|
278
|
+
r"""Create a Pipeline
|
|
279
279
|
|
|
280
|
-
Create Pipeline
|
|
280
|
+
Create a Pipeline
|
|
281
281
|
|
|
282
282
|
:param id:
|
|
283
283
|
:param conf:
|
|
@@ -543,9 +543,9 @@ class Pipelines(BaseSDK):
|
|
|
543
543
|
timeout_ms: Optional[int] = None,
|
|
544
544
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
545
545
|
) -> models.UpdatePipelineByIDResponse:
|
|
546
|
-
r"""Update Pipeline
|
|
546
|
+
r"""Update a Pipeline
|
|
547
547
|
|
|
548
|
-
Update Pipeline
|
|
548
|
+
Update a Pipeline
|
|
549
549
|
|
|
550
550
|
:param id_param: Unique ID to PATCH
|
|
551
551
|
:param id:
|
|
@@ -641,9 +641,9 @@ class Pipelines(BaseSDK):
|
|
|
641
641
|
timeout_ms: Optional[int] = None,
|
|
642
642
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
643
643
|
) -> models.UpdatePipelineByIDResponse:
|
|
644
|
-
r"""Update Pipeline
|
|
644
|
+
r"""Update a Pipeline
|
|
645
645
|
|
|
646
|
-
Update Pipeline
|
|
646
|
+
Update a Pipeline
|
|
647
647
|
|
|
648
648
|
:param id_param: Unique ID to PATCH
|
|
649
649
|
:param id:
|
|
@@ -12,7 +12,7 @@ from typing import Any, Dict, List, Mapping, Optional, Union
|
|
|
12
12
|
class RoutesSDK(BaseSDK):
|
|
13
13
|
r"""Actions related to Routes"""
|
|
14
14
|
|
|
15
|
-
def
|
|
15
|
+
def list(
|
|
16
16
|
self,
|
|
17
17
|
*,
|
|
18
18
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -92,7 +92,7 @@ class RoutesSDK(BaseSDK):
|
|
|
92
92
|
|
|
93
93
|
raise errors.APIError("Unexpected response received", http_res)
|
|
94
94
|
|
|
95
|
-
async def
|
|
95
|
+
async def list_async(
|
|
96
96
|
self,
|
|
97
97
|
*,
|
|
98
98
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -172,7 +172,7 @@ class RoutesSDK(BaseSDK):
|
|
|
172
172
|
|
|
173
173
|
raise errors.APIError("Unexpected response received", http_res)
|
|
174
174
|
|
|
175
|
-
def
|
|
175
|
+
def get(
|
|
176
176
|
self,
|
|
177
177
|
*,
|
|
178
178
|
id: str,
|
|
@@ -259,7 +259,7 @@ class RoutesSDK(BaseSDK):
|
|
|
259
259
|
|
|
260
260
|
raise errors.APIError("Unexpected response received", http_res)
|
|
261
261
|
|
|
262
|
-
async def
|
|
262
|
+
async def get_async(
|
|
263
263
|
self,
|
|
264
264
|
*,
|
|
265
265
|
id: str,
|
|
@@ -346,7 +346,7 @@ class RoutesSDK(BaseSDK):
|
|
|
346
346
|
|
|
347
347
|
raise errors.APIError("Unexpected response received", http_res)
|
|
348
348
|
|
|
349
|
-
def
|
|
349
|
+
def update(
|
|
350
350
|
self,
|
|
351
351
|
*,
|
|
352
352
|
id_param: str,
|
|
@@ -460,7 +460,7 @@ class RoutesSDK(BaseSDK):
|
|
|
460
460
|
|
|
461
461
|
raise errors.APIError("Unexpected response received", http_res)
|
|
462
462
|
|
|
463
|
-
async def
|
|
463
|
+
async def update_async(
|
|
464
464
|
self,
|
|
465
465
|
*,
|
|
466
466
|
id_param: str,
|
|
@@ -574,7 +574,7 @@ class RoutesSDK(BaseSDK):
|
|
|
574
574
|
|
|
575
575
|
raise errors.APIError("Unexpected response received", http_res)
|
|
576
576
|
|
|
577
|
-
def
|
|
577
|
+
def append(
|
|
578
578
|
self,
|
|
579
579
|
*,
|
|
580
580
|
id: str,
|
|
@@ -584,7 +584,7 @@ class RoutesSDK(BaseSDK):
|
|
|
584
584
|
timeout_ms: Optional[int] = None,
|
|
585
585
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
586
586
|
) -> models.CreateRoutesAppendByIDResponse:
|
|
587
|
-
r"""
|
|
587
|
+
r"""Append Routes to the end of the Routing table
|
|
588
588
|
|
|
589
589
|
Appends routes to the end of the routing table
|
|
590
590
|
|
|
@@ -669,7 +669,7 @@ class RoutesSDK(BaseSDK):
|
|
|
669
669
|
|
|
670
670
|
raise errors.APIError("Unexpected response received", http_res)
|
|
671
671
|
|
|
672
|
-
async def
|
|
672
|
+
async def append_async(
|
|
673
673
|
self,
|
|
674
674
|
*,
|
|
675
675
|
id: str,
|
|
@@ -679,7 +679,7 @@ class RoutesSDK(BaseSDK):
|
|
|
679
679
|
timeout_ms: Optional[int] = None,
|
|
680
680
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
681
681
|
) -> models.CreateRoutesAppendByIDResponse:
|
|
682
|
-
r"""
|
|
682
|
+
r"""Append Routes to the end of the Routing table
|
|
683
683
|
|
|
684
684
|
Appends routes to the end of the routing table
|
|
685
685
|
|
cribl_control_plane/sdk.py
CHANGED
|
@@ -15,25 +15,23 @@ import weakref
|
|
|
15
15
|
|
|
16
16
|
if TYPE_CHECKING:
|
|
17
17
|
from cribl_control_plane.auth_sdk import AuthSDK
|
|
18
|
+
from cribl_control_plane.deployments import Deployments
|
|
18
19
|
from cribl_control_plane.destinations import Destinations
|
|
19
|
-
from cribl_control_plane.distributed import Distributed
|
|
20
20
|
from cribl_control_plane.groups_sdk import GroupsSDK
|
|
21
|
-
from cribl_control_plane.
|
|
22
|
-
from cribl_control_plane.
|
|
21
|
+
from cribl_control_plane.healthinfo import HealthInfo
|
|
22
|
+
from cribl_control_plane.lakedatasets import LakeDatasets
|
|
23
|
+
from cribl_control_plane.nodes import Nodes
|
|
23
24
|
from cribl_control_plane.packs import Packs
|
|
24
25
|
from cribl_control_plane.pipelines import Pipelines
|
|
25
26
|
from cribl_control_plane.routes_sdk import RoutesSDK
|
|
26
27
|
from cribl_control_plane.sources import Sources
|
|
27
|
-
from cribl_control_plane.teams import Teams
|
|
28
28
|
from cribl_control_plane.versioning import Versioning
|
|
29
|
-
from cribl_control_plane.workers_sdk import WorkersSDK
|
|
30
29
|
|
|
31
30
|
|
|
32
31
|
class CriblControlPlane(BaseSDK):
|
|
33
32
|
r"""Cribl API Reference: This API Reference lists available REST endpoints, along with their supported operations for accessing, creating, updating, or deleting resources. See our complementary product documentation at [docs.cribl.io](http://docs.cribl.io)."""
|
|
34
33
|
|
|
35
|
-
|
|
36
|
-
r"""Actions related to Lake"""
|
|
34
|
+
lake_datasets: "LakeDatasets"
|
|
37
35
|
sources: "Sources"
|
|
38
36
|
destinations: "Destinations"
|
|
39
37
|
pipelines: "Pipelines"
|
|
@@ -42,34 +40,28 @@ class CriblControlPlane(BaseSDK):
|
|
|
42
40
|
r"""Actions related to Routes"""
|
|
43
41
|
auth: "AuthSDK"
|
|
44
42
|
r"""Actions related to authentication. Do not use the /auth endpoints in Cribl.Cloud deployments. Instead, follow the instructions at https://docs.cribl.io/stream/api-tutorials/#criblcloud to authenticate for Cribl.Cloud."""
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
r"""Actions related to Distributed"""
|
|
49
|
-
health: "Health"
|
|
50
|
-
r"""Actions related to REST server health"""
|
|
43
|
+
nodes: "Nodes"
|
|
44
|
+
deployments: "Deployments"
|
|
45
|
+
health_info: "HealthInfo"
|
|
51
46
|
packs: "Packs"
|
|
52
47
|
r"""Actions related to Packs"""
|
|
53
48
|
versioning: "Versioning"
|
|
54
49
|
r"""Actions related to Versioning"""
|
|
55
50
|
groups: "GroupsSDK"
|
|
56
51
|
r"""Actions related to Groups"""
|
|
57
|
-
teams: "Teams"
|
|
58
|
-
r"""Actions related to Teams"""
|
|
59
52
|
_sub_sdk_map = {
|
|
60
|
-
"
|
|
53
|
+
"lake_datasets": ("cribl_control_plane.lakedatasets", "LakeDatasets"),
|
|
61
54
|
"sources": ("cribl_control_plane.sources", "Sources"),
|
|
62
55
|
"destinations": ("cribl_control_plane.destinations", "Destinations"),
|
|
63
56
|
"pipelines": ("cribl_control_plane.pipelines", "Pipelines"),
|
|
64
57
|
"routes": ("cribl_control_plane.routes_sdk", "RoutesSDK"),
|
|
65
58
|
"auth": ("cribl_control_plane.auth_sdk", "AuthSDK"),
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
59
|
+
"nodes": ("cribl_control_plane.nodes", "Nodes"),
|
|
60
|
+
"deployments": ("cribl_control_plane.deployments", "Deployments"),
|
|
61
|
+
"health_info": ("cribl_control_plane.healthinfo", "HealthInfo"),
|
|
69
62
|
"packs": ("cribl_control_plane.packs", "Packs"),
|
|
70
63
|
"versioning": ("cribl_control_plane.versioning", "Versioning"),
|
|
71
64
|
"groups": ("cribl_control_plane.groups_sdk", "GroupsSDK"),
|
|
72
|
-
"teams": ("cribl_control_plane.teams", "Teams"),
|
|
73
65
|
}
|
|
74
66
|
|
|
75
67
|
def __init__(
|