cribl-control-plane 0.0.21__py3-none-any.whl → 0.4.0b23__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.
- cribl_control_plane/_hooks/clientcredentials.py +113 -48
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/acl.py +225 -0
- cribl_control_plane/auth_sdk.py +12 -176
- cribl_control_plane/basesdk.py +17 -1
- cribl_control_plane/branches.py +351 -0
- cribl_control_plane/commits.py +1403 -0
- cribl_control_plane/commits_files.py +391 -0
- cribl_control_plane/configs_versions.py +201 -0
- cribl_control_plane/cribl.py +495 -0
- cribl_control_plane/destinations.py +146 -805
- cribl_control_plane/destinations_pq.py +379 -0
- cribl_control_plane/errors/__init__.py +26 -10
- 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/functions.py +367 -0
- cribl_control_plane/groups_configs.py +22 -0
- cribl_control_plane/groups_sdk.py +333 -578
- cribl_control_plane/health.py +38 -18
- cribl_control_plane/hectokens.py +503 -0
- cribl_control_plane/httpclient.py +0 -1
- cribl_control_plane/{lake.py → lakedatasets.py} +207 -115
- cribl_control_plane/models/__init__.py +3644 -5986
- cribl_control_plane/models/addhectokenrequest.py +7 -1
- cribl_control_plane/models/authtoken.py +5 -1
- cribl_control_plane/models/backupssettings_union.py +37 -0
- cribl_control_plane/models/{lookupversions.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/collectorazureblob.py +130 -0
- cribl_control_plane/models/collectorconf.py +56 -0
- cribl_control_plane/models/collectorcribllake.py +27 -0
- cribl_control_plane/models/collectordatabase.py +92 -0
- cribl_control_plane/models/collectorfilesystem.py +66 -0
- cribl_control_plane/models/collectorgooglecloudstorage.py +131 -0
- cribl_control_plane/models/collectorhealthcheck.py +269 -0
- cribl_control_plane/models/collectorrest.py +340 -0
- cribl_control_plane/models/collectors3.py +239 -0
- cribl_control_plane/models/collectorscript.py +59 -0
- cribl_control_plane/models/collectorsplunk.py +253 -0
- cribl_control_plane/models/configgroup.py +67 -11
- cribl_control_plane/models/configgroupcloud.py +17 -3
- cribl_control_plane/models/countedbranchinfo.py +20 -0
- cribl_control_plane/models/countedconfiggroup.py +20 -0
- cribl_control_plane/models/countedcribllakedataset.py +20 -0
- cribl_control_plane/models/counteddistributedsummary.py +20 -0
- cribl_control_plane/models/countedfunctionresponse.py +20 -0
- cribl_control_plane/models/countedgitcommitsummary.py +20 -0
- cribl_control_plane/models/countedgitcountresult.py +20 -0
- cribl_control_plane/models/countedgitdiffresult.py +20 -0
- cribl_control_plane/models/countedgitfilesresponse.py +20 -0
- cribl_control_plane/models/{getversioninfoop.py → countedgitinfo.py} +2 -6
- cribl_control_plane/models/countedgitlogresult.py +20 -0
- cribl_control_plane/models/countedgitrevertresult.py +20 -0
- cribl_control_plane/models/countedgitshowresult.py +20 -0
- cribl_control_plane/models/countedgitstatusresult.py +20 -0
- cribl_control_plane/models/{listinputop.py → countedinput.py} +2 -6
- cribl_control_plane/models/countedinputsplunkhec.py +20 -0
- cribl_control_plane/models/countedjobinfo.py +20 -0
- cribl_control_plane/models/countedmasterworkerentry.py +20 -0
- cribl_control_plane/models/countednumber.py +19 -0
- cribl_control_plane/models/{getversionbranchop.py → countedobject.py} +2 -6
- cribl_control_plane/models/{listoutputop.py → countedoutput.py} +2 -6
- cribl_control_plane/models/countedoutputsamplesresponse.py +20 -0
- cribl_control_plane/models/countedoutputtestresponse.py +20 -0
- cribl_control_plane/models/countedpackinfo.py +20 -0
- cribl_control_plane/models/{createpacksop.py → countedpackinstallinfo.py} +2 -6
- cribl_control_plane/models/{listpipelineop.py → countedpipeline.py} +2 -6
- cribl_control_plane/models/{listroutesop.py → countedroutes.py} +2 -6
- cribl_control_plane/models/countedstring.py +19 -0
- cribl_control_plane/models/countedsystemsettingsconf.py +20 -0
- cribl_control_plane/models/countedteamaccesscontrollist.py +20 -0
- cribl_control_plane/models/counteduseraccesscontrollist.py +20 -0
- cribl_control_plane/models/createauthloginop.py +18 -0
- cribl_control_plane/models/createconfiggroupbyproductop.py +46 -0
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +3 -21
- cribl_control_plane/models/createinputhectokenbyidop.py +3 -21
- cribl_control_plane/models/createoutputtestbyidop.py +3 -22
- cribl_control_plane/models/createroutesappendbyidop.py +4 -21
- cribl_control_plane/models/createversioncommitop.py +27 -20
- cribl_control_plane/models/createversionrevertop.py +7 -23
- cribl_control_plane/models/createversionundoop.py +7 -22
- cribl_control_plane/models/criblevent.py +15 -0
- cribl_control_plane/models/cribllakedataset.py +23 -3
- cribl_control_plane/models/cribllakedatasetupdate.py +95 -0
- cribl_control_plane/models/currentbranchresult.py +13 -0
- cribl_control_plane/models/datasetmetadata.py +18 -2
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +43 -0
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +5 -24
- cribl_control_plane/models/deleteinputbyidop.py +3 -22
- cribl_control_plane/models/deleteoutputbyidop.py +3 -22
- cribl_control_plane/models/deleteoutputpqbyidop.py +3 -21
- cribl_control_plane/models/deletepacksbyidop.py +3 -22
- cribl_control_plane/models/deletepipelinebyidop.py +3 -22
- cribl_control_plane/models/difffiles.py +130 -0
- cribl_control_plane/models/diffline.py +26 -0
- cribl_control_plane/models/difflinecontext.py +28 -0
- cribl_control_plane/models/difflinedelete.py +25 -0
- cribl_control_plane/models/difflineinsert.py +25 -0
- cribl_control_plane/models/distributedsummary.py +6 -0
- cribl_control_plane/models/functionaggregatemetrics.py +206 -0
- cribl_control_plane/models/functionaggregation.py +172 -0
- cribl_control_plane/models/functionautotimestamp.py +173 -0
- cribl_control_plane/models/functioncef.py +111 -0
- cribl_control_plane/models/functionchain.py +75 -0
- cribl_control_plane/models/functionclone.py +75 -0
- cribl_control_plane/models/functioncode.py +96 -0
- cribl_control_plane/models/functioncomment.py +75 -0
- cribl_control_plane/models/functiondistinct.py +99 -0
- cribl_control_plane/models/functiondnslookup.py +250 -0
- cribl_control_plane/models/functiondrop.py +73 -0
- cribl_control_plane/models/functiondropdimensions.py +87 -0
- cribl_control_plane/models/functiondynamicsampling.py +121 -0
- cribl_control_plane/models/functioneval.py +103 -0
- cribl_control_plane/models/functioneventbreaker.py +103 -0
- cribl_control_plane/models/functioneventstats.py +92 -0
- cribl_control_plane/models/functionexternaldata.py +73 -0
- cribl_control_plane/models/functionflatten.py +90 -0
- cribl_control_plane/models/functionfoldkeys.py +89 -0
- cribl_control_plane/models/functiongenstats.py +73 -0
- cribl_control_plane/models/functiongeoip.py +120 -0
- cribl_control_plane/models/functiongrok.py +95 -0
- cribl_control_plane/models/functionhandlebar.py +112 -0
- cribl_control_plane/models/functionjoin.py +112 -0
- cribl_control_plane/models/functionjsonunroll.py +80 -0
- cribl_control_plane/models/functionlakeexport.py +102 -0
- cribl_control_plane/models/functionlimit.py +75 -0
- cribl_control_plane/models/functionlocalsearchdatatypeparser.py +76 -0
- cribl_control_plane/models/functionlocalsearchrulesetrunner.py +97 -0
- cribl_control_plane/models/functionlookup.py +148 -0
- cribl_control_plane/models/functionmask.py +121 -0
- cribl_control_plane/models/functionmvexpand.py +128 -0
- cribl_control_plane/models/functionmvpull.py +99 -0
- cribl_control_plane/models/functionnotificationpolicies.py +186 -0
- cribl_control_plane/models/functionnotifications.py +85 -0
- cribl_control_plane/models/functionnotify.py +196 -0
- cribl_control_plane/models/functionnumerify.py +119 -0
- cribl_control_plane/models/functionotlplogs.py +82 -0
- cribl_control_plane/models/functionotlpmetrics.py +118 -0
- cribl_control_plane/models/functionotlptraces.py +111 -0
- cribl_control_plane/models/functionpack.py +80 -0
- cribl_control_plane/models/functionpivot.py +85 -0
- cribl_control_plane/models/functionpublishmetrics.py +153 -0
- cribl_control_plane/models/functionredis.py +173 -0
- cribl_control_plane/models/functionregexextract.py +112 -0
- cribl_control_plane/models/functionregexfilter.py +95 -0
- cribl_control_plane/models/functionrename.py +107 -0
- cribl_control_plane/models/functionresponse.py +242 -0
- cribl_control_plane/models/functionrollupmetrics.py +114 -0
- cribl_control_plane/models/functionsampling.py +90 -0
- cribl_control_plane/models/functionsend.py +141 -0
- cribl_control_plane/models/functionsensitivedatascanner.py +128 -0
- cribl_control_plane/models/functionserde.py +161 -0
- cribl_control_plane/models/functionserialize.py +134 -0
- cribl_control_plane/models/functionsidlookup.py +93 -0
- cribl_control_plane/models/functionsnmptrapserialize.py +144 -0
- cribl_control_plane/models/functionsort.py +97 -0
- cribl_control_plane/models/functionstore.py +132 -0
- cribl_control_plane/models/functionsuppress.py +115 -0
- cribl_control_plane/models/functiontee.py +90 -0
- cribl_control_plane/models/functiontrimtimestamp.py +75 -0
- cribl_control_plane/models/functionunion.py +80 -0
- cribl_control_plane/models/functionunroll.py +80 -0
- cribl_control_plane/models/functionwindow.py +96 -0
- cribl_control_plane/models/functionxmlunroll.py +92 -0
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +63 -0
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +63 -0
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +53 -0
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +43 -0
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +5 -24
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +56 -16
- cribl_control_plane/models/getfunctionsbyidop.py +18 -0
- cribl_control_plane/models/getinputbyidop.py +3 -22
- cribl_control_plane/models/getmasterworkerentryop.py +22 -0
- cribl_control_plane/models/getoutputbyidop.py +3 -22
- cribl_control_plane/models/getoutputpqbyidop.py +3 -21
- cribl_control_plane/models/getoutputsamplesbyidop.py +3 -22
- cribl_control_plane/models/getpacksbyidop.py +18 -0
- cribl_control_plane/models/getpacksop.py +3 -21
- cribl_control_plane/models/getpipelinebyidop.py +3 -22
- cribl_control_plane/models/getroutesbyidop.py +3 -22
- cribl_control_plane/models/getsummaryop.py +23 -32
- cribl_control_plane/models/getversioncountop.py +10 -27
- cribl_control_plane/models/getversiondiffop.py +12 -28
- cribl_control_plane/models/getversionfilesop.py +10 -28
- cribl_control_plane/models/getversionop.py +30 -0
- cribl_control_plane/models/getversionshowop.py +12 -28
- cribl_control_plane/models/getversionstatusop.py +7 -23
- cribl_control_plane/models/gitcommitsummary.py +3 -3
- cribl_control_plane/models/{routecloneconf.py → gitcountresult.py} +4 -4
- cribl_control_plane/models/gitdiffresult.py +16 -0
- cribl_control_plane/models/gitfilesresponse.py +7 -5
- cribl_control_plane/models/gitinfo.py +14 -3
- cribl_control_plane/models/gitlogresult.py +33 -0
- cribl_control_plane/models/gitrevertparams.py +3 -3
- cribl_control_plane/models/gitrevertresult.py +5 -5
- cribl_control_plane/models/gitshowresult.py +19 -0
- cribl_control_plane/models/gitstatusresult.py +0 -3
- cribl_control_plane/models/groupcreaterequest.py +172 -0
- cribl_control_plane/models/hbcriblinfo.py +42 -7
- cribl_control_plane/models/healthserverstatus.py +55 -0
- cribl_control_plane/models/heartbeatmetadata.py +6 -11
- cribl_control_plane/models/input.py +89 -81
- cribl_control_plane/models/inputappscope.py +131 -35
- cribl_control_plane/models/inputazureblob.py +62 -6
- cribl_control_plane/models/inputcloudflarehec.py +518 -0
- cribl_control_plane/models/inputcollection.py +49 -6
- cribl_control_plane/models/inputconfluentcloud.py +262 -22
- cribl_control_plane/models/inputcribl.py +52 -9
- cribl_control_plane/models/inputcriblhttp.py +124 -33
- cribl_control_plane/models/inputcribllakehttp.py +199 -29
- cribl_control_plane/models/inputcriblmetrics.py +53 -9
- cribl_control_plane/models/inputcribltcp.py +125 -27
- cribl_control_plane/models/inputcrowdstrike.py +99 -10
- cribl_control_plane/models/inputdatadogagent.py +101 -27
- cribl_control_plane/models/inputdatagen.py +47 -4
- cribl_control_plane/models/inputedgeprometheus.py +215 -58
- cribl_control_plane/models/inputelastic.py +170 -39
- cribl_control_plane/models/inputeventhub.py +212 -9
- cribl_control_plane/models/inputexec.py +59 -6
- cribl_control_plane/models/inputfile.py +83 -15
- cribl_control_plane/models/inputfirehose.py +100 -27
- cribl_control_plane/models/inputgooglepubsub.py +83 -15
- cribl_control_plane/models/{inputgrafana_union.py → inputgrafana.py} +261 -67
- cribl_control_plane/models/inputhttp.py +100 -27
- cribl_control_plane/models/inputhttpraw.py +100 -27
- cribl_control_plane/models/inputjournalfiles.py +51 -7
- cribl_control_plane/models/inputkafka.py +257 -19
- cribl_control_plane/models/inputkinesis.py +133 -17
- cribl_control_plane/models/inputkubeevents.py +52 -9
- cribl_control_plane/models/inputkubelogs.py +66 -13
- cribl_control_plane/models/inputkubemetrics.py +66 -13
- cribl_control_plane/models/inputloki.py +116 -30
- cribl_control_plane/models/inputmetrics.py +97 -24
- cribl_control_plane/models/inputmodeldriventelemetry.py +110 -29
- cribl_control_plane/models/inputmsk.py +148 -21
- cribl_control_plane/models/inputnetflow.py +50 -7
- cribl_control_plane/models/inputoffice365mgmt.py +115 -17
- cribl_control_plane/models/inputoffice365msgtrace.py +117 -19
- cribl_control_plane/models/inputoffice365service.py +117 -19
- cribl_control_plane/models/inputopentelemetry.py +146 -35
- cribl_control_plane/models/inputprometheus.py +196 -47
- cribl_control_plane/models/inputprometheusrw.py +117 -30
- cribl_control_plane/models/inputrawudp.py +50 -7
- cribl_control_plane/models/inputs3.py +85 -8
- cribl_control_plane/models/inputs3inventory.py +99 -10
- cribl_control_plane/models/inputsecuritylake.py +100 -10
- cribl_control_plane/models/inputsnmp.py +115 -24
- cribl_control_plane/models/inputsplunk.py +133 -31
- cribl_control_plane/models/inputsplunkhec.py +122 -32
- cribl_control_plane/models/inputsplunksearch.py +115 -18
- cribl_control_plane/models/inputsqs.py +102 -19
- cribl_control_plane/models/{inputsyslog_union.py → inputsyslog.py} +193 -51
- cribl_control_plane/models/inputsystemmetrics.py +207 -37
- cribl_control_plane/models/inputsystemstate.py +66 -13
- cribl_control_plane/models/inputtcp.py +125 -29
- cribl_control_plane/models/inputtcpjson.py +115 -29
- cribl_control_plane/models/inputwef.py +151 -22
- cribl_control_plane/models/inputwindowsmetrics.py +191 -38
- cribl_control_plane/models/inputwineventlogs.py +93 -11
- cribl_control_plane/models/inputwiz.py +176 -11
- cribl_control_plane/models/inputwizwebhook.py +466 -0
- cribl_control_plane/models/inputzscalerhec.py +122 -32
- 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 +46 -0
- cribl_control_plane/models/listmasterworkerentryop.py +64 -0
- cribl_control_plane/models/logininfo.py +3 -3
- cribl_control_plane/models/masterworkerentry.py +20 -13
- cribl_control_plane/models/nodeactiveupgradestatus.py +2 -1
- cribl_control_plane/models/nodefailedupgradestatus.py +2 -1
- cribl_control_plane/models/nodeprovidedinfo.py +13 -11
- 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 +103 -89
- cribl_control_plane/models/outputazureblob.py +174 -21
- cribl_control_plane/models/outputazuredataexplorer.py +517 -93
- cribl_control_plane/models/outputazureeventhub.py +318 -34
- cribl_control_plane/models/outputazurelogs.py +145 -26
- cribl_control_plane/models/outputchronicle.py +532 -0
- cribl_control_plane/models/outputclickhouse.py +208 -37
- cribl_control_plane/models/outputcloudflarer2.py +632 -0
- cribl_control_plane/models/outputcloudwatch.py +132 -26
- cribl_control_plane/models/outputconfluentcloud.py +387 -46
- cribl_control_plane/models/outputcriblhttp.py +203 -36
- cribl_control_plane/models/outputcribllake.py +161 -21
- cribl_control_plane/models/outputcribltcp.py +199 -34
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +176 -32
- cribl_control_plane/models/outputdatabricks.py +501 -0
- cribl_control_plane/models/outputdatadog.py +204 -36
- cribl_control_plane/models/outputdataset.py +186 -34
- cribl_control_plane/models/outputdevnull.py +5 -5
- cribl_control_plane/models/outputdiskspool.py +22 -7
- cribl_control_plane/models/outputdls3.py +238 -29
- cribl_control_plane/models/outputdynatracehttp.py +211 -37
- cribl_control_plane/models/outputdynatraceotlp.py +213 -39
- cribl_control_plane/models/outputelastic.py +199 -30
- cribl_control_plane/models/outputelasticcloud.py +174 -29
- cribl_control_plane/models/outputexabeam.py +99 -13
- cribl_control_plane/models/outputfilesystem.py +139 -14
- cribl_control_plane/models/outputgooglechronicle.py +216 -35
- cribl_control_plane/models/outputgooglecloudlogging.py +177 -34
- cribl_control_plane/models/outputgooglecloudstorage.py +220 -29
- cribl_control_plane/models/outputgooglepubsub.py +138 -51
- cribl_control_plane/models/outputgrafanacloud.py +386 -70
- cribl_control_plane/models/outputgraphite.py +131 -28
- cribl_control_plane/models/outputhoneycomb.py +145 -26
- cribl_control_plane/models/outputhumiohec.py +165 -31
- cribl_control_plane/models/outputinfluxdb.py +165 -28
- cribl_control_plane/models/outputkafka.py +378 -41
- cribl_control_plane/models/outputkinesis.py +168 -30
- cribl_control_plane/models/outputloki.py +171 -27
- cribl_control_plane/models/outputmicrosoftfabric.py +540 -0
- cribl_control_plane/models/outputminio.py +228 -28
- cribl_control_plane/models/outputmsk.py +270 -43
- cribl_control_plane/models/outputnewrelic.py +176 -34
- cribl_control_plane/models/outputnewrelicevents.py +166 -31
- cribl_control_plane/models/outputopentelemetry.py +240 -40
- cribl_control_plane/models/outputprometheus.py +145 -26
- cribl_control_plane/models/outputring.py +54 -13
- cribl_control_plane/models/outputs3.py +238 -31
- cribl_control_plane/models/outputsecuritylake.py +182 -21
- cribl_control_plane/models/outputsentinel.py +175 -32
- cribl_control_plane/models/outputsentineloneaisiem.py +184 -38
- cribl_control_plane/models/outputservicenow.py +226 -41
- cribl_control_plane/models/outputsignalfx.py +145 -26
- cribl_control_plane/models/outputsns.py +146 -28
- cribl_control_plane/models/outputsplunk.py +209 -39
- cribl_control_plane/models/outputsplunkhec.py +243 -31
- cribl_control_plane/models/outputsplunklb.py +266 -46
- cribl_control_plane/models/outputsqs.py +166 -36
- cribl_control_plane/models/outputstatsd.py +130 -28
- cribl_control_plane/models/outputstatsdext.py +131 -28
- cribl_control_plane/models/outputsumologic.py +146 -25
- cribl_control_plane/models/outputsyslog.py +323 -51
- cribl_control_plane/models/outputtcpjson.py +191 -37
- cribl_control_plane/models/outputwavefront.py +145 -26
- cribl_control_plane/models/outputwebhook.py +216 -38
- cribl_control_plane/models/outputxsiam.py +148 -31
- cribl_control_plane/models/packinfo.py +11 -8
- cribl_control_plane/models/packinstallinfo.py +14 -11
- cribl_control_plane/models/packrequestbody_union.py +140 -0
- cribl_control_plane/models/packupgraderequest.py +26 -0
- cribl_control_plane/models/piisettings_union.py +31 -0
- cribl_control_plane/models/productscore.py +10 -0
- cribl_control_plane/models/rbacresource.py +2 -1
- cribl_control_plane/models/resourcepolicy.py +15 -2
- cribl_control_plane/models/rollbacksettings_union.py +44 -0
- cribl_control_plane/models/routeconf.py +3 -4
- cribl_control_plane/models/routes.py +0 -24
- cribl_control_plane/models/runnablejob.py +27 -0
- cribl_control_plane/models/runnablejobcollection.py +628 -0
- cribl_control_plane/models/runnablejobexecutor.py +360 -0
- cribl_control_plane/models/runnablejobscheduledsearch.py +279 -0
- cribl_control_plane/models/schemeclientoauth.py +5 -0
- cribl_control_plane/models/snisettings_union.py +31 -0
- cribl_control_plane/models/systemsettingsconf.py +291 -0
- cribl_control_plane/models/tlssettings_union.py +43 -0
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +56 -0
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +53 -0
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +14 -29
- cribl_control_plane/models/updatehectokenrequest.py +7 -1
- cribl_control_plane/models/updateinputbyidop.py +5 -23
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +5 -23
- cribl_control_plane/models/updateoutputbyidop.py +5 -23
- cribl_control_plane/models/updatepacksbyidop.py +12 -50
- cribl_control_plane/models/updatepacksop.py +12 -24
- cribl_control_plane/models/updatepipelinebyidop.py +5 -23
- cribl_control_plane/models/updateroutesbyidop.py +8 -27
- cribl_control_plane/models/upgradegroupsettings_union.py +43 -0
- cribl_control_plane/models/upgradepackageurls.py +20 -0
- cribl_control_plane/models/upgradesettings.py +38 -0
- cribl_control_plane/models/uploadpackresponse.py +13 -0
- cribl_control_plane/models/{appmode.py → workertypes.py} +2 -5
- cribl_control_plane/{workers_sdk.py → nodes.py} +102 -234
- cribl_control_plane/packs.py +385 -184
- cribl_control_plane/pipelines.py +116 -66
- cribl_control_plane/routes_sdk.py +102 -70
- cribl_control_plane/samples.py +407 -0
- cribl_control_plane/sdk.py +35 -25
- cribl_control_plane/settings.py +20 -0
- cribl_control_plane/sources.py +143 -545
- cribl_control_plane/statuses.py +195 -0
- cribl_control_plane/summaries.py +195 -0
- cribl_control_plane/system_sdk.py +20 -0
- cribl_control_plane/teams.py +36 -28
- cribl_control_plane/tokens.py +210 -0
- cribl_control_plane/utils/__init__.py +18 -5
- cribl_control_plane/utils/annotations.py +32 -8
- cribl_control_plane/utils/eventstreaming.py +10 -0
- cribl_control_plane/utils/forms.py +21 -10
- cribl_control_plane/utils/queryparams.py +14 -2
- cribl_control_plane/utils/retries.py +69 -5
- cribl_control_plane/utils/security.py +5 -0
- cribl_control_plane/utils/unmarshal_json_response.py +15 -1
- cribl_control_plane/versions.py +31 -0
- cribl_control_plane/{distributed.py → versions_configs.py} +29 -35
- cribl_control_plane-0.4.0b23.dist-info/METADATA +855 -0
- cribl_control_plane-0.4.0b23.dist-info/RECORD +450 -0
- {cribl_control_plane-0.0.21.dist-info → cribl_control_plane-0.4.0b23.dist-info}/WHEEL +1 -1
- cribl_control_plane-0.4.0b23.dist-info/licenses/LICENSE +201 -0
- cribl_control_plane/errors/healthstatus_error.py +0 -32
- cribl_control_plane/models/createinputop.py +0 -18238
- cribl_control_plane/models/createoutputop.py +0 -18437
- cribl_control_plane/models/createpipelineop.py +0 -24
- cribl_control_plane/models/createproductsgroupsbyproductop.py +0 -54
- cribl_control_plane/models/createversionpushop.py +0 -23
- cribl_control_plane/models/createversionsyncop.py +0 -23
- cribl_control_plane/models/deletegroupsbyidop.py +0 -37
- cribl_control_plane/models/getgroupsaclbyidop.py +0 -63
- cribl_control_plane/models/getgroupsbyidop.py +0 -49
- cribl_control_plane/models/getgroupsconfigversionbyidop.py +0 -36
- cribl_control_plane/models/getproductsgroupsaclteamsbyproductandidop.py +0 -78
- cribl_control_plane/models/getproductsgroupsbyproductop.py +0 -58
- cribl_control_plane/models/getsummaryworkersop.py +0 -39
- cribl_control_plane/models/getversioncurrentbranchop.py +0 -23
- cribl_control_plane/models/getworkersop.py +0 -82
- cribl_control_plane/models/healthstatus.py +0 -33
- cribl_control_plane/models/packrequestbody.py +0 -75
- cribl_control_plane/models/restartresponse.py +0 -26
- cribl_control_plane/models/routesroute_input.py +0 -67
- cribl_control_plane/models/updategroupsbyidop.py +0 -48
- cribl_control_plane/models/updategroupsdeploybyidop.py +0 -46
- cribl_control_plane/models/updateworkersrestartop.py +0 -24
- cribl_control_plane/versioning.py +0 -2309
- cribl_control_plane-0.0.21.dist-info/METADATA +0 -561
- cribl_control_plane-0.0.21.dist-info/RECORD +0 -301
|
@@ -1,38 +1,22 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .gitstatusresult import GitStatusResult, GitStatusResultTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
7
|
-
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing import Optional
|
|
8
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class GetVersionStatusRequestTypedDict(TypedDict):
|
|
12
|
-
|
|
13
|
-
r"""Group
|
|
12
|
+
group_id: NotRequired[str]
|
|
13
|
+
r"""The <code>id</code> of the Worker Group or Edge Fleet to get the status for."""
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
class GetVersionStatusRequest(BaseModel):
|
|
17
|
-
|
|
17
|
+
group_id: Annotated[
|
|
18
18
|
Optional[str],
|
|
19
|
+
pydantic.Field(alias="groupId"),
|
|
19
20
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
20
21
|
] = None
|
|
21
|
-
r"""Group
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
class GetVersionStatusResponseTypedDict(TypedDict):
|
|
25
|
-
r"""a list of GitStatusResult objects"""
|
|
26
|
-
|
|
27
|
-
count: NotRequired[int]
|
|
28
|
-
r"""number of items present in the items array"""
|
|
29
|
-
items: NotRequired[List[GitStatusResultTypedDict]]
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
class GetVersionStatusResponse(BaseModel):
|
|
33
|
-
r"""a list of GitStatusResult objects"""
|
|
34
|
-
|
|
35
|
-
count: Optional[int] = None
|
|
36
|
-
r"""number of items present in the items array"""
|
|
37
|
-
|
|
38
|
-
items: Optional[List[GitStatusResult]] = None
|
|
22
|
+
r"""The <code>id</code> of the Worker Group or Edge Fleet to get the status for."""
|
|
@@ -49,16 +49,14 @@ class Summary(BaseModel):
|
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
class GitCommitSummaryTypedDict(TypedDict):
|
|
52
|
-
author: AuthorTypedDict
|
|
53
52
|
branch: str
|
|
54
53
|
commit: str
|
|
55
54
|
files: GitCommitSummaryFilesTypedDict
|
|
56
55
|
summary: SummaryTypedDict
|
|
56
|
+
author: NotRequired[AuthorTypedDict]
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
class GitCommitSummary(BaseModel):
|
|
60
|
-
author: Author
|
|
61
|
-
|
|
62
60
|
branch: str
|
|
63
61
|
|
|
64
62
|
commit: str
|
|
@@ -66,3 +64,5 @@ class GitCommitSummary(BaseModel):
|
|
|
66
64
|
files: GitCommitSummaryFiles
|
|
67
65
|
|
|
68
66
|
summary: Summary
|
|
67
|
+
|
|
68
|
+
author: Optional[Author] = None
|
|
@@ -5,9 +5,9 @@ from cribl_control_plane.types import BaseModel
|
|
|
5
5
|
from typing_extensions import TypedDict
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
class
|
|
9
|
-
|
|
8
|
+
class GitCountResultTypedDict(TypedDict):
|
|
9
|
+
count: float
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class
|
|
13
|
-
|
|
12
|
+
class GitCountResult(BaseModel):
|
|
13
|
+
count: float
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .difffiles import DiffFiles, DiffFilesTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing import List
|
|
8
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class GitDiffResultTypedDict(TypedDict):
|
|
12
|
+
diff_json: List[DiffFilesTypedDict]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class GitDiffResult(BaseModel):
|
|
16
|
+
diff_json: Annotated[List[DiffFiles], pydantic.Field(alias="diffJson")]
|
|
@@ -4,19 +4,21 @@ from __future__ import annotations
|
|
|
4
4
|
from .gitfile import GitFile, GitFileTypedDict
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
import pydantic
|
|
7
|
-
from typing import Any, Dict, List
|
|
8
|
-
from typing_extensions import Annotated, TypedDict
|
|
7
|
+
from typing import Any, Dict, List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class GitFilesResponseTypedDict(TypedDict):
|
|
12
|
-
commit_message: Dict[str, Any]
|
|
13
12
|
count: float
|
|
14
13
|
items: List[GitFileTypedDict]
|
|
14
|
+
commit_message: NotRequired[Dict[str, Any]]
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class GitFilesResponse(BaseModel):
|
|
18
|
-
commit_message: Annotated[Dict[str, Any], pydantic.Field(alias="commitMessage")]
|
|
19
|
-
|
|
20
18
|
count: float
|
|
21
19
|
|
|
22
20
|
items: List[GitFile]
|
|
21
|
+
|
|
22
|
+
commit_message: Annotated[
|
|
23
|
+
Optional[Dict[str, Any]], pydantic.Field(alias="commitMessage")
|
|
24
|
+
] = None
|
|
@@ -1,15 +1,26 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane import utils
|
|
4
5
|
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from cribl_control_plane.utils import validate_open_enum
|
|
7
|
+
from enum import Enum
|
|
8
|
+
from pydantic.functional_validators import PlainValidator
|
|
5
9
|
from typing import Union
|
|
6
|
-
from typing_extensions import TypeAliasType, TypedDict
|
|
10
|
+
from typing_extensions import Annotated, TypeAliasType, TypedDict
|
|
7
11
|
|
|
8
12
|
|
|
9
|
-
|
|
13
|
+
class RemoteEnum(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
14
|
+
FALSE = "false"
|
|
10
15
|
|
|
11
16
|
|
|
12
|
-
|
|
17
|
+
RemoteTypedDict = TypeAliasType("RemoteTypedDict", Union[str, RemoteEnum])
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
Remote = TypeAliasType(
|
|
21
|
+
"Remote",
|
|
22
|
+
Union[str, Annotated[RemoteEnum, PlainValidator(validate_open_enum(False))]],
|
|
23
|
+
)
|
|
13
24
|
|
|
14
25
|
|
|
15
26
|
class GitInfoTypedDict(TypedDict):
|
|
@@ -0,0 +1,33 @@
|
|
|
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 typing import Optional
|
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class GitLogResultTypedDict(TypedDict):
|
|
11
|
+
author_email: NotRequired[str]
|
|
12
|
+
author_name: NotRequired[str]
|
|
13
|
+
body: NotRequired[str]
|
|
14
|
+
date_: NotRequired[str]
|
|
15
|
+
hash: NotRequired[str]
|
|
16
|
+
message: NotRequired[str]
|
|
17
|
+
refs: NotRequired[str]
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class GitLogResult(BaseModel):
|
|
21
|
+
author_email: Optional[str] = None
|
|
22
|
+
|
|
23
|
+
author_name: Optional[str] = None
|
|
24
|
+
|
|
25
|
+
body: Optional[str] = None
|
|
26
|
+
|
|
27
|
+
date_: Annotated[Optional[str], pydantic.Field(alias="date")] = None
|
|
28
|
+
|
|
29
|
+
hash: Optional[str] = None
|
|
30
|
+
|
|
31
|
+
message: Optional[str] = None
|
|
32
|
+
|
|
33
|
+
refs: Optional[str] = None
|
|
@@ -8,13 +8,13 @@ from typing_extensions import NotRequired, TypedDict
|
|
|
8
8
|
|
|
9
9
|
class GitRevertParamsTypedDict(TypedDict):
|
|
10
10
|
commit: str
|
|
11
|
-
message: str
|
|
12
11
|
force: NotRequired[bool]
|
|
12
|
+
message: NotRequired[str]
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
class GitRevertParams(BaseModel):
|
|
16
16
|
commit: str
|
|
17
17
|
|
|
18
|
-
message: str
|
|
19
|
-
|
|
20
18
|
force: Optional[bool] = None
|
|
19
|
+
|
|
20
|
+
message: Optional[str] = None
|
|
@@ -24,17 +24,17 @@ class GitRevertResultFiles(BaseModel):
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
class AuditTypedDict(TypedDict):
|
|
27
|
-
files: GitRevertResultFilesTypedDict
|
|
28
|
-
group: str
|
|
29
27
|
id: str
|
|
28
|
+
files: NotRequired[GitRevertResultFilesTypedDict]
|
|
29
|
+
group: NotRequired[str]
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
class Audit(BaseModel):
|
|
33
|
-
|
|
33
|
+
id: str
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
files: Optional[GitRevertResultFiles] = None
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
group: Optional[str] = None
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
class GitRevertResultTypedDict(TypedDict):
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .difffiles import DiffFiles, DiffFilesTypedDict
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing import List
|
|
8
|
+
from typing_extensions import Annotated, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class GitShowResultTypedDict(TypedDict):
|
|
12
|
+
commit_message: str
|
|
13
|
+
diff_json: List[DiffFilesTypedDict]
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class GitShowResult(BaseModel):
|
|
17
|
+
commit_message: Annotated[str, pydantic.Field(alias="commitMessage")]
|
|
18
|
+
|
|
19
|
+
diff_json: Annotated[List[DiffFiles], pydantic.Field(alias="diffJson")]
|
|
@@ -44,7 +44,6 @@ class GitStatusResultTypedDict(TypedDict):
|
|
|
44
44
|
not_added: List[str]
|
|
45
45
|
renamed: List[RenamedTypedDict]
|
|
46
46
|
staged: List[str]
|
|
47
|
-
tracking: str
|
|
48
47
|
|
|
49
48
|
|
|
50
49
|
class GitStatusResult(BaseModel):
|
|
@@ -69,5 +68,3 @@ class GitStatusResult(BaseModel):
|
|
|
69
68
|
renamed: List[Renamed]
|
|
70
69
|
|
|
71
70
|
staged: List[str]
|
|
72
|
-
|
|
73
|
-
tracking: str
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .commit import Commit, CommitTypedDict
|
|
5
|
+
from .configgroupcloud import ConfigGroupCloud, ConfigGroupCloudTypedDict
|
|
6
|
+
from .configgrouplookups import ConfigGroupLookups, ConfigGroupLookupsTypedDict
|
|
7
|
+
from cribl_control_plane import models, utils
|
|
8
|
+
from cribl_control_plane.types import BaseModel
|
|
9
|
+
from cribl_control_plane.utils import validate_open_enum
|
|
10
|
+
from enum import Enum
|
|
11
|
+
import pydantic
|
|
12
|
+
from pydantic import field_serializer
|
|
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 GroupCreateRequestEstimatedIngestRate(int, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
|
+
r"""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.)"""
|
|
20
|
+
|
|
21
|
+
# 12 MB/sec
|
|
22
|
+
RATE12_MB_PER_SEC = 1024
|
|
23
|
+
# 24 MB/sec
|
|
24
|
+
RATE24_MB_PER_SEC = 2048
|
|
25
|
+
# 36 MB/sec
|
|
26
|
+
RATE36_MB_PER_SEC = 3072
|
|
27
|
+
# 48 MB/sec
|
|
28
|
+
RATE48_MB_PER_SEC = 4096
|
|
29
|
+
# 60 MB/sec
|
|
30
|
+
RATE60_MB_PER_SEC = 5120
|
|
31
|
+
# 84 MB/sec
|
|
32
|
+
RATE84_MB_PER_SEC = 7168
|
|
33
|
+
# 120 MB/sec
|
|
34
|
+
RATE120_MB_PER_SEC = 10240
|
|
35
|
+
# 156 MB/sec
|
|
36
|
+
RATE156_MB_PER_SEC = 13312
|
|
37
|
+
# 180 MB/sec
|
|
38
|
+
RATE180_MB_PER_SEC = 15360
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class GroupCreateRequestGitTypedDict(TypedDict):
|
|
42
|
+
commit: NotRequired[str]
|
|
43
|
+
local_changes: NotRequired[float]
|
|
44
|
+
log: NotRequired[List[CommitTypedDict]]
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
class GroupCreateRequestGit(BaseModel):
|
|
48
|
+
commit: Optional[str] = None
|
|
49
|
+
|
|
50
|
+
local_changes: Annotated[Optional[float], pydantic.Field(alias="localChanges")] = (
|
|
51
|
+
None
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
log: Optional[List[Commit]] = None
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
class GroupCreateRequestType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
58
|
+
LAKE_ACCESS = "lake_access"
|
|
59
|
+
LOCAL_SEARCH = "local_search"
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class GroupCreateRequestTypedDict(TypedDict):
|
|
63
|
+
id: str
|
|
64
|
+
cloud: NotRequired[ConfigGroupCloudTypedDict]
|
|
65
|
+
deploying_worker_count: NotRequired[float]
|
|
66
|
+
description: NotRequired[str]
|
|
67
|
+
estimated_ingest_rate: NotRequired[GroupCreateRequestEstimatedIngestRate]
|
|
68
|
+
r"""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.)"""
|
|
69
|
+
git: NotRequired[GroupCreateRequestGitTypedDict]
|
|
70
|
+
incompatible_worker_count: NotRequired[float]
|
|
71
|
+
inherits: NotRequired[str]
|
|
72
|
+
is_fleet: NotRequired[bool]
|
|
73
|
+
is_search: NotRequired[bool]
|
|
74
|
+
lookup_deployments: NotRequired[List[ConfigGroupLookupsTypedDict]]
|
|
75
|
+
max_worker_age: NotRequired[str]
|
|
76
|
+
name: NotRequired[str]
|
|
77
|
+
on_prem: NotRequired[bool]
|
|
78
|
+
provisioned: NotRequired[bool]
|
|
79
|
+
source_group_id: NotRequired[str]
|
|
80
|
+
streamtags: NotRequired[List[str]]
|
|
81
|
+
tags: NotRequired[str]
|
|
82
|
+
type: NotRequired[GroupCreateRequestType]
|
|
83
|
+
upgrade_version: NotRequired[str]
|
|
84
|
+
worker_count: NotRequired[float]
|
|
85
|
+
worker_remote_access: NotRequired[bool]
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
class GroupCreateRequest(BaseModel):
|
|
89
|
+
id: str
|
|
90
|
+
|
|
91
|
+
cloud: Optional[ConfigGroupCloud] = None
|
|
92
|
+
|
|
93
|
+
deploying_worker_count: Annotated[
|
|
94
|
+
Optional[float], pydantic.Field(alias="deployingWorkerCount")
|
|
95
|
+
] = None
|
|
96
|
+
|
|
97
|
+
description: Optional[str] = None
|
|
98
|
+
|
|
99
|
+
estimated_ingest_rate: Annotated[
|
|
100
|
+
Annotated[
|
|
101
|
+
Optional[GroupCreateRequestEstimatedIngestRate],
|
|
102
|
+
PlainValidator(validate_open_enum(True)),
|
|
103
|
+
],
|
|
104
|
+
pydantic.Field(alias="estimatedIngestRate"),
|
|
105
|
+
] = None
|
|
106
|
+
r"""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.)"""
|
|
107
|
+
|
|
108
|
+
git: Optional[GroupCreateRequestGit] = None
|
|
109
|
+
|
|
110
|
+
incompatible_worker_count: Annotated[
|
|
111
|
+
Optional[float], pydantic.Field(alias="incompatibleWorkerCount")
|
|
112
|
+
] = None
|
|
113
|
+
|
|
114
|
+
inherits: Optional[str] = None
|
|
115
|
+
|
|
116
|
+
is_fleet: Annotated[Optional[bool], pydantic.Field(alias="isFleet")] = None
|
|
117
|
+
|
|
118
|
+
is_search: Annotated[Optional[bool], pydantic.Field(alias="isSearch")] = None
|
|
119
|
+
|
|
120
|
+
lookup_deployments: Annotated[
|
|
121
|
+
Optional[List[ConfigGroupLookups]], pydantic.Field(alias="lookupDeployments")
|
|
122
|
+
] = None
|
|
123
|
+
|
|
124
|
+
max_worker_age: Annotated[Optional[str], pydantic.Field(alias="maxWorkerAge")] = (
|
|
125
|
+
None
|
|
126
|
+
)
|
|
127
|
+
|
|
128
|
+
name: Optional[str] = None
|
|
129
|
+
|
|
130
|
+
on_prem: Annotated[Optional[bool], pydantic.Field(alias="onPrem")] = None
|
|
131
|
+
|
|
132
|
+
provisioned: Optional[bool] = None
|
|
133
|
+
|
|
134
|
+
source_group_id: Annotated[Optional[str], pydantic.Field(alias="sourceGroupId")] = (
|
|
135
|
+
None
|
|
136
|
+
)
|
|
137
|
+
|
|
138
|
+
streamtags: Optional[List[str]] = None
|
|
139
|
+
|
|
140
|
+
tags: Optional[str] = None
|
|
141
|
+
|
|
142
|
+
type: Annotated[
|
|
143
|
+
Optional[GroupCreateRequestType], PlainValidator(validate_open_enum(False))
|
|
144
|
+
] = None
|
|
145
|
+
|
|
146
|
+
upgrade_version: Annotated[
|
|
147
|
+
Optional[str], pydantic.Field(alias="upgradeVersion")
|
|
148
|
+
] = None
|
|
149
|
+
|
|
150
|
+
worker_count: Annotated[Optional[float], pydantic.Field(alias="workerCount")] = None
|
|
151
|
+
|
|
152
|
+
worker_remote_access: Annotated[
|
|
153
|
+
Optional[bool], pydantic.Field(alias="workerRemoteAccess")
|
|
154
|
+
] = None
|
|
155
|
+
|
|
156
|
+
@field_serializer("estimated_ingest_rate")
|
|
157
|
+
def serialize_estimated_ingest_rate(self, value):
|
|
158
|
+
if isinstance(value, str):
|
|
159
|
+
try:
|
|
160
|
+
return models.GroupCreateRequestEstimatedIngestRate(value)
|
|
161
|
+
except ValueError:
|
|
162
|
+
return value
|
|
163
|
+
return value
|
|
164
|
+
|
|
165
|
+
@field_serializer("type")
|
|
166
|
+
def serialize_type(self, value):
|
|
167
|
+
if isinstance(value, str):
|
|
168
|
+
try:
|
|
169
|
+
return models.GroupCreateRequestType(value)
|
|
170
|
+
except ValueError:
|
|
171
|
+
return value
|
|
172
|
+
return value
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .appmode import AppMode
|
|
5
4
|
from .hbleaderinfo import HBLeaderInfo, HBLeaderInfoTypedDict
|
|
6
|
-
from
|
|
5
|
+
from cribl_control_plane import models, utils
|
|
7
6
|
from cribl_control_plane.types import BaseModel
|
|
7
|
+
from cribl_control_plane.utils import validate_open_enum
|
|
8
|
+
from enum import Enum
|
|
8
9
|
import pydantic
|
|
9
|
-
from
|
|
10
|
+
from pydantic import field_serializer
|
|
11
|
+
from pydantic.functional_validators import PlainValidator
|
|
12
|
+
from typing import Dict, List, Optional
|
|
10
13
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
11
14
|
|
|
12
15
|
|
|
@@ -34,26 +37,41 @@ class Config(BaseModel):
|
|
|
34
37
|
version: Optional[str] = None
|
|
35
38
|
|
|
36
39
|
|
|
40
|
+
class DistMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
41
|
+
SINGLE = "single"
|
|
42
|
+
MASTER = "master"
|
|
43
|
+
WORKER = "worker"
|
|
44
|
+
EDGE = "edge"
|
|
45
|
+
MANAGED_EDGE = "managed-edge"
|
|
46
|
+
OUTPOST = "outpost"
|
|
47
|
+
SEARCH_SUPERVISOR = "search-supervisor"
|
|
48
|
+
|
|
49
|
+
|
|
37
50
|
class HBCriblInfoTypedDict(TypedDict):
|
|
38
51
|
config: ConfigTypedDict
|
|
39
|
-
dist_mode:
|
|
52
|
+
dist_mode: DistMode
|
|
40
53
|
group: str
|
|
41
54
|
guid: str
|
|
42
55
|
start_time: float
|
|
43
56
|
tags: List[str]
|
|
44
57
|
deployment_id: NotRequired[str]
|
|
58
|
+
disable_sni_routing: NotRequired[bool]
|
|
45
59
|
edge_nodes: NotRequired[float]
|
|
46
60
|
install_type: NotRequired[str]
|
|
47
|
-
lookup_versions: NotRequired[
|
|
61
|
+
lookup_versions: NotRequired[Dict[str, Dict[str, str]]]
|
|
48
62
|
master: NotRequired[HBLeaderInfoTypedDict]
|
|
49
63
|
pid: NotRequired[float]
|
|
64
|
+
socks_enabled: NotRequired[bool]
|
|
50
65
|
version: NotRequired[str]
|
|
51
66
|
|
|
52
67
|
|
|
53
68
|
class HBCriblInfo(BaseModel):
|
|
54
69
|
config: Config
|
|
55
70
|
|
|
56
|
-
dist_mode: Annotated[
|
|
71
|
+
dist_mode: Annotated[
|
|
72
|
+
Annotated[DistMode, PlainValidator(validate_open_enum(False))],
|
|
73
|
+
pydantic.Field(alias="distMode"),
|
|
74
|
+
]
|
|
57
75
|
|
|
58
76
|
group: str
|
|
59
77
|
|
|
@@ -65,16 +83,33 @@ class HBCriblInfo(BaseModel):
|
|
|
65
83
|
|
|
66
84
|
deployment_id: Annotated[Optional[str], pydantic.Field(alias="deploymentId")] = None
|
|
67
85
|
|
|
86
|
+
disable_sni_routing: Annotated[
|
|
87
|
+
Optional[bool], pydantic.Field(alias="disableSNIRouting")
|
|
88
|
+
] = None
|
|
89
|
+
|
|
68
90
|
edge_nodes: Annotated[Optional[float], pydantic.Field(alias="edgeNodes")] = None
|
|
69
91
|
|
|
70
92
|
install_type: Annotated[Optional[str], pydantic.Field(alias="installType")] = None
|
|
71
93
|
|
|
72
94
|
lookup_versions: Annotated[
|
|
73
|
-
Optional[
|
|
95
|
+
Optional[Dict[str, Dict[str, str]]], pydantic.Field(alias="lookupVersions")
|
|
74
96
|
] = None
|
|
75
97
|
|
|
76
98
|
master: Optional[HBLeaderInfo] = None
|
|
77
99
|
|
|
78
100
|
pid: Optional[float] = None
|
|
79
101
|
|
|
102
|
+
socks_enabled: Annotated[Optional[bool], pydantic.Field(alias="socksEnabled")] = (
|
|
103
|
+
None
|
|
104
|
+
)
|
|
105
|
+
|
|
80
106
|
version: Optional[str] = None
|
|
107
|
+
|
|
108
|
+
@field_serializer("dist_mode")
|
|
109
|
+
def serialize_dist_mode(self, value):
|
|
110
|
+
if isinstance(value, str):
|
|
111
|
+
try:
|
|
112
|
+
return models.DistMode(value)
|
|
113
|
+
except ValueError:
|
|
114
|
+
return value
|
|
115
|
+
return value
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane import models, 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 import field_serializer
|
|
10
|
+
from pydantic.functional_validators import PlainValidator
|
|
11
|
+
from typing import Optional
|
|
12
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class Role(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
16
|
+
STANDBY = "standby"
|
|
17
|
+
PRIMARY = "primary"
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class Status(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
21
|
+
SHUTTING_DOWN = "shutting down"
|
|
22
|
+
HEALTHY = "healthy"
|
|
23
|
+
STANDBY = "standby"
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class HealthServerStatusTypedDict(TypedDict):
|
|
27
|
+
start_time: float
|
|
28
|
+
status: Status
|
|
29
|
+
role: NotRequired[Role]
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class HealthServerStatus(BaseModel):
|
|
33
|
+
start_time: Annotated[float, pydantic.Field(alias="startTime")]
|
|
34
|
+
|
|
35
|
+
status: Annotated[Status, PlainValidator(validate_open_enum(False))]
|
|
36
|
+
|
|
37
|
+
role: Annotated[Optional[Role], PlainValidator(validate_open_enum(False))] = None
|
|
38
|
+
|
|
39
|
+
@field_serializer("role")
|
|
40
|
+
def serialize_role(self, value):
|
|
41
|
+
if isinstance(value, str):
|
|
42
|
+
try:
|
|
43
|
+
return models.Role(value)
|
|
44
|
+
except ValueError:
|
|
45
|
+
return value
|
|
46
|
+
return value
|
|
47
|
+
|
|
48
|
+
@field_serializer("status")
|
|
49
|
+
def serialize_status(self, value):
|
|
50
|
+
if isinstance(value, str):
|
|
51
|
+
try:
|
|
52
|
+
return models.Status(value)
|
|
53
|
+
except ValueError:
|
|
54
|
+
return value
|
|
55
|
+
return value
|
|
@@ -3,36 +3,31 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from cribl_control_plane.types import BaseModel
|
|
5
5
|
import pydantic
|
|
6
|
-
from typing import List, Optional
|
|
6
|
+
from typing import Dict, List, Optional
|
|
7
7
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
class HeartbeatMetadataTagsTypedDict(TypedDict):
|
|
11
|
-
pass
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class HeartbeatMetadataTags(BaseModel):
|
|
15
|
-
pass
|
|
16
|
-
|
|
17
|
-
|
|
18
10
|
class HeartbeatMetadataAwsTypedDict(TypedDict):
|
|
19
11
|
enabled: bool
|
|
12
|
+
instance_id: str
|
|
20
13
|
region: str
|
|
21
14
|
type: str
|
|
22
15
|
zone: str
|
|
23
|
-
tags: NotRequired[
|
|
16
|
+
tags: NotRequired[Dict[str, str]]
|
|
24
17
|
|
|
25
18
|
|
|
26
19
|
class HeartbeatMetadataAws(BaseModel):
|
|
27
20
|
enabled: bool
|
|
28
21
|
|
|
22
|
+
instance_id: Annotated[str, pydantic.Field(alias="instanceId")]
|
|
23
|
+
|
|
29
24
|
region: str
|
|
30
25
|
|
|
31
26
|
type: str
|
|
32
27
|
|
|
33
28
|
zone: str
|
|
34
29
|
|
|
35
|
-
tags: Optional[
|
|
30
|
+
tags: Optional[Dict[str, str]] = None
|
|
36
31
|
|
|
37
32
|
|
|
38
33
|
class HeartbeatMetadataHostOsTypedDict(TypedDict):
|