cribl-control-plane 0.3.0b6__py3-none-any.whl → 0.3.0b7__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/models/cacheconnection.py +0 -20
- cribl_control_plane/models/configgroup.py +1 -20
- cribl_control_plane/models/configgroupcloud.py +1 -11
- cribl_control_plane/models/createconfiggroupbyproductop.py +0 -11
- cribl_control_plane/models/cribllakedataset.py +1 -11
- cribl_control_plane/models/cribllakedatasetupdate.py +1 -11
- cribl_control_plane/models/datasetmetadata.py +1 -11
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +0 -20
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +0 -20
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +0 -11
- cribl_control_plane/models/getsummaryop.py +0 -11
- cribl_control_plane/models/groupcreaterequest.py +1 -20
- cribl_control_plane/models/hbcriblinfo.py +1 -11
- cribl_control_plane/models/healthserverstatus.py +1 -20
- cribl_control_plane/models/inputappscope.py +1 -56
- cribl_control_plane/models/inputazureblob.py +1 -29
- cribl_control_plane/models/inputcollection.py +1 -20
- cribl_control_plane/models/inputconfluentcloud.py +1 -78
- cribl_control_plane/models/inputcribl.py +1 -20
- cribl_control_plane/models/inputcriblhttp.py +1 -38
- cribl_control_plane/models/inputcribllakehttp.py +1 -38
- cribl_control_plane/models/inputcriblmetrics.py +1 -20
- cribl_control_plane/models/inputcribltcp.py +1 -38
- cribl_control_plane/models/inputcrowdstrike.py +1 -47
- cribl_control_plane/models/inputdatadogagent.py +1 -38
- cribl_control_plane/models/inputdatagen.py +1 -20
- cribl_control_plane/models/inputedgeprometheus.py +1 -94
- cribl_control_plane/models/inputelastic.py +1 -65
- cribl_control_plane/models/inputeventhub.py +1 -58
- cribl_control_plane/models/inputexec.py +1 -29
- cribl_control_plane/models/inputfile.py +1 -29
- cribl_control_plane/models/inputfirehose.py +1 -38
- cribl_control_plane/models/inputgooglepubsub.py +1 -29
- cribl_control_plane/models/inputgrafana.py +1 -110
- cribl_control_plane/models/inputhttp.py +1 -38
- cribl_control_plane/models/inputhttpraw.py +1 -38
- cribl_control_plane/models/inputjournalfiles.py +1 -20
- cribl_control_plane/models/inputkafka.py +1 -74
- cribl_control_plane/models/inputkinesis.py +1 -65
- cribl_control_plane/models/inputkubeevents.py +1 -20
- cribl_control_plane/models/inputkubelogs.py +1 -29
- cribl_control_plane/models/inputkubemetrics.py +1 -29
- cribl_control_plane/models/inputloki.py +1 -47
- cribl_control_plane/models/inputmetrics.py +1 -38
- cribl_control_plane/models/inputmodeldriventelemetry.py +1 -38
- cribl_control_plane/models/inputmsk.py +1 -74
- cribl_control_plane/models/inputnetflow.py +1 -20
- cribl_control_plane/models/inputoffice365mgmt.py +1 -56
- cribl_control_plane/models/inputoffice365msgtrace.py +1 -56
- cribl_control_plane/models/inputoffice365service.py +1 -56
- cribl_control_plane/models/inputopentelemetry.py +1 -65
- cribl_control_plane/models/inputprometheus.py +1 -87
- cribl_control_plane/models/inputprometheusrw.py +1 -47
- cribl_control_plane/models/inputrawudp.py +1 -20
- cribl_control_plane/models/inputs3.py +1 -38
- cribl_control_plane/models/inputs3inventory.py +1 -47
- cribl_control_plane/models/inputsecuritylake.py +1 -47
- cribl_control_plane/models/inputsnmp.py +1 -29
- cribl_control_plane/models/inputsplunk.py +1 -56
- cribl_control_plane/models/inputsplunkhec.py +1 -47
- cribl_control_plane/models/inputsplunksearch.py +1 -56
- cribl_control_plane/models/inputsqs.py +1 -47
- cribl_control_plane/models/inputsyslog.py +1 -74
- cribl_control_plane/models/inputsystemmetrics.py +1 -92
- cribl_control_plane/models/inputsystemstate.py +1 -29
- cribl_control_plane/models/inputtcp.py +1 -47
- cribl_control_plane/models/inputtcpjson.py +1 -47
- cribl_control_plane/models/inputwef.py +1 -65
- cribl_control_plane/models/inputwindowsmetrics.py +1 -83
- cribl_control_plane/models/inputwineventlogs.py +1 -38
- cribl_control_plane/models/inputwiz.py +1 -38
- cribl_control_plane/models/inputwizwebhook.py +1 -38
- cribl_control_plane/models/inputzscalerhec.py +1 -47
- cribl_control_plane/models/listconfiggroupbyproductop.py +0 -11
- cribl_control_plane/models/masterworkerentry.py +1 -11
- cribl_control_plane/models/nodeupgradestatus.py +0 -38
- cribl_control_plane/models/outputazureblob.py +1 -83
- cribl_control_plane/models/outputazuredataexplorer.py +1 -148
- cribl_control_plane/models/outputazureeventhub.py +1 -98
- cribl_control_plane/models/outputazurelogs.py +1 -56
- cribl_control_plane/models/outputchronicle.py +1 -56
- cribl_control_plane/models/outputclickhouse.py +1 -92
- cribl_control_plane/models/outputcloudwatch.py +1 -47
- cribl_control_plane/models/outputconfluentcloud.py +1 -123
- cribl_control_plane/models/outputcriblhttp.py +1 -74
- cribl_control_plane/models/outputcribllake.py +1 -76
- cribl_control_plane/models/outputcribltcp.py +1 -74
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +1 -67
- cribl_control_plane/models/outputdatabricks.py +1 -65
- cribl_control_plane/models/outputdatadog.py +1 -83
- cribl_control_plane/models/outputdataset.py +1 -74
- cribl_control_plane/models/outputdiskspool.py +1 -11
- cribl_control_plane/models/outputdls3.py +1 -110
- cribl_control_plane/models/outputdynatracehttp.py +1 -92
- cribl_control_plane/models/outputdynatraceotlp.py +1 -92
- cribl_control_plane/models/outputelastic.py +1 -74
- cribl_control_plane/models/outputelasticcloud.py +1 -56
- cribl_control_plane/models/outputexabeam.py +1 -47
- cribl_control_plane/models/outputfilesystem.py +1 -65
- cribl_control_plane/models/outputgooglechronicle.py +1 -83
- cribl_control_plane/models/outputgooglecloudlogging.py +1 -65
- cribl_control_plane/models/outputgooglecloudstorage.py +1 -101
- cribl_control_plane/models/outputgooglepubsub.py +1 -47
- cribl_control_plane/models/outputgrafanacloud.py +1 -146
- cribl_control_plane/models/outputgraphite.py +1 -47
- cribl_control_plane/models/outputhoneycomb.py +1 -56
- cribl_control_plane/models/outputhumiohec.py +1 -65
- cribl_control_plane/models/outputinfluxdb.py +1 -65
- cribl_control_plane/models/outputkafka.py +1 -119
- cribl_control_plane/models/outputkinesis.py +1 -65
- cribl_control_plane/models/outputloki.py +1 -65
- cribl_control_plane/models/outputminio.py +1 -110
- cribl_control_plane/models/outputmsk.py +1 -119
- cribl_control_plane/models/outputnewrelic.py +1 -74
- cribl_control_plane/models/outputnewrelicevents.py +1 -65
- cribl_control_plane/models/outputopentelemetry.py +1 -110
- cribl_control_plane/models/outputprometheus.py +1 -56
- cribl_control_plane/models/outputring.py +1 -29
- cribl_control_plane/models/outputs3.py +1 -110
- cribl_control_plane/models/outputsecuritylake.py +1 -85
- cribl_control_plane/models/outputsentinel.py +1 -74
- cribl_control_plane/models/outputsentineloneaisiem.py +1 -74
- cribl_control_plane/models/outputservicenow.py +1 -101
- cribl_control_plane/models/outputsignalfx.py +1 -56
- cribl_control_plane/models/outputsns.py +1 -56
- cribl_control_plane/models/outputsplunk.py +1 -92
- cribl_control_plane/models/outputsplunkhec.py +1 -74
- cribl_control_plane/models/outputsplunklb.py +1 -121
- cribl_control_plane/models/outputsqs.py +1 -65
- cribl_control_plane/models/outputstatsd.py +1 -47
- cribl_control_plane/models/outputstatsdext.py +1 -47
- cribl_control_plane/models/outputsumologic.py +1 -56
- cribl_control_plane/models/outputsyslog.py +1 -110
- cribl_control_plane/models/outputtcpjson.py +1 -83
- cribl_control_plane/models/outputwavefront.py +1 -56
- cribl_control_plane/models/outputwebhook.py +1 -92
- cribl_control_plane/models/outputxsiam.py +1 -56
- cribl_control_plane/models/resourcepolicy.py +0 -11
- cribl_control_plane/models/runnablejobcollection.py +1 -56
- cribl_control_plane/models/runnablejobexecutor.py +1 -20
- cribl_control_plane/models/runnablejobscheduledsearch.py +1 -11
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +0 -11
- {cribl_control_plane-0.3.0b6.dist-info → cribl_control_plane-0.3.0b7.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.3.0b6.dist-info → cribl_control_plane-0.3.0b7.dist-info}/RECORD +149 -149
- {cribl_control_plane-0.3.0b6.dist-info → cribl_control_plane-0.3.0b7.dist-info}/WHEEL +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -212,24 +211,6 @@ class OutputWebhookTLSSettingsClientSide(BaseModel):
|
|
|
212
211
|
pydantic.Field(alias="maxVersion"),
|
|
213
212
|
] = None
|
|
214
213
|
|
|
215
|
-
@field_serializer("min_version")
|
|
216
|
-
def serialize_min_version(self, value):
|
|
217
|
-
if isinstance(value, str):
|
|
218
|
-
try:
|
|
219
|
-
return models.OutputWebhookMinimumTLSVersion(value)
|
|
220
|
-
except ValueError:
|
|
221
|
-
return value
|
|
222
|
-
return value
|
|
223
|
-
|
|
224
|
-
@field_serializer("max_version")
|
|
225
|
-
def serialize_max_version(self, value):
|
|
226
|
-
if isinstance(value, str):
|
|
227
|
-
try:
|
|
228
|
-
return models.OutputWebhookMaximumTLSVersion(value)
|
|
229
|
-
except ValueError:
|
|
230
|
-
return value
|
|
231
|
-
return value
|
|
232
|
-
|
|
233
214
|
|
|
234
215
|
class OutputWebhookMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
235
216
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
@@ -757,75 +738,3 @@ class OutputWebhook(BaseModel):
|
|
|
757
738
|
Optional[float], pydantic.Field(alias="loadBalanceStatsPeriodSec")
|
|
758
739
|
] = 300
|
|
759
740
|
r"""How far back in time to keep traffic stats for load balancing purposes"""
|
|
760
|
-
|
|
761
|
-
@field_serializer("method")
|
|
762
|
-
def serialize_method(self, value):
|
|
763
|
-
if isinstance(value, str):
|
|
764
|
-
try:
|
|
765
|
-
return models.OutputWebhookMethod(value)
|
|
766
|
-
except ValueError:
|
|
767
|
-
return value
|
|
768
|
-
return value
|
|
769
|
-
|
|
770
|
-
@field_serializer("format_")
|
|
771
|
-
def serialize_format_(self, value):
|
|
772
|
-
if isinstance(value, str):
|
|
773
|
-
try:
|
|
774
|
-
return models.OutputWebhookFormat(value)
|
|
775
|
-
except ValueError:
|
|
776
|
-
return value
|
|
777
|
-
return value
|
|
778
|
-
|
|
779
|
-
@field_serializer("failed_request_logging_mode")
|
|
780
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
781
|
-
if isinstance(value, str):
|
|
782
|
-
try:
|
|
783
|
-
return models.OutputWebhookFailedRequestLoggingMode(value)
|
|
784
|
-
except ValueError:
|
|
785
|
-
return value
|
|
786
|
-
return value
|
|
787
|
-
|
|
788
|
-
@field_serializer("on_backpressure")
|
|
789
|
-
def serialize_on_backpressure(self, value):
|
|
790
|
-
if isinstance(value, str):
|
|
791
|
-
try:
|
|
792
|
-
return models.OutputWebhookBackpressureBehavior(value)
|
|
793
|
-
except ValueError:
|
|
794
|
-
return value
|
|
795
|
-
return value
|
|
796
|
-
|
|
797
|
-
@field_serializer("auth_type")
|
|
798
|
-
def serialize_auth_type(self, value):
|
|
799
|
-
if isinstance(value, str):
|
|
800
|
-
try:
|
|
801
|
-
return models.OutputWebhookAuthenticationType(value)
|
|
802
|
-
except ValueError:
|
|
803
|
-
return value
|
|
804
|
-
return value
|
|
805
|
-
|
|
806
|
-
@field_serializer("pq_mode")
|
|
807
|
-
def serialize_pq_mode(self, value):
|
|
808
|
-
if isinstance(value, str):
|
|
809
|
-
try:
|
|
810
|
-
return models.OutputWebhookMode(value)
|
|
811
|
-
except ValueError:
|
|
812
|
-
return value
|
|
813
|
-
return value
|
|
814
|
-
|
|
815
|
-
@field_serializer("pq_compress")
|
|
816
|
-
def serialize_pq_compress(self, value):
|
|
817
|
-
if isinstance(value, str):
|
|
818
|
-
try:
|
|
819
|
-
return models.OutputWebhookCompression(value)
|
|
820
|
-
except ValueError:
|
|
821
|
-
return value
|
|
822
|
-
return value
|
|
823
|
-
|
|
824
|
-
@field_serializer("pq_on_backpressure")
|
|
825
|
-
def serialize_pq_on_backpressure(self, value):
|
|
826
|
-
if isinstance(value, str):
|
|
827
|
-
try:
|
|
828
|
-
return models.OutputWebhookQueueFullBehavior(value)
|
|
829
|
-
except ValueError:
|
|
830
|
-
return value
|
|
831
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import Any, List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -455,57 +454,3 @@ class OutputXsiam(BaseModel):
|
|
|
455
454
|
pq_controls: Annotated[
|
|
456
455
|
Optional[OutputXsiamPqControls], pydantic.Field(alias="pqControls")
|
|
457
456
|
] = None
|
|
458
|
-
|
|
459
|
-
@field_serializer("failed_request_logging_mode")
|
|
460
|
-
def serialize_failed_request_logging_mode(self, value):
|
|
461
|
-
if isinstance(value, str):
|
|
462
|
-
try:
|
|
463
|
-
return models.OutputXsiamFailedRequestLoggingMode(value)
|
|
464
|
-
except ValueError:
|
|
465
|
-
return value
|
|
466
|
-
return value
|
|
467
|
-
|
|
468
|
-
@field_serializer("auth_type")
|
|
469
|
-
def serialize_auth_type(self, value):
|
|
470
|
-
if isinstance(value, str):
|
|
471
|
-
try:
|
|
472
|
-
return models.OutputXsiamAuthenticationMethod(value)
|
|
473
|
-
except ValueError:
|
|
474
|
-
return value
|
|
475
|
-
return value
|
|
476
|
-
|
|
477
|
-
@field_serializer("on_backpressure")
|
|
478
|
-
def serialize_on_backpressure(self, value):
|
|
479
|
-
if isinstance(value, str):
|
|
480
|
-
try:
|
|
481
|
-
return models.OutputXsiamBackpressureBehavior(value)
|
|
482
|
-
except ValueError:
|
|
483
|
-
return value
|
|
484
|
-
return value
|
|
485
|
-
|
|
486
|
-
@field_serializer("pq_mode")
|
|
487
|
-
def serialize_pq_mode(self, value):
|
|
488
|
-
if isinstance(value, str):
|
|
489
|
-
try:
|
|
490
|
-
return models.OutputXsiamMode(value)
|
|
491
|
-
except ValueError:
|
|
492
|
-
return value
|
|
493
|
-
return value
|
|
494
|
-
|
|
495
|
-
@field_serializer("pq_compress")
|
|
496
|
-
def serialize_pq_compress(self, value):
|
|
497
|
-
if isinstance(value, str):
|
|
498
|
-
try:
|
|
499
|
-
return models.OutputXsiamCompression(value)
|
|
500
|
-
except ValueError:
|
|
501
|
-
return value
|
|
502
|
-
return value
|
|
503
|
-
|
|
504
|
-
@field_serializer("pq_on_backpressure")
|
|
505
|
-
def serialize_pq_on_backpressure(self, value):
|
|
506
|
-
if isinstance(value, str):
|
|
507
|
-
try:
|
|
508
|
-
return models.OutputXsiamQueueFullBehavior(value)
|
|
509
|
-
except ValueError:
|
|
510
|
-
return value
|
|
511
|
-
return value
|
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .rbacresource import RbacResource
|
|
5
|
-
from cribl_control_plane import models
|
|
6
5
|
from cribl_control_plane.types import BaseModel
|
|
7
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
8
|
-
from pydantic import field_serializer
|
|
9
7
|
from pydantic.functional_validators import PlainValidator
|
|
10
8
|
from typing import Optional
|
|
11
9
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -26,12 +24,3 @@ class ResourcePolicy(BaseModel):
|
|
|
26
24
|
type: Annotated[RbacResource, PlainValidator(validate_open_enum(False))]
|
|
27
25
|
|
|
28
26
|
id: Optional[str] = None
|
|
29
|
-
|
|
30
|
-
@field_serializer("type")
|
|
31
|
-
def serialize_type(self, value):
|
|
32
|
-
if isinstance(value, str):
|
|
33
|
-
try:
|
|
34
|
-
return models.RbacResource(value)
|
|
35
|
-
except ValueError:
|
|
36
|
-
return value
|
|
37
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import Any, List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -335,15 +334,6 @@ class RunnableJobCollectionInput(BaseModel):
|
|
|
335
334
|
output: Optional[str] = None
|
|
336
335
|
r"""Destination to send results to"""
|
|
337
336
|
|
|
338
|
-
@field_serializer("type")
|
|
339
|
-
def serialize_type(self, value):
|
|
340
|
-
if isinstance(value, str):
|
|
341
|
-
try:
|
|
342
|
-
return models.InputType(value)
|
|
343
|
-
except ValueError:
|
|
344
|
-
return value
|
|
345
|
-
return value
|
|
346
|
-
|
|
347
337
|
|
|
348
338
|
class RunnableJobCollectionLogLevel(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
349
339
|
r"""Level at which to set task logging"""
|
|
@@ -406,15 +396,6 @@ class CaptureSettings(BaseModel):
|
|
|
406
396
|
Optional[WhereToCapture], PlainValidator(validate_open_enum(True))
|
|
407
397
|
] = WhereToCapture.ZERO
|
|
408
398
|
|
|
409
|
-
@field_serializer("level")
|
|
410
|
-
def serialize_level(self, value):
|
|
411
|
-
if isinstance(value, str):
|
|
412
|
-
try:
|
|
413
|
-
return models.WhereToCapture(value)
|
|
414
|
-
except ValueError:
|
|
415
|
-
return value
|
|
416
|
-
return value
|
|
417
|
-
|
|
418
399
|
|
|
419
400
|
class RunnableJobCollectionRunTypedDict(TypedDict):
|
|
420
401
|
reschedule_dropped_tasks: NotRequired[bool]
|
|
@@ -556,33 +537,6 @@ class RunnableJobCollectionRun(BaseModel):
|
|
|
556
537
|
|
|
557
538
|
capture: Optional[CaptureSettings] = None
|
|
558
539
|
|
|
559
|
-
@field_serializer("log_level")
|
|
560
|
-
def serialize_log_level(self, value):
|
|
561
|
-
if isinstance(value, str):
|
|
562
|
-
try:
|
|
563
|
-
return models.RunnableJobCollectionLogLevel(value)
|
|
564
|
-
except ValueError:
|
|
565
|
-
return value
|
|
566
|
-
return value
|
|
567
|
-
|
|
568
|
-
@field_serializer("mode")
|
|
569
|
-
def serialize_mode(self, value):
|
|
570
|
-
if isinstance(value, str):
|
|
571
|
-
try:
|
|
572
|
-
return models.RunnableJobCollectionMode(value)
|
|
573
|
-
except ValueError:
|
|
574
|
-
return value
|
|
575
|
-
return value
|
|
576
|
-
|
|
577
|
-
@field_serializer("time_range_type")
|
|
578
|
-
def serialize_time_range_type(self, value):
|
|
579
|
-
if isinstance(value, str):
|
|
580
|
-
try:
|
|
581
|
-
return models.TimeRange(value)
|
|
582
|
-
except ValueError:
|
|
583
|
-
return value
|
|
584
|
-
return value
|
|
585
|
-
|
|
586
540
|
|
|
587
541
|
class RunnableJobCollectionTypedDict(TypedDict):
|
|
588
542
|
collector: CollectorTypedDict
|
|
@@ -658,12 +612,3 @@ class RunnableJobCollection(BaseModel):
|
|
|
658
612
|
r"""If enabled, tasks are created and run by the same Worker Node"""
|
|
659
613
|
|
|
660
614
|
input: Optional[RunnableJobCollectionInput] = None
|
|
661
|
-
|
|
662
|
-
@field_serializer("type")
|
|
663
|
-
def serialize_type(self, value):
|
|
664
|
-
if isinstance(value, str):
|
|
665
|
-
try:
|
|
666
|
-
return models.RunnableJobCollectionJobType(value)
|
|
667
|
-
except ValueError:
|
|
668
|
-
return value
|
|
669
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import Any, List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -284,15 +283,6 @@ class RunnableJobExecutorRun(BaseModel):
|
|
|
284
283
|
job_timeout: Annotated[Optional[str], pydantic.Field(alias="jobTimeout")] = "0"
|
|
285
284
|
r"""Maximum time the job is allowed to run. Time unit defaults to seconds if not specified (examples: 30, 45s, 15m). Enter 0 for unlimited time."""
|
|
286
285
|
|
|
287
|
-
@field_serializer("log_level")
|
|
288
|
-
def serialize_log_level(self, value):
|
|
289
|
-
if isinstance(value, str):
|
|
290
|
-
try:
|
|
291
|
-
return models.RunnableJobExecutorLogLevel(value)
|
|
292
|
-
except ValueError:
|
|
293
|
-
return value
|
|
294
|
-
return value
|
|
295
|
-
|
|
296
286
|
|
|
297
287
|
class RunnableJobExecutorTypedDict(TypedDict):
|
|
298
288
|
executor: ExecutorTypedDict
|
|
@@ -357,12 +347,3 @@ class RunnableJobExecutor(BaseModel):
|
|
|
357
347
|
|
|
358
348
|
streamtags: Optional[List[str]] = None
|
|
359
349
|
r"""Tags for filtering and grouping in @{product}"""
|
|
360
|
-
|
|
361
|
-
@field_serializer("type")
|
|
362
|
-
def serialize_type(self, value):
|
|
363
|
-
if isinstance(value, str):
|
|
364
|
-
try:
|
|
365
|
-
return models.RunnableJobExecutorJobType(value)
|
|
366
|
-
except ValueError:
|
|
367
|
-
return value
|
|
368
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import Any, List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -275,12 +274,3 @@ class RunnableJobScheduledSearch(BaseModel):
|
|
|
275
274
|
|
|
276
275
|
streamtags: Optional[List[str]] = None
|
|
277
276
|
r"""Tags for filtering and grouping in @{product}"""
|
|
278
|
-
|
|
279
|
-
@field_serializer("type")
|
|
280
|
-
def serialize_type(self, value):
|
|
281
|
-
if isinstance(value, str):
|
|
282
|
-
try:
|
|
283
|
-
return models.RunnableJobScheduledSearchJobType(value)
|
|
284
|
-
except ValueError:
|
|
285
|
-
return value
|
|
286
|
-
return value
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
5
5
|
from .productscore import ProductsCore
|
|
6
|
-
from cribl_control_plane import models
|
|
7
6
|
from cribl_control_plane.types import BaseModel
|
|
8
7
|
from cribl_control_plane.utils import (
|
|
9
8
|
FieldMetadata,
|
|
@@ -12,7 +11,6 @@ from cribl_control_plane.utils import (
|
|
|
12
11
|
validate_open_enum,
|
|
13
12
|
)
|
|
14
13
|
import pydantic
|
|
15
|
-
from pydantic import field_serializer
|
|
16
14
|
from pydantic.functional_validators import PlainValidator
|
|
17
15
|
from typing import List, Optional
|
|
18
16
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -47,15 +45,6 @@ class UpdateConfigGroupByProductAndIDRequest(BaseModel):
|
|
|
47
45
|
]
|
|
48
46
|
r"""ConfigGroup object"""
|
|
49
47
|
|
|
50
|
-
@field_serializer("product")
|
|
51
|
-
def serialize_product(self, value):
|
|
52
|
-
if isinstance(value, str):
|
|
53
|
-
try:
|
|
54
|
-
return models.ProductsCore(value)
|
|
55
|
-
except ValueError:
|
|
56
|
-
return value
|
|
57
|
-
return value
|
|
58
|
-
|
|
59
48
|
|
|
60
49
|
class UpdateConfigGroupByProductAndIDResponseTypedDict(TypedDict):
|
|
61
50
|
r"""a list of ConfigGroup objects"""
|
|
@@ -4,7 +4,6 @@ from __future__ import annotations
|
|
|
4
4
|
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
5
5
|
from .deployrequest import DeployRequest, DeployRequestTypedDict
|
|
6
6
|
from .productscore import ProductsCore
|
|
7
|
-
from cribl_control_plane import models
|
|
8
7
|
from cribl_control_plane.types import BaseModel
|
|
9
8
|
from cribl_control_plane.utils import (
|
|
10
9
|
FieldMetadata,
|
|
@@ -12,7 +11,6 @@ from cribl_control_plane.utils import (
|
|
|
12
11
|
RequestMetadata,
|
|
13
12
|
validate_open_enum,
|
|
14
13
|
)
|
|
15
|
-
from pydantic import field_serializer
|
|
16
14
|
from pydantic.functional_validators import PlainValidator
|
|
17
15
|
from typing import List, Optional
|
|
18
16
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -45,15 +43,6 @@ class UpdateConfigGroupDeployByProductAndIDRequest(BaseModel):
|
|
|
45
43
|
]
|
|
46
44
|
r"""DeployRequest object"""
|
|
47
45
|
|
|
48
|
-
@field_serializer("product")
|
|
49
|
-
def serialize_product(self, value):
|
|
50
|
-
if isinstance(value, str):
|
|
51
|
-
try:
|
|
52
|
-
return models.ProductsCore(value)
|
|
53
|
-
except ValueError:
|
|
54
|
-
return value
|
|
55
|
-
return value
|
|
56
|
-
|
|
57
46
|
|
|
58
47
|
class UpdateConfigGroupDeployByProductAndIDResponseTypedDict(TypedDict):
|
|
59
48
|
r"""a list of ConfigGroup objects"""
|