cribl-control-plane 0.0.23__py3-none-any.whl → 0.0.25__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/__init__.py +18 -0
- cribl_control_plane/models/createpipelineop.py +2 -2
- cribl_control_plane/models/input.py +4 -4
- cribl_control_plane/models/inputconfluentcloud.py +14 -0
- cribl_control_plane/models/inputgooglepubsub.py +14 -7
- cribl_control_plane/models/inputgrafana.py +14 -0
- cribl_control_plane/models/inputkafka.py +14 -0
- cribl_control_plane/models/inputloki.py +7 -0
- cribl_control_plane/models/inputmsk.py +14 -0
- cribl_control_plane/models/output.py +14 -14
- cribl_control_plane/models/outputconfluentcloud.py +14 -0
- cribl_control_plane/models/outputdls3.py +2 -2
- cribl_control_plane/models/outputgooglecloudstorage.py +2 -2
- cribl_control_plane/models/outputgrafanacloud.py +14 -0
- cribl_control_plane/models/outputkafka.py +14 -0
- cribl_control_plane/models/outputloki.py +14 -0
- cribl_control_plane/models/outputmsk.py +14 -0
- cribl_control_plane/models/outputs3.py +2 -2
- cribl_control_plane/models/updatepipelinebyidop.py +2 -2
- cribl_control_plane/models/updateroutesbyidop.py +2 -2
- cribl_control_plane/nodes.py +379 -0
- cribl_control_plane/packs.py +16 -16
- cribl_control_plane/pipelines.py +30 -30
- cribl_control_plane/routes_sdk.py +10 -10
- cribl_control_plane/sdk.py +15 -19
- cribl_control_plane/sources.py +28 -28
- cribl_control_plane/versioning.py +54 -54
- cribl_control_plane/workers_sdk.py +2 -370
- {cribl_control_plane-0.0.23.dist-info → cribl_control_plane-0.0.25.dist-info}/METADATA +76 -76
- {cribl_control_plane-0.0.23.dist-info → cribl_control_plane-0.0.25.dist-info}/RECORD +38 -38
- cribl_control_plane/teams.py +0 -203
- {cribl_control_plane-0.0.23.dist-info → cribl_control_plane-0.0.25.dist-info}/WHEEL +0 -0
cribl_control_plane/pipelines.py
CHANGED
|
@@ -12,7 +12,7 @@ from typing import Any, Mapping, Optional, Union
|
|
|
12
12
|
class Pipelines(BaseSDK):
|
|
13
13
|
r"""Actions related to Pipelines"""
|
|
14
14
|
|
|
15
|
-
def
|
|
15
|
+
def list(
|
|
16
16
|
self,
|
|
17
17
|
*,
|
|
18
18
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -20,9 +20,9 @@ class Pipelines(BaseSDK):
|
|
|
20
20
|
timeout_ms: Optional[int] = None,
|
|
21
21
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
22
22
|
) -> models.ListPipelineResponse:
|
|
23
|
-
r"""
|
|
23
|
+
r"""List all Pipelines
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
List all Pipelines
|
|
26
26
|
|
|
27
27
|
:param retries: Override the default retry configuration for this method
|
|
28
28
|
:param server_url: Override the default server URL for this method
|
|
@@ -92,7 +92,7 @@ class Pipelines(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,
|
|
@@ -100,9 +100,9 @@ class Pipelines(BaseSDK):
|
|
|
100
100
|
timeout_ms: Optional[int] = None,
|
|
101
101
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
102
102
|
) -> models.ListPipelineResponse:
|
|
103
|
-
r"""
|
|
103
|
+
r"""List all Pipelines
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
List all Pipelines
|
|
106
106
|
|
|
107
107
|
:param retries: Override the default retry configuration for this method
|
|
108
108
|
:param server_url: Override the default server URL for this method
|
|
@@ -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:
|
|
@@ -358,7 +358,7 @@ class Pipelines(BaseSDK):
|
|
|
358
358
|
|
|
359
359
|
raise errors.APIError("Unexpected response received", http_res)
|
|
360
360
|
|
|
361
|
-
def
|
|
361
|
+
def get(
|
|
362
362
|
self,
|
|
363
363
|
*,
|
|
364
364
|
id: str,
|
|
@@ -367,9 +367,9 @@ class Pipelines(BaseSDK):
|
|
|
367
367
|
timeout_ms: Optional[int] = None,
|
|
368
368
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
369
369
|
) -> models.GetPipelineByIDResponse:
|
|
370
|
-
r"""
|
|
370
|
+
r"""Retrieve a Pipeline
|
|
371
371
|
|
|
372
|
-
|
|
372
|
+
Retrieve a Pipeline
|
|
373
373
|
|
|
374
374
|
:param id: Unique ID to GET
|
|
375
375
|
:param retries: Override the default retry configuration for this method
|
|
@@ -445,7 +445,7 @@ class Pipelines(BaseSDK):
|
|
|
445
445
|
|
|
446
446
|
raise errors.APIError("Unexpected response received", http_res)
|
|
447
447
|
|
|
448
|
-
async def
|
|
448
|
+
async def get_async(
|
|
449
449
|
self,
|
|
450
450
|
*,
|
|
451
451
|
id: str,
|
|
@@ -454,9 +454,9 @@ class Pipelines(BaseSDK):
|
|
|
454
454
|
timeout_ms: Optional[int] = None,
|
|
455
455
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
456
456
|
) -> models.GetPipelineByIDResponse:
|
|
457
|
-
r"""
|
|
457
|
+
r"""Retrieve a Pipeline
|
|
458
458
|
|
|
459
|
-
|
|
459
|
+
Retrieve a Pipeline
|
|
460
460
|
|
|
461
461
|
:param id: Unique ID to GET
|
|
462
462
|
:param retries: Override the default retry configuration for this method
|
|
@@ -532,7 +532,7 @@ class Pipelines(BaseSDK):
|
|
|
532
532
|
|
|
533
533
|
raise errors.APIError("Unexpected response received", http_res)
|
|
534
534
|
|
|
535
|
-
def
|
|
535
|
+
def update(
|
|
536
536
|
self,
|
|
537
537
|
*,
|
|
538
538
|
id_param: str,
|
|
@@ -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:
|
|
@@ -630,7 +630,7 @@ class Pipelines(BaseSDK):
|
|
|
630
630
|
|
|
631
631
|
raise errors.APIError("Unexpected response received", http_res)
|
|
632
632
|
|
|
633
|
-
async def
|
|
633
|
+
async def update_async(
|
|
634
634
|
self,
|
|
635
635
|
*,
|
|
636
636
|
id_param: str,
|
|
@@ -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:
|
|
@@ -728,7 +728,7 @@ class Pipelines(BaseSDK):
|
|
|
728
728
|
|
|
729
729
|
raise errors.APIError("Unexpected response received", http_res)
|
|
730
730
|
|
|
731
|
-
def
|
|
731
|
+
def delete(
|
|
732
732
|
self,
|
|
733
733
|
*,
|
|
734
734
|
id: str,
|
|
@@ -737,9 +737,9 @@ class Pipelines(BaseSDK):
|
|
|
737
737
|
timeout_ms: Optional[int] = None,
|
|
738
738
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
739
739
|
) -> models.DeletePipelineByIDResponse:
|
|
740
|
-
r"""Delete Pipeline
|
|
740
|
+
r"""Delete a Pipeline
|
|
741
741
|
|
|
742
|
-
Delete Pipeline
|
|
742
|
+
Delete a Pipeline
|
|
743
743
|
|
|
744
744
|
:param id: Unique ID to DELETE
|
|
745
745
|
:param retries: Override the default retry configuration for this method
|
|
@@ -815,7 +815,7 @@ class Pipelines(BaseSDK):
|
|
|
815
815
|
|
|
816
816
|
raise errors.APIError("Unexpected response received", http_res)
|
|
817
817
|
|
|
818
|
-
async def
|
|
818
|
+
async def delete_async(
|
|
819
819
|
self,
|
|
820
820
|
*,
|
|
821
821
|
id: str,
|
|
@@ -824,9 +824,9 @@ class Pipelines(BaseSDK):
|
|
|
824
824
|
timeout_ms: Optional[int] = None,
|
|
825
825
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
826
826
|
) -> models.DeletePipelineByIDResponse:
|
|
827
|
-
r"""Delete Pipeline
|
|
827
|
+
r"""Delete a Pipeline
|
|
828
828
|
|
|
829
|
-
Delete Pipeline
|
|
829
|
+
Delete a Pipeline
|
|
830
830
|
|
|
831
831
|
:param id: Unique ID to DELETE
|
|
832
832
|
:param retries: Override the default retry configuration for this method
|
|
@@ -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,16 +15,16 @@ 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
29
|
from cribl_control_plane.workers_sdk import WorkersSDK
|
|
30
30
|
|
|
@@ -32,8 +32,7 @@ if TYPE_CHECKING:
|
|
|
32
32
|
class CriblControlPlane(BaseSDK):
|
|
33
33
|
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
34
|
|
|
35
|
-
|
|
36
|
-
r"""Actions related to Lake"""
|
|
35
|
+
lake_datasets: "LakeDatasets"
|
|
37
36
|
sources: "Sources"
|
|
38
37
|
destinations: "Destinations"
|
|
39
38
|
pipelines: "Pipelines"
|
|
@@ -42,34 +41,31 @@ class CriblControlPlane(BaseSDK):
|
|
|
42
41
|
r"""Actions related to Routes"""
|
|
43
42
|
auth: "AuthSDK"
|
|
44
43
|
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
|
-
distributed: "Distributed"
|
|
48
|
-
r"""Actions related to Distributed"""
|
|
49
|
-
health: "Health"
|
|
50
|
-
r"""Actions related to REST server health"""
|
|
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"""
|
|
50
|
+
workers: "WorkersSDK"
|
|
51
|
+
r"""Actions related to Workers"""
|
|
52
|
+
nodes: "Nodes"
|
|
55
53
|
groups: "GroupsSDK"
|
|
56
54
|
r"""Actions related to Groups"""
|
|
57
|
-
teams: "Teams"
|
|
58
|
-
r"""Actions related to Teams"""
|
|
59
55
|
_sub_sdk_map = {
|
|
60
|
-
"
|
|
56
|
+
"lake_datasets": ("cribl_control_plane.lakedatasets", "LakeDatasets"),
|
|
61
57
|
"sources": ("cribl_control_plane.sources", "Sources"),
|
|
62
58
|
"destinations": ("cribl_control_plane.destinations", "Destinations"),
|
|
63
59
|
"pipelines": ("cribl_control_plane.pipelines", "Pipelines"),
|
|
64
60
|
"routes": ("cribl_control_plane.routes_sdk", "RoutesSDK"),
|
|
65
61
|
"auth": ("cribl_control_plane.auth_sdk", "AuthSDK"),
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"health": ("cribl_control_plane.health", "Health"),
|
|
62
|
+
"deployments": ("cribl_control_plane.deployments", "Deployments"),
|
|
63
|
+
"health_info": ("cribl_control_plane.healthinfo", "HealthInfo"),
|
|
69
64
|
"packs": ("cribl_control_plane.packs", "Packs"),
|
|
70
65
|
"versioning": ("cribl_control_plane.versioning", "Versioning"),
|
|
66
|
+
"workers": ("cribl_control_plane.workers_sdk", "WorkersSDK"),
|
|
67
|
+
"nodes": ("cribl_control_plane.nodes", "Nodes"),
|
|
71
68
|
"groups": ("cribl_control_plane.groups_sdk", "GroupsSDK"),
|
|
72
|
-
"teams": ("cribl_control_plane.teams", "Teams"),
|
|
73
69
|
}
|
|
74
70
|
|
|
75
71
|
def __init__(
|
cribl_control_plane/sources.py
CHANGED
|
@@ -10,7 +10,7 @@ from typing import Any, List, Mapping, Optional, Union, cast
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class Sources(BaseSDK):
|
|
13
|
-
def
|
|
13
|
+
def list(
|
|
14
14
|
self,
|
|
15
15
|
*,
|
|
16
16
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -18,7 +18,7 @@ class Sources(BaseSDK):
|
|
|
18
18
|
timeout_ms: Optional[int] = None,
|
|
19
19
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
20
20
|
) -> models.ListInputResponse:
|
|
21
|
-
r"""
|
|
21
|
+
r"""List all Sources
|
|
22
22
|
|
|
23
23
|
Get a list of Source objects
|
|
24
24
|
|
|
@@ -90,7 +90,7 @@ class Sources(BaseSDK):
|
|
|
90
90
|
|
|
91
91
|
raise errors.APIError("Unexpected response received", http_res)
|
|
92
92
|
|
|
93
|
-
async def
|
|
93
|
+
async def list_async(
|
|
94
94
|
self,
|
|
95
95
|
*,
|
|
96
96
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
@@ -98,7 +98,7 @@ class Sources(BaseSDK):
|
|
|
98
98
|
timeout_ms: Optional[int] = None,
|
|
99
99
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
100
100
|
) -> models.ListInputResponse:
|
|
101
|
-
r"""
|
|
101
|
+
r"""List all Sources
|
|
102
102
|
|
|
103
103
|
Get a list of Source objects
|
|
104
104
|
|
|
@@ -170,7 +170,7 @@ class Sources(BaseSDK):
|
|
|
170
170
|
|
|
171
171
|
raise errors.APIError("Unexpected response received", http_res)
|
|
172
172
|
|
|
173
|
-
def
|
|
173
|
+
def create(
|
|
174
174
|
self,
|
|
175
175
|
*,
|
|
176
176
|
request: Union[models.Input, models.InputTypedDict],
|
|
@@ -179,7 +179,7 @@ class Sources(BaseSDK):
|
|
|
179
179
|
timeout_ms: Optional[int] = None,
|
|
180
180
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
181
181
|
) -> models.CreateInputResponse:
|
|
182
|
-
r"""Create Source
|
|
182
|
+
r"""Create a Source
|
|
183
183
|
|
|
184
184
|
Create Source
|
|
185
185
|
|
|
@@ -260,7 +260,7 @@ class Sources(BaseSDK):
|
|
|
260
260
|
|
|
261
261
|
raise errors.APIError("Unexpected response received", http_res)
|
|
262
262
|
|
|
263
|
-
async def
|
|
263
|
+
async def create_async(
|
|
264
264
|
self,
|
|
265
265
|
*,
|
|
266
266
|
request: Union[models.Input, models.InputTypedDict],
|
|
@@ -269,7 +269,7 @@ class Sources(BaseSDK):
|
|
|
269
269
|
timeout_ms: Optional[int] = None,
|
|
270
270
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
271
271
|
) -> models.CreateInputResponse:
|
|
272
|
-
r"""Create Source
|
|
272
|
+
r"""Create a Source
|
|
273
273
|
|
|
274
274
|
Create Source
|
|
275
275
|
|
|
@@ -350,7 +350,7 @@ class Sources(BaseSDK):
|
|
|
350
350
|
|
|
351
351
|
raise errors.APIError("Unexpected response received", http_res)
|
|
352
352
|
|
|
353
|
-
def
|
|
353
|
+
def get(
|
|
354
354
|
self,
|
|
355
355
|
*,
|
|
356
356
|
id: str,
|
|
@@ -359,7 +359,7 @@ class Sources(BaseSDK):
|
|
|
359
359
|
timeout_ms: Optional[int] = None,
|
|
360
360
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
361
361
|
) -> models.GetInputByIDResponse:
|
|
362
|
-
r"""
|
|
362
|
+
r"""Retrieve a Source
|
|
363
363
|
|
|
364
364
|
Get Source by ID
|
|
365
365
|
|
|
@@ -437,7 +437,7 @@ class Sources(BaseSDK):
|
|
|
437
437
|
|
|
438
438
|
raise errors.APIError("Unexpected response received", http_res)
|
|
439
439
|
|
|
440
|
-
async def
|
|
440
|
+
async def get_async(
|
|
441
441
|
self,
|
|
442
442
|
*,
|
|
443
443
|
id: str,
|
|
@@ -446,7 +446,7 @@ class Sources(BaseSDK):
|
|
|
446
446
|
timeout_ms: Optional[int] = None,
|
|
447
447
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
448
448
|
) -> models.GetInputByIDResponse:
|
|
449
|
-
r"""
|
|
449
|
+
r"""Retrieve a Source
|
|
450
450
|
|
|
451
451
|
Get Source by ID
|
|
452
452
|
|
|
@@ -524,7 +524,7 @@ class Sources(BaseSDK):
|
|
|
524
524
|
|
|
525
525
|
raise errors.APIError("Unexpected response received", http_res)
|
|
526
526
|
|
|
527
|
-
def
|
|
527
|
+
def update(
|
|
528
528
|
self,
|
|
529
529
|
*,
|
|
530
530
|
id: str,
|
|
@@ -534,7 +534,7 @@ class Sources(BaseSDK):
|
|
|
534
534
|
timeout_ms: Optional[int] = None,
|
|
535
535
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
536
536
|
) -> models.UpdateInputByIDResponse:
|
|
537
|
-
r"""Update Source
|
|
537
|
+
r"""Update a Source
|
|
538
538
|
|
|
539
539
|
Update Source
|
|
540
540
|
|
|
@@ -617,7 +617,7 @@ class Sources(BaseSDK):
|
|
|
617
617
|
|
|
618
618
|
raise errors.APIError("Unexpected response received", http_res)
|
|
619
619
|
|
|
620
|
-
async def
|
|
620
|
+
async def update_async(
|
|
621
621
|
self,
|
|
622
622
|
*,
|
|
623
623
|
id: str,
|
|
@@ -627,7 +627,7 @@ class Sources(BaseSDK):
|
|
|
627
627
|
timeout_ms: Optional[int] = None,
|
|
628
628
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
629
629
|
) -> models.UpdateInputByIDResponse:
|
|
630
|
-
r"""Update Source
|
|
630
|
+
r"""Update a Source
|
|
631
631
|
|
|
632
632
|
Update Source
|
|
633
633
|
|
|
@@ -710,7 +710,7 @@ class Sources(BaseSDK):
|
|
|
710
710
|
|
|
711
711
|
raise errors.APIError("Unexpected response received", http_res)
|
|
712
712
|
|
|
713
|
-
def
|
|
713
|
+
def delete(
|
|
714
714
|
self,
|
|
715
715
|
*,
|
|
716
716
|
id: str,
|
|
@@ -719,7 +719,7 @@ class Sources(BaseSDK):
|
|
|
719
719
|
timeout_ms: Optional[int] = None,
|
|
720
720
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
721
721
|
) -> models.DeleteInputByIDResponse:
|
|
722
|
-
r"""Delete Source
|
|
722
|
+
r"""Delete a Source
|
|
723
723
|
|
|
724
724
|
Delete Source
|
|
725
725
|
|
|
@@ -797,7 +797,7 @@ class Sources(BaseSDK):
|
|
|
797
797
|
|
|
798
798
|
raise errors.APIError("Unexpected response received", http_res)
|
|
799
799
|
|
|
800
|
-
async def
|
|
800
|
+
async def delete_async(
|
|
801
801
|
self,
|
|
802
802
|
*,
|
|
803
803
|
id: str,
|
|
@@ -806,7 +806,7 @@ class Sources(BaseSDK):
|
|
|
806
806
|
timeout_ms: Optional[int] = None,
|
|
807
807
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
808
808
|
) -> models.DeleteInputByIDResponse:
|
|
809
|
-
r"""Delete Source
|
|
809
|
+
r"""Delete a Source
|
|
810
810
|
|
|
811
811
|
Delete Source
|
|
812
812
|
|
|
@@ -884,7 +884,7 @@ class Sources(BaseSDK):
|
|
|
884
884
|
|
|
885
885
|
raise errors.APIError("Unexpected response received", http_res)
|
|
886
886
|
|
|
887
|
-
def
|
|
887
|
+
def create_hec_token(
|
|
888
888
|
self,
|
|
889
889
|
*,
|
|
890
890
|
id: str,
|
|
@@ -902,7 +902,7 @@ class Sources(BaseSDK):
|
|
|
902
902
|
timeout_ms: Optional[int] = None,
|
|
903
903
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
904
904
|
) -> models.CreateInputHecTokenByIDResponse:
|
|
905
|
-
r"""Add token and optional metadata to
|
|
905
|
+
r"""Add an HEC token and optional metadata to a Splunk HEC Source
|
|
906
906
|
|
|
907
907
|
Add token and optional metadata to an existing HEC Source
|
|
908
908
|
|
|
@@ -1001,7 +1001,7 @@ class Sources(BaseSDK):
|
|
|
1001
1001
|
|
|
1002
1002
|
raise errors.APIError("Unexpected response received", http_res)
|
|
1003
1003
|
|
|
1004
|
-
async def
|
|
1004
|
+
async def create_hec_token_async(
|
|
1005
1005
|
self,
|
|
1006
1006
|
*,
|
|
1007
1007
|
id: str,
|
|
@@ -1019,7 +1019,7 @@ class Sources(BaseSDK):
|
|
|
1019
1019
|
timeout_ms: Optional[int] = None,
|
|
1020
1020
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1021
1021
|
) -> models.CreateInputHecTokenByIDResponse:
|
|
1022
|
-
r"""Add token and optional metadata to
|
|
1022
|
+
r"""Add an HEC token and optional metadata to a Splunk HEC Source
|
|
1023
1023
|
|
|
1024
1024
|
Add token and optional metadata to an existing HEC Source
|
|
1025
1025
|
|
|
@@ -1118,7 +1118,7 @@ class Sources(BaseSDK):
|
|
|
1118
1118
|
|
|
1119
1119
|
raise errors.APIError("Unexpected response received", http_res)
|
|
1120
1120
|
|
|
1121
|
-
def
|
|
1121
|
+
def update_hec_token_metadata(
|
|
1122
1122
|
self,
|
|
1123
1123
|
*,
|
|
1124
1124
|
id: str,
|
|
@@ -1136,7 +1136,7 @@ class Sources(BaseSDK):
|
|
|
1136
1136
|
timeout_ms: Optional[int] = None,
|
|
1137
1137
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1138
1138
|
) -> models.UpdateInputHecTokenByIDAndTokenResponse:
|
|
1139
|
-
r"""Update token
|
|
1139
|
+
r"""Update metadata for an HEC token for a Splunk HEC Source
|
|
1140
1140
|
|
|
1141
1141
|
Update token metadata on existing HEC Source
|
|
1142
1142
|
|
|
@@ -1235,7 +1235,7 @@ class Sources(BaseSDK):
|
|
|
1235
1235
|
|
|
1236
1236
|
raise errors.APIError("Unexpected response received", http_res)
|
|
1237
1237
|
|
|
1238
|
-
async def
|
|
1238
|
+
async def update_hec_token_metadata_async(
|
|
1239
1239
|
self,
|
|
1240
1240
|
*,
|
|
1241
1241
|
id: str,
|
|
@@ -1253,7 +1253,7 @@ class Sources(BaseSDK):
|
|
|
1253
1253
|
timeout_ms: Optional[int] = None,
|
|
1254
1254
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1255
1255
|
) -> models.UpdateInputHecTokenByIDAndTokenResponse:
|
|
1256
|
-
r"""Update token
|
|
1256
|
+
r"""Update metadata for an HEC token for a Splunk HEC Source
|
|
1257
1257
|
|
|
1258
1258
|
Update token metadata on existing HEC Source
|
|
1259
1259
|
|