cribl-control-plane 0.0.21a2__py3-none-any.whl → 0.0.23__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 (27) hide show
  1. cribl_control_plane/_version.py +3 -3
  2. cribl_control_plane/destinations.py +10 -10
  3. cribl_control_plane/groups_sdk.py +572 -60
  4. cribl_control_plane/models/__init__.py +153 -5394
  5. cribl_control_plane/models/createinputop.py +2 -18216
  6. cribl_control_plane/models/createoutputop.py +2 -18415
  7. cribl_control_plane/models/deletegroupsbyidop.py +37 -0
  8. cribl_control_plane/models/input.py +6 -6
  9. cribl_control_plane/models/inputedgeprometheus.py +7 -10
  10. cribl_control_plane/models/{inputgrafana_union.py → inputgrafana.py} +4 -4
  11. cribl_control_plane/models/{inputsyslog_union.py → inputsyslog.py} +4 -4
  12. cribl_control_plane/models/inputwef.py +4 -4
  13. cribl_control_plane/models/outputgooglepubsub.py +3 -3
  14. cribl_control_plane/models/outputsplunklb.py +8 -8
  15. cribl_control_plane/models/routes.py +0 -24
  16. cribl_control_plane/models/updategroupsbyidop.py +48 -0
  17. cribl_control_plane/models/updateinputbyidop.py +2 -2
  18. cribl_control_plane/models/updateoutputbyidop.py +2 -2
  19. cribl_control_plane/models/updateroutesbyidop.py +3 -4
  20. cribl_control_plane/packs.py +0 -204
  21. cribl_control_plane/routes_sdk.py +8 -12
  22. cribl_control_plane/sources.py +10 -10
  23. {cribl_control_plane-0.0.21a2.dist-info → cribl_control_plane-0.0.23.dist-info}/METADATA +209 -44
  24. {cribl_control_plane-0.0.21a2.dist-info → cribl_control_plane-0.0.23.dist-info}/RECORD +25 -25
  25. cribl_control_plane/models/routesroute_input.py +0 -67
  26. cribl_control_plane/models/updatepacksop.py +0 -98
  27. {cribl_control_plane-0.0.21a2.dist-info → cribl_control_plane-0.0.23.dist-info}/WHEEL +0 -0
@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "cribl-control-plane"
6
- __version__: str = "0.0.21a2"
7
- __openapi_doc_version__: str = "4.14.0-alpha.1753968519625-08e89eb4"
6
+ __version__: str = "0.0.23"
7
+ __openapi_doc_version__: str = "4.14.0-alpha.1754409810030-3ae86276"
8
8
  __gen_version__: str = "2.660.0"
9
- __user_agent__: str = "speakeasy-sdk/python 0.0.21a2 2.660.0 4.14.0-alpha.1753968519625-08e89eb4 cribl-control-plane"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.0.23 2.660.0 4.14.0-alpha.1754409810030-3ae86276 cribl-control-plane"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -173,7 +173,7 @@ class Destinations(BaseSDK):
173
173
  def create_destination(
174
174
  self,
175
175
  *,
176
- request: Union[models.CreateOutputRequest, models.CreateOutputRequestTypedDict],
176
+ request: Union[models.Output, models.OutputTypedDict],
177
177
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
178
178
  server_url: Optional[str] = None,
179
179
  timeout_ms: Optional[int] = None,
@@ -200,8 +200,8 @@ class Destinations(BaseSDK):
200
200
  base_url = self._get_url(base_url, url_variables)
201
201
 
202
202
  if not isinstance(request, BaseModel):
203
- request = utils.unmarshal(request, models.CreateOutputRequest)
204
- request = cast(models.CreateOutputRequest, request)
203
+ request = utils.unmarshal(request, models.Output)
204
+ request = cast(models.Output, request)
205
205
 
206
206
  req = self._build_request(
207
207
  method="POST",
@@ -217,7 +217,7 @@ class Destinations(BaseSDK):
217
217
  http_headers=http_headers,
218
218
  security=self.sdk_configuration.security,
219
219
  get_serialized_body=lambda: utils.serialize_request_body(
220
- request, False, False, "json", models.CreateOutputRequest
220
+ request, False, False, "json", models.Output
221
221
  ),
222
222
  timeout_ms=timeout_ms,
223
223
  )
@@ -263,7 +263,7 @@ class Destinations(BaseSDK):
263
263
  async def create_destination_async(
264
264
  self,
265
265
  *,
266
- request: Union[models.CreateOutputRequest, models.CreateOutputRequestTypedDict],
266
+ request: Union[models.Output, models.OutputTypedDict],
267
267
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
268
268
  server_url: Optional[str] = None,
269
269
  timeout_ms: Optional[int] = None,
@@ -290,8 +290,8 @@ class Destinations(BaseSDK):
290
290
  base_url = self._get_url(base_url, url_variables)
291
291
 
292
292
  if not isinstance(request, BaseModel):
293
- request = utils.unmarshal(request, models.CreateOutputRequest)
294
- request = cast(models.CreateOutputRequest, request)
293
+ request = utils.unmarshal(request, models.Output)
294
+ request = cast(models.Output, request)
295
295
 
296
296
  req = self._build_request_async(
297
297
  method="POST",
@@ -307,7 +307,7 @@ class Destinations(BaseSDK):
307
307
  http_headers=http_headers,
308
308
  security=self.sdk_configuration.security,
309
309
  get_serialized_body=lambda: utils.serialize_request_body(
310
- request, False, False, "json", models.CreateOutputRequest
310
+ request, False, False, "json", models.Output
311
311
  ),
312
312
  timeout_ms=timeout_ms,
313
313
  )
@@ -539,7 +539,7 @@ class Destinations(BaseSDK):
539
539
  Update Destination
540
540
 
541
541
  :param id: Unique ID to PATCH
542
- :param output: Destination object to be updated
542
+ :param output: Output object
543
543
  :param retries: Override the default retry configuration for this method
544
544
  :param server_url: Override the default server URL for this method
545
545
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -632,7 +632,7 @@ class Destinations(BaseSDK):
632
632
  Update Destination
633
633
 
634
634
  :param id: Unique ID to PATCH
635
- :param output: Destination object to be updated
635
+ :param output: Output object
636
636
  :param retries: Override the default retry configuration for this method
637
637
  :param server_url: Override the default server URL for this method
638
638
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds