cribl-control-plane 0.2.0b7__py3-none-any.whl → 0.2.0rc1__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 (143) hide show
  1. cribl_control_plane/_version.py +5 -3
  2. cribl_control_plane/groups_sdk.py +12 -12
  3. cribl_control_plane/models/__init__.py +27 -45
  4. cribl_control_plane/models/appmode.py +14 -0
  5. cribl_control_plane/models/authtoken.py +1 -8
  6. cribl_control_plane/models/configgroup.py +3 -29
  7. cribl_control_plane/models/createversionundoop.py +3 -3
  8. cribl_control_plane/models/distributedsummary.py +0 -6
  9. cribl_control_plane/models/hbcriblinfo.py +3 -14
  10. cribl_control_plane/models/heartbeatmetadata.py +0 -3
  11. cribl_control_plane/models/input.py +63 -65
  12. cribl_control_plane/models/inputappscope.py +0 -4
  13. cribl_control_plane/models/inputazureblob.py +0 -4
  14. cribl_control_plane/models/inputcollection.py +0 -4
  15. cribl_control_plane/models/inputconfluentcloud.py +18 -8
  16. cribl_control_plane/models/inputcribl.py +0 -4
  17. cribl_control_plane/models/inputcriblhttp.py +0 -4
  18. cribl_control_plane/models/inputcribllakehttp.py +0 -4
  19. cribl_control_plane/models/inputcriblmetrics.py +0 -4
  20. cribl_control_plane/models/inputcribltcp.py +0 -4
  21. cribl_control_plane/models/inputcrowdstrike.py +0 -7
  22. cribl_control_plane/models/inputdatadogagent.py +0 -4
  23. cribl_control_plane/models/inputdatagen.py +0 -4
  24. cribl_control_plane/models/inputedgeprometheus.py +0 -12
  25. cribl_control_plane/models/inputelastic.py +0 -11
  26. cribl_control_plane/models/inputeventhub.py +0 -6
  27. cribl_control_plane/models/inputexec.py +0 -4
  28. cribl_control_plane/models/inputfile.py +0 -6
  29. cribl_control_plane/models/inputfirehose.py +0 -4
  30. cribl_control_plane/models/inputgooglepubsub.py +0 -7
  31. cribl_control_plane/models/inputgrafana.py +0 -8
  32. cribl_control_plane/models/inputhttp.py +0 -4
  33. cribl_control_plane/models/inputhttpraw.py +0 -4
  34. cribl_control_plane/models/inputjournalfiles.py +0 -4
  35. cribl_control_plane/models/inputkafka.py +17 -8
  36. cribl_control_plane/models/inputkinesis.py +0 -15
  37. cribl_control_plane/models/inputkubeevents.py +0 -4
  38. cribl_control_plane/models/inputkubelogs.py +0 -4
  39. cribl_control_plane/models/inputkubemetrics.py +0 -4
  40. cribl_control_plane/models/inputloki.py +0 -4
  41. cribl_control_plane/models/inputmetrics.py +0 -4
  42. cribl_control_plane/models/inputmodeldriventelemetry.py +0 -4
  43. cribl_control_plane/models/inputmsk.py +17 -7
  44. cribl_control_plane/models/inputnetflow.py +0 -4
  45. cribl_control_plane/models/inputoffice365mgmt.py +0 -11
  46. cribl_control_plane/models/inputoffice365msgtrace.py +0 -11
  47. cribl_control_plane/models/inputoffice365service.py +0 -11
  48. cribl_control_plane/models/inputopentelemetry.py +0 -8
  49. cribl_control_plane/models/inputprometheus.py +0 -10
  50. cribl_control_plane/models/inputprometheusrw.py +0 -4
  51. cribl_control_plane/models/inputrawudp.py +0 -4
  52. cribl_control_plane/models/inputs3.py +0 -7
  53. cribl_control_plane/models/inputs3inventory.py +0 -7
  54. cribl_control_plane/models/inputsecuritylake.py +0 -7
  55. cribl_control_plane/models/inputsnmp.py +0 -11
  56. cribl_control_plane/models/inputsplunk.py +0 -9
  57. cribl_control_plane/models/inputsplunkhec.py +0 -4
  58. cribl_control_plane/models/inputsplunksearch.py +0 -7
  59. cribl_control_plane/models/inputsqs.py +0 -9
  60. cribl_control_plane/models/inputsyslog.py +0 -8
  61. cribl_control_plane/models/inputsystemmetrics.py +0 -32
  62. cribl_control_plane/models/inputsystemstate.py +0 -4
  63. cribl_control_plane/models/inputtcp.py +0 -4
  64. cribl_control_plane/models/inputtcpjson.py +0 -4
  65. cribl_control_plane/models/inputwef.py +0 -6
  66. cribl_control_plane/models/inputwindowsmetrics.py +0 -28
  67. cribl_control_plane/models/inputwineventlogs.py +0 -8
  68. cribl_control_plane/models/inputwiz.py +0 -7
  69. cribl_control_plane/models/inputwizwebhook.py +0 -4
  70. cribl_control_plane/models/inputzscalerhec.py +0 -4
  71. cribl_control_plane/models/jobinfo.py +1 -4
  72. cribl_control_plane/models/nodeprovidedinfo.py +1 -7
  73. cribl_control_plane/models/output.py +80 -85
  74. cribl_control_plane/models/outputazureblob.py +0 -20
  75. cribl_control_plane/models/outputazuredataexplorer.py +0 -28
  76. cribl_control_plane/models/outputazureeventhub.py +0 -17
  77. cribl_control_plane/models/outputazurelogs.py +0 -13
  78. cribl_control_plane/models/outputchronicle.py +0 -13
  79. cribl_control_plane/models/outputclickhouse.py +0 -17
  80. cribl_control_plane/models/outputcloudwatch.py +0 -13
  81. cribl_control_plane/models/outputconfluentcloud.py +18 -24
  82. cribl_control_plane/models/outputcriblhttp.py +0 -15
  83. cribl_control_plane/models/outputcribllake.py +0 -21
  84. cribl_control_plane/models/outputcribltcp.py +0 -12
  85. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +0 -15
  86. cribl_control_plane/models/outputdatadog.py +0 -30
  87. cribl_control_plane/models/outputdataset.py +0 -23
  88. cribl_control_plane/models/outputdls3.py +0 -35
  89. cribl_control_plane/models/outputdynatracehttp.py +0 -22
  90. cribl_control_plane/models/outputdynatraceotlp.py +0 -22
  91. cribl_control_plane/models/outputelastic.py +0 -18
  92. cribl_control_plane/models/outputelasticcloud.py +0 -13
  93. cribl_control_plane/models/outputexabeam.py +0 -14
  94. cribl_control_plane/models/outputfilesystem.py +0 -15
  95. cribl_control_plane/models/outputgooglechronicle.py +0 -21
  96. cribl_control_plane/models/outputgooglecloudlogging.py +0 -19
  97. cribl_control_plane/models/outputgooglecloudstorage.py +0 -28
  98. cribl_control_plane/models/outputgooglepubsub.py +0 -13
  99. cribl_control_plane/models/outputgrafanacloud.py +0 -50
  100. cribl_control_plane/models/outputgraphite.py +0 -12
  101. cribl_control_plane/models/outputhoneycomb.py +0 -13
  102. cribl_control_plane/models/outputhumiohec.py +0 -15
  103. cribl_control_plane/models/outputinfluxdb.py +0 -19
  104. cribl_control_plane/models/outputkafka.py +17 -24
  105. cribl_control_plane/models/outputkinesis.py +0 -15
  106. cribl_control_plane/models/outputloki.py +0 -20
  107. cribl_control_plane/models/outputminio.py +0 -28
  108. cribl_control_plane/models/outputmsk.py +17 -23
  109. cribl_control_plane/models/outputnewrelic.py +0 -16
  110. cribl_control_plane/models/outputnewrelicevents.py +0 -16
  111. cribl_control_plane/models/outputopentelemetry.py +0 -22
  112. cribl_control_plane/models/outputprometheus.py +0 -13
  113. cribl_control_plane/models/outputring.py +0 -2
  114. cribl_control_plane/models/outputs3.py +0 -35
  115. cribl_control_plane/models/outputsecuritylake.py +0 -29
  116. cribl_control_plane/models/outputsentinel.py +0 -15
  117. cribl_control_plane/models/outputsentineloneaisiem.py +0 -13
  118. cribl_control_plane/models/outputservicenow.py +0 -21
  119. cribl_control_plane/models/outputsignalfx.py +0 -13
  120. cribl_control_plane/models/outputsns.py +0 -13
  121. cribl_control_plane/models/outputsplunk.py +0 -15
  122. cribl_control_plane/models/outputsplunkhec.py +0 -13
  123. cribl_control_plane/models/outputsplunklb.py +0 -15
  124. cribl_control_plane/models/outputsqs.py +0 -15
  125. cribl_control_plane/models/outputstatsd.py +0 -12
  126. cribl_control_plane/models/outputstatsdext.py +0 -12
  127. cribl_control_plane/models/outputsumologic.py +0 -15
  128. cribl_control_plane/models/outputsyslog.py +0 -24
  129. cribl_control_plane/models/outputtcpjson.py +0 -12
  130. cribl_control_plane/models/outputwavefront.py +0 -13
  131. cribl_control_plane/models/outputwebhook.py +0 -23
  132. cribl_control_plane/models/outputxsiam.py +0 -13
  133. cribl_control_plane/models/packinfo.py +5 -8
  134. cribl_control_plane/models/packinstallinfo.py +5 -8
  135. cribl_control_plane/models/{uploadpackresponse.py → routecloneconf.py} +4 -4
  136. cribl_control_plane/models/routeconf.py +4 -3
  137. cribl_control_plane/models/runnablejobcollection.py +0 -4
  138. cribl_control_plane/packs.py +7 -202
  139. {cribl_control_plane-0.2.0b7.dist-info → cribl_control_plane-0.2.0rc1.dist-info}/METADATA +16 -39
  140. {cribl_control_plane-0.2.0b7.dist-info → cribl_control_plane-0.2.0rc1.dist-info}/RECORD +141 -142
  141. cribl_control_plane/models/outputdatabricks.py +0 -291
  142. cribl_control_plane/models/updatepacksop.py +0 -27
  143. {cribl_control_plane-0.2.0b7.dist-info → cribl_control_plane-0.2.0rc1.dist-info}/WHEEL +0 -0
@@ -29,18 +29,14 @@ class InputGrafanaConnection2(BaseModel):
29
29
  class InputGrafanaMode2(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputGrafanaCompression2(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -659,18 +655,14 @@ class InputGrafanaConnection1(BaseModel):
659
655
  class InputGrafanaMode1(str, Enum, metaclass=utils.OpenEnumMeta):
660
656
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
661
657
 
662
- # Smart
663
658
  SMART = "smart"
664
- # Always On
665
659
  ALWAYS = "always"
666
660
 
667
661
 
668
662
  class InputGrafanaCompression1(str, Enum, metaclass=utils.OpenEnumMeta):
669
663
  r"""Codec to use to compress the persisted data"""
670
664
 
671
- # None
672
665
  NONE = "none"
673
- # Gzip
674
666
  GZIP = "gzip"
675
667
 
676
668
 
@@ -29,18 +29,14 @@ class InputHTTPConnection(BaseModel):
29
29
  class InputHTTPMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputHTTPCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputHTTPRawConnection(BaseModel):
29
29
  class InputHTTPRawMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputHTTPRawCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputJournalFilesConnection(BaseModel):
29
29
  class InputJournalFilesMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputJournalFilesCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputKafkaConnection(BaseModel):
29
29
  class InputKafkaMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputKafkaCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -107,6 +103,13 @@ class InputKafkaPq(BaseModel):
107
103
  ] = None
108
104
 
109
105
 
106
+ class InputKafkaSchemaType(str, Enum, metaclass=utils.OpenEnumMeta):
107
+ r"""The schema format used to encode and decode event data"""
108
+
109
+ AVRO = "avro"
110
+ JSON = "json"
111
+
112
+
110
113
  class InputKafkaAuthTypedDict(TypedDict):
111
114
  r"""Credentials to use when authenticating with the schema registry using basic HTTP authentication"""
112
115
 
@@ -217,6 +220,8 @@ class InputKafkaKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
217
220
  disabled: NotRequired[bool]
218
221
  schema_registry_url: NotRequired[str]
219
222
  r"""URL for accessing the Confluent Schema Registry. Example: http://localhost:8081. To connect over TLS, use https instead of http."""
223
+ schema_type: NotRequired[InputKafkaSchemaType]
224
+ r"""The schema format used to encode and decode event data"""
220
225
  connection_timeout: NotRequired[float]
221
226
  r"""Maximum time to wait for a Schema Registry connection to complete successfully"""
222
227
  request_timeout: NotRequired[float]
@@ -236,6 +241,14 @@ class InputKafkaKafkaSchemaRegistryAuthentication(BaseModel):
236
241
  ] = "http://localhost:8081"
237
242
  r"""URL for accessing the Confluent Schema Registry. Example: http://localhost:8081. To connect over TLS, use https instead of http."""
238
243
 
244
+ schema_type: Annotated[
245
+ Annotated[
246
+ Optional[InputKafkaSchemaType], PlainValidator(validate_open_enum(False))
247
+ ],
248
+ pydantic.Field(alias="schemaType"),
249
+ ] = InputKafkaSchemaType.AVRO
250
+ r"""The schema format used to encode and decode event data"""
251
+
239
252
  connection_timeout: Annotated[
240
253
  Optional[float], pydantic.Field(alias="connectionTimeout")
241
254
  ] = 30000
@@ -256,13 +269,9 @@ class InputKafkaKafkaSchemaRegistryAuthentication(BaseModel):
256
269
 
257
270
 
258
271
  class InputKafkaSASLMechanism(str, Enum, metaclass=utils.OpenEnumMeta):
259
- # PLAIN
260
272
  PLAIN = "plain"
261
- # SCRAM-SHA-256
262
273
  SCRAM_SHA_256 = "scram-sha-256"
263
- # SCRAM-SHA-512
264
274
  SCRAM_SHA_512 = "scram-sha-512"
265
- # GSSAPI/Kerberos
266
275
  KERBEROS = "kerberos"
267
276
 
268
277
 
@@ -29,18 +29,14 @@ class InputKinesisConnection(BaseModel):
29
29
  class InputKinesisMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputKinesisCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -110,42 +106,31 @@ class InputKinesisPq(BaseModel):
110
106
  class ShardIteratorStart(str, Enum, metaclass=utils.OpenEnumMeta):
111
107
  r"""Location at which to start reading a shard for the first time"""
112
108
 
113
- # Earliest record
114
109
  TRIM_HORIZON = "TRIM_HORIZON"
115
- # Latest record
116
110
  LATEST = "LATEST"
117
111
 
118
112
 
119
113
  class InputKinesisRecordDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
120
114
  r"""Format of data inside the Kinesis Stream records. Gzip compression is automatically detected."""
121
115
 
122
- # Cribl
123
116
  CRIBL = "cribl"
124
- # Newline JSON
125
117
  NDJSON = "ndjson"
126
- # Cloudwatch Logs
127
118
  CLOUDWATCH = "cloudwatch"
128
- # Event per line
129
119
  LINE = "line"
130
120
 
131
121
 
132
122
  class ShardLoadBalancing(str, Enum, metaclass=utils.OpenEnumMeta):
133
123
  r"""The load-balancing algorithm to use for spreading out shards across Workers and Worker Processes"""
134
124
 
135
- # Consistent Hashing
136
125
  CONSISTENT_HASHING = "ConsistentHashing"
137
- # Round Robin
138
126
  ROUND_ROBIN = "RoundRobin"
139
127
 
140
128
 
141
129
  class InputKinesisAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
142
130
  r"""AWS authentication method. Choose Auto to use IAM roles."""
143
131
 
144
- # Auto
145
132
  AUTO = "auto"
146
- # Manual
147
133
  MANUAL = "manual"
148
- # Secret Key pair
149
134
  SECRET = "secret"
150
135
 
151
136
 
@@ -29,18 +29,14 @@ class InputKubeEventsConnection(BaseModel):
29
29
  class InputKubeEventsMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputKubeEventsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputKubeLogsConnection(BaseModel):
29
29
  class InputKubeLogsMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputKubeLogsPqCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputKubeMetricsConnection(BaseModel):
29
29
  class InputKubeMetricsMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputKubeMetricsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputLokiConnection(BaseModel):
29
29
  class InputLokiMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputLokiCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputMetricsConnection(BaseModel):
29
29
  class InputMetricsMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputMetricsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputModelDrivenTelemetryConnection(BaseModel):
29
29
  class InputModelDrivenTelemetryMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputModelDrivenTelemetryCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputMskConnection(BaseModel):
29
29
  class InputMskMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputMskCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -120,6 +116,13 @@ class InputMskMetadatum(BaseModel):
120
116
  r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
121
117
 
122
118
 
119
+ class InputMskSchemaType(str, Enum, metaclass=utils.OpenEnumMeta):
120
+ r"""The schema format used to encode and decode event data"""
121
+
122
+ AVRO = "avro"
123
+ JSON = "json"
124
+
125
+
123
126
  class InputMskAuthTypedDict(TypedDict):
124
127
  r"""Credentials to use when authenticating with the schema registry using basic HTTP authentication"""
125
128
 
@@ -230,6 +233,8 @@ class InputMskKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
230
233
  disabled: NotRequired[bool]
231
234
  schema_registry_url: NotRequired[str]
232
235
  r"""URL for accessing the Confluent Schema Registry. Example: http://localhost:8081. To connect over TLS, use https instead of http."""
236
+ schema_type: NotRequired[InputMskSchemaType]
237
+ r"""The schema format used to encode and decode event data"""
233
238
  connection_timeout: NotRequired[float]
234
239
  r"""Maximum time to wait for a Schema Registry connection to complete successfully"""
235
240
  request_timeout: NotRequired[float]
@@ -249,6 +254,14 @@ class InputMskKafkaSchemaRegistryAuthentication(BaseModel):
249
254
  ] = "http://localhost:8081"
250
255
  r"""URL for accessing the Confluent Schema Registry. Example: http://localhost:8081. To connect over TLS, use https instead of http."""
251
256
 
257
+ schema_type: Annotated[
258
+ Annotated[
259
+ Optional[InputMskSchemaType], PlainValidator(validate_open_enum(False))
260
+ ],
261
+ pydantic.Field(alias="schemaType"),
262
+ ] = InputMskSchemaType.AVRO
263
+ r"""The schema format used to encode and decode event data"""
264
+
252
265
  connection_timeout: Annotated[
253
266
  Optional[float], pydantic.Field(alias="connectionTimeout")
254
267
  ] = 30000
@@ -271,11 +284,8 @@ class InputMskKafkaSchemaRegistryAuthentication(BaseModel):
271
284
  class InputMskAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
272
285
  r"""AWS authentication method. Choose Auto to use IAM roles."""
273
286
 
274
- # Auto
275
287
  AUTO = "auto"
276
- # Manual
277
288
  MANUAL = "manual"
278
- # Secret Key pair
279
289
  SECRET = "secret"
280
290
 
281
291
 
@@ -29,18 +29,14 @@ class InputNetflowConnection(BaseModel):
29
29
  class InputNetflowMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputNetflowCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputOffice365MgmtConnection(BaseModel):
29
29
  class InputOffice365MgmtMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputOffice365MgmtCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -111,13 +107,9 @@ class InputOffice365MgmtPq(BaseModel):
111
107
  class InputOffice365MgmtSubscriptionPlan(str, Enum, metaclass=utils.OpenEnumMeta):
112
108
  r"""Office 365 subscription plan for your organization, typically Office 365 Enterprise"""
113
109
 
114
- # Office 365 Enterprise
115
110
  ENTERPRISE_GCC = "enterprise_gcc"
116
- # Office 365 GCC
117
111
  GCC = "gcc"
118
- # Office 365 GCC High
119
112
  GCC_HIGH = "gcc_high"
120
- # Office 365 DoD
121
113
  DOD = "dod"
122
114
 
123
115
 
@@ -178,11 +170,8 @@ class InputOffice365MgmtContentConfig(BaseModel):
178
170
  class InputOffice365MgmtRetryType(str, Enum, metaclass=utils.OpenEnumMeta):
179
171
  r"""The algorithm to use when performing HTTP retries"""
180
172
 
181
- # Disabled
182
173
  NONE = "none"
183
- # Backoff
184
174
  BACKOFF = "backoff"
185
- # Static
186
175
  STATIC = "static"
187
176
 
188
177
 
@@ -29,18 +29,14 @@ class InputOffice365MsgTraceConnection(BaseModel):
29
29
  class InputOffice365MsgTraceMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputOffice365MsgTraceCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -146,11 +142,8 @@ class InputOffice365MsgTraceMetadatum(BaseModel):
146
142
  class InputOffice365MsgTraceRetryType(str, Enum, metaclass=utils.OpenEnumMeta):
147
143
  r"""The algorithm to use when performing HTTP retries"""
148
144
 
149
- # Disabled
150
145
  NONE = "none"
151
- # Backoff
152
146
  BACKOFF = "backoff"
153
- # Static
154
147
  STATIC = "static"
155
148
 
156
149
 
@@ -211,13 +204,9 @@ class InputOffice365MsgTraceRetryRules(BaseModel):
211
204
  class InputOffice365MsgTraceSubscriptionPlan(str, Enum, metaclass=utils.OpenEnumMeta):
212
205
  r"""Office 365 subscription plan for your organization, typically Office 365 Enterprise"""
213
206
 
214
- # Office 365 Enterprise
215
207
  ENTERPRISE_GCC = "enterprise_gcc"
216
- # Office 365 GCC
217
208
  GCC = "gcc"
218
- # Office 365 GCC High
219
209
  GCC_HIGH = "gcc_high"
220
- # Office 365 DoD
221
210
  DOD = "dod"
222
211
 
223
212
 
@@ -29,18 +29,14 @@ class InputOffice365ServiceConnection(BaseModel):
29
29
  class InputOffice365ServiceMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputOffice365ServiceCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -111,13 +107,9 @@ class InputOffice365ServicePq(BaseModel):
111
107
  class InputOffice365ServiceSubscriptionPlan(str, Enum, metaclass=utils.OpenEnumMeta):
112
108
  r"""Office 365 subscription plan for your organization, typically Office 365 Enterprise"""
113
109
 
114
- # Office 365 Enterprise
115
110
  ENTERPRISE_GCC = "enterprise_gcc"
116
- # Office 365 GCC
117
111
  GCC = "gcc"
118
- # Office 365 GCC High
119
112
  GCC_HIGH = "gcc_high"
120
- # Office 365 DoD
121
113
  DOD = "dod"
122
114
 
123
115
 
@@ -178,11 +170,8 @@ class InputOffice365ServiceContentConfig(BaseModel):
178
170
  class InputOffice365ServiceRetryType(str, Enum, metaclass=utils.OpenEnumMeta):
179
171
  r"""The algorithm to use when performing HTTP retries"""
180
172
 
181
- # Disabled
182
173
  NONE = "none"
183
- # Backoff
184
174
  BACKOFF = "backoff"
185
- # Static
186
175
  STATIC = "static"
187
176
 
188
177
 
@@ -29,18 +29,14 @@ class InputOpenTelemetryConnection(BaseModel):
29
29
  class InputOpenTelemetryMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputOpenTelemetryCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -193,18 +189,14 @@ class InputOpenTelemetryTLSSettingsServerSide(BaseModel):
193
189
  class InputOpenTelemetryProtocol(str, Enum, metaclass=utils.OpenEnumMeta):
194
190
  r"""Select whether to leverage gRPC or HTTP for OpenTelemetry"""
195
191
 
196
- # gRPC
197
192
  GRPC = "grpc"
198
- # HTTP
199
193
  HTTP = "http"
200
194
 
201
195
 
202
196
  class InputOpenTelemetryOTLPVersion(str, Enum, metaclass=utils.OpenEnumMeta):
203
197
  r"""The version of OTLP Protobuf definitions to use when interpreting received data"""
204
198
 
205
- # 0.10.0
206
199
  ZERO_DOT_10_DOT_0 = "0.10.0"
207
- # 1.3.1
208
200
  ONE_DOT_3_DOT_1 = "1.3.1"
209
201
 
210
202
 
@@ -29,18 +29,14 @@ class InputPrometheusConnection(BaseModel):
29
29
  class InputPrometheusMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputPrometheusCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -110,11 +106,8 @@ class InputPrometheusPq(BaseModel):
110
106
  class InputPrometheusDiscoveryType(str, Enum, metaclass=utils.OpenEnumMeta):
111
107
  r"""Target discovery mechanism. Use static to manually enter a list of targets."""
112
108
 
113
- # Static
114
109
  STATIC = "static"
115
- # DNS
116
110
  DNS = "dns"
117
- # AWS EC2
118
111
  EC2 = "ec2"
119
112
 
120
113
 
@@ -184,11 +177,8 @@ class InputPrometheusAwsAuthenticationMethodAuthenticationMethod(
184
177
  ):
185
178
  r"""AWS authentication method. Choose Auto to use IAM roles."""
186
179
 
187
- # Auto
188
180
  AUTO = "auto"
189
- # Manual
190
181
  MANUAL = "manual"
191
- # Secret Key pair
192
182
  SECRET = "secret"
193
183
 
194
184
 
@@ -29,18 +29,14 @@ class InputPrometheusRwConnection(BaseModel):
29
29
  class InputPrometheusRwMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputPrometheusRwCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42