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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: cribl-control-plane
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.24
|
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy.
|
|
5
5
|
Author: Speakeasy
|
|
6
6
|
Requires-Python: >=3.9.2
|
|
@@ -125,7 +125,7 @@ with CriblControlPlane(
|
|
|
125
125
|
),
|
|
126
126
|
) as ccp_client:
|
|
127
127
|
|
|
128
|
-
res = ccp_client.
|
|
128
|
+
res = ccp_client.lake_datasets.create(lake_id="<id>", id="<id>", accelerated_fields=[
|
|
129
129
|
"<value 1>",
|
|
130
130
|
"<value 2>",
|
|
131
131
|
], bucket_name="<value>", cache_connection={
|
|
@@ -182,7 +182,7 @@ async def main():
|
|
|
182
182
|
),
|
|
183
183
|
) as ccp_client:
|
|
184
184
|
|
|
185
|
-
res = await ccp_client.
|
|
185
|
+
res = await ccp_client.lake_datasets.create_async(lake_id="<id>", id="<id>", accelerated_fields=[
|
|
186
186
|
"<value 1>",
|
|
187
187
|
"<value 2>",
|
|
188
188
|
], bucket_name="<value>", cache_connection={
|
|
@@ -249,7 +249,7 @@ with CriblControlPlane(
|
|
|
249
249
|
),
|
|
250
250
|
) as ccp_client:
|
|
251
251
|
|
|
252
|
-
res = ccp_client.
|
|
252
|
+
res = ccp_client.lake_datasets.create(lake_id="<id>", id="<id>", accelerated_fields=[
|
|
253
253
|
"<value 1>",
|
|
254
254
|
"<value 2>",
|
|
255
255
|
], bucket_name="<value>", cache_connection={
|
|
@@ -298,105 +298,102 @@ with CriblControlPlane(
|
|
|
298
298
|
|
|
299
299
|
### [auth](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/authsdk/README.md)
|
|
300
300
|
|
|
301
|
-
* [
|
|
301
|
+
* [fetch_token](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/authsdk/README.md#fetch_token) - Log in and fetch an authentication token
|
|
302
302
|
|
|
303
303
|
|
|
304
|
-
### [
|
|
304
|
+
### [deployments](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/deployments/README.md)
|
|
305
305
|
|
|
306
|
-
* [
|
|
307
|
-
* [create_destination](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#create_destination) - Create Destination
|
|
308
|
-
* [get_destination_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#get_destination_by_id) - Get Destination by ID
|
|
309
|
-
* [update_destination_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#update_destination_by_id) - Update Destination
|
|
310
|
-
* [delete_destination_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#delete_destination_by_id) - Delete Destination
|
|
311
|
-
* [delete_destination_pq_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#delete_destination_pq_by_id) - Clears destination persistent queue
|
|
312
|
-
* [get_destination_pq_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#get_destination_pq_by_id) - Retrieves status of latest clear PQ job for a destination
|
|
313
|
-
* [get_destination_samples_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#get_destination_samples_by_id) - Retrieve samples data for the specified destination. Used to get sample data for the test action.
|
|
314
|
-
* [create_destination_test_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#create_destination_test_by_id) - Send sample data to a destination to validate configuration or test connectivity
|
|
306
|
+
* [get_summary](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/deployments/README.md#get_summary) - Retrieve a summary of the Distributed deployment
|
|
315
307
|
|
|
316
|
-
### [
|
|
308
|
+
### [destinations](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md)
|
|
317
309
|
|
|
318
|
-
* [
|
|
310
|
+
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#list) - List all Destinations
|
|
311
|
+
* [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#create) - Create a Destination
|
|
312
|
+
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#get) - Retrieve a Destination
|
|
313
|
+
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#update) - Update a Destination
|
|
314
|
+
* [delete](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#delete) - Delete a Destination
|
|
315
|
+
* [clear_persistent_queue](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#clear_persistent_queue) - Clear the persistent queue for a Destination
|
|
316
|
+
* [get_persistent_queue_status](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#get_persistent_queue_status) - Retrieve information about the latest job to clear the persistent queue for a Destination
|
|
317
|
+
* [get_sample_data](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#get_sample_data) - Retrieve sample event data for a Destination
|
|
318
|
+
* [create_sample_data](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#create_sample_data) - Send sample event data to a Destination
|
|
319
319
|
|
|
320
320
|
### [groups](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md)
|
|
321
321
|
|
|
322
|
-
* [
|
|
323
|
-
* [
|
|
324
|
-
* [
|
|
325
|
-
* [
|
|
326
|
-
* [
|
|
327
|
-
* [
|
|
328
|
-
* [
|
|
329
|
-
* [
|
|
322
|
+
* [get_config_version](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#get_config_version) - Retrieve the configuration version for a Worker Group or Edge Fleet
|
|
323
|
+
* [create_by_product](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#create_by_product) - Create a Worker Group or Edge Fleet for the specified Cribl product
|
|
324
|
+
* [get_by_product](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#get_by_product) - List all Worker Groups or Edge Fleets for the specified Cribl product
|
|
325
|
+
* [delete](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#delete) - Delete a Worker Group or Edge Fleet
|
|
326
|
+
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#get) - Retrieve a Worker Group or Edge Fleet
|
|
327
|
+
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#update) - Update a Worker Group or Edge Fleet
|
|
328
|
+
* [deploy_commits](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#deploy_commits) - Deploy commits to a Worker Group or Edge Fleet
|
|
329
|
+
* [get_team_access_control_list_by_product](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#get_team_access_control_list_by_product) - Retrieve the Access Control List (ACL) for teams with permissions on a Worker Group or Edge Fleet for the specified Cribl product
|
|
330
|
+
* [get_access_control_list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#get_access_control_list) - Retrieve the Access Control List (ACL) for a Worker Group or Edge Fleet
|
|
331
|
+
|
|
332
|
+
### [health_info](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/healthinfo/README.md)
|
|
330
333
|
|
|
331
|
-
|
|
334
|
+
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/healthinfo/README.md#get) - Retrieve health status of the server
|
|
332
335
|
|
|
333
|
-
|
|
336
|
+
### [lake_datasets](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/lakedatasets/README.md)
|
|
334
337
|
|
|
335
|
-
|
|
338
|
+
* [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/lakedatasets/README.md#create) - Create a Lake Dataset in the specified Lake
|
|
339
|
+
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/lakedatasets/README.md#list) - List all Lake Datasets in the specified Lake
|
|
340
|
+
* [delete](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/lakedatasets/README.md#delete) - Delete a Lake Dataset in the specified Lake
|
|
341
|
+
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/lakedatasets/README.md#get) - Retrieve a Lake Dataset in the specified Lake
|
|
342
|
+
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/lakedatasets/README.md#update) - Update a Lake Dataset in the specified Lake
|
|
336
343
|
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
* [
|
|
340
|
-
* [
|
|
341
|
-
* [
|
|
344
|
+
### [nodes](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/nodes/README.md)
|
|
345
|
+
|
|
346
|
+
* [get_count](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/nodes/README.md#get_count) - Retrieve a count of Worker and Edge Nodes
|
|
347
|
+
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/nodes/README.md#list) - Retrieve detailed metadata for Worker and Edge Nodes
|
|
348
|
+
* [restart](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/nodes/README.md#restart) - Restart Worker and Edge Nodes
|
|
342
349
|
|
|
343
350
|
### [packs](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md)
|
|
344
351
|
|
|
345
|
-
* [
|
|
346
|
-
* [
|
|
347
|
-
* [
|
|
348
|
-
* [
|
|
352
|
+
* [install](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#install) - Install a Pack
|
|
353
|
+
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#list) - List all Packs
|
|
354
|
+
* [delete](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#delete) - Uninstall a Pack
|
|
355
|
+
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#update) - Update a Pack
|
|
349
356
|
|
|
350
357
|
### [pipelines](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md)
|
|
351
358
|
|
|
352
359
|
* [list_pipeline](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md#list_pipeline) - Get a list of Pipeline objects
|
|
353
|
-
* [
|
|
360
|
+
* [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md#create) - Create a Pipeline
|
|
354
361
|
* [get_pipeline_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md#get_pipeline_by_id) - Get Pipeline by ID
|
|
355
|
-
* [update_pipeline_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md#update_pipeline_by_id) - Update Pipeline
|
|
362
|
+
* [update_pipeline_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md#update_pipeline_by_id) - Update a Pipeline
|
|
356
363
|
* [delete_pipeline_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md#delete_pipeline_by_id) - Delete Pipeline
|
|
357
364
|
|
|
358
365
|
### [routes](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md)
|
|
359
366
|
|
|
360
|
-
* [
|
|
361
|
-
* [
|
|
362
|
-
* [
|
|
363
|
-
* [
|
|
367
|
+
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md#list) - Get a list of Routes objects
|
|
368
|
+
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md#get) - Get Routes by ID
|
|
369
|
+
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md#update) - Update Routes
|
|
370
|
+
* [append](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md#append) - Append Routes to the end of the Routing table
|
|
364
371
|
|
|
365
372
|
### [sources](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md)
|
|
366
373
|
|
|
367
|
-
* [
|
|
368
|
-
* [
|
|
369
|
-
* [
|
|
370
|
-
* [
|
|
371
|
-
* [
|
|
372
|
-
* [
|
|
373
|
-
* [
|
|
374
|
-
|
|
375
|
-
### [teams](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/teams/README.md)
|
|
376
|
-
|
|
377
|
-
* [get_products_groups_acl_teams_by_product_and_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/teams/README.md#get_products_groups_acl_teams_by_product_and_id) - ACL of team with permissions for resources in this Group
|
|
374
|
+
* [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#list) - List all Sources
|
|
375
|
+
* [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#create) - Create a Source
|
|
376
|
+
* [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#get) - Retrieve a Source
|
|
377
|
+
* [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#update) - Update a Source
|
|
378
|
+
* [delete](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#delete) - Delete a Source
|
|
379
|
+
* [create_hec_token](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#create_hec_token) - Add an HEC token and optional metadata to a Splunk HEC Source
|
|
380
|
+
* [update_hec_token_metadata](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#update_hec_token_metadata) - Update metadata for an HEC token for a Splunk HEC Source
|
|
378
381
|
|
|
379
382
|
### [versioning](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md)
|
|
380
383
|
|
|
381
|
-
* [
|
|
382
|
-
* [
|
|
383
|
-
* [
|
|
384
|
-
* [
|
|
385
|
-
* [
|
|
386
|
-
* [
|
|
387
|
-
* [
|
|
388
|
-
* [
|
|
389
|
-
* [
|
|
390
|
-
* [
|
|
391
|
-
* [
|
|
392
|
-
* [
|
|
393
|
-
* [
|
|
394
|
-
|
|
395
|
-
### [workers](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/workerssdk/README.md)
|
|
396
|
-
|
|
397
|
-
* [get_summary_workers](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/workerssdk/README.md#get_summary_workers) - get worker and edge nodes count
|
|
398
|
-
* [get_workers](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/workerssdk/README.md#get_workers) - get worker and edge nodes
|
|
399
|
-
* [update_workers_restart](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/workerssdk/README.md#update_workers_restart) - restarts worker nodes
|
|
384
|
+
* [get_branch](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_branch) - List all branches in the Git repository used for Cribl configuration
|
|
385
|
+
* [create_commit](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#create_commit) - Create a new commit for pending changes to the Cribl configuration
|
|
386
|
+
* [get_file_count](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_file_count) - Retrieve a count of files that changed since a commit
|
|
387
|
+
* [get_branch_name](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_branch_name) - Retrieve the name of the Git branch that the Cribl configuration is checked out to
|
|
388
|
+
* [get_diff](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_diff) - Retrieve the diff for a commit
|
|
389
|
+
* [get_file_info](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_file_info) - Retrieve the names and statuses of files that changed since a commit
|
|
390
|
+
* [get_config_status](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_config_status) - Retrieve the configuration and status for the Git integration
|
|
391
|
+
* [push_commit](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#push_commit) - Push a commit from the local repository to the remote repository
|
|
392
|
+
* [revert_commit](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#revert_commit) - Revert a commit in the local repository
|
|
393
|
+
* [show_commit](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#show_commit) - Retrieve the diff and log message for a commit
|
|
394
|
+
* [get_current_status](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_current_status) - Retrieve the status of the current working tree
|
|
395
|
+
* [sync_local_remote](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#sync_local_remote) - Synchronize the local branch with the remote repository
|
|
396
|
+
* [clean_working_dir](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#clean_working_dir) - Undo the most recent commit and restore the local repository to the previous commit
|
|
400
397
|
|
|
401
398
|
</details>
|
|
402
399
|
<!-- End Available Resources and Operations [operations] -->
|
|
@@ -420,7 +417,7 @@ with CriblControlPlane(
|
|
|
420
417
|
),
|
|
421
418
|
) as ccp_client:
|
|
422
419
|
|
|
423
|
-
res = ccp_client.
|
|
420
|
+
res = ccp_client.lake_datasets.create(lake_id="<id>", id="<id>", accelerated_fields=[
|
|
424
421
|
"<value 1>",
|
|
425
422
|
"<value 2>",
|
|
426
423
|
], bucket_name="<value>", cache_connection={
|
|
@@ -476,7 +473,7 @@ with CriblControlPlane(
|
|
|
476
473
|
),
|
|
477
474
|
) as ccp_client:
|
|
478
475
|
|
|
479
|
-
res = ccp_client.
|
|
476
|
+
res = ccp_client.lake_datasets.create(lake_id="<id>", id="<id>", accelerated_fields=[
|
|
480
477
|
"<value 1>",
|
|
481
478
|
"<value 2>",
|
|
482
479
|
], bucket_name="<value>", cache_connection={
|
|
@@ -546,7 +543,7 @@ with CriblControlPlane(
|
|
|
546
543
|
res = None
|
|
547
544
|
try:
|
|
548
545
|
|
|
549
|
-
res = ccp_client.
|
|
546
|
+
res = ccp_client.lake_datasets.create(lake_id="<id>", id="<id>", accelerated_fields=[
|
|
550
547
|
"<value 1>",
|
|
551
548
|
"<value 2>",
|
|
552
549
|
], bucket_name="<value>", cache_connection={
|
|
@@ -4,11 +4,11 @@ cribl_control_plane/_hooks/clientcredentials.py,sha256=gVQkktlv3q4-AHOdbQl5r8i-G
|
|
|
4
4
|
cribl_control_plane/_hooks/registration.py,sha256=1QZB41w6If7I9dXiOSQx6dhSc6BPWrnI5Q5bMOr4iVA,624
|
|
5
5
|
cribl_control_plane/_hooks/sdkhooks.py,sha256=ggXjME1_Rdv8CVCg1XHqB83eYtbxzKyhXyfQ36Yc1gA,2816
|
|
6
6
|
cribl_control_plane/_hooks/types.py,sha256=Tw_C4zTZm01rW_89VDEUpvQ8KQr1WxN0Gu_-s_fYSPc,2998
|
|
7
|
-
cribl_control_plane/_version.py,sha256=
|
|
8
|
-
cribl_control_plane/auth_sdk.py,sha256=
|
|
7
|
+
cribl_control_plane/_version.py,sha256=LTLOFLxsK0EM3ArhsGTujhND6g8XYsC9WU3tJ9DQC8I,542
|
|
8
|
+
cribl_control_plane/auth_sdk.py,sha256=4-cZmuGLihXpQTr3cI6cNo_MW3ucph8Dzq1DSijUZQk,7467
|
|
9
9
|
cribl_control_plane/basesdk.py,sha256=amvvB5iPT7c-L6NLo2Rhu2f7xWaapsa6OfQ37SICXOw,11954
|
|
10
|
-
cribl_control_plane/
|
|
11
|
-
cribl_control_plane/
|
|
10
|
+
cribl_control_plane/deployments.py,sha256=cYDu7W6IRec0-urpDXLNNUtoFdxsle2XV_i1cwB1aI4,7486
|
|
11
|
+
cribl_control_plane/destinations.py,sha256=-jTXxdmKWCZZS030t5J1uoe09rOU_hUwPXJkueUQ4xY,65239
|
|
12
12
|
cribl_control_plane/errors/__init__.py,sha256=Xyh3WNPYYsJGQfGBLeaaK6eqwsJOtx-__zmvwwr4Mns,1833
|
|
13
13
|
cribl_control_plane/errors/apierror.py,sha256=Z3b3zk672zHljcdijGLJeJ2LiP1f3VpVDEqUuF7LDAA,1253
|
|
14
14
|
cribl_control_plane/errors/criblcontrolplaneerror.py,sha256=P9SU33LkmvyURdJbndHJxXu2KW_3u059peZJ8C80LfM,724
|
|
@@ -16,10 +16,10 @@ cribl_control_plane/errors/error.py,sha256=fZ72R_qeZ0-xd514dVqKKiqh7zzLmnkpPJfck
|
|
|
16
16
|
cribl_control_plane/errors/healthstatus_error.py,sha256=euamtBp065afnXzeaBMjGlQGAN3ONZfDK-RR--FOIzo,962
|
|
17
17
|
cribl_control_plane/errors/no_response_error.py,sha256=FQG44Lq6uF7uUlzbUYfM3dJon6sbqXzJ0Ri6YrDdsEs,380
|
|
18
18
|
cribl_control_plane/errors/responsevalidationerror.py,sha256=TvZ9dOsy-oFBYA_wZCOOEXeGKMBQtzCVX-1-i7epQTE,720
|
|
19
|
-
cribl_control_plane/groups_sdk.py,sha256=
|
|
20
|
-
cribl_control_plane/
|
|
19
|
+
cribl_control_plane/groups_sdk.py,sha256=rkyVzmd9PJmCzipIIX-mbdtUJiPH35Raxxoo8S5WOW4,80527
|
|
20
|
+
cribl_control_plane/healthinfo.py,sha256=R3WlFwiuXNcsITJEoAxLZGYwLJa7HYHosZDCb6LD6q8,6673
|
|
21
21
|
cribl_control_plane/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
|
|
22
|
-
cribl_control_plane/
|
|
22
|
+
cribl_control_plane/lakedatasets.py,sha256=Y0sEW-RZIbgKuDeAAhf7m4q8iNRJn1hg38sARR3eBfQ,46144
|
|
23
23
|
cribl_control_plane/models/__init__.py,sha256=_BNkonhbdD1yPYE4Yh8qza0kSiYxgDGC5dfXraN7Ck8,353083
|
|
24
24
|
cribl_control_plane/models/addhectokenrequest.py,sha256=mzQLKrMWlwxNheqEs5SM_yrT-gyenfCWgHKhmb5oXFQ,800
|
|
25
25
|
cribl_control_plane/models/appmode.py,sha256=5xRJz9oP5ah4b6dcay4Q1IbQ9irm6k6x2BrTNysIMY4,300
|
|
@@ -37,7 +37,7 @@ cribl_control_plane/models/createinputop.py,sha256=l5Hz9ANzw4Gjh25FVf_okFzXxZWjA
|
|
|
37
37
|
cribl_control_plane/models/createoutputop.py,sha256=lWgs9T_pZR5bHcA0SZndbLuUPjVa_D_uFpqTuM7JiPc,718
|
|
38
38
|
cribl_control_plane/models/createoutputtestbyidop.py,sha256=2ll9hE3r0VTgyOD7U2obiQFQF4NlbrlEBG3lPXsI5Y8,1533
|
|
39
39
|
cribl_control_plane/models/createpacksop.py,sha256=ZWmUQ9KU6XbSh_oL7-txQw-7esp-yLexHQvgL2Aw9Mw,769
|
|
40
|
-
cribl_control_plane/models/createpipelineop.py,sha256=
|
|
40
|
+
cribl_control_plane/models/createpipelineop.py,sha256=vUHkNhYvYqhSAte_1jeBqry7tUL7W6T_s1M7vivuKwg,728
|
|
41
41
|
cribl_control_plane/models/createproductsgroupsbyproductop.py,sha256=PfVpkgs9imEG2udLXoLB7kTaD2dzOLtI8Ao5MDWyGJE,1633
|
|
42
42
|
cribl_control_plane/models/createroutesappendbyidop.py,sha256=_Fo5lDkv-lqPxS2R59cIBP9A9jnc9SpPjAwNg1dCLI8,1515
|
|
43
43
|
cribl_control_plane/models/createversioncommitop.py,sha256=Fez4Jsmqc7H8VJctK6UR-ay7ZihL7dNg5zPBLOeDK4E,792
|
|
@@ -261,18 +261,18 @@ cribl_control_plane/models/updateinputbyidop.py,sha256=RgxKN5ev3gImWuRZGHFXOE9nA
|
|
|
261
261
|
cribl_control_plane/models/updateinputhectokenbyidandtokenop.py,sha256=-Q8ZP1yDmQmB9aylQNTs4zR1q6NH-Gi2fhlyiDyqWKI,1677
|
|
262
262
|
cribl_control_plane/models/updateoutputbyidop.py,sha256=JMdnqmkiXN2tQj0VWfj9q0CrsJXqI452KD-mdg6wPdQ,1295
|
|
263
263
|
cribl_control_plane/models/updatepacksbyidop.py,sha256=nQeRQF-NTOCRMWz_gXfYlN0-I2OMM8Rovh_vAq73wzw,1965
|
|
264
|
-
cribl_control_plane/models/updatepipelinebyidop.py,sha256=
|
|
265
|
-
cribl_control_plane/models/updateroutesbyidop.py,sha256=
|
|
264
|
+
cribl_control_plane/models/updatepipelinebyidop.py,sha256=B13h6gadw4NV7waH6yoDKCR2YCzVS8XZrzB_5PG9CmE,1410
|
|
265
|
+
cribl_control_plane/models/updateroutesbyidop.py,sha256=CoEURdSBZ4-pp1WSncdT_oZCbx3o7MlmMSDY0D44D_o,1358
|
|
266
266
|
cribl_control_plane/models/updateworkersrestartop.py,sha256=OwX1snIrUTfghc0Pb2PpI5IO6NS-aL0BOMzWqLl8GAA,787
|
|
267
267
|
cribl_control_plane/models/useraccesscontrollist.py,sha256=UNM3mdqFByd9GAovAi26z9y-5H15hrKDzw0M-f-Pn2o,483
|
|
268
|
-
cribl_control_plane/
|
|
269
|
-
cribl_control_plane/
|
|
268
|
+
cribl_control_plane/nodes.py,sha256=UDrbXsAMTm2b_xvlmaL0lyj2nL2EEHYYnWuE98GOhfs,22648
|
|
269
|
+
cribl_control_plane/packs.py,sha256=Ka1zVuKCDO4Wi6Z8PWYh8KMdVoLSdO6_Mec2rgqg8Ao,31864
|
|
270
|
+
cribl_control_plane/pipelines.py,sha256=BCmw0DylPH4o-4wcRqfPhJdTsFwvw5UTG-ZMtkqwKi0,36036
|
|
270
271
|
cribl_control_plane/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
271
|
-
cribl_control_plane/routes_sdk.py,sha256=
|
|
272
|
-
cribl_control_plane/sdk.py,sha256=
|
|
272
|
+
cribl_control_plane/routes_sdk.py,sha256=Snb8Dmim7Fm9EsMqbyjuPnXKmqhJ10L_t1bujJUWTyM,31025
|
|
273
|
+
cribl_control_plane/sdk.py,sha256=ReApgzvqf_k4lhUwPwHaFd4XCxFIpgHgxcqAlyIGfJw,7813
|
|
273
274
|
cribl_control_plane/sdkconfiguration.py,sha256=bit6SSOyHqvibdtgNad5_ZcgMotk8NJfgHpKsBK8HFg,1259
|
|
274
|
-
cribl_control_plane/sources.py,sha256=
|
|
275
|
-
cribl_control_plane/teams.py,sha256=nE97lQfpbbjJ12TbEir1B7swkhXOz5bj7aFVSImyry0,8517
|
|
275
|
+
cribl_control_plane/sources.py,sha256=Q1frEfitda-Xayiv4p6fHJmmZlKwm0daWt53hmhe8Sw,53982
|
|
276
276
|
cribl_control_plane/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
277
277
|
cribl_control_plane/types/basemodel.py,sha256=L79WXvTECbSqaJzs8D3ud_KdIWkU7Cx2wbohDAktE9E,1127
|
|
278
278
|
cribl_control_plane/utils/__init__.py,sha256=BQt6xIdX86A6mOHAnxAXBXaPgdUJtDy2-_4ymAsII_Y,5436
|
|
@@ -292,8 +292,7 @@ cribl_control_plane/utils/serializers.py,sha256=Hndks5M_rJXVub_N5lu0gKZQUoEmWrn6
|
|
|
292
292
|
cribl_control_plane/utils/unmarshal_json_response.py,sha256=yxi3F_O3SCU0SrexiR3BvQS-E81pW2siLgpTXYegAyg,595
|
|
293
293
|
cribl_control_plane/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
294
294
|
cribl_control_plane/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
295
|
-
cribl_control_plane/versioning.py,sha256
|
|
296
|
-
cribl_control_plane/
|
|
297
|
-
cribl_control_plane-0.0.
|
|
298
|
-
cribl_control_plane-0.0.
|
|
299
|
-
cribl_control_plane-0.0.23.dist-info/RECORD,,
|
|
295
|
+
cribl_control_plane/versioning.py,sha256=ZbIdPT5o0vG40_LlhB6aLC9eJYkY7t0BfObSIEJNNRU,94203
|
|
296
|
+
cribl_control_plane-0.0.24.dist-info/METADATA,sha256=ueVUzW9MW5F_2NktXNbamkX5a9mgypa1NFB9Xh35Oek,38246
|
|
297
|
+
cribl_control_plane-0.0.24.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
298
|
+
cribl_control_plane-0.0.24.dist-info/RECORD,,
|
cribl_control_plane/teams.py
DELETED
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from .basesdk import BaseSDK
|
|
4
|
-
from cribl_control_plane import errors, models, utils
|
|
5
|
-
from cribl_control_plane._hooks import HookContext
|
|
6
|
-
from cribl_control_plane.types import OptionalNullable, UNSET
|
|
7
|
-
from cribl_control_plane.utils import get_security_from_env
|
|
8
|
-
from cribl_control_plane.utils.unmarshal_json_response import unmarshal_json_response
|
|
9
|
-
from typing import Any, Mapping, Optional
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class Teams(BaseSDK):
|
|
13
|
-
r"""Actions related to Teams"""
|
|
14
|
-
|
|
15
|
-
def get_products_groups_acl_teams_by_product_and_id(
|
|
16
|
-
self,
|
|
17
|
-
*,
|
|
18
|
-
product: models.GetProductsGroupsACLTeamsByProductAndIDProduct,
|
|
19
|
-
id: str,
|
|
20
|
-
type_: Optional[models.GetProductsGroupsACLTeamsByProductAndIDType] = None,
|
|
21
|
-
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
22
|
-
server_url: Optional[str] = None,
|
|
23
|
-
timeout_ms: Optional[int] = None,
|
|
24
|
-
http_headers: Optional[Mapping[str, str]] = None,
|
|
25
|
-
) -> models.GetProductsGroupsACLTeamsByProductAndIDResponse:
|
|
26
|
-
r"""ACL of team with permissions for resources in this Group
|
|
27
|
-
|
|
28
|
-
ACL of team with permissions for resources in this Group
|
|
29
|
-
|
|
30
|
-
:param product: Cribl Product
|
|
31
|
-
:param id: Group ID
|
|
32
|
-
:param type: resource type by which to filter access levels
|
|
33
|
-
:param retries: Override the default retry configuration for this method
|
|
34
|
-
:param server_url: Override the default server URL for this method
|
|
35
|
-
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
36
|
-
:param http_headers: Additional headers to set or replace on requests.
|
|
37
|
-
"""
|
|
38
|
-
base_url = None
|
|
39
|
-
url_variables = None
|
|
40
|
-
if timeout_ms is None:
|
|
41
|
-
timeout_ms = self.sdk_configuration.timeout_ms
|
|
42
|
-
|
|
43
|
-
if server_url is not None:
|
|
44
|
-
base_url = server_url
|
|
45
|
-
else:
|
|
46
|
-
base_url = self._get_url(base_url, url_variables)
|
|
47
|
-
|
|
48
|
-
request = models.GetProductsGroupsACLTeamsByProductAndIDRequest(
|
|
49
|
-
product=product,
|
|
50
|
-
id=id,
|
|
51
|
-
type=type_,
|
|
52
|
-
)
|
|
53
|
-
|
|
54
|
-
req = self._build_request(
|
|
55
|
-
method="GET",
|
|
56
|
-
path="/products/{product}/groups/{id}/acl/teams",
|
|
57
|
-
base_url=base_url,
|
|
58
|
-
url_variables=url_variables,
|
|
59
|
-
request=request,
|
|
60
|
-
request_body_required=False,
|
|
61
|
-
request_has_path_params=True,
|
|
62
|
-
request_has_query_params=True,
|
|
63
|
-
user_agent_header="user-agent",
|
|
64
|
-
accept_header_value="application/json",
|
|
65
|
-
http_headers=http_headers,
|
|
66
|
-
security=self.sdk_configuration.security,
|
|
67
|
-
timeout_ms=timeout_ms,
|
|
68
|
-
)
|
|
69
|
-
|
|
70
|
-
if retries == UNSET:
|
|
71
|
-
if self.sdk_configuration.retry_config is not UNSET:
|
|
72
|
-
retries = self.sdk_configuration.retry_config
|
|
73
|
-
|
|
74
|
-
retry_config = None
|
|
75
|
-
if isinstance(retries, utils.RetryConfig):
|
|
76
|
-
retry_config = (retries, ["429", "500", "502", "503", "504"])
|
|
77
|
-
|
|
78
|
-
http_res = self.do_request(
|
|
79
|
-
hook_ctx=HookContext(
|
|
80
|
-
config=self.sdk_configuration,
|
|
81
|
-
base_url=base_url or "",
|
|
82
|
-
operation_id="getProductsGroupsAclTeamsByProductAndId",
|
|
83
|
-
oauth2_scopes=[],
|
|
84
|
-
security_source=get_security_from_env(
|
|
85
|
-
self.sdk_configuration.security, models.Security
|
|
86
|
-
),
|
|
87
|
-
),
|
|
88
|
-
request=req,
|
|
89
|
-
error_status_codes=["401", "4XX", "500", "5XX"],
|
|
90
|
-
retry_config=retry_config,
|
|
91
|
-
)
|
|
92
|
-
|
|
93
|
-
response_data: Any = None
|
|
94
|
-
if utils.match_response(http_res, "200", "application/json"):
|
|
95
|
-
return unmarshal_json_response(
|
|
96
|
-
models.GetProductsGroupsACLTeamsByProductAndIDResponse, http_res
|
|
97
|
-
)
|
|
98
|
-
if utils.match_response(http_res, "500", "application/json"):
|
|
99
|
-
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
100
|
-
raise errors.Error(response_data, http_res)
|
|
101
|
-
if utils.match_response(http_res, ["401", "4XX"], "*"):
|
|
102
|
-
http_res_text = utils.stream_to_text(http_res)
|
|
103
|
-
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
104
|
-
if utils.match_response(http_res, "5XX", "*"):
|
|
105
|
-
http_res_text = utils.stream_to_text(http_res)
|
|
106
|
-
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
107
|
-
|
|
108
|
-
raise errors.APIError("Unexpected response received", http_res)
|
|
109
|
-
|
|
110
|
-
async def get_products_groups_acl_teams_by_product_and_id_async(
|
|
111
|
-
self,
|
|
112
|
-
*,
|
|
113
|
-
product: models.GetProductsGroupsACLTeamsByProductAndIDProduct,
|
|
114
|
-
id: str,
|
|
115
|
-
type_: Optional[models.GetProductsGroupsACLTeamsByProductAndIDType] = None,
|
|
116
|
-
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
117
|
-
server_url: Optional[str] = None,
|
|
118
|
-
timeout_ms: Optional[int] = None,
|
|
119
|
-
http_headers: Optional[Mapping[str, str]] = None,
|
|
120
|
-
) -> models.GetProductsGroupsACLTeamsByProductAndIDResponse:
|
|
121
|
-
r"""ACL of team with permissions for resources in this Group
|
|
122
|
-
|
|
123
|
-
ACL of team with permissions for resources in this Group
|
|
124
|
-
|
|
125
|
-
:param product: Cribl Product
|
|
126
|
-
:param id: Group ID
|
|
127
|
-
:param type: resource type by which to filter access levels
|
|
128
|
-
:param retries: Override the default retry configuration for this method
|
|
129
|
-
:param server_url: Override the default server URL for this method
|
|
130
|
-
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
131
|
-
:param http_headers: Additional headers to set or replace on requests.
|
|
132
|
-
"""
|
|
133
|
-
base_url = None
|
|
134
|
-
url_variables = None
|
|
135
|
-
if timeout_ms is None:
|
|
136
|
-
timeout_ms = self.sdk_configuration.timeout_ms
|
|
137
|
-
|
|
138
|
-
if server_url is not None:
|
|
139
|
-
base_url = server_url
|
|
140
|
-
else:
|
|
141
|
-
base_url = self._get_url(base_url, url_variables)
|
|
142
|
-
|
|
143
|
-
request = models.GetProductsGroupsACLTeamsByProductAndIDRequest(
|
|
144
|
-
product=product,
|
|
145
|
-
id=id,
|
|
146
|
-
type=type_,
|
|
147
|
-
)
|
|
148
|
-
|
|
149
|
-
req = self._build_request_async(
|
|
150
|
-
method="GET",
|
|
151
|
-
path="/products/{product}/groups/{id}/acl/teams",
|
|
152
|
-
base_url=base_url,
|
|
153
|
-
url_variables=url_variables,
|
|
154
|
-
request=request,
|
|
155
|
-
request_body_required=False,
|
|
156
|
-
request_has_path_params=True,
|
|
157
|
-
request_has_query_params=True,
|
|
158
|
-
user_agent_header="user-agent",
|
|
159
|
-
accept_header_value="application/json",
|
|
160
|
-
http_headers=http_headers,
|
|
161
|
-
security=self.sdk_configuration.security,
|
|
162
|
-
timeout_ms=timeout_ms,
|
|
163
|
-
)
|
|
164
|
-
|
|
165
|
-
if retries == UNSET:
|
|
166
|
-
if self.sdk_configuration.retry_config is not UNSET:
|
|
167
|
-
retries = self.sdk_configuration.retry_config
|
|
168
|
-
|
|
169
|
-
retry_config = None
|
|
170
|
-
if isinstance(retries, utils.RetryConfig):
|
|
171
|
-
retry_config = (retries, ["429", "500", "502", "503", "504"])
|
|
172
|
-
|
|
173
|
-
http_res = await self.do_request_async(
|
|
174
|
-
hook_ctx=HookContext(
|
|
175
|
-
config=self.sdk_configuration,
|
|
176
|
-
base_url=base_url or "",
|
|
177
|
-
operation_id="getProductsGroupsAclTeamsByProductAndId",
|
|
178
|
-
oauth2_scopes=[],
|
|
179
|
-
security_source=get_security_from_env(
|
|
180
|
-
self.sdk_configuration.security, models.Security
|
|
181
|
-
),
|
|
182
|
-
),
|
|
183
|
-
request=req,
|
|
184
|
-
error_status_codes=["401", "4XX", "500", "5XX"],
|
|
185
|
-
retry_config=retry_config,
|
|
186
|
-
)
|
|
187
|
-
|
|
188
|
-
response_data: Any = None
|
|
189
|
-
if utils.match_response(http_res, "200", "application/json"):
|
|
190
|
-
return unmarshal_json_response(
|
|
191
|
-
models.GetProductsGroupsACLTeamsByProductAndIDResponse, http_res
|
|
192
|
-
)
|
|
193
|
-
if utils.match_response(http_res, "500", "application/json"):
|
|
194
|
-
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
195
|
-
raise errors.Error(response_data, http_res)
|
|
196
|
-
if utils.match_response(http_res, ["401", "4XX"], "*"):
|
|
197
|
-
http_res_text = await utils.stream_to_text_async(http_res)
|
|
198
|
-
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
199
|
-
if utils.match_response(http_res, "5XX", "*"):
|
|
200
|
-
http_res_text = await utils.stream_to_text_async(http_res)
|
|
201
|
-
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
202
|
-
|
|
203
|
-
raise errors.APIError("Unexpected response received", http_res)
|
|
File without changes
|