cribl-control-plane 0.0.38__py3-none-any.whl → 0.4.0a6__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/_hooks/clientcredentials.py +92 -42
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/acl.py +5 -3
- cribl_control_plane/auth_sdk.py +6 -3
- cribl_control_plane/basesdk.py +11 -1
- cribl_control_plane/commits.py +7 -5
- cribl_control_plane/destinations.py +6 -4
- cribl_control_plane/destinations_pq.py +2 -2
- cribl_control_plane/errors/__init__.py +23 -8
- cribl_control_plane/errors/apierror.py +2 -0
- cribl_control_plane/errors/criblcontrolplaneerror.py +11 -7
- cribl_control_plane/errors/error.py +4 -2
- cribl_control_plane/errors/healthserverstatus_error.py +41 -0
- cribl_control_plane/errors/no_response_error.py +5 -1
- cribl_control_plane/errors/responsevalidationerror.py +2 -0
- cribl_control_plane/groups_configs.py +8 -3
- cribl_control_plane/groups_sdk.py +64 -38
- cribl_control_plane/health.py +22 -12
- cribl_control_plane/httpclient.py +0 -1
- cribl_control_plane/lakedatasets.py +40 -12
- cribl_control_plane/models/__init__.py +1180 -54
- cribl_control_plane/models/authtoken.py +5 -1
- cribl_control_plane/models/{routecloneconf.py → branchinfo.py} +4 -4
- cribl_control_plane/models/cacheconnection.py +30 -2
- cribl_control_plane/models/cacheconnectionbackfillstatus.py +2 -1
- cribl_control_plane/models/cloudprovider.py +2 -1
- cribl_control_plane/models/configgroup.py +66 -11
- cribl_control_plane/models/configgroupcloud.py +17 -3
- cribl_control_plane/models/createconfiggroupbyproductop.py +27 -9
- cribl_control_plane/models/createinputhectokenbyidop.py +6 -5
- cribl_control_plane/models/createroutesappendbyidop.py +2 -2
- cribl_control_plane/models/createversionpushop.py +5 -5
- cribl_control_plane/models/createversionrevertop.py +2 -2
- cribl_control_plane/models/createversionundoop.py +3 -3
- cribl_control_plane/models/cribllakedataset.py +22 -2
- cribl_control_plane/models/cribllakedatasetupdate.py +95 -0
- cribl_control_plane/models/datasetmetadata.py +18 -2
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +18 -2
- cribl_control_plane/models/deleteoutputpqbyidop.py +5 -5
- cribl_control_plane/models/deletepipelinebyidop.py +2 -2
- cribl_control_plane/models/difffiles.py +171 -0
- cribl_control_plane/models/distributedsummary.py +6 -0
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +24 -2
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +24 -2
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +14 -1
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +18 -2
- cribl_control_plane/models/getoutputpqbyidop.py +6 -5
- cribl_control_plane/models/getpipelinebyidop.py +2 -2
- cribl_control_plane/models/getroutesbyidop.py +2 -2
- cribl_control_plane/models/getsummaryop.py +18 -2
- cribl_control_plane/models/getversionbranchop.py +6 -5
- cribl_control_plane/models/getversioncountop.py +6 -5
- cribl_control_plane/models/getversiondiffop.py +6 -5
- cribl_control_plane/models/getversionshowop.py +6 -5
- cribl_control_plane/models/gitcountresult.py +13 -0
- cribl_control_plane/models/gitdiffresult.py +16 -0
- cribl_control_plane/models/gitinfo.py +14 -3
- cribl_control_plane/models/gitshowresult.py +19 -0
- cribl_control_plane/models/groupcreaterequest.py +171 -0
- cribl_control_plane/models/hbcriblinfo.py +39 -3
- cribl_control_plane/models/healthserverstatus.py +55 -0
- cribl_control_plane/models/heartbeatmetadata.py +3 -0
- cribl_control_plane/models/input.py +83 -78
- cribl_control_plane/models/inputappscope.py +126 -30
- cribl_control_plane/models/inputazureblob.py +62 -6
- cribl_control_plane/models/inputcloudflarehec.py +513 -0
- cribl_control_plane/models/inputcollection.py +47 -4
- cribl_control_plane/models/inputconfluentcloud.py +254 -30
- cribl_control_plane/models/inputcribl.py +47 -4
- cribl_control_plane/models/inputcriblhttp.py +121 -30
- cribl_control_plane/models/inputcribllakehttp.py +122 -30
- cribl_control_plane/models/inputcriblmetrics.py +48 -4
- cribl_control_plane/models/inputcribltcp.py +122 -24
- cribl_control_plane/models/inputcrowdstrike.py +92 -10
- cribl_control_plane/models/inputdatadogagent.py +98 -24
- cribl_control_plane/models/inputdatagen.py +47 -4
- cribl_control_plane/models/inputedgeprometheus.py +210 -50
- cribl_control_plane/models/inputelastic.py +167 -36
- cribl_control_plane/models/inputeventhub.py +209 -6
- cribl_control_plane/models/inputexec.py +59 -6
- cribl_control_plane/models/inputfile.py +78 -10
- cribl_control_plane/models/inputfirehose.py +97 -24
- cribl_control_plane/models/inputgooglepubsub.py +67 -6
- cribl_control_plane/models/inputgrafana.py +251 -71
- cribl_control_plane/models/inputhttp.py +97 -24
- cribl_control_plane/models/inputhttpraw.py +97 -24
- cribl_control_plane/models/inputjournalfiles.py +48 -4
- cribl_control_plane/models/inputkafka.py +248 -26
- cribl_control_plane/models/inputkinesis.py +130 -14
- cribl_control_plane/models/inputkubeevents.py +47 -4
- cribl_control_plane/models/inputkubelogs.py +61 -8
- cribl_control_plane/models/inputkubemetrics.py +61 -8
- cribl_control_plane/models/inputloki.py +113 -34
- cribl_control_plane/models/inputmetrics.py +97 -24
- cribl_control_plane/models/inputmodeldriventelemetry.py +107 -26
- cribl_control_plane/models/inputmsk.py +141 -30
- cribl_control_plane/models/inputnetflow.py +47 -4
- cribl_control_plane/models/inputoffice365mgmt.py +112 -14
- cribl_control_plane/models/inputoffice365msgtrace.py +114 -16
- cribl_control_plane/models/inputoffice365service.py +114 -16
- cribl_control_plane/models/inputopentelemetry.py +143 -32
- cribl_control_plane/models/inputprometheus.py +193 -44
- cribl_control_plane/models/inputprometheusrw.py +114 -27
- cribl_control_plane/models/inputrawudp.py +47 -4
- cribl_control_plane/models/inputs3.py +78 -8
- cribl_control_plane/models/inputs3inventory.py +92 -10
- cribl_control_plane/models/inputsecuritylake.py +93 -10
- cribl_control_plane/models/inputsnmp.py +68 -6
- cribl_control_plane/models/inputsplunk.py +130 -28
- cribl_control_plane/models/inputsplunkhec.py +111 -25
- cribl_control_plane/models/inputsplunksearch.py +108 -14
- cribl_control_plane/models/inputsqs.py +99 -16
- cribl_control_plane/models/inputsyslog.py +189 -47
- cribl_control_plane/models/inputsystemmetrics.py +202 -32
- cribl_control_plane/models/inputsystemstate.py +61 -8
- cribl_control_plane/models/inputtcp.py +122 -26
- cribl_control_plane/models/inputtcpjson.py +112 -26
- cribl_control_plane/models/inputwef.py +121 -15
- cribl_control_plane/models/inputwindowsmetrics.py +186 -33
- cribl_control_plane/models/inputwineventlogs.py +93 -11
- cribl_control_plane/models/inputwiz.py +78 -8
- cribl_control_plane/models/inputwizwebhook.py +97 -24
- cribl_control_plane/models/inputzscalerhec.py +111 -25
- cribl_control_plane/models/jobinfo.py +34 -0
- cribl_control_plane/models/jobstatus.py +48 -0
- cribl_control_plane/models/lakedatasetmetrics.py +17 -0
- cribl_control_plane/models/lakehouseconnectiontype.py +2 -1
- cribl_control_plane/models/listconfiggroupbyproductop.py +14 -1
- cribl_control_plane/models/logininfo.py +3 -3
- cribl_control_plane/models/masterworkerentry.py +17 -2
- cribl_control_plane/models/nodeactiveupgradestatus.py +2 -1
- cribl_control_plane/models/nodefailedupgradestatus.py +2 -1
- cribl_control_plane/models/nodeprovidedinfo.py +11 -1
- cribl_control_plane/models/nodeskippedupgradestatus.py +2 -1
- cribl_control_plane/models/nodeupgradestate.py +2 -1
- cribl_control_plane/models/nodeupgradestatus.py +51 -5
- cribl_control_plane/models/outpostnodeinfo.py +16 -0
- cribl_control_plane/models/output.py +104 -90
- cribl_control_plane/models/outputazureblob.py +171 -18
- cribl_control_plane/models/outputazuredataexplorer.py +514 -90
- cribl_control_plane/models/outputazureeventhub.py +315 -31
- cribl_control_plane/models/outputazurelogs.py +145 -26
- cribl_control_plane/models/outputchronicle.py +532 -0
- cribl_control_plane/models/outputclickhouse.py +205 -34
- cribl_control_plane/models/outputcloudflarer2.py +632 -0
- cribl_control_plane/models/outputcloudwatch.py +129 -23
- cribl_control_plane/models/outputconfluentcloud.py +384 -57
- cribl_control_plane/models/outputcriblhttp.py +199 -32
- cribl_control_plane/models/outputcribllake.py +156 -16
- cribl_control_plane/models/outputcribltcp.py +194 -29
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +172 -28
- cribl_control_plane/models/outputdatabricks.py +501 -0
- cribl_control_plane/models/outputdatadog.py +199 -31
- cribl_control_plane/models/outputdataset.py +181 -29
- cribl_control_plane/models/outputdiskspool.py +17 -2
- cribl_control_plane/models/outputdls3.py +233 -24
- cribl_control_plane/models/outputdynatracehttp.py +208 -34
- cribl_control_plane/models/outputdynatraceotlp.py +210 -36
- cribl_control_plane/models/outputelastic.py +199 -30
- cribl_control_plane/models/outputelasticcloud.py +171 -26
- cribl_control_plane/models/outputexabeam.py +96 -10
- cribl_control_plane/models/outputfilesystem.py +139 -14
- cribl_control_plane/models/outputgooglechronicle.py +216 -35
- cribl_control_plane/models/outputgooglecloudlogging.py +174 -31
- cribl_control_plane/models/outputgooglecloudstorage.py +215 -24
- cribl_control_plane/models/outputgooglepubsub.py +131 -23
- cribl_control_plane/models/outputgrafanacloud.py +376 -74
- cribl_control_plane/models/outputgraphite.py +128 -25
- cribl_control_plane/models/outputhoneycomb.py +145 -26
- cribl_control_plane/models/outputhumiohec.py +162 -28
- cribl_control_plane/models/outputinfluxdb.py +165 -28
- cribl_control_plane/models/outputkafka.py +375 -52
- cribl_control_plane/models/outputkinesis.py +165 -27
- cribl_control_plane/models/outputloki.py +164 -34
- cribl_control_plane/models/outputmicrosoftfabric.py +540 -0
- cribl_control_plane/models/outputminio.py +225 -25
- cribl_control_plane/models/outputmsk.py +267 -54
- cribl_control_plane/models/outputnewrelic.py +171 -29
- cribl_control_plane/models/outputnewrelicevents.py +163 -28
- cribl_control_plane/models/outputopentelemetry.py +240 -40
- cribl_control_plane/models/outputprometheus.py +145 -26
- cribl_control_plane/models/outputring.py +49 -8
- cribl_control_plane/models/outputs3.py +233 -26
- cribl_control_plane/models/outputsecuritylake.py +179 -18
- cribl_control_plane/models/outputsentinel.py +172 -29
- cribl_control_plane/models/outputsentineloneaisiem.py +181 -35
- cribl_control_plane/models/outputservicenow.py +223 -38
- cribl_control_plane/models/outputsignalfx.py +145 -26
- cribl_control_plane/models/outputsns.py +143 -25
- cribl_control_plane/models/outputsplunk.py +206 -36
- cribl_control_plane/models/outputsplunkhec.py +238 -26
- cribl_control_plane/models/outputsplunklb.py +253 -43
- cribl_control_plane/models/outputsqs.py +163 -33
- cribl_control_plane/models/outputstatsd.py +127 -25
- cribl_control_plane/models/outputstatsdext.py +128 -25
- cribl_control_plane/models/outputsumologic.py +146 -25
- cribl_control_plane/models/outputsyslog.py +318 -46
- cribl_control_plane/models/outputtcpjson.py +186 -32
- cribl_control_plane/models/outputwavefront.py +145 -26
- cribl_control_plane/models/outputwebhook.py +211 -33
- cribl_control_plane/models/outputxsiam.py +143 -26
- cribl_control_plane/models/packinfo.py +8 -5
- cribl_control_plane/models/packinstallinfo.py +11 -8
- cribl_control_plane/models/productscore.py +2 -1
- cribl_control_plane/models/rbacresource.py +2 -1
- cribl_control_plane/models/resourcepolicy.py +15 -2
- cribl_control_plane/models/routeconf.py +3 -4
- cribl_control_plane/models/runnablejob.py +27 -0
- cribl_control_plane/models/runnablejobcollection.py +669 -0
- cribl_control_plane/models/runnablejobexecutor.py +368 -0
- cribl_control_plane/models/runnablejobscheduledsearch.py +286 -0
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +19 -2
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +19 -2
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +9 -5
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +6 -5
- cribl_control_plane/models/updatepacksop.py +25 -0
- cribl_control_plane/models/updatepipelinebyidop.py +6 -6
- cribl_control_plane/models/updateroutesbyidop.py +2 -2
- cribl_control_plane/models/uploadpackresponse.py +13 -0
- cribl_control_plane/models/workertypes.py +2 -1
- cribl_control_plane/nodes.py +5 -3
- cribl_control_plane/packs.py +202 -7
- cribl_control_plane/pipelines.py +18 -18
- cribl_control_plane/routes_sdk.py +22 -22
- cribl_control_plane/sdk.py +19 -6
- cribl_control_plane/sources.py +5 -3
- cribl_control_plane/tokens.py +23 -15
- cribl_control_plane/utils/__init__.py +15 -3
- cribl_control_plane/utils/annotations.py +32 -8
- cribl_control_plane/utils/eventstreaming.py +10 -0
- cribl_control_plane/utils/retries.py +69 -5
- cribl_control_plane/utils/unmarshal_json_response.py +15 -1
- cribl_control_plane/versions.py +11 -6
- {cribl_control_plane-0.0.38.dist-info → cribl_control_plane-0.4.0a6.dist-info}/METADATA +69 -23
- cribl_control_plane-0.4.0a6.dist-info/RECORD +336 -0
- {cribl_control_plane-0.0.38.dist-info → cribl_control_plane-0.4.0a6.dist-info}/WHEEL +1 -1
- cribl_control_plane-0.4.0a6.dist-info/licenses/LICENSE +201 -0
- cribl_control_plane/errors/healthstatus_error.py +0 -32
- cribl_control_plane/models/appmode.py +0 -13
- cribl_control_plane/models/healthstatus.py +0 -33
- cribl_control_plane-0.0.38.dist-info/RECORD +0 -315
|
@@ -18,14 +18,16 @@ class GroupsSDK(BaseSDK):
|
|
|
18
18
|
configs: GroupsConfigs
|
|
19
19
|
acl: ACL
|
|
20
20
|
|
|
21
|
-
def __init__(
|
|
22
|
-
|
|
21
|
+
def __init__(
|
|
22
|
+
self, sdk_config: SDKConfiguration, parent_ref: Optional[object] = None
|
|
23
|
+
) -> None:
|
|
24
|
+
BaseSDK.__init__(self, sdk_config, parent_ref=parent_ref)
|
|
23
25
|
self.sdk_configuration = sdk_config
|
|
24
26
|
self._init_sdks()
|
|
25
27
|
|
|
26
28
|
def _init_sdks(self):
|
|
27
|
-
self.configs = GroupsConfigs(self.sdk_configuration)
|
|
28
|
-
self.acl = ACL(self.sdk_configuration)
|
|
29
|
+
self.configs = GroupsConfigs(self.sdk_configuration, parent_ref=self.parent_ref)
|
|
30
|
+
self.acl = ACL(self.sdk_configuration, parent_ref=self.parent_ref)
|
|
29
31
|
|
|
30
32
|
def list(
|
|
31
33
|
self,
|
|
@@ -215,15 +217,18 @@ class GroupsSDK(BaseSDK):
|
|
|
215
217
|
self,
|
|
216
218
|
*,
|
|
217
219
|
product: models.ProductsCore,
|
|
218
|
-
config_version: str,
|
|
219
220
|
id: str,
|
|
220
221
|
cloud: Optional[
|
|
221
222
|
Union[models.ConfigGroupCloud, models.ConfigGroupCloudTypedDict]
|
|
222
223
|
] = None,
|
|
223
224
|
deploying_worker_count: Optional[float] = None,
|
|
224
225
|
description: Optional[str] = None,
|
|
225
|
-
estimated_ingest_rate: Optional[
|
|
226
|
-
|
|
226
|
+
estimated_ingest_rate: Optional[
|
|
227
|
+
models.GroupCreateRequestEstimatedIngestRate
|
|
228
|
+
] = None,
|
|
229
|
+
git: Optional[
|
|
230
|
+
Union[models.GroupCreateRequestGit, models.GroupCreateRequestGitTypedDict]
|
|
231
|
+
] = None,
|
|
227
232
|
incompatible_worker_count: Optional[float] = None,
|
|
228
233
|
inherits: Optional[str] = None,
|
|
229
234
|
is_fleet: Optional[bool] = None,
|
|
@@ -238,9 +243,10 @@ class GroupsSDK(BaseSDK):
|
|
|
238
243
|
name: Optional[str] = None,
|
|
239
244
|
on_prem: Optional[bool] = None,
|
|
240
245
|
provisioned: Optional[bool] = None,
|
|
246
|
+
source_group_id: Optional[str] = None,
|
|
241
247
|
streamtags: Optional[List[str]] = None,
|
|
242
248
|
tags: Optional[str] = None,
|
|
243
|
-
type_: Optional[models.
|
|
249
|
+
type_: Optional[models.GroupCreateRequestType] = None,
|
|
244
250
|
upgrade_version: Optional[str] = None,
|
|
245
251
|
worker_count: Optional[float] = None,
|
|
246
252
|
worker_remote_access: Optional[bool] = None,
|
|
@@ -253,13 +259,12 @@ class GroupsSDK(BaseSDK):
|
|
|
253
259
|
|
|
254
260
|
Create a new Worker Group or Edge Fleet for the specified Cribl product.
|
|
255
261
|
|
|
256
|
-
:param product: Name of the Cribl product to add the Worker Group or Edge Fleet to.
|
|
257
|
-
:param config_version:
|
|
262
|
+
:param product: required Name of the Cribl product to add the Worker Group or Edge Fleet to.
|
|
258
263
|
:param id:
|
|
259
264
|
:param cloud:
|
|
260
265
|
:param deploying_worker_count:
|
|
261
266
|
:param description:
|
|
262
|
-
:param estimated_ingest_rate:
|
|
267
|
+
:param estimated_ingest_rate: Maximum expected volume of data ingested by the @{group}. (This setting is available only on @{group}s consisting of Cribl-managed Cribl.Cloud @{node}s.)
|
|
263
268
|
:param git:
|
|
264
269
|
:param incompatible_worker_count:
|
|
265
270
|
:param inherits:
|
|
@@ -270,6 +275,7 @@ class GroupsSDK(BaseSDK):
|
|
|
270
275
|
:param name:
|
|
271
276
|
:param on_prem:
|
|
272
277
|
:param provisioned:
|
|
278
|
+
:param source_group_id:
|
|
273
279
|
:param streamtags:
|
|
274
280
|
:param tags:
|
|
275
281
|
:param type:
|
|
@@ -293,15 +299,16 @@ class GroupsSDK(BaseSDK):
|
|
|
293
299
|
|
|
294
300
|
request = models.CreateConfigGroupByProductRequest(
|
|
295
301
|
product=product,
|
|
296
|
-
|
|
302
|
+
group_create_request=models.GroupCreateRequest(
|
|
297
303
|
cloud=utils.get_pydantic_model(
|
|
298
304
|
cloud, Optional[models.ConfigGroupCloud]
|
|
299
305
|
),
|
|
300
|
-
config_version=config_version,
|
|
301
306
|
deploying_worker_count=deploying_worker_count,
|
|
302
307
|
description=description,
|
|
303
308
|
estimated_ingest_rate=estimated_ingest_rate,
|
|
304
|
-
git=utils.get_pydantic_model(
|
|
309
|
+
git=utils.get_pydantic_model(
|
|
310
|
+
git, Optional[models.GroupCreateRequestGit]
|
|
311
|
+
),
|
|
305
312
|
id=id,
|
|
306
313
|
incompatible_worker_count=incompatible_worker_count,
|
|
307
314
|
inherits=inherits,
|
|
@@ -314,6 +321,7 @@ class GroupsSDK(BaseSDK):
|
|
|
314
321
|
name=name,
|
|
315
322
|
on_prem=on_prem,
|
|
316
323
|
provisioned=provisioned,
|
|
324
|
+
source_group_id=source_group_id,
|
|
317
325
|
streamtags=streamtags,
|
|
318
326
|
tags=tags,
|
|
319
327
|
type=type_,
|
|
@@ -337,7 +345,11 @@ class GroupsSDK(BaseSDK):
|
|
|
337
345
|
http_headers=http_headers,
|
|
338
346
|
security=self.sdk_configuration.security,
|
|
339
347
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
340
|
-
request.
|
|
348
|
+
request.group_create_request,
|
|
349
|
+
False,
|
|
350
|
+
False,
|
|
351
|
+
"json",
|
|
352
|
+
models.GroupCreateRequest,
|
|
341
353
|
),
|
|
342
354
|
timeout_ms=timeout_ms,
|
|
343
355
|
)
|
|
@@ -386,15 +398,18 @@ class GroupsSDK(BaseSDK):
|
|
|
386
398
|
self,
|
|
387
399
|
*,
|
|
388
400
|
product: models.ProductsCore,
|
|
389
|
-
config_version: str,
|
|
390
401
|
id: str,
|
|
391
402
|
cloud: Optional[
|
|
392
403
|
Union[models.ConfigGroupCloud, models.ConfigGroupCloudTypedDict]
|
|
393
404
|
] = None,
|
|
394
405
|
deploying_worker_count: Optional[float] = None,
|
|
395
406
|
description: Optional[str] = None,
|
|
396
|
-
estimated_ingest_rate: Optional[
|
|
397
|
-
|
|
407
|
+
estimated_ingest_rate: Optional[
|
|
408
|
+
models.GroupCreateRequestEstimatedIngestRate
|
|
409
|
+
] = None,
|
|
410
|
+
git: Optional[
|
|
411
|
+
Union[models.GroupCreateRequestGit, models.GroupCreateRequestGitTypedDict]
|
|
412
|
+
] = None,
|
|
398
413
|
incompatible_worker_count: Optional[float] = None,
|
|
399
414
|
inherits: Optional[str] = None,
|
|
400
415
|
is_fleet: Optional[bool] = None,
|
|
@@ -409,9 +424,10 @@ class GroupsSDK(BaseSDK):
|
|
|
409
424
|
name: Optional[str] = None,
|
|
410
425
|
on_prem: Optional[bool] = None,
|
|
411
426
|
provisioned: Optional[bool] = None,
|
|
427
|
+
source_group_id: Optional[str] = None,
|
|
412
428
|
streamtags: Optional[List[str]] = None,
|
|
413
429
|
tags: Optional[str] = None,
|
|
414
|
-
type_: Optional[models.
|
|
430
|
+
type_: Optional[models.GroupCreateRequestType] = None,
|
|
415
431
|
upgrade_version: Optional[str] = None,
|
|
416
432
|
worker_count: Optional[float] = None,
|
|
417
433
|
worker_remote_access: Optional[bool] = None,
|
|
@@ -424,13 +440,12 @@ class GroupsSDK(BaseSDK):
|
|
|
424
440
|
|
|
425
441
|
Create a new Worker Group or Edge Fleet for the specified Cribl product.
|
|
426
442
|
|
|
427
|
-
:param product: Name of the Cribl product to add the Worker Group or Edge Fleet to.
|
|
428
|
-
:param config_version:
|
|
443
|
+
:param product: required Name of the Cribl product to add the Worker Group or Edge Fleet to.
|
|
429
444
|
:param id:
|
|
430
445
|
:param cloud:
|
|
431
446
|
:param deploying_worker_count:
|
|
432
447
|
:param description:
|
|
433
|
-
:param estimated_ingest_rate:
|
|
448
|
+
:param estimated_ingest_rate: Maximum expected volume of data ingested by the @{group}. (This setting is available only on @{group}s consisting of Cribl-managed Cribl.Cloud @{node}s.)
|
|
434
449
|
:param git:
|
|
435
450
|
:param incompatible_worker_count:
|
|
436
451
|
:param inherits:
|
|
@@ -441,6 +456,7 @@ class GroupsSDK(BaseSDK):
|
|
|
441
456
|
:param name:
|
|
442
457
|
:param on_prem:
|
|
443
458
|
:param provisioned:
|
|
459
|
+
:param source_group_id:
|
|
444
460
|
:param streamtags:
|
|
445
461
|
:param tags:
|
|
446
462
|
:param type:
|
|
@@ -464,15 +480,16 @@ class GroupsSDK(BaseSDK):
|
|
|
464
480
|
|
|
465
481
|
request = models.CreateConfigGroupByProductRequest(
|
|
466
482
|
product=product,
|
|
467
|
-
|
|
483
|
+
group_create_request=models.GroupCreateRequest(
|
|
468
484
|
cloud=utils.get_pydantic_model(
|
|
469
485
|
cloud, Optional[models.ConfigGroupCloud]
|
|
470
486
|
),
|
|
471
|
-
config_version=config_version,
|
|
472
487
|
deploying_worker_count=deploying_worker_count,
|
|
473
488
|
description=description,
|
|
474
489
|
estimated_ingest_rate=estimated_ingest_rate,
|
|
475
|
-
git=utils.get_pydantic_model(
|
|
490
|
+
git=utils.get_pydantic_model(
|
|
491
|
+
git, Optional[models.GroupCreateRequestGit]
|
|
492
|
+
),
|
|
476
493
|
id=id,
|
|
477
494
|
incompatible_worker_count=incompatible_worker_count,
|
|
478
495
|
inherits=inherits,
|
|
@@ -485,6 +502,7 @@ class GroupsSDK(BaseSDK):
|
|
|
485
502
|
name=name,
|
|
486
503
|
on_prem=on_prem,
|
|
487
504
|
provisioned=provisioned,
|
|
505
|
+
source_group_id=source_group_id,
|
|
488
506
|
streamtags=streamtags,
|
|
489
507
|
tags=tags,
|
|
490
508
|
type=type_,
|
|
@@ -508,7 +526,11 @@ class GroupsSDK(BaseSDK):
|
|
|
508
526
|
http_headers=http_headers,
|
|
509
527
|
security=self.sdk_configuration.security,
|
|
510
528
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
511
|
-
request.
|
|
529
|
+
request.group_create_request,
|
|
530
|
+
False,
|
|
531
|
+
False,
|
|
532
|
+
"json",
|
|
533
|
+
models.GroupCreateRequest,
|
|
512
534
|
),
|
|
513
535
|
timeout_ms=timeout_ms,
|
|
514
536
|
)
|
|
@@ -748,15 +770,17 @@ class GroupsSDK(BaseSDK):
|
|
|
748
770
|
*,
|
|
749
771
|
product: models.ProductsCore,
|
|
750
772
|
id_param: str,
|
|
751
|
-
config_version: str,
|
|
752
773
|
id: str,
|
|
753
774
|
cloud: Optional[
|
|
754
775
|
Union[models.ConfigGroupCloud, models.ConfigGroupCloudTypedDict]
|
|
755
776
|
] = None,
|
|
777
|
+
config_version: Optional[str] = None,
|
|
756
778
|
deploying_worker_count: Optional[float] = None,
|
|
757
779
|
description: Optional[str] = None,
|
|
758
|
-
estimated_ingest_rate: Optional[
|
|
759
|
-
git: Optional[
|
|
780
|
+
estimated_ingest_rate: Optional[models.ConfigGroupEstimatedIngestRate] = None,
|
|
781
|
+
git: Optional[
|
|
782
|
+
Union[models.ConfigGroupGit, models.ConfigGroupGitTypedDict]
|
|
783
|
+
] = None,
|
|
760
784
|
incompatible_worker_count: Optional[float] = None,
|
|
761
785
|
inherits: Optional[str] = None,
|
|
762
786
|
is_fleet: Optional[bool] = None,
|
|
@@ -788,12 +812,12 @@ class GroupsSDK(BaseSDK):
|
|
|
788
812
|
|
|
789
813
|
:param product: Name of the Cribl product to get the Worker Groups or Edge Fleets for.
|
|
790
814
|
:param id_param: The <code>id</code> of the Worker Group or Edge Fleet to update.
|
|
791
|
-
:param config_version:
|
|
792
815
|
:param id:
|
|
793
816
|
:param cloud:
|
|
817
|
+
:param config_version:
|
|
794
818
|
:param deploying_worker_count:
|
|
795
819
|
:param description:
|
|
796
|
-
:param estimated_ingest_rate:
|
|
820
|
+
:param estimated_ingest_rate: Maximum expected volume of data ingested by the @{group}. (This setting is available only on @{group}s consisting of Cribl-managed Cribl.Cloud @{node}s.)
|
|
797
821
|
:param git:
|
|
798
822
|
:param incompatible_worker_count:
|
|
799
823
|
:param inherits:
|
|
@@ -836,7 +860,7 @@ class GroupsSDK(BaseSDK):
|
|
|
836
860
|
deploying_worker_count=deploying_worker_count,
|
|
837
861
|
description=description,
|
|
838
862
|
estimated_ingest_rate=estimated_ingest_rate,
|
|
839
|
-
git=utils.get_pydantic_model(git, Optional[models.
|
|
863
|
+
git=utils.get_pydantic_model(git, Optional[models.ConfigGroupGit]),
|
|
840
864
|
id=id,
|
|
841
865
|
incompatible_worker_count=incompatible_worker_count,
|
|
842
866
|
inherits=inherits,
|
|
@@ -922,15 +946,17 @@ class GroupsSDK(BaseSDK):
|
|
|
922
946
|
*,
|
|
923
947
|
product: models.ProductsCore,
|
|
924
948
|
id_param: str,
|
|
925
|
-
config_version: str,
|
|
926
949
|
id: str,
|
|
927
950
|
cloud: Optional[
|
|
928
951
|
Union[models.ConfigGroupCloud, models.ConfigGroupCloudTypedDict]
|
|
929
952
|
] = None,
|
|
953
|
+
config_version: Optional[str] = None,
|
|
930
954
|
deploying_worker_count: Optional[float] = None,
|
|
931
955
|
description: Optional[str] = None,
|
|
932
|
-
estimated_ingest_rate: Optional[
|
|
933
|
-
git: Optional[
|
|
956
|
+
estimated_ingest_rate: Optional[models.ConfigGroupEstimatedIngestRate] = None,
|
|
957
|
+
git: Optional[
|
|
958
|
+
Union[models.ConfigGroupGit, models.ConfigGroupGitTypedDict]
|
|
959
|
+
] = None,
|
|
934
960
|
incompatible_worker_count: Optional[float] = None,
|
|
935
961
|
inherits: Optional[str] = None,
|
|
936
962
|
is_fleet: Optional[bool] = None,
|
|
@@ -962,12 +988,12 @@ class GroupsSDK(BaseSDK):
|
|
|
962
988
|
|
|
963
989
|
:param product: Name of the Cribl product to get the Worker Groups or Edge Fleets for.
|
|
964
990
|
:param id_param: The <code>id</code> of the Worker Group or Edge Fleet to update.
|
|
965
|
-
:param config_version:
|
|
966
991
|
:param id:
|
|
967
992
|
:param cloud:
|
|
993
|
+
:param config_version:
|
|
968
994
|
:param deploying_worker_count:
|
|
969
995
|
:param description:
|
|
970
|
-
:param estimated_ingest_rate:
|
|
996
|
+
:param estimated_ingest_rate: Maximum expected volume of data ingested by the @{group}. (This setting is available only on @{group}s consisting of Cribl-managed Cribl.Cloud @{node}s.)
|
|
971
997
|
:param git:
|
|
972
998
|
:param incompatible_worker_count:
|
|
973
999
|
:param inherits:
|
|
@@ -1010,7 +1036,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1010
1036
|
deploying_worker_count=deploying_worker_count,
|
|
1011
1037
|
description=description,
|
|
1012
1038
|
estimated_ingest_rate=estimated_ingest_rate,
|
|
1013
|
-
git=utils.get_pydantic_model(git, Optional[models.
|
|
1039
|
+
git=utils.get_pydantic_model(git, Optional[models.ConfigGroupGit]),
|
|
1014
1040
|
id=id,
|
|
1015
1041
|
incompatible_worker_count=incompatible_worker_count,
|
|
1016
1042
|
inherits=inherits,
|
cribl_control_plane/health.py
CHANGED
|
@@ -18,9 +18,11 @@ class Health(BaseSDK):
|
|
|
18
18
|
server_url: Optional[str] = None,
|
|
19
19
|
timeout_ms: Optional[int] = None,
|
|
20
20
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
21
|
-
) -> models.
|
|
21
|
+
) -> models.HealthServerStatus:
|
|
22
22
|
r"""Retrieve health status of the server
|
|
23
23
|
|
|
24
|
+
Get the current health status of the server.
|
|
25
|
+
|
|
24
26
|
:param retries: Override the default retry configuration for this method
|
|
25
27
|
:param server_url: Override the default server URL for this method
|
|
26
28
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -62,23 +64,26 @@ class Health(BaseSDK):
|
|
|
62
64
|
hook_ctx=HookContext(
|
|
63
65
|
config=self.sdk_configuration,
|
|
64
66
|
base_url=base_url or "",
|
|
65
|
-
operation_id="
|
|
67
|
+
operation_id="getHealth",
|
|
66
68
|
oauth2_scopes=[],
|
|
67
69
|
security_source=None,
|
|
68
70
|
),
|
|
69
71
|
request=req,
|
|
70
|
-
error_status_codes=["420", "4XX", "5XX"],
|
|
72
|
+
error_status_codes=["420", "4XX", "500", "5XX"],
|
|
71
73
|
retry_config=retry_config,
|
|
72
74
|
)
|
|
73
75
|
|
|
74
76
|
response_data: Any = None
|
|
75
77
|
if utils.match_response(http_res, "200", "application/json"):
|
|
76
|
-
return unmarshal_json_response(models.
|
|
78
|
+
return unmarshal_json_response(models.HealthServerStatus, http_res)
|
|
77
79
|
if utils.match_response(http_res, "420", "application/json"):
|
|
78
80
|
response_data = unmarshal_json_response(
|
|
79
|
-
errors.
|
|
81
|
+
errors.HealthServerStatusErrorData, http_res
|
|
80
82
|
)
|
|
81
|
-
raise errors.
|
|
83
|
+
raise errors.HealthServerStatusError(response_data, http_res)
|
|
84
|
+
if utils.match_response(http_res, "500", "application/json"):
|
|
85
|
+
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
86
|
+
raise errors.Error(response_data, http_res)
|
|
82
87
|
if utils.match_response(http_res, "4XX", "*"):
|
|
83
88
|
http_res_text = utils.stream_to_text(http_res)
|
|
84
89
|
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
@@ -95,9 +100,11 @@ class Health(BaseSDK):
|
|
|
95
100
|
server_url: Optional[str] = None,
|
|
96
101
|
timeout_ms: Optional[int] = None,
|
|
97
102
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
98
|
-
) -> models.
|
|
103
|
+
) -> models.HealthServerStatus:
|
|
99
104
|
r"""Retrieve health status of the server
|
|
100
105
|
|
|
106
|
+
Get the current health status of the server.
|
|
107
|
+
|
|
101
108
|
:param retries: Override the default retry configuration for this method
|
|
102
109
|
:param server_url: Override the default server URL for this method
|
|
103
110
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -139,23 +146,26 @@ class Health(BaseSDK):
|
|
|
139
146
|
hook_ctx=HookContext(
|
|
140
147
|
config=self.sdk_configuration,
|
|
141
148
|
base_url=base_url or "",
|
|
142
|
-
operation_id="
|
|
149
|
+
operation_id="getHealth",
|
|
143
150
|
oauth2_scopes=[],
|
|
144
151
|
security_source=None,
|
|
145
152
|
),
|
|
146
153
|
request=req,
|
|
147
|
-
error_status_codes=["420", "4XX", "5XX"],
|
|
154
|
+
error_status_codes=["420", "4XX", "500", "5XX"],
|
|
148
155
|
retry_config=retry_config,
|
|
149
156
|
)
|
|
150
157
|
|
|
151
158
|
response_data: Any = None
|
|
152
159
|
if utils.match_response(http_res, "200", "application/json"):
|
|
153
|
-
return unmarshal_json_response(models.
|
|
160
|
+
return unmarshal_json_response(models.HealthServerStatus, http_res)
|
|
154
161
|
if utils.match_response(http_res, "420", "application/json"):
|
|
155
162
|
response_data = unmarshal_json_response(
|
|
156
|
-
errors.
|
|
163
|
+
errors.HealthServerStatusErrorData, http_res
|
|
157
164
|
)
|
|
158
|
-
raise errors.
|
|
165
|
+
raise errors.HealthServerStatusError(response_data, http_res)
|
|
166
|
+
if utils.match_response(http_res, "500", "application/json"):
|
|
167
|
+
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
168
|
+
raise errors.Error(response_data, http_res)
|
|
159
169
|
if utils.match_response(http_res, "4XX", "*"):
|
|
160
170
|
http_res_text = await utils.stream_to_text_async(http_res)
|
|
161
171
|
raise errors.APIError("API error occurred", http_res, http_res_text)
|
|
@@ -24,6 +24,9 @@ class LakeDatasets(BaseSDK):
|
|
|
24
24
|
description: Optional[str] = None,
|
|
25
25
|
format_: Optional[models.CriblLakeDatasetFormat] = None,
|
|
26
26
|
http_da_used: Optional[bool] = None,
|
|
27
|
+
metrics: Optional[
|
|
28
|
+
Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
|
|
29
|
+
] = None,
|
|
27
30
|
retention_period_in_days: Optional[float] = None,
|
|
28
31
|
search_config: Optional[
|
|
29
32
|
Union[
|
|
@@ -50,6 +53,7 @@ class LakeDatasets(BaseSDK):
|
|
|
50
53
|
:param description:
|
|
51
54
|
:param format_:
|
|
52
55
|
:param http_da_used:
|
|
56
|
+
:param metrics:
|
|
53
57
|
:param retention_period_in_days:
|
|
54
58
|
:param search_config:
|
|
55
59
|
:param storage_location_id:
|
|
@@ -82,6 +86,9 @@ class LakeDatasets(BaseSDK):
|
|
|
82
86
|
format_=format_,
|
|
83
87
|
http_da_used=http_da_used,
|
|
84
88
|
id=id,
|
|
89
|
+
metrics=utils.get_pydantic_model(
|
|
90
|
+
metrics, Optional[models.LakeDatasetMetrics]
|
|
91
|
+
),
|
|
85
92
|
retention_period_in_days=retention_period_in_days,
|
|
86
93
|
search_config=utils.get_pydantic_model(
|
|
87
94
|
search_config, Optional[models.LakeDatasetSearchConfig]
|
|
@@ -168,6 +175,9 @@ class LakeDatasets(BaseSDK):
|
|
|
168
175
|
description: Optional[str] = None,
|
|
169
176
|
format_: Optional[models.CriblLakeDatasetFormat] = None,
|
|
170
177
|
http_da_used: Optional[bool] = None,
|
|
178
|
+
metrics: Optional[
|
|
179
|
+
Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
|
|
180
|
+
] = None,
|
|
171
181
|
retention_period_in_days: Optional[float] = None,
|
|
172
182
|
search_config: Optional[
|
|
173
183
|
Union[
|
|
@@ -194,6 +204,7 @@ class LakeDatasets(BaseSDK):
|
|
|
194
204
|
:param description:
|
|
195
205
|
:param format_:
|
|
196
206
|
:param http_da_used:
|
|
207
|
+
:param metrics:
|
|
197
208
|
:param retention_period_in_days:
|
|
198
209
|
:param search_config:
|
|
199
210
|
:param storage_location_id:
|
|
@@ -226,6 +237,9 @@ class LakeDatasets(BaseSDK):
|
|
|
226
237
|
format_=format_,
|
|
227
238
|
http_da_used=http_da_used,
|
|
228
239
|
id=id,
|
|
240
|
+
metrics=utils.get_pydantic_model(
|
|
241
|
+
metrics, Optional[models.LakeDatasetMetrics]
|
|
242
|
+
),
|
|
229
243
|
retention_period_in_days=retention_period_in_days,
|
|
230
244
|
search_config=utils.get_pydantic_model(
|
|
231
245
|
search_config, Optional[models.LakeDatasetSearchConfig]
|
|
@@ -849,7 +863,6 @@ class LakeDatasets(BaseSDK):
|
|
|
849
863
|
*,
|
|
850
864
|
lake_id: str,
|
|
851
865
|
id_param: str,
|
|
852
|
-
id: str,
|
|
853
866
|
accelerated_fields: Optional[List[str]] = None,
|
|
854
867
|
bucket_name: Optional[str] = None,
|
|
855
868
|
cache_connection: Optional[
|
|
@@ -857,8 +870,12 @@ class LakeDatasets(BaseSDK):
|
|
|
857
870
|
] = None,
|
|
858
871
|
deletion_started_at: Optional[float] = None,
|
|
859
872
|
description: Optional[str] = None,
|
|
860
|
-
format_: Optional[models.
|
|
873
|
+
format_: Optional[models.CriblLakeDatasetUpdateFormat] = None,
|
|
861
874
|
http_da_used: Optional[bool] = None,
|
|
875
|
+
id: Optional[str] = None,
|
|
876
|
+
metrics: Optional[
|
|
877
|
+
Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
|
|
878
|
+
] = None,
|
|
862
879
|
retention_period_in_days: Optional[float] = None,
|
|
863
880
|
search_config: Optional[
|
|
864
881
|
Union[
|
|
@@ -878,7 +895,6 @@ class LakeDatasets(BaseSDK):
|
|
|
878
895
|
|
|
879
896
|
:param lake_id: The <code>id</code> of the Lake that contains the Lake Dataset to update.
|
|
880
897
|
:param id_param: The <code>id</code> of the Lake Dataset to update.
|
|
881
|
-
:param id:
|
|
882
898
|
:param accelerated_fields:
|
|
883
899
|
:param bucket_name:
|
|
884
900
|
:param cache_connection:
|
|
@@ -886,6 +902,8 @@ class LakeDatasets(BaseSDK):
|
|
|
886
902
|
:param description:
|
|
887
903
|
:param format_:
|
|
888
904
|
:param http_da_used:
|
|
905
|
+
:param id:
|
|
906
|
+
:param metrics:
|
|
889
907
|
:param retention_period_in_days:
|
|
890
908
|
:param search_config:
|
|
891
909
|
:param storage_location_id:
|
|
@@ -908,7 +926,7 @@ class LakeDatasets(BaseSDK):
|
|
|
908
926
|
request = models.UpdateCriblLakeDatasetByLakeIDAndIDRequest(
|
|
909
927
|
lake_id=lake_id,
|
|
910
928
|
id_param=id_param,
|
|
911
|
-
|
|
929
|
+
cribl_lake_dataset_update=models.CriblLakeDatasetUpdate(
|
|
912
930
|
accelerated_fields=accelerated_fields,
|
|
913
931
|
bucket_name=bucket_name,
|
|
914
932
|
cache_connection=utils.get_pydantic_model(
|
|
@@ -919,6 +937,9 @@ class LakeDatasets(BaseSDK):
|
|
|
919
937
|
format_=format_,
|
|
920
938
|
http_da_used=http_da_used,
|
|
921
939
|
id=id,
|
|
940
|
+
metrics=utils.get_pydantic_model(
|
|
941
|
+
metrics, Optional[models.LakeDatasetMetrics]
|
|
942
|
+
),
|
|
922
943
|
retention_period_in_days=retention_period_in_days,
|
|
923
944
|
search_config=utils.get_pydantic_model(
|
|
924
945
|
search_config, Optional[models.LakeDatasetSearchConfig]
|
|
@@ -942,11 +963,11 @@ class LakeDatasets(BaseSDK):
|
|
|
942
963
|
http_headers=http_headers,
|
|
943
964
|
security=self.sdk_configuration.security,
|
|
944
965
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
945
|
-
request.
|
|
966
|
+
request.cribl_lake_dataset_update,
|
|
946
967
|
False,
|
|
947
968
|
False,
|
|
948
969
|
"json",
|
|
949
|
-
models.
|
|
970
|
+
models.CriblLakeDatasetUpdate,
|
|
950
971
|
),
|
|
951
972
|
timeout_ms=timeout_ms,
|
|
952
973
|
)
|
|
@@ -996,7 +1017,6 @@ class LakeDatasets(BaseSDK):
|
|
|
996
1017
|
*,
|
|
997
1018
|
lake_id: str,
|
|
998
1019
|
id_param: str,
|
|
999
|
-
id: str,
|
|
1000
1020
|
accelerated_fields: Optional[List[str]] = None,
|
|
1001
1021
|
bucket_name: Optional[str] = None,
|
|
1002
1022
|
cache_connection: Optional[
|
|
@@ -1004,8 +1024,12 @@ class LakeDatasets(BaseSDK):
|
|
|
1004
1024
|
] = None,
|
|
1005
1025
|
deletion_started_at: Optional[float] = None,
|
|
1006
1026
|
description: Optional[str] = None,
|
|
1007
|
-
format_: Optional[models.
|
|
1027
|
+
format_: Optional[models.CriblLakeDatasetUpdateFormat] = None,
|
|
1008
1028
|
http_da_used: Optional[bool] = None,
|
|
1029
|
+
id: Optional[str] = None,
|
|
1030
|
+
metrics: Optional[
|
|
1031
|
+
Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
|
|
1032
|
+
] = None,
|
|
1009
1033
|
retention_period_in_days: Optional[float] = None,
|
|
1010
1034
|
search_config: Optional[
|
|
1011
1035
|
Union[
|
|
@@ -1025,7 +1049,6 @@ class LakeDatasets(BaseSDK):
|
|
|
1025
1049
|
|
|
1026
1050
|
:param lake_id: The <code>id</code> of the Lake that contains the Lake Dataset to update.
|
|
1027
1051
|
:param id_param: The <code>id</code> of the Lake Dataset to update.
|
|
1028
|
-
:param id:
|
|
1029
1052
|
:param accelerated_fields:
|
|
1030
1053
|
:param bucket_name:
|
|
1031
1054
|
:param cache_connection:
|
|
@@ -1033,6 +1056,8 @@ class LakeDatasets(BaseSDK):
|
|
|
1033
1056
|
:param description:
|
|
1034
1057
|
:param format_:
|
|
1035
1058
|
:param http_da_used:
|
|
1059
|
+
:param id:
|
|
1060
|
+
:param metrics:
|
|
1036
1061
|
:param retention_period_in_days:
|
|
1037
1062
|
:param search_config:
|
|
1038
1063
|
:param storage_location_id:
|
|
@@ -1055,7 +1080,7 @@ class LakeDatasets(BaseSDK):
|
|
|
1055
1080
|
request = models.UpdateCriblLakeDatasetByLakeIDAndIDRequest(
|
|
1056
1081
|
lake_id=lake_id,
|
|
1057
1082
|
id_param=id_param,
|
|
1058
|
-
|
|
1083
|
+
cribl_lake_dataset_update=models.CriblLakeDatasetUpdate(
|
|
1059
1084
|
accelerated_fields=accelerated_fields,
|
|
1060
1085
|
bucket_name=bucket_name,
|
|
1061
1086
|
cache_connection=utils.get_pydantic_model(
|
|
@@ -1066,6 +1091,9 @@ class LakeDatasets(BaseSDK):
|
|
|
1066
1091
|
format_=format_,
|
|
1067
1092
|
http_da_used=http_da_used,
|
|
1068
1093
|
id=id,
|
|
1094
|
+
metrics=utils.get_pydantic_model(
|
|
1095
|
+
metrics, Optional[models.LakeDatasetMetrics]
|
|
1096
|
+
),
|
|
1069
1097
|
retention_period_in_days=retention_period_in_days,
|
|
1070
1098
|
search_config=utils.get_pydantic_model(
|
|
1071
1099
|
search_config, Optional[models.LakeDatasetSearchConfig]
|
|
@@ -1089,11 +1117,11 @@ class LakeDatasets(BaseSDK):
|
|
|
1089
1117
|
http_headers=http_headers,
|
|
1090
1118
|
security=self.sdk_configuration.security,
|
|
1091
1119
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
1092
|
-
request.
|
|
1120
|
+
request.cribl_lake_dataset_update,
|
|
1093
1121
|
False,
|
|
1094
1122
|
False,
|
|
1095
1123
|
"json",
|
|
1096
|
-
models.
|
|
1124
|
+
models.CriblLakeDatasetUpdate,
|
|
1097
1125
|
),
|
|
1098
1126
|
timeout_ms=timeout_ms,
|
|
1099
1127
|
)
|