cribl-control-plane 0.2.1rc8__py3-none-any.whl → 0.2.1rc10__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.

@@ -33,6 +33,18 @@ if TYPE_CHECKING:
33
33
  ConfigGroupLookupsLookupTypedDict,
34
34
  ConfigGroupLookupsTypedDict,
35
35
  )
36
+ from .createadminproductsmappingsactivatebyproductop import (
37
+ CreateAdminProductsMappingsActivateByProductRequest,
38
+ CreateAdminProductsMappingsActivateByProductRequestTypedDict,
39
+ CreateAdminProductsMappingsActivateByProductResponse,
40
+ CreateAdminProductsMappingsActivateByProductResponseTypedDict,
41
+ )
42
+ from .createadminproductsmappingsbyproductop import (
43
+ CreateAdminProductsMappingsByProductRequest,
44
+ CreateAdminProductsMappingsByProductRequestTypedDict,
45
+ CreateAdminProductsMappingsByProductResponse,
46
+ CreateAdminProductsMappingsByProductResponseTypedDict,
47
+ )
36
48
  from .createconfiggroupbyproductop import (
37
49
  CreateConfigGroupByProductRequest,
38
50
  CreateConfigGroupByProductRequestTypedDict,
@@ -109,6 +121,12 @@ if TYPE_CHECKING:
109
121
  DatasetMetadataRunInfo,
110
122
  DatasetMetadataRunInfoTypedDict,
111
123
  )
124
+ from .deleteadminproductsmappingsbyproductandidop import (
125
+ DeleteAdminProductsMappingsByProductAndIDRequest,
126
+ DeleteAdminProductsMappingsByProductAndIDRequestTypedDict,
127
+ DeleteAdminProductsMappingsByProductAndIDResponse,
128
+ DeleteAdminProductsMappingsByProductAndIDResponseTypedDict,
129
+ )
112
130
  from .deleteconfiggroupbyproductandidop import (
113
131
  DeleteConfigGroupByProductAndIDRequest,
114
132
  DeleteConfigGroupByProductAndIDRequestTypedDict,
@@ -184,6 +202,20 @@ if TYPE_CHECKING:
184
202
  DistributedSummaryWorkers,
185
203
  DistributedSummaryWorkersTypedDict,
186
204
  )
205
+ from .evalfunction import EvalFunction, EvalFunctionTypedDict, ID
206
+ from .evalschema import Add, AddTypedDict, EvalSchema, EvalSchemaTypedDict
207
+ from .getadminproductsmappingsbyproductandidop import (
208
+ GetAdminProductsMappingsByProductAndIDRequest,
209
+ GetAdminProductsMappingsByProductAndIDRequestTypedDict,
210
+ GetAdminProductsMappingsByProductAndIDResponse,
211
+ GetAdminProductsMappingsByProductAndIDResponseTypedDict,
212
+ )
213
+ from .getadminproductsmappingsbyproductop import (
214
+ GetAdminProductsMappingsByProductRequest,
215
+ GetAdminProductsMappingsByProductRequestTypedDict,
216
+ GetAdminProductsMappingsByProductResponse,
217
+ GetAdminProductsMappingsByProductResponseTypedDict,
218
+ )
187
219
  from .getconfiggroupaclbyproductandidop import (
188
220
  GetConfigGroupACLByProductAndIDRequest,
189
221
  GetConfigGroupACLByProductAndIDRequestTypedDict,
@@ -1803,8 +1835,8 @@ if TYPE_CHECKING:
1803
1835
  InputZscalerHecType,
1804
1836
  InputZscalerHecTypedDict,
1805
1837
  )
1806
- from .jobinfo import JobInfo, JobInfoTypedDict, Stats, StatsTypedDict
1807
- from .jobstatus import JobStatus, JobStatusTypedDict, State
1838
+ from .jobinfo import JobInfo, JobInfoTypedDict
1839
+ from .jobstatus import JobStatus, JobStatusTypedDict
1808
1840
  from .lakedatasetmetrics import LakeDatasetMetrics, LakeDatasetMetricsTypedDict
1809
1841
  from .lakedatasetsearchconfig import (
1810
1842
  LakeDatasetSearchConfig,
@@ -1829,6 +1861,12 @@ if TYPE_CHECKING:
1829
1861
  from .listroutesop import ListRoutesResponse, ListRoutesResponseTypedDict
1830
1862
  from .logininfo import LoginInfo, LoginInfoTypedDict
1831
1863
  from .lookupversions import LookupVersions, LookupVersionsTypedDict
1864
+ from .mappingruleset import (
1865
+ MappingRuleset,
1866
+ MappingRulesetConf,
1867
+ MappingRulesetConfTypedDict,
1868
+ MappingRulesetTypedDict,
1869
+ )
1832
1870
  from .masterworkerentry import (
1833
1871
  LastMetrics,
1834
1872
  LastMetricsTypedDict,
@@ -3201,9 +3239,9 @@ if TYPE_CHECKING:
3201
3239
  )
3202
3240
  from .packupgraderequest import PackUpgradeRequest, PackUpgradeRequestTypedDict
3203
3241
  from .pipeline import (
3204
- Conf,
3205
- ConfTypedDict,
3206
3242
  Pipeline,
3243
+ PipelineConf,
3244
+ PipelineConfTypedDict,
3207
3245
  PipelineGroups,
3208
3246
  PipelineGroupsTypedDict,
3209
3247
  PipelineTypedDict,
@@ -3227,6 +3265,7 @@ if TYPE_CHECKING:
3227
3265
  RoutesTypedDict,
3228
3266
  )
3229
3267
  from .routesroute import RoutesRoute, RoutesRouteTypedDict
3268
+ from .rulesetid import RulesetID, RulesetIDTypedDict
3230
3269
  from .runnablejob import RunnableJob, RunnableJobTypedDict
3231
3270
  from .runnablejobcollection import (
3232
3271
  CaptureSettings,
@@ -3301,6 +3340,12 @@ if TYPE_CHECKING:
3301
3340
  TeamAccessControlList,
3302
3341
  TeamAccessControlListTypedDict,
3303
3342
  )
3343
+ from .updateadminproductsmappingsbyproductandidop import (
3344
+ UpdateAdminProductsMappingsByProductAndIDRequest,
3345
+ UpdateAdminProductsMappingsByProductAndIDRequestTypedDict,
3346
+ UpdateAdminProductsMappingsByProductAndIDResponse,
3347
+ UpdateAdminProductsMappingsByProductAndIDResponseTypedDict,
3348
+ )
3304
3349
  from .updateconfiggroupbyproductandidop import (
3305
3350
  UpdateConfigGroupByProductAndIDRequest,
3306
3351
  UpdateConfigGroupByProductAndIDRequestTypedDict,
@@ -3371,10 +3416,12 @@ if TYPE_CHECKING:
3371
3416
 
3372
3417
  __all__ = [
3373
3418
  "AISIEMEndpointPath",
3419
+ "Add",
3374
3420
  "AddHecTokenRequest",
3375
3421
  "AddHecTokenRequestMetadatum",
3376
3422
  "AddHecTokenRequestMetadatumTypedDict",
3377
3423
  "AddHecTokenRequestTypedDict",
3424
+ "AddTypedDict",
3378
3425
  "AdditionalProperty",
3379
3426
  "AdditionalPropertyTypedDict",
3380
3427
  "Allow",
@@ -3415,8 +3462,6 @@ __all__ = [
3415
3462
  "CommentTypedDict",
3416
3463
  "Commit",
3417
3464
  "CommitTypedDict",
3418
- "Conf",
3419
- "ConfTypedDict",
3420
3465
  "Config",
3421
3466
  "ConfigGroup",
3422
3467
  "ConfigGroupCloud",
@@ -3434,6 +3479,14 @@ __all__ = [
3434
3479
  "Container",
3435
3480
  "ContainerMode",
3436
3481
  "ContainerTypedDict",
3482
+ "CreateAdminProductsMappingsActivateByProductRequest",
3483
+ "CreateAdminProductsMappingsActivateByProductRequestTypedDict",
3484
+ "CreateAdminProductsMappingsActivateByProductResponse",
3485
+ "CreateAdminProductsMappingsActivateByProductResponseTypedDict",
3486
+ "CreateAdminProductsMappingsByProductRequest",
3487
+ "CreateAdminProductsMappingsByProductRequestTypedDict",
3488
+ "CreateAdminProductsMappingsByProductResponse",
3489
+ "CreateAdminProductsMappingsByProductResponseTypedDict",
3437
3490
  "CreateConfigGroupByProductRequest",
3438
3491
  "CreateConfigGroupByProductRequestTypedDict",
3439
3492
  "CreateConfigGroupByProductResponse",
@@ -3494,6 +3547,10 @@ __all__ = [
3494
3547
  "DatasetMetadataRunInfo",
3495
3548
  "DatasetMetadataRunInfoTypedDict",
3496
3549
  "DatasetMetadataTypedDict",
3550
+ "DeleteAdminProductsMappingsByProductAndIDRequest",
3551
+ "DeleteAdminProductsMappingsByProductAndIDRequestTypedDict",
3552
+ "DeleteAdminProductsMappingsByProductAndIDResponse",
3553
+ "DeleteAdminProductsMappingsByProductAndIDResponseTypedDict",
3497
3554
  "DeleteConfigGroupByProductAndIDRequest",
3498
3555
  "DeleteConfigGroupByProductAndIDRequestTypedDict",
3499
3556
  "DeleteConfigGroupByProductAndIDResponse",
@@ -3549,6 +3606,10 @@ __all__ = [
3549
3606
  "EndpointParam",
3550
3607
  "EndpointParamTypedDict",
3551
3608
  "EndpointType",
3609
+ "EvalFunction",
3610
+ "EvalFunctionTypedDict",
3611
+ "EvalSchema",
3612
+ "EvalSchemaTypedDict",
3552
3613
  "EventFormat",
3553
3614
  "Executor",
3554
3615
  "ExecutorSpecificSettings",
@@ -3566,6 +3627,14 @@ __all__ = [
3566
3627
  "FirewallTypedDict",
3567
3628
  "FunctionSpecificConfigs",
3568
3629
  "FunctionSpecificConfigsTypedDict",
3630
+ "GetAdminProductsMappingsByProductAndIDRequest",
3631
+ "GetAdminProductsMappingsByProductAndIDRequestTypedDict",
3632
+ "GetAdminProductsMappingsByProductAndIDResponse",
3633
+ "GetAdminProductsMappingsByProductAndIDResponseTypedDict",
3634
+ "GetAdminProductsMappingsByProductRequest",
3635
+ "GetAdminProductsMappingsByProductRequestTypedDict",
3636
+ "GetAdminProductsMappingsByProductResponse",
3637
+ "GetAdminProductsMappingsByProductResponseTypedDict",
3569
3638
  "GetConfigGroupACLByProductAndIDRequest",
3570
3639
  "GetConfigGroupACLByProductAndIDRequestTypedDict",
3571
3640
  "GetConfigGroupACLByProductAndIDResponse",
@@ -3716,6 +3785,7 @@ __all__ = [
3716
3785
  "HostInfoTypedDict",
3717
3786
  "HostsFile",
3718
3787
  "HostsFileTypedDict",
3788
+ "ID",
3719
3789
  "IndexerDiscoveryConfigs",
3720
3790
  "IndexerDiscoveryConfigsAuthTokenAuthenticationMethod",
3721
3791
  "IndexerDiscoveryConfigsAuthenticationMethod",
@@ -4991,6 +5061,10 @@ __all__ = [
4991
5061
  "LookupVersionsTypedDict",
4992
5062
  "MTLSSettings",
4993
5063
  "MTLSSettingsTypedDict",
5064
+ "MappingRuleset",
5065
+ "MappingRulesetConf",
5066
+ "MappingRulesetConfTypedDict",
5067
+ "MappingRulesetTypedDict",
4994
5068
  "MappingType",
4995
5069
  "MasterWorkerEntry",
4996
5070
  "MasterWorkerEntryType",
@@ -6192,6 +6266,8 @@ __all__ = [
6192
6266
  "PackUpgradeRequestTypedDict",
6193
6267
  "PayloadFormat",
6194
6268
  "Pipeline",
6269
+ "PipelineConf",
6270
+ "PipelineConfTypedDict",
6195
6271
  "PipelineFunctionConf",
6196
6272
  "PipelineFunctionConfTypedDict",
6197
6273
  "PipelineGroups",
@@ -6232,6 +6308,8 @@ __all__ = [
6232
6308
  "RoutesRoute",
6233
6309
  "RoutesRouteTypedDict",
6234
6310
  "RoutesTypedDict",
6311
+ "RulesetID",
6312
+ "RulesetIDTypedDict",
6235
6313
  "RunnableJob",
6236
6314
  "RunnableJobCollection",
6237
6315
  "RunnableJobCollectionInput",
@@ -6302,9 +6380,6 @@ __all__ = [
6302
6380
  "ShardLoadBalancing",
6303
6381
  "SplunkHecMetadata",
6304
6382
  "SplunkHecMetadataTypedDict",
6305
- "State",
6306
- "Stats",
6307
- "StatsTypedDict",
6308
6383
  "Status",
6309
6384
  "Subscription",
6310
6385
  "SubscriptionMetadatum",
@@ -6322,6 +6397,10 @@ __all__ = [
6322
6397
  "TimestampFormat",
6323
6398
  "TimestampPrecision",
6324
6399
  "UDMType",
6400
+ "UpdateAdminProductsMappingsByProductAndIDRequest",
6401
+ "UpdateAdminProductsMappingsByProductAndIDRequestTypedDict",
6402
+ "UpdateAdminProductsMappingsByProductAndIDResponse",
6403
+ "UpdateAdminProductsMappingsByProductAndIDResponseTypedDict",
6325
6404
  "UpdateConfigGroupByProductAndIDRequest",
6326
6405
  "UpdateConfigGroupByProductAndIDRequestTypedDict",
6327
6406
  "UpdateConfigGroupByProductAndIDResponse",
@@ -6404,6 +6483,14 @@ _dynamic_imports: dict[str, str] = {
6404
6483
  "ConfigGroupLookupsLookup": ".configgrouplookups",
6405
6484
  "ConfigGroupLookupsLookupTypedDict": ".configgrouplookups",
6406
6485
  "ConfigGroupLookupsTypedDict": ".configgrouplookups",
6486
+ "CreateAdminProductsMappingsActivateByProductRequest": ".createadminproductsmappingsactivatebyproductop",
6487
+ "CreateAdminProductsMappingsActivateByProductRequestTypedDict": ".createadminproductsmappingsactivatebyproductop",
6488
+ "CreateAdminProductsMappingsActivateByProductResponse": ".createadminproductsmappingsactivatebyproductop",
6489
+ "CreateAdminProductsMappingsActivateByProductResponseTypedDict": ".createadminproductsmappingsactivatebyproductop",
6490
+ "CreateAdminProductsMappingsByProductRequest": ".createadminproductsmappingsbyproductop",
6491
+ "CreateAdminProductsMappingsByProductRequestTypedDict": ".createadminproductsmappingsbyproductop",
6492
+ "CreateAdminProductsMappingsByProductResponse": ".createadminproductsmappingsbyproductop",
6493
+ "CreateAdminProductsMappingsByProductResponseTypedDict": ".createadminproductsmappingsbyproductop",
6407
6494
  "CreateConfigGroupByProductRequest": ".createconfiggroupbyproductop",
6408
6495
  "CreateConfigGroupByProductRequestTypedDict": ".createconfiggroupbyproductop",
6409
6496
  "CreateConfigGroupByProductResponse": ".createconfiggroupbyproductop",
@@ -6461,6 +6548,10 @@ _dynamic_imports: dict[str, str] = {
6461
6548
  "ScanMode": ".datasetmetadata",
6462
6549
  "DatasetMetadataRunInfo": ".datasetmetadataruninfo",
6463
6550
  "DatasetMetadataRunInfoTypedDict": ".datasetmetadataruninfo",
6551
+ "DeleteAdminProductsMappingsByProductAndIDRequest": ".deleteadminproductsmappingsbyproductandidop",
6552
+ "DeleteAdminProductsMappingsByProductAndIDRequestTypedDict": ".deleteadminproductsmappingsbyproductandidop",
6553
+ "DeleteAdminProductsMappingsByProductAndIDResponse": ".deleteadminproductsmappingsbyproductandidop",
6554
+ "DeleteAdminProductsMappingsByProductAndIDResponseTypedDict": ".deleteadminproductsmappingsbyproductandidop",
6464
6555
  "DeleteConfigGroupByProductAndIDRequest": ".deleteconfiggroupbyproductandidop",
6465
6556
  "DeleteConfigGroupByProductAndIDRequestTypedDict": ".deleteconfiggroupbyproductandidop",
6466
6557
  "DeleteConfigGroupByProductAndIDResponse": ".deleteconfiggroupbyproductandidop",
@@ -6517,6 +6608,21 @@ _dynamic_imports: dict[str, str] = {
6517
6608
  "DistributedSummaryTypedDict": ".distributedsummary",
6518
6609
  "DistributedSummaryWorkers": ".distributedsummary",
6519
6610
  "DistributedSummaryWorkersTypedDict": ".distributedsummary",
6611
+ "EvalFunction": ".evalfunction",
6612
+ "EvalFunctionTypedDict": ".evalfunction",
6613
+ "ID": ".evalfunction",
6614
+ "Add": ".evalschema",
6615
+ "AddTypedDict": ".evalschema",
6616
+ "EvalSchema": ".evalschema",
6617
+ "EvalSchemaTypedDict": ".evalschema",
6618
+ "GetAdminProductsMappingsByProductAndIDRequest": ".getadminproductsmappingsbyproductandidop",
6619
+ "GetAdminProductsMappingsByProductAndIDRequestTypedDict": ".getadminproductsmappingsbyproductandidop",
6620
+ "GetAdminProductsMappingsByProductAndIDResponse": ".getadminproductsmappingsbyproductandidop",
6621
+ "GetAdminProductsMappingsByProductAndIDResponseTypedDict": ".getadminproductsmappingsbyproductandidop",
6622
+ "GetAdminProductsMappingsByProductRequest": ".getadminproductsmappingsbyproductop",
6623
+ "GetAdminProductsMappingsByProductRequestTypedDict": ".getadminproductsmappingsbyproductop",
6624
+ "GetAdminProductsMappingsByProductResponse": ".getadminproductsmappingsbyproductop",
6625
+ "GetAdminProductsMappingsByProductResponseTypedDict": ".getadminproductsmappingsbyproductop",
6520
6626
  "GetConfigGroupACLByProductAndIDRequest": ".getconfiggroupaclbyproductandidop",
6521
6627
  "GetConfigGroupACLByProductAndIDRequestTypedDict": ".getconfiggroupaclbyproductandidop",
6522
6628
  "GetConfigGroupACLByProductAndIDResponse": ".getconfiggroupaclbyproductandidop",
@@ -7972,11 +8078,8 @@ _dynamic_imports: dict[str, str] = {
7972
8078
  "InputZscalerHecTypedDict": ".inputzscalerhec",
7973
8079
  "JobInfo": ".jobinfo",
7974
8080
  "JobInfoTypedDict": ".jobinfo",
7975
- "Stats": ".jobinfo",
7976
- "StatsTypedDict": ".jobinfo",
7977
8081
  "JobStatus": ".jobstatus",
7978
8082
  "JobStatusTypedDict": ".jobstatus",
7979
- "State": ".jobstatus",
7980
8083
  "LakeDatasetMetrics": ".lakedatasetmetrics",
7981
8084
  "LakeDatasetMetricsTypedDict": ".lakedatasetmetrics",
7982
8085
  "LakeDatasetSearchConfig": ".lakedatasetsearchconfig",
@@ -8002,6 +8105,10 @@ _dynamic_imports: dict[str, str] = {
8002
8105
  "LoginInfoTypedDict": ".logininfo",
8003
8106
  "LookupVersions": ".lookupversions",
8004
8107
  "LookupVersionsTypedDict": ".lookupversions",
8108
+ "MappingRuleset": ".mappingruleset",
8109
+ "MappingRulesetConf": ".mappingruleset",
8110
+ "MappingRulesetConfTypedDict": ".mappingruleset",
8111
+ "MappingRulesetTypedDict": ".mappingruleset",
8005
8112
  "LastMetrics": ".masterworkerentry",
8006
8113
  "LastMetricsTypedDict": ".masterworkerentry",
8007
8114
  "MasterWorkerEntry": ".masterworkerentry",
@@ -9243,9 +9350,9 @@ _dynamic_imports: dict[str, str] = {
9243
9350
  "PackRequestBodyUnionTypedDict": ".packrequestbody_union",
9244
9351
  "PackUpgradeRequest": ".packupgraderequest",
9245
9352
  "PackUpgradeRequestTypedDict": ".packupgraderequest",
9246
- "Conf": ".pipeline",
9247
- "ConfTypedDict": ".pipeline",
9248
9353
  "Pipeline": ".pipeline",
9354
+ "PipelineConf": ".pipeline",
9355
+ "PipelineConfTypedDict": ".pipeline",
9249
9356
  "PipelineGroups": ".pipeline",
9250
9357
  "PipelineGroupsTypedDict": ".pipeline",
9251
9358
  "PipelineTypedDict": ".pipeline",
@@ -9267,6 +9374,8 @@ _dynamic_imports: dict[str, str] = {
9267
9374
  "RoutesTypedDict": ".routes",
9268
9375
  "RoutesRoute": ".routesroute",
9269
9376
  "RoutesRouteTypedDict": ".routesroute",
9377
+ "RulesetID": ".rulesetid",
9378
+ "RulesetIDTypedDict": ".rulesetid",
9270
9379
  "RunnableJob": ".runnablejob",
9271
9380
  "RunnableJobTypedDict": ".runnablejob",
9272
9381
  "CaptureSettings": ".runnablejobcollection",
@@ -9336,6 +9445,10 @@ _dynamic_imports: dict[str, str] = {
9336
9445
  "SecurityTypedDict": ".security",
9337
9446
  "TeamAccessControlList": ".teamaccesscontrollist",
9338
9447
  "TeamAccessControlListTypedDict": ".teamaccesscontrollist",
9448
+ "UpdateAdminProductsMappingsByProductAndIDRequest": ".updateadminproductsmappingsbyproductandidop",
9449
+ "UpdateAdminProductsMappingsByProductAndIDRequestTypedDict": ".updateadminproductsmappingsbyproductandidop",
9450
+ "UpdateAdminProductsMappingsByProductAndIDResponse": ".updateadminproductsmappingsbyproductandidop",
9451
+ "UpdateAdminProductsMappingsByProductAndIDResponseTypedDict": ".updateadminproductsmappingsbyproductandidop",
9339
9452
  "UpdateConfigGroupByProductAndIDRequest": ".updateconfiggroupbyproductandidop",
9340
9453
  "UpdateConfigGroupByProductAndIDRequestTypedDict": ".updateconfiggroupbyproductandidop",
9341
9454
  "UpdateConfigGroupByProductAndIDResponse": ".updateconfiggroupbyproductandidop",
@@ -0,0 +1,52 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .productscore import ProductsCore
5
+ from .rulesetid import RulesetID, RulesetIDTypedDict
6
+ from cribl_control_plane.types import BaseModel
7
+ from cribl_control_plane.utils import (
8
+ FieldMetadata,
9
+ PathParamMetadata,
10
+ RequestMetadata,
11
+ validate_open_enum,
12
+ )
13
+ from pydantic.functional_validators import PlainValidator
14
+ from typing import List, Optional
15
+ from typing_extensions import Annotated, NotRequired, TypedDict
16
+
17
+
18
+ class CreateAdminProductsMappingsActivateByProductRequestTypedDict(TypedDict):
19
+ product: ProductsCore
20
+ r"""Name of the Cribl product to activate the Mapping Ruleset for"""
21
+ ruleset_id: RulesetIDTypedDict
22
+ r"""RulesetId object"""
23
+
24
+
25
+ class CreateAdminProductsMappingsActivateByProductRequest(BaseModel):
26
+ product: Annotated[
27
+ Annotated[ProductsCore, PlainValidator(validate_open_enum(False))],
28
+ FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
29
+ ]
30
+ r"""Name of the Cribl product to activate the Mapping Ruleset for"""
31
+
32
+ ruleset_id: Annotated[
33
+ RulesetID, FieldMetadata(request=RequestMetadata(media_type="application/json"))
34
+ ]
35
+ r"""RulesetId object"""
36
+
37
+
38
+ class CreateAdminProductsMappingsActivateByProductResponseTypedDict(TypedDict):
39
+ r"""The <code>id</code> of the Mapping Ruleset that has been successfully activated"""
40
+
41
+ count: NotRequired[int]
42
+ r"""number of items present in the items array"""
43
+ items: NotRequired[List[RulesetIDTypedDict]]
44
+
45
+
46
+ class CreateAdminProductsMappingsActivateByProductResponse(BaseModel):
47
+ r"""The <code>id</code> of the Mapping Ruleset that has been successfully activated"""
48
+
49
+ count: Optional[int] = None
50
+ r"""number of items present in the items array"""
51
+
52
+ items: Optional[List[RulesetID]] = None
@@ -0,0 +1,53 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .mappingruleset import MappingRuleset, MappingRulesetTypedDict
5
+ from .productscore import ProductsCore
6
+ from cribl_control_plane.types import BaseModel
7
+ from cribl_control_plane.utils import (
8
+ FieldMetadata,
9
+ PathParamMetadata,
10
+ RequestMetadata,
11
+ validate_open_enum,
12
+ )
13
+ from pydantic.functional_validators import PlainValidator
14
+ from typing import List, Optional
15
+ from typing_extensions import Annotated, NotRequired, TypedDict
16
+
17
+
18
+ class CreateAdminProductsMappingsByProductRequestTypedDict(TypedDict):
19
+ product: ProductsCore
20
+ r"""Name of the Cribl product to create the Mapping Ruleset for"""
21
+ mapping_ruleset: MappingRulesetTypedDict
22
+ r"""MappingRuleset object"""
23
+
24
+
25
+ class CreateAdminProductsMappingsByProductRequest(BaseModel):
26
+ product: Annotated[
27
+ Annotated[ProductsCore, PlainValidator(validate_open_enum(False))],
28
+ FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
29
+ ]
30
+ r"""Name of the Cribl product to create the Mapping Ruleset for"""
31
+
32
+ mapping_ruleset: Annotated[
33
+ MappingRuleset,
34
+ FieldMetadata(request=RequestMetadata(media_type="application/json")),
35
+ ]
36
+ r"""MappingRuleset object"""
37
+
38
+
39
+ class CreateAdminProductsMappingsByProductResponseTypedDict(TypedDict):
40
+ r"""A list containing the newly created Mapping Ruleset objects"""
41
+
42
+ count: NotRequired[int]
43
+ r"""number of items present in the items array"""
44
+ items: NotRequired[List[MappingRulesetTypedDict]]
45
+
46
+
47
+ class CreateAdminProductsMappingsByProductResponse(BaseModel):
48
+ r"""A list containing the newly created Mapping Ruleset objects"""
49
+
50
+ count: Optional[int] = None
51
+ r"""number of items present in the items array"""
52
+
53
+ items: Optional[List[MappingRuleset]] = None
@@ -0,0 +1,51 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .mappingruleset import MappingRuleset, MappingRulesetTypedDict
5
+ from .productscore import ProductsCore
6
+ from cribl_control_plane.types import BaseModel
7
+ from cribl_control_plane.utils import (
8
+ FieldMetadata,
9
+ PathParamMetadata,
10
+ validate_open_enum,
11
+ )
12
+ from pydantic.functional_validators import PlainValidator
13
+ from typing import List, Optional
14
+ from typing_extensions import Annotated, NotRequired, TypedDict
15
+
16
+
17
+ class DeleteAdminProductsMappingsByProductAndIDRequestTypedDict(TypedDict):
18
+ product: ProductsCore
19
+ r"""Name of the Cribl product to delete the Mapping Ruleset for"""
20
+ id: str
21
+ r"""The <code>id</code> of the Mapping Ruleset to delete."""
22
+
23
+
24
+ class DeleteAdminProductsMappingsByProductAndIDRequest(BaseModel):
25
+ product: Annotated[
26
+ Annotated[ProductsCore, PlainValidator(validate_open_enum(False))],
27
+ FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
28
+ ]
29
+ r"""Name of the Cribl product to delete the Mapping Ruleset for"""
30
+
31
+ id: Annotated[
32
+ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
33
+ ]
34
+ r"""The <code>id</code> of the Mapping Ruleset to delete."""
35
+
36
+
37
+ class DeleteAdminProductsMappingsByProductAndIDResponseTypedDict(TypedDict):
38
+ r"""A list containing the deleted Mapping Ruleset objects"""
39
+
40
+ count: NotRequired[int]
41
+ r"""number of items present in the items array"""
42
+ items: NotRequired[List[MappingRulesetTypedDict]]
43
+
44
+
45
+ class DeleteAdminProductsMappingsByProductAndIDResponse(BaseModel):
46
+ r"""A list containing the deleted Mapping Ruleset objects"""
47
+
48
+ count: Optional[int] = None
49
+ r"""number of items present in the items array"""
50
+
51
+ items: Optional[List[MappingRuleset]] = None
@@ -0,0 +1,52 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .evalschema import EvalSchema, EvalSchemaTypedDict
5
+ from cribl_control_plane import utils
6
+ from cribl_control_plane.types import BaseModel
7
+ from cribl_control_plane.utils import validate_open_enum
8
+ from enum import Enum
9
+ import pydantic
10
+ from pydantic.functional_validators import PlainValidator
11
+ from typing import Optional
12
+ from typing_extensions import Annotated, NotRequired, TypedDict
13
+
14
+
15
+ class ID(str, Enum, metaclass=utils.OpenEnumMeta):
16
+ EVAL = "eval"
17
+
18
+
19
+ class EvalFunctionTypedDict(TypedDict):
20
+ id: ID
21
+ conf: EvalSchemaTypedDict
22
+ filter_: NotRequired[str]
23
+ r"""Filter that selects data to be fed through this Function"""
24
+ description: NotRequired[str]
25
+ r"""Simple description of this step"""
26
+ disabled: NotRequired[bool]
27
+ r"""If true, data will not be pushed through this function"""
28
+ final: NotRequired[bool]
29
+ r"""If enabled, stops the results of this Function from being passed to the downstream Functions"""
30
+ group_id: NotRequired[str]
31
+ r"""Group ID"""
32
+
33
+
34
+ class EvalFunction(BaseModel):
35
+ id: Annotated[ID, PlainValidator(validate_open_enum(False))]
36
+
37
+ conf: EvalSchema
38
+
39
+ filter_: Annotated[Optional[str], pydantic.Field(alias="filter")] = "true"
40
+ r"""Filter that selects data to be fed through this Function"""
41
+
42
+ description: Optional[str] = None
43
+ r"""Simple description of this step"""
44
+
45
+ disabled: Optional[bool] = None
46
+ r"""If true, data will not be pushed through this function"""
47
+
48
+ final: Optional[bool] = None
49
+ r"""If enabled, stops the results of this Function from being passed to the downstream Functions"""
50
+
51
+ group_id: Annotated[Optional[str], pydantic.Field(alias="groupId")] = None
52
+ r"""Group ID"""
@@ -0,0 +1,44 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from cribl_control_plane.types import BaseModel
5
+ from typing import List, Optional
6
+ from typing_extensions import NotRequired, TypedDict
7
+
8
+
9
+ class AddTypedDict(TypedDict):
10
+ value: str
11
+ r"""JavaScript expression to compute the value (can be constant)"""
12
+ name: NotRequired[str]
13
+ disabled: NotRequired[bool]
14
+ r"""Set to No to disable the evaluation of an individual expression"""
15
+
16
+
17
+ class Add(BaseModel):
18
+ value: str
19
+ r"""JavaScript expression to compute the value (can be constant)"""
20
+
21
+ name: Optional[str] = None
22
+
23
+ disabled: Optional[bool] = False
24
+ r"""Set to No to disable the evaluation of an individual expression"""
25
+
26
+
27
+ class EvalSchemaTypedDict(TypedDict):
28
+ add: NotRequired[List[AddTypedDict]]
29
+ r"""Set of key-value pairs to evaluate and add/set"""
30
+ keep: NotRequired[List[str]]
31
+ r"""List of fields to keep. Supports * wildcards. Takes precedence over 'Remove fields'."""
32
+ remove: NotRequired[List[str]]
33
+ r"""List of fields to remove. Supports * wildcards. Fields that match 'Keep fields' will not be removed. Enclose field names containing special characters in single or double quotes."""
34
+
35
+
36
+ class EvalSchema(BaseModel):
37
+ add: Optional[List[Add]] = None
38
+ r"""Set of key-value pairs to evaluate and add/set"""
39
+
40
+ keep: Optional[List[str]] = None
41
+ r"""List of fields to keep. Supports * wildcards. Takes precedence over 'Remove fields'."""
42
+
43
+ remove: Optional[List[str]] = None
44
+ r"""List of fields to remove. Supports * wildcards. Fields that match 'Keep fields' will not be removed. Enclose field names containing special characters in single or double quotes."""
@@ -0,0 +1,51 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .mappingruleset import MappingRuleset, MappingRulesetTypedDict
5
+ from .productscore import ProductsCore
6
+ from cribl_control_plane.types import BaseModel
7
+ from cribl_control_plane.utils import (
8
+ FieldMetadata,
9
+ PathParamMetadata,
10
+ validate_open_enum,
11
+ )
12
+ from pydantic.functional_validators import PlainValidator
13
+ from typing import List, Optional
14
+ from typing_extensions import Annotated, NotRequired, TypedDict
15
+
16
+
17
+ class GetAdminProductsMappingsByProductAndIDRequestTypedDict(TypedDict):
18
+ product: ProductsCore
19
+ r"""Name of the Cribl product to get the Mappings for"""
20
+ id: str
21
+ r"""The <code>id</code> of the Worker Group or Edge Fleet Mapping Ruleset to get"""
22
+
23
+
24
+ class GetAdminProductsMappingsByProductAndIDRequest(BaseModel):
25
+ product: Annotated[
26
+ Annotated[ProductsCore, PlainValidator(validate_open_enum(False))],
27
+ FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
28
+ ]
29
+ r"""Name of the Cribl product to get the Mappings for"""
30
+
31
+ id: Annotated[
32
+ str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
33
+ ]
34
+ r"""The <code>id</code> of the Worker Group or Edge Fleet Mapping Ruleset to get"""
35
+
36
+
37
+ class GetAdminProductsMappingsByProductAndIDResponseTypedDict(TypedDict):
38
+ r"""a list of MappingRuleset objects"""
39
+
40
+ count: NotRequired[int]
41
+ r"""number of items present in the items array"""
42
+ items: NotRequired[List[MappingRulesetTypedDict]]
43
+
44
+
45
+ class GetAdminProductsMappingsByProductAndIDResponse(BaseModel):
46
+ r"""a list of MappingRuleset objects"""
47
+
48
+ count: Optional[int] = None
49
+ r"""number of items present in the items array"""
50
+
51
+ items: Optional[List[MappingRuleset]] = None