cribl-control-plane 0.2.1rc11__py3-none-any.whl → 0.4.0a6__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.

Files changed (128) hide show
  1. cribl_control_plane/_version.py +4 -4
  2. cribl_control_plane/acl.py +4 -4
  3. cribl_control_plane/branches.py +4 -4
  4. cribl_control_plane/commits.py +28 -28
  5. cribl_control_plane/commits_files.py +8 -8
  6. cribl_control_plane/configs_versions.py +8 -4
  7. cribl_control_plane/destinations.py +20 -20
  8. cribl_control_plane/destinations_pq.py +8 -8
  9. cribl_control_plane/groups_sdk.py +48 -24
  10. cribl_control_plane/hectokens.py +16 -8
  11. cribl_control_plane/lakedatasets.py +40 -20
  12. cribl_control_plane/models/__init__.py +568 -214
  13. cribl_control_plane/models/createconfiggroupbyproductop.py +20 -1
  14. cribl_control_plane/models/createcribllakedatasetbylakeidop.py +19 -1
  15. cribl_control_plane/models/createinputhectokenbyidop.py +20 -1
  16. cribl_control_plane/models/{countedlistgitdiffresult.py → createinputop.py} +9 -5
  17. cribl_control_plane/models/{countedlistgitshowresult.py → createoutputop.py} +9 -5
  18. cribl_control_plane/models/createoutputtestbyidop.py +20 -1
  19. cribl_control_plane/models/{countedlistpackinstallinfo.py → createpacksop.py} +6 -2
  20. cribl_control_plane/models/createpipelineop.py +24 -0
  21. cribl_control_plane/models/createroutesappendbyidop.py +20 -2
  22. cribl_control_plane/models/createversioncommitop.py +19 -1
  23. cribl_control_plane/models/{countedliststring.py → createversionpushop.py} +6 -2
  24. cribl_control_plane/models/createversionrevertop.py +19 -1
  25. cribl_control_plane/models/createversionundoop.py +18 -1
  26. cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +20 -1
  27. cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +20 -1
  28. cribl_control_plane/models/deleteinputbyidop.py +20 -1
  29. cribl_control_plane/models/deleteoutputbyidop.py +20 -1
  30. cribl_control_plane/models/deleteoutputpqbyidop.py +19 -1
  31. cribl_control_plane/models/deletepacksbyidop.py +20 -1
  32. cribl_control_plane/models/deletepipelinebyidop.py +20 -1
  33. cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +19 -1
  34. cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +19 -1
  35. cribl_control_plane/models/getconfiggroupbyproductandidop.py +19 -1
  36. cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +19 -1
  37. cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +20 -1
  38. cribl_control_plane/models/getcribllakedatasetbylakeidop.py +20 -1
  39. cribl_control_plane/models/getinputbyidop.py +20 -1
  40. cribl_control_plane/models/getmasterworkerentryop.py +18 -1
  41. cribl_control_plane/models/getoutputbyidop.py +20 -1
  42. cribl_control_plane/models/getoutputpqbyidop.py +20 -1
  43. cribl_control_plane/models/getoutputsamplesbyidop.py +20 -1
  44. cribl_control_plane/models/getpacksbyidop.py +20 -1
  45. cribl_control_plane/models/getpacksop.py +19 -1
  46. cribl_control_plane/models/getpipelinebyidop.py +20 -1
  47. cribl_control_plane/models/getroutesbyidop.py +20 -1
  48. cribl_control_plane/models/getsummaryop.py +19 -1
  49. cribl_control_plane/models/{countedlistbranchinfo.py → getversionbranchop.py} +6 -2
  50. cribl_control_plane/models/getversioncountop.py +19 -1
  51. cribl_control_plane/models/getversiondiffop.py +19 -1
  52. cribl_control_plane/models/getversionfilesop.py +19 -1
  53. cribl_control_plane/models/{countedlistgitinfo.py → getversioninfoop.py} +6 -2
  54. cribl_control_plane/models/getversionop.py +19 -1
  55. cribl_control_plane/models/getversionshowop.py +19 -1
  56. cribl_control_plane/models/getversionstatusop.py +19 -1
  57. cribl_control_plane/models/input.py +18 -15
  58. cribl_control_plane/models/inputcloudflarehec.py +513 -0
  59. cribl_control_plane/models/inputfile.py +7 -0
  60. cribl_control_plane/models/listconfiggroupbyproductop.py +19 -1
  61. cribl_control_plane/models/{countedlistinput.py → listinputop.py} +6 -2
  62. cribl_control_plane/models/listmasterworkerentryop.py +19 -1
  63. cribl_control_plane/models/{countedlistoutput.py → listoutputop.py} +6 -2
  64. cribl_control_plane/models/{countedlistpipeline.py → listpipelineop.py} +6 -2
  65. cribl_control_plane/models/{countedlistroutes.py → listroutesop.py} +6 -2
  66. cribl_control_plane/models/output.py +23 -17
  67. cribl_control_plane/models/outputazureblob.py +14 -0
  68. cribl_control_plane/models/outputazuredataexplorer.py +7 -0
  69. cribl_control_plane/models/outputchronicle.py +5 -0
  70. cribl_control_plane/models/outputcloudflarer2.py +632 -0
  71. cribl_control_plane/models/outputcribllake.py +14 -0
  72. cribl_control_plane/models/outputdatabricks.py +19 -0
  73. cribl_control_plane/models/outputdls3.py +14 -0
  74. cribl_control_plane/models/outputexabeam.py +7 -0
  75. cribl_control_plane/models/outputfilesystem.py +14 -0
  76. cribl_control_plane/models/outputgooglecloudstorage.py +14 -0
  77. cribl_control_plane/models/outputmicrosoftfabric.py +540 -0
  78. cribl_control_plane/models/outputminio.py +19 -4
  79. cribl_control_plane/models/outputs3.py +14 -0
  80. cribl_control_plane/models/outputsecuritylake.py +14 -0
  81. cribl_control_plane/models/outputsyslog.py +7 -0
  82. cribl_control_plane/models/runnablejobcollection.py +0 -8
  83. cribl_control_plane/models/runnablejobexecutor.py +0 -4
  84. cribl_control_plane/models/runnablejobscheduledsearch.py +0 -4
  85. cribl_control_plane/models/updateconfiggroupbyproductandidop.py +19 -1
  86. cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +20 -1
  87. cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +20 -1
  88. cribl_control_plane/models/updateinputbyidop.py +19 -1
  89. cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +20 -1
  90. cribl_control_plane/models/updateoutputbyidop.py +19 -1
  91. cribl_control_plane/models/updatepacksbyidop.py +20 -1
  92. cribl_control_plane/models/updatepipelinebyidop.py +19 -1
  93. cribl_control_plane/models/updateroutesbyidop.py +19 -1
  94. cribl_control_plane/nodes.py +12 -8
  95. cribl_control_plane/packs.py +20 -20
  96. cribl_control_plane/pipelines.py +20 -20
  97. cribl_control_plane/routes_sdk.py +20 -16
  98. cribl_control_plane/samples.py +8 -8
  99. cribl_control_plane/sources.py +20 -20
  100. cribl_control_plane/statuses.py +4 -4
  101. cribl_control_plane/summaries.py +4 -8
  102. cribl_control_plane/teams.py +4 -4
  103. cribl_control_plane/utils/retries.py +69 -5
  104. cribl_control_plane/utils/unmarshal_json_response.py +15 -1
  105. cribl_control_plane/versions_configs.py +4 -4
  106. {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a6.dist-info}/METADATA +6 -14
  107. {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a6.dist-info}/RECORD +109 -123
  108. cribl_control_plane-0.4.0a6.dist-info/licenses/LICENSE +201 -0
  109. cribl_control_plane/models/countedlistconfiggroup.py +0 -20
  110. cribl_control_plane/models/countedlistcribllakedataset.py +0 -20
  111. cribl_control_plane/models/countedlistdistributedsummary.py +0 -20
  112. cribl_control_plane/models/countedlistgitcommitsummary.py +0 -20
  113. cribl_control_plane/models/countedlistgitcountresult.py +0 -20
  114. cribl_control_plane/models/countedlistgitfilesresponse.py +0 -20
  115. cribl_control_plane/models/countedlistgitlogresult.py +0 -20
  116. cribl_control_plane/models/countedlistgitrevertresult.py +0 -20
  117. cribl_control_plane/models/countedlistgitstatusresult.py +0 -20
  118. cribl_control_plane/models/countedlistinputsplunkhec.py +0 -20
  119. cribl_control_plane/models/countedlistjobinfo.py +0 -20
  120. cribl_control_plane/models/countedlistmasterworkerentry.py +0 -20
  121. cribl_control_plane/models/countedlistnumber.py +0 -19
  122. cribl_control_plane/models/countedlistobject.py +0 -19
  123. cribl_control_plane/models/countedlistoutputsamplesresponse.py +0 -20
  124. cribl_control_plane/models/countedlistoutputtestresponse.py +0 -20
  125. cribl_control_plane/models/countedlistpackinfo.py +0 -20
  126. cribl_control_plane/models/countedlistteamaccesscontrollist.py +0 -20
  127. cribl_control_plane/models/countedlistuseraccesscontrollist.py +0 -20
  128. {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a6.dist-info}/WHEEL +0 -0
@@ -202,6 +202,8 @@ class OutputSecurityLakeTypedDict(TypedDict):
202
202
  r"""If a file fails to move to its final destination after the maximum number of retries, move it to a designated directory to prevent further errors"""
203
203
  on_disk_full_backpressure: NotRequired[OutputSecurityLakeDiskSpaceProtection]
204
204
  r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
205
+ force_close_on_shutdown: NotRequired[bool]
206
+ r"""Force all staged files to close during an orderly Node shutdown. This triggers immediate upload of in-progress data — regardless of idle time, file age, or size thresholds — to minimize data loss."""
205
207
  max_file_open_time_sec: NotRequired[float]
206
208
  r"""Maximum amount of time to write to a file. Files open for longer than this will be closed and moved to final output location."""
207
209
  max_file_idle_time_sec: NotRequired[float]
@@ -239,6 +241,8 @@ class OutputSecurityLakeTypedDict(TypedDict):
239
241
  r"""Select or create a stored secret that references your access key and secret key"""
240
242
  empty_dir_cleanup_sec: NotRequired[float]
241
243
  r"""How frequently, in seconds, to clean up empty directories"""
244
+ directory_batch_size: NotRequired[float]
245
+ r"""Number of directories to process in each batch during cleanup of empty directories. Minimum is 10, maximum is 10000. Higher values may require more memory."""
242
246
  parquet_schema: NotRequired[str]
243
247
  r"""To add a new schema, navigate to Processing > Knowledge > Parquet Schemas"""
244
248
  deadletter_path: NotRequired[str]
@@ -422,6 +426,11 @@ class OutputSecurityLake(BaseModel):
422
426
  ] = OutputSecurityLakeDiskSpaceProtection.BLOCK
423
427
  r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
424
428
 
429
+ force_close_on_shutdown: Annotated[
430
+ Optional[bool], pydantic.Field(alias="forceCloseOnShutdown")
431
+ ] = False
432
+ r"""Force all staged files to close during an orderly Node shutdown. This triggers immediate upload of in-progress data — regardless of idle time, file age, or size thresholds — to minimize data loss."""
433
+
425
434
  max_file_open_time_sec: Annotated[
426
435
  Optional[float], pydantic.Field(alias="maxFileOpenTimeSec")
427
436
  ] = 300
@@ -519,6 +528,11 @@ class OutputSecurityLake(BaseModel):
519
528
  ] = 300
520
529
  r"""How frequently, in seconds, to clean up empty directories"""
521
530
 
531
+ directory_batch_size: Annotated[
532
+ Optional[float], pydantic.Field(alias="directoryBatchSize")
533
+ ] = 1000
534
+ r"""Number of directories to process in each batch during cleanup of empty directories. Minimum is 10, maximum is 10000. Higher values may require more memory."""
535
+
522
536
  parquet_schema: Annotated[Optional[str], pydantic.Field(alias="parquetSchema")] = (
523
537
  None
524
538
  )
@@ -346,6 +346,8 @@ class OutputSyslogTypedDict(TypedDict):
346
346
  r"""Maximum size of syslog messages. Make sure this value is less than or equal to the MTU to avoid UDP packet fragmentation."""
347
347
  udp_dns_resolve_period_sec: NotRequired[float]
348
348
  r"""How often to resolve the destination hostname to an IP address. Ignored if the destination is an IP address. A value of 0 means every message sent will incur a DNS lookup."""
349
+ enable_ip_spoofing: NotRequired[bool]
350
+ r"""Send Syslog traffic using the original event's Source IP and port. To enable this, you must install the external `udp-sender` helper binary at `/usr/bin/udp-sender` on all Worker Nodes and grant it the `CAP_NET_RAW` capability."""
349
351
  pq_strict_ordering: NotRequired[bool]
350
352
  r"""Use FIFO (first in, first out) processing. Disable to forward new events to receivers before queue is flushed."""
351
353
  pq_rate_per_sec: NotRequired[float]
@@ -502,6 +504,11 @@ class OutputSyslog(BaseModel):
502
504
  ] = 0
503
505
  r"""How often to resolve the destination hostname to an IP address. Ignored if the destination is an IP address. A value of 0 means every message sent will incur a DNS lookup."""
504
506
 
507
+ enable_ip_spoofing: Annotated[
508
+ Optional[bool], pydantic.Field(alias="enableIpSpoofing")
509
+ ] = False
510
+ r"""Send Syslog traffic using the original event's Source IP and port. To enable this, you must install the external `udp-sender` helper binary at `/usr/bin/udp-sender` on all Worker Nodes and grant it the `CAP_NET_RAW` capability."""
511
+
505
512
  pq_strict_ordering: Annotated[
506
513
  Optional[bool], pydantic.Field(alias="pqStrictOrdering")
507
514
  ] = True
@@ -73,7 +73,6 @@ class RunnableJobCollectionRunSettingsTypedDict(TypedDict):
73
73
 
74
74
 
75
75
 
76
-
77
76
  if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
78
77
  """
79
78
  max_task_size: NotRequired[str]
@@ -88,7 +87,6 @@ class RunnableJobCollectionRunSettingsTypedDict(TypedDict):
88
87
 
89
88
 
90
89
 
91
-
92
90
  you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
93
91
  """
94
92
 
@@ -152,7 +150,6 @@ class RunnableJobCollectionRunSettings(BaseModel):
152
150
 
153
151
 
154
152
 
155
-
156
153
  if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
157
154
  """
158
155
 
@@ -170,7 +167,6 @@ class RunnableJobCollectionRunSettings(BaseModel):
170
167
 
171
168
 
172
169
 
173
-
174
170
  you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
175
171
  """
176
172
 
@@ -452,7 +448,6 @@ class RunnableJobCollectionRunTypedDict(TypedDict):
452
448
 
453
449
 
454
450
 
455
-
456
451
  if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
457
452
  """
458
453
  max_task_size: NotRequired[str]
@@ -466,7 +461,6 @@ class RunnableJobCollectionRunTypedDict(TypedDict):
466
461
 
467
462
 
468
463
 
469
-
470
464
  you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
471
465
  """
472
466
  discover_to_routes: NotRequired[bool]
@@ -536,7 +530,6 @@ class RunnableJobCollectionRun(BaseModel):
536
530
 
537
531
 
538
532
 
539
-
540
533
  if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
541
534
  """
542
535
 
@@ -553,7 +546,6 @@ class RunnableJobCollectionRun(BaseModel):
553
546
 
554
547
 
555
548
 
556
-
557
549
  you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
558
550
  """
559
551
 
@@ -73,7 +73,6 @@ class RunnableJobExecutorRunSettingsTypedDict(TypedDict):
73
73
 
74
74
 
75
75
 
76
-
77
76
  if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
78
77
  """
79
78
  max_task_size: NotRequired[str]
@@ -88,7 +87,6 @@ class RunnableJobExecutorRunSettingsTypedDict(TypedDict):
88
87
 
89
88
 
90
89
 
91
-
92
90
  you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
93
91
  """
94
92
 
@@ -150,7 +148,6 @@ class RunnableJobExecutorRunSettings(BaseModel):
150
148
 
151
149
 
152
150
 
153
-
154
151
  if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
155
152
  """
156
153
 
@@ -168,7 +165,6 @@ class RunnableJobExecutorRunSettings(BaseModel):
168
165
 
169
166
 
170
167
 
171
-
172
168
  you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
173
169
  """
174
170
 
@@ -73,7 +73,6 @@ class RunnableJobScheduledSearchRunSettingsTypedDict(TypedDict):
73
73
 
74
74
 
75
75
 
76
-
77
76
  if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
78
77
  """
79
78
  max_task_size: NotRequired[str]
@@ -88,7 +87,6 @@ class RunnableJobScheduledSearchRunSettingsTypedDict(TypedDict):
88
87
 
89
88
 
90
89
 
91
-
92
90
  you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
93
91
  """
94
92
 
@@ -151,7 +149,6 @@ class RunnableJobScheduledSearchRunSettings(BaseModel):
151
149
 
152
150
 
153
151
 
154
-
155
152
  if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
156
153
  """
157
154
 
@@ -169,7 +166,6 @@ class RunnableJobScheduledSearchRunSettings(BaseModel):
169
166
 
170
167
 
171
168
 
172
-
173
169
  you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
174
170
  """
175
171
 
@@ -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 typing_extensions import Annotated, TypedDict
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 typing_extensions import Annotated, TypedDict
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 typing_extensions import Annotated, TypedDict
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 typing_extensions import Annotated, TypedDict
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 typing_extensions import Annotated, TypedDict
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 typing_extensions import Annotated, TypedDict
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 typing_extensions import Annotated, TypedDict
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 typing_extensions import Annotated, TypedDict
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 typing_extensions import Annotated, TypedDict
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
@@ -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.CountedListMasterWorkerEntry:
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.CountedListMasterWorkerEntry, http_res
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.CountedListMasterWorkerEntry:
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.CountedListMasterWorkerEntry, http_res
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.CountedListnumber:
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(models.CountedListnumber, http_res)
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.CountedListnumber:
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(models.CountedListnumber, http_res)
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)