cribl-control-plane 0.2.1rc5__py3-none-any.whl → 0.2.1rc7__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 (167) hide show
  1. cribl_control_plane/_version.py +4 -4
  2. cribl_control_plane/groups_sdk.py +0 -3
  3. cribl_control_plane/models/__init__.py +120 -150
  4. cribl_control_plane/models/cacheconnection.py +20 -0
  5. cribl_control_plane/models/configgroup.py +20 -1
  6. cribl_control_plane/models/configgroupcloud.py +11 -1
  7. cribl_control_plane/models/createconfiggroupbyproductop.py +11 -0
  8. cribl_control_plane/models/cribllakedataset.py +11 -1
  9. cribl_control_plane/models/cribllakedatasetupdate.py +11 -1
  10. cribl_control_plane/models/datasetmetadata.py +11 -1
  11. cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +11 -0
  12. cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +20 -0
  13. cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +20 -0
  14. cribl_control_plane/models/getconfiggroupbyproductandidop.py +11 -0
  15. cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +11 -0
  16. cribl_control_plane/models/getsummaryop.py +11 -0
  17. cribl_control_plane/models/groupcreaterequest.py +20 -1
  18. cribl_control_plane/models/hbcriblinfo.py +11 -1
  19. cribl_control_plane/models/healthserverstatus.py +20 -1
  20. cribl_control_plane/models/input.py +15 -15
  21. cribl_control_plane/models/inputappscope.py +76 -17
  22. cribl_control_plane/models/inputazureblob.py +29 -1
  23. cribl_control_plane/models/inputcollection.py +20 -1
  24. cribl_control_plane/models/inputconfluentcloud.py +188 -1
  25. cribl_control_plane/models/inputcribl.py +20 -1
  26. cribl_control_plane/models/inputcriblhttp.py +58 -17
  27. cribl_control_plane/models/inputcribllakehttp.py +58 -17
  28. cribl_control_plane/models/inputcriblmetrics.py +20 -1
  29. cribl_control_plane/models/inputcribltcp.py +58 -17
  30. cribl_control_plane/models/inputcrowdstrike.py +47 -1
  31. cribl_control_plane/models/inputdatadogagent.py +58 -17
  32. cribl_control_plane/models/inputdatagen.py +20 -1
  33. cribl_control_plane/models/inputedgeprometheus.py +138 -37
  34. cribl_control_plane/models/inputelastic.py +108 -27
  35. cribl_control_plane/models/inputeventhub.py +176 -1
  36. cribl_control_plane/models/inputexec.py +29 -1
  37. cribl_control_plane/models/inputfile.py +36 -3
  38. cribl_control_plane/models/inputfirehose.py +58 -17
  39. cribl_control_plane/models/inputgooglepubsub.py +29 -1
  40. cribl_control_plane/models/inputgrafana.py +149 -32
  41. cribl_control_plane/models/inputhttp.py +58 -17
  42. cribl_control_plane/models/inputhttpraw.py +58 -17
  43. cribl_control_plane/models/inputjournalfiles.py +20 -1
  44. cribl_control_plane/models/inputkafka.py +182 -1
  45. cribl_control_plane/models/inputkinesis.py +65 -1
  46. cribl_control_plane/models/inputkubeevents.py +20 -1
  47. cribl_control_plane/models/inputkubelogs.py +29 -1
  48. cribl_control_plane/models/inputkubemetrics.py +29 -1
  49. cribl_control_plane/models/inputloki.py +67 -17
  50. cribl_control_plane/models/inputmetrics.py +58 -17
  51. cribl_control_plane/models/inputmodeldriventelemetry.py +58 -17
  52. cribl_control_plane/models/inputmsk.py +74 -1
  53. cribl_control_plane/models/inputnetflow.py +20 -1
  54. cribl_control_plane/models/inputoffice365mgmt.py +56 -1
  55. cribl_control_plane/models/inputoffice365msgtrace.py +56 -1
  56. cribl_control_plane/models/inputoffice365service.py +56 -1
  57. cribl_control_plane/models/inputopentelemetry.py +84 -16
  58. cribl_control_plane/models/inputprometheus.py +131 -37
  59. cribl_control_plane/models/inputprometheusrw.py +67 -17
  60. cribl_control_plane/models/inputrawudp.py +20 -1
  61. cribl_control_plane/models/inputs3.py +38 -1
  62. cribl_control_plane/models/inputs3inventory.py +47 -1
  63. cribl_control_plane/models/inputsecuritylake.py +47 -1
  64. cribl_control_plane/models/inputsnmp.py +29 -1
  65. cribl_control_plane/models/inputsplunk.py +76 -17
  66. cribl_control_plane/models/inputsplunkhec.py +66 -16
  67. cribl_control_plane/models/inputsplunksearch.py +56 -1
  68. cribl_control_plane/models/inputsqs.py +47 -1
  69. cribl_control_plane/models/inputsyslog.py +113 -32
  70. cribl_control_plane/models/inputsystemmetrics.py +110 -9
  71. cribl_control_plane/models/inputsystemstate.py +29 -1
  72. cribl_control_plane/models/inputtcp.py +77 -17
  73. cribl_control_plane/models/inputtcpjson.py +67 -17
  74. cribl_control_plane/models/inputwef.py +65 -1
  75. cribl_control_plane/models/inputwindowsmetrics.py +101 -9
  76. cribl_control_plane/models/inputwineventlogs.py +52 -1
  77. cribl_control_plane/models/inputwiz.py +38 -1
  78. cribl_control_plane/models/inputwizwebhook.py +58 -17
  79. cribl_control_plane/models/inputzscalerhec.py +66 -16
  80. cribl_control_plane/models/jobstatus.py +34 -3
  81. cribl_control_plane/models/listconfiggroupbyproductop.py +11 -0
  82. cribl_control_plane/models/masterworkerentry.py +11 -1
  83. cribl_control_plane/models/nodeupgradestatus.py +38 -0
  84. cribl_control_plane/models/output.py +21 -21
  85. cribl_control_plane/models/outputazureblob.py +90 -1
  86. cribl_control_plane/models/outputazuredataexplorer.py +430 -93
  87. cribl_control_plane/models/outputazureeventhub.py +267 -22
  88. cribl_control_plane/models/outputazurelogs.py +105 -22
  89. cribl_control_plane/models/outputchronicle.py +105 -22
  90. cribl_control_plane/models/outputclickhouse.py +141 -22
  91. cribl_control_plane/models/outputcloudwatch.py +96 -22
  92. cribl_control_plane/models/outputconfluentcloud.py +290 -23
  93. cribl_control_plane/models/outputcriblhttp.py +123 -22
  94. cribl_control_plane/models/outputcribllake.py +76 -1
  95. cribl_control_plane/models/outputcribltcp.py +123 -22
  96. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +117 -23
  97. cribl_control_plane/models/outputdatabricks.py +72 -1
  98. cribl_control_plane/models/outputdatadog.py +132 -22
  99. cribl_control_plane/models/outputdataset.py +123 -22
  100. cribl_control_plane/models/outputdiskspool.py +11 -1
  101. cribl_control_plane/models/outputdls3.py +117 -1
  102. cribl_control_plane/models/outputdynatracehttp.py +141 -22
  103. cribl_control_plane/models/outputdynatraceotlp.py +141 -22
  104. cribl_control_plane/models/outputelastic.py +148 -22
  105. cribl_control_plane/models/outputelasticcloud.py +130 -22
  106. cribl_control_plane/models/outputexabeam.py +47 -1
  107. cribl_control_plane/models/outputfilesystem.py +72 -1
  108. cribl_control_plane/models/outputgooglechronicle.py +148 -23
  109. cribl_control_plane/models/outputgooglecloudlogging.py +115 -23
  110. cribl_control_plane/models/outputgooglecloudstorage.py +108 -1
  111. cribl_control_plane/models/outputgooglepubsub.py +96 -22
  112. cribl_control_plane/models/outputgrafanacloud.py +244 -43
  113. cribl_control_plane/models/outputgraphite.py +96 -22
  114. cribl_control_plane/models/outputhoneycomb.py +105 -22
  115. cribl_control_plane/models/outputhumiohec.py +114 -22
  116. cribl_control_plane/models/outputinfluxdb.py +114 -22
  117. cribl_control_plane/models/outputkafka.py +281 -20
  118. cribl_control_plane/models/outputkinesis.py +121 -22
  119. cribl_control_plane/models/outputloki.py +112 -20
  120. cribl_control_plane/models/outputminio.py +117 -1
  121. cribl_control_plane/models/outputmsk.py +173 -20
  122. cribl_control_plane/models/outputnewrelic.py +123 -22
  123. cribl_control_plane/models/outputnewrelicevents.py +115 -23
  124. cribl_control_plane/models/outputopentelemetry.py +159 -22
  125. cribl_control_plane/models/outputprometheus.py +105 -22
  126. cribl_control_plane/models/outputring.py +29 -1
  127. cribl_control_plane/models/outputs3.py +117 -1
  128. cribl_control_plane/models/outputsecuritylake.py +85 -1
  129. cribl_control_plane/models/outputsentinel.py +123 -22
  130. cribl_control_plane/models/outputsentineloneaisiem.py +124 -23
  131. cribl_control_plane/models/outputservicenow.py +150 -22
  132. cribl_control_plane/models/outputsignalfx.py +105 -22
  133. cribl_control_plane/models/outputsns.py +103 -20
  134. cribl_control_plane/models/outputsplunk.py +141 -22
  135. cribl_control_plane/models/outputsplunkhec.py +198 -22
  136. cribl_control_plane/models/outputsplunklb.py +170 -22
  137. cribl_control_plane/models/outputsqs.py +112 -20
  138. cribl_control_plane/models/outputstatsd.py +96 -22
  139. cribl_control_plane/models/outputstatsdext.py +96 -22
  140. cribl_control_plane/models/outputsumologic.py +105 -22
  141. cribl_control_plane/models/outputsyslog.py +238 -99
  142. cribl_control_plane/models/outputtcpjson.py +132 -22
  143. cribl_control_plane/models/outputwavefront.py +105 -22
  144. cribl_control_plane/models/outputwebhook.py +141 -22
  145. cribl_control_plane/models/outputxsiam.py +103 -20
  146. cribl_control_plane/models/pipeline.py +4 -4
  147. cribl_control_plane/models/resourcepolicy.py +11 -0
  148. cribl_control_plane/models/runnablejobcollection.py +68 -9
  149. cribl_control_plane/models/runnablejobexecutor.py +32 -9
  150. cribl_control_plane/models/runnablejobscheduledsearch.py +23 -9
  151. cribl_control_plane/models/updateconfiggroupbyproductandidop.py +11 -0
  152. cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +11 -0
  153. cribl_control_plane/pipelines.py +8 -8
  154. {cribl_control_plane-0.2.1rc5.dist-info → cribl_control_plane-0.2.1rc7.dist-info}/METADATA +2 -11
  155. {cribl_control_plane-0.2.1rc5.dist-info → cribl_control_plane-0.2.1rc7.dist-info}/RECORD +156 -167
  156. cribl_control_plane/mappings.py +0 -1185
  157. cribl_control_plane/models/createadminproductsmappingsactivatebyproductop.py +0 -52
  158. cribl_control_plane/models/createadminproductsmappingsbyproductop.py +0 -53
  159. cribl_control_plane/models/deleteadminproductsmappingsbyproductandidop.py +0 -51
  160. cribl_control_plane/models/getadminproductsmappingsbyproductandidop.py +0 -51
  161. cribl_control_plane/models/getadminproductsmappingsbyproductop.py +0 -44
  162. cribl_control_plane/models/mappingruleset.py +0 -53
  163. cribl_control_plane/models/mappingrulesetevalmappingfunction.py +0 -71
  164. cribl_control_plane/models/mappingrulesetgenericmappingfunction.py +0 -29
  165. cribl_control_plane/models/rulesetid.py +0 -13
  166. cribl_control_plane/models/updateadminproductsmappingsbyproductandidop.py +0 -63
  167. {cribl_control_plane-0.2.1rc5.dist-info → cribl_control_plane-0.2.1rc7.dist-info}/WHEEL +0 -0
@@ -1,52 +0,0 @@
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
@@ -1,53 +0,0 @@
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
@@ -1,51 +0,0 @@
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
@@ -1,51 +0,0 @@
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
@@ -1,44 +0,0 @@
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 GetAdminProductsMappingsByProductRequestTypedDict(TypedDict):
18
- product: ProductsCore
19
- r"""Name of the Cribl product to list the Mapping Rulesets for"""
20
-
21
-
22
- class GetAdminProductsMappingsByProductRequest(BaseModel):
23
- product: Annotated[
24
- Annotated[ProductsCore, PlainValidator(validate_open_enum(False))],
25
- FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
26
- ]
27
- r"""Name of the Cribl product to list the Mapping Rulesets for"""
28
-
29
-
30
- class GetAdminProductsMappingsByProductResponseTypedDict(TypedDict):
31
- r"""a list of MappingRuleset objects"""
32
-
33
- count: NotRequired[int]
34
- r"""number of items present in the items array"""
35
- items: NotRequired[List[MappingRulesetTypedDict]]
36
-
37
-
38
- class GetAdminProductsMappingsByProductResponse(BaseModel):
39
- r"""a list of MappingRuleset objects"""
40
-
41
- count: Optional[int] = None
42
- r"""number of items present in the items array"""
43
-
44
- items: Optional[List[MappingRuleset]] = None
@@ -1,53 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from .mappingrulesetevalmappingfunction import (
5
- MappingRulesetEvalMappingFunction,
6
- MappingRulesetEvalMappingFunctionTypedDict,
7
- )
8
- from .mappingrulesetgenericmappingfunction import (
9
- MappingRulesetGenericMappingFunction,
10
- MappingRulesetGenericMappingFunctionTypedDict,
11
- )
12
- from cribl_control_plane.types import BaseModel
13
- from typing import List, Optional, Union
14
- from typing_extensions import NotRequired, TypeAliasType, TypedDict
15
-
16
-
17
- FunctionTypedDict = TypeAliasType(
18
- "FunctionTypedDict",
19
- Union[
20
- MappingRulesetGenericMappingFunctionTypedDict,
21
- MappingRulesetEvalMappingFunctionTypedDict,
22
- ],
23
- )
24
-
25
-
26
- Function = TypeAliasType(
27
- "Function",
28
- Union[MappingRulesetGenericMappingFunction, MappingRulesetEvalMappingFunction],
29
- )
30
-
31
-
32
- class MappingRulesetConfTypedDict(TypedDict):
33
- functions: NotRequired[List[FunctionTypedDict]]
34
- r"""List of functions to pass data through"""
35
-
36
-
37
- class MappingRulesetConf(BaseModel):
38
- functions: Optional[List[Function]] = None
39
- r"""List of functions to pass data through"""
40
-
41
-
42
- class MappingRulesetTypedDict(TypedDict):
43
- id: str
44
- conf: NotRequired[MappingRulesetConfTypedDict]
45
- active: NotRequired[bool]
46
-
47
-
48
- class MappingRuleset(BaseModel):
49
- id: str
50
-
51
- conf: Optional[MappingRulesetConf] = None
52
-
53
- active: Optional[bool] = None
@@ -1,71 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from __future__ import annotations
4
- from cribl_control_plane import utils
5
- from cribl_control_plane.types import BaseModel
6
- from cribl_control_plane.utils import validate_open_enum
7
- from enum import Enum
8
- import pydantic
9
- from pydantic.functional_validators import PlainValidator
10
- from typing import List, Optional
11
- from typing_extensions import Annotated, NotRequired, TypedDict
12
-
13
-
14
- class ID(str, Enum, metaclass=utils.OpenEnumMeta):
15
- r"""Unique function identifier."""
16
-
17
- EVAL = "eval"
18
-
19
-
20
- class AddTypedDict(TypedDict):
21
- value: str
22
- r"""JavaScript expression to compute the value (can be constant)"""
23
- name: NotRequired[str]
24
-
25
-
26
- class Add(BaseModel):
27
- value: str
28
- r"""JavaScript expression to compute the value (can be constant)"""
29
-
30
- name: Optional[str] = None
31
-
32
-
33
- class MappingRulesetEvalMappingFunctionConfTypedDict(TypedDict):
34
- add: NotRequired[List[AddTypedDict]]
35
- r"""Set of key-value pairs to evaluate and add/set"""
36
-
37
-
38
- class MappingRulesetEvalMappingFunctionConf(BaseModel):
39
- add: Optional[List[Add]] = None
40
- r"""Set of key-value pairs to evaluate and add/set"""
41
-
42
-
43
- class MappingRulesetEvalMappingFunctionTypedDict(TypedDict):
44
- id: ID
45
- r"""Unique function identifier."""
46
- filter_: NotRequired[str]
47
- r"""Filter expression controlling when this function runs"""
48
- description: NotRequired[str]
49
- r"""Optional function description"""
50
- disabled: NotRequired[bool]
51
- r"""Indicates whether the function is disabled"""
52
- final: NotRequired[bool]
53
- conf: NotRequired[MappingRulesetEvalMappingFunctionConfTypedDict]
54
-
55
-
56
- class MappingRulesetEvalMappingFunction(BaseModel):
57
- id: Annotated[ID, PlainValidator(validate_open_enum(False))]
58
- r"""Unique function identifier."""
59
-
60
- filter_: Annotated[Optional[str], pydantic.Field(alias="filter")] = None
61
- r"""Filter expression controlling when this function runs"""
62
-
63
- description: Optional[str] = None
64
- r"""Optional function description"""
65
-
66
- disabled: Optional[bool] = None
67
- r"""Indicates whether the function is disabled"""
68
-
69
- final: Optional[bool] = None
70
-
71
- conf: Optional[MappingRulesetEvalMappingFunctionConf] = None
@@ -1,29 +0,0 @@
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
- import pydantic
6
- from pydantic import ConfigDict
7
- from typing import Any, Dict
8
- from typing_extensions import TypedDict
9
-
10
-
11
- class MappingRulesetGenericMappingFunctionTypedDict(TypedDict):
12
- id: str
13
-
14
-
15
- class MappingRulesetGenericMappingFunction(BaseModel):
16
- model_config = ConfigDict(
17
- populate_by_name=True, arbitrary_types_allowed=True, extra="allow"
18
- )
19
- __pydantic_extra__: Dict[str, Any] = pydantic.Field(init=False)
20
-
21
- id: str
22
-
23
- @property
24
- def additional_properties(self):
25
- return self.__pydantic_extra__
26
-
27
- @additional_properties.setter
28
- def additional_properties(self, value):
29
- self.__pydantic_extra__ = value # pyright: ignore[reportIncompatibleVariableOverride]
@@ -1,13 +0,0 @@
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_extensions import TypedDict
6
-
7
-
8
- class RulesetIDTypedDict(TypedDict):
9
- id: str
10
-
11
-
12
- class RulesetID(BaseModel):
13
- id: str
@@ -1,63 +0,0 @@
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
- import pydantic
14
- from pydantic.functional_validators import PlainValidator
15
- from typing import List, Optional
16
- from typing_extensions import Annotated, NotRequired, TypedDict
17
-
18
-
19
- class UpdateAdminProductsMappingsByProductAndIDRequestTypedDict(TypedDict):
20
- product: ProductsCore
21
- r"""Name of the Cribl product to update the Mapping Ruleset for"""
22
- id_param: str
23
- r"""The <code>id</code> of the Mapping Ruleset to update."""
24
- mapping_ruleset: MappingRulesetTypedDict
25
- r"""MappingRuleset object"""
26
-
27
-
28
- class UpdateAdminProductsMappingsByProductAndIDRequest(BaseModel):
29
- product: Annotated[
30
- Annotated[ProductsCore, PlainValidator(validate_open_enum(False))],
31
- FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
32
- ]
33
- r"""Name of the Cribl product to update the Mapping Ruleset for"""
34
-
35
- id_param: Annotated[
36
- str,
37
- pydantic.Field(alias="id"),
38
- FieldMetadata(path=PathParamMetadata(style="simple", explode=False)),
39
- ]
40
- r"""The <code>id</code> of the Mapping Ruleset to update."""
41
-
42
- mapping_ruleset: Annotated[
43
- MappingRuleset,
44
- FieldMetadata(request=RequestMetadata(media_type="application/json")),
45
- ]
46
- r"""MappingRuleset object"""
47
-
48
-
49
- class UpdateAdminProductsMappingsByProductAndIDResponseTypedDict(TypedDict):
50
- r"""A list containing the updated Mapping Ruleset objects"""
51
-
52
- count: NotRequired[int]
53
- r"""number of items present in the items array"""
54
- items: NotRequired[List[MappingRulesetTypedDict]]
55
-
56
-
57
- class UpdateAdminProductsMappingsByProductAndIDResponse(BaseModel):
58
- r"""A list containing the updated Mapping Ruleset objects"""
59
-
60
- count: Optional[int] = None
61
- r"""number of items present in the items array"""
62
-
63
- items: Optional[List[MappingRuleset]] = None