cribl-control-plane 0.0.39__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 +92 -42
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/acl.py +21 -9
- cribl_control_plane/auth_sdk.py +6 -3
- cribl_control_plane/basesdk.py +17 -1
- cribl_control_plane/branches.py +28 -8
- cribl_control_plane/commits.py +119 -47
- cribl_control_plane/commits_files.py +44 -24
- cribl_control_plane/configs_versions.py +16 -10
- cribl_control_plane/cribl.py +495 -0
- cribl_control_plane/destinations.py +86 -34
- cribl_control_plane/destinations_pq.py +34 -14
- 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/functions.py +367 -0
- cribl_control_plane/groups_configs.py +8 -3
- cribl_control_plane/groups_sdk.py +156 -94
- cribl_control_plane/health.py +34 -14
- cribl_control_plane/hectokens.py +44 -20
- cribl_control_plane/httpclient.py +0 -1
- cribl_control_plane/lakedatasets.py +156 -62
- cribl_control_plane/models/__init__.py +3298 -479
- 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 +62 -8
- 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/{createinputop.py → countedgitdiffresult.py} +5 -9
- 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/{createoutputop.py → countedoutputsamplesresponse.py} +5 -9
- 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 +26 -27
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +1 -19
- cribl_control_plane/models/createinputhectokenbyidop.py +1 -19
- cribl_control_plane/models/createoutputtestbyidop.py +1 -20
- cribl_control_plane/models/createroutesappendbyidop.py +4 -22
- cribl_control_plane/models/createversioncommitop.py +1 -19
- cribl_control_plane/models/createversionrevertop.py +3 -21
- cribl_control_plane/models/createversionundoop.py +1 -18
- 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/datasetmetadata.py +18 -2
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +18 -21
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/deleteinputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputpqbyidop.py +1 -19
- cribl_control_plane/models/deletepacksbyidop.py +1 -20
- 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 +24 -20
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +24 -20
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +14 -19
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +18 -20
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +54 -14
- cribl_control_plane/models/getfunctionsbyidop.py +18 -0
- cribl_control_plane/models/getinputbyidop.py +1 -20
- cribl_control_plane/models/getmasterworkerentryop.py +1 -18
- cribl_control_plane/models/getoutputbyidop.py +1 -20
- cribl_control_plane/models/getoutputpqbyidop.py +1 -19
- cribl_control_plane/models/getoutputsamplesbyidop.py +1 -20
- cribl_control_plane/models/getpacksbyidop.py +1 -20
- cribl_control_plane/models/getpacksop.py +1 -19
- cribl_control_plane/models/getpipelinebyidop.py +3 -22
- cribl_control_plane/models/getroutesbyidop.py +3 -22
- cribl_control_plane/models/getsummaryop.py +18 -20
- cribl_control_plane/models/getversioncountop.py +3 -21
- cribl_control_plane/models/getversiondiffop.py +1 -18
- cribl_control_plane/models/getversionfilesop.py +3 -22
- cribl_control_plane/models/getversionop.py +1 -19
- cribl_control_plane/models/getversionshowop.py +1 -18
- cribl_control_plane/models/getversionstatusop.py +1 -19
- cribl_control_plane/models/{routecloneconf.py → gitcountresult.py} +4 -4
- 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 +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 +83 -78
- cribl_control_plane/models/inputappscope.py +126 -30
- cribl_control_plane/models/inputazureblob.py +62 -6
- cribl_control_plane/models/inputcloudflarehec.py +518 -0
- cribl_control_plane/models/inputcollection.py +47 -4
- cribl_control_plane/models/inputconfluentcloud.py +258 -32
- cribl_control_plane/models/inputcribl.py +47 -4
- cribl_control_plane/models/inputcriblhttp.py +121 -30
- cribl_control_plane/models/inputcribllakehttp.py +136 -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 +252 -28
- 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 +145 -32
- 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 +112 -21
- cribl_control_plane/models/inputsplunk.py +130 -28
- cribl_control_plane/models/inputsplunkhec.py +119 -29
- cribl_control_plane/models/inputsplunksearch.py +112 -15
- 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 +144 -15
- cribl_control_plane/models/inputwindowsmetrics.py +186 -33
- cribl_control_plane/models/inputwineventlogs.py +93 -11
- cribl_control_plane/models/inputwiz.py +173 -8
- cribl_control_plane/models/inputwizwebhook.py +97 -24
- cribl_control_plane/models/inputzscalerhec.py +119 -29
- 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 -19
- cribl_control_plane/models/listmasterworkerentryop.py +1 -19
- 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 +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 +198 -31
- 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 +178 -32
- 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 +262 -42
- 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/piisettings_union.py +31 -0
- 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/rollbacksettings_union.py +44 -0
- cribl_control_plane/models/routeconf.py +3 -4
- 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/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 +19 -20
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +19 -21
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +10 -25
- cribl_control_plane/models/updatehectokenrequest.py +7 -1
- cribl_control_plane/models/updateinputbyidop.py +1 -19
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +1 -19
- cribl_control_plane/models/updateoutputbyidop.py +1 -19
- cribl_control_plane/models/updatepacksbyidop.py +1 -20
- cribl_control_plane/models/updatepacksop.py +25 -0
- cribl_control_plane/models/updatepipelinebyidop.py +5 -23
- cribl_control_plane/models/updateroutesbyidop.py +3 -21
- 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/workertypes.py +2 -1
- cribl_control_plane/nodes.py +37 -23
- cribl_control_plane/packs.py +292 -37
- cribl_control_plane/pipelines.py +98 -48
- cribl_control_plane/routes_sdk.py +86 -50
- cribl_control_plane/samples.py +32 -16
- cribl_control_plane/sdk.py +26 -6
- cribl_control_plane/settings.py +20 -0
- cribl_control_plane/sources.py +85 -33
- cribl_control_plane/statuses.py +16 -6
- cribl_control_plane/summaries.py +16 -6
- cribl_control_plane/system_sdk.py +20 -0
- cribl_control_plane/teams.py +16 -6
- cribl_control_plane/tokens.py +49 -21
- 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/forms.py +21 -10
- cribl_control_plane/utils/queryparams.py +14 -2
- 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/versions_configs.py +16 -6
- {cribl_control_plane-0.0.39.dist-info → cribl_control_plane-0.4.0b23.dist-info}/METADATA +99 -43
- cribl_control_plane-0.4.0b23.dist-info/RECORD +450 -0
- {cribl_control_plane-0.0.39.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/appmode.py +0 -13
- cribl_control_plane/models/createpipelineop.py +0 -24
- cribl_control_plane/models/createversionpushop.py +0 -23
- cribl_control_plane/models/healthstatus.py +0 -33
- cribl_control_plane-0.0.39.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,
|
|
@@ -36,7 +38,7 @@ class GroupsSDK(BaseSDK):
|
|
|
36
38
|
server_url: Optional[str] = None,
|
|
37
39
|
timeout_ms: Optional[int] = None,
|
|
38
40
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
39
|
-
) -> models.
|
|
41
|
+
) -> models.CountedConfigGroup:
|
|
40
42
|
r"""List all Worker Groups or Edge Fleets for the specified Cribl product
|
|
41
43
|
|
|
42
44
|
Get a list of all Worker Groups or Edge Fleets for the specified Cribl product.
|
|
@@ -59,8 +61,8 @@ class GroupsSDK(BaseSDK):
|
|
|
59
61
|
base_url = self._get_url(base_url, url_variables)
|
|
60
62
|
|
|
61
63
|
request = models.ListConfigGroupByProductRequest(
|
|
62
|
-
fields=fields,
|
|
63
64
|
product=product,
|
|
65
|
+
fields=fields,
|
|
64
66
|
)
|
|
65
67
|
|
|
66
68
|
req = self._build_request(
|
|
@@ -76,16 +78,21 @@ class GroupsSDK(BaseSDK):
|
|
|
76
78
|
accept_header_value="application/json",
|
|
77
79
|
http_headers=http_headers,
|
|
78
80
|
security=self.sdk_configuration.security,
|
|
81
|
+
allow_empty_value=None,
|
|
79
82
|
timeout_ms=timeout_ms,
|
|
80
83
|
)
|
|
81
84
|
|
|
82
85
|
if retries == UNSET:
|
|
83
86
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
84
87
|
retries = self.sdk_configuration.retry_config
|
|
88
|
+
else:
|
|
89
|
+
retries = utils.RetryConfig(
|
|
90
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
91
|
+
)
|
|
85
92
|
|
|
86
93
|
retry_config = None
|
|
87
94
|
if isinstance(retries, utils.RetryConfig):
|
|
88
|
-
retry_config = (retries, ["429"
|
|
95
|
+
retry_config = (retries, ["429"])
|
|
89
96
|
|
|
90
97
|
http_res = self.do_request(
|
|
91
98
|
hook_ctx=HookContext(
|
|
@@ -104,9 +111,7 @@ class GroupsSDK(BaseSDK):
|
|
|
104
111
|
|
|
105
112
|
response_data: Any = None
|
|
106
113
|
if utils.match_response(http_res, "200", "application/json"):
|
|
107
|
-
return unmarshal_json_response(
|
|
108
|
-
models.ListConfigGroupByProductResponse, http_res
|
|
109
|
-
)
|
|
114
|
+
return unmarshal_json_response(models.CountedConfigGroup, http_res)
|
|
110
115
|
if utils.match_response(http_res, "500", "application/json"):
|
|
111
116
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
112
117
|
raise errors.Error(response_data, http_res)
|
|
@@ -128,7 +133,7 @@ class GroupsSDK(BaseSDK):
|
|
|
128
133
|
server_url: Optional[str] = None,
|
|
129
134
|
timeout_ms: Optional[int] = None,
|
|
130
135
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
131
|
-
) -> models.
|
|
136
|
+
) -> models.CountedConfigGroup:
|
|
132
137
|
r"""List all Worker Groups or Edge Fleets for the specified Cribl product
|
|
133
138
|
|
|
134
139
|
Get a list of all Worker Groups or Edge Fleets for the specified Cribl product.
|
|
@@ -151,8 +156,8 @@ class GroupsSDK(BaseSDK):
|
|
|
151
156
|
base_url = self._get_url(base_url, url_variables)
|
|
152
157
|
|
|
153
158
|
request = models.ListConfigGroupByProductRequest(
|
|
154
|
-
fields=fields,
|
|
155
159
|
product=product,
|
|
160
|
+
fields=fields,
|
|
156
161
|
)
|
|
157
162
|
|
|
158
163
|
req = self._build_request_async(
|
|
@@ -168,16 +173,21 @@ class GroupsSDK(BaseSDK):
|
|
|
168
173
|
accept_header_value="application/json",
|
|
169
174
|
http_headers=http_headers,
|
|
170
175
|
security=self.sdk_configuration.security,
|
|
176
|
+
allow_empty_value=None,
|
|
171
177
|
timeout_ms=timeout_ms,
|
|
172
178
|
)
|
|
173
179
|
|
|
174
180
|
if retries == UNSET:
|
|
175
181
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
176
182
|
retries = self.sdk_configuration.retry_config
|
|
183
|
+
else:
|
|
184
|
+
retries = utils.RetryConfig(
|
|
185
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
186
|
+
)
|
|
177
187
|
|
|
178
188
|
retry_config = None
|
|
179
189
|
if isinstance(retries, utils.RetryConfig):
|
|
180
|
-
retry_config = (retries, ["429"
|
|
190
|
+
retry_config = (retries, ["429"])
|
|
181
191
|
|
|
182
192
|
http_res = await self.do_request_async(
|
|
183
193
|
hook_ctx=HookContext(
|
|
@@ -196,9 +206,7 @@ class GroupsSDK(BaseSDK):
|
|
|
196
206
|
|
|
197
207
|
response_data: Any = None
|
|
198
208
|
if utils.match_response(http_res, "200", "application/json"):
|
|
199
|
-
return unmarshal_json_response(
|
|
200
|
-
models.ListConfigGroupByProductResponse, http_res
|
|
201
|
-
)
|
|
209
|
+
return unmarshal_json_response(models.CountedConfigGroup, http_res)
|
|
202
210
|
if utils.match_response(http_res, "500", "application/json"):
|
|
203
211
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
204
212
|
raise errors.Error(response_data, http_res)
|
|
@@ -219,11 +227,14 @@ class GroupsSDK(BaseSDK):
|
|
|
219
227
|
cloud: Optional[
|
|
220
228
|
Union[models.ConfigGroupCloud, models.ConfigGroupCloudTypedDict]
|
|
221
229
|
] = None,
|
|
222
|
-
config_version: Optional[str] = None,
|
|
223
230
|
deploying_worker_count: Optional[float] = None,
|
|
224
231
|
description: Optional[str] = None,
|
|
225
|
-
estimated_ingest_rate: Optional[
|
|
226
|
-
|
|
232
|
+
estimated_ingest_rate: Optional[
|
|
233
|
+
models.GroupCreateRequestEstimatedIngestRate
|
|
234
|
+
] = None,
|
|
235
|
+
git: Optional[
|
|
236
|
+
Union[models.GroupCreateRequestGit, models.GroupCreateRequestGitTypedDict]
|
|
237
|
+
] = None,
|
|
227
238
|
incompatible_worker_count: Optional[float] = None,
|
|
228
239
|
inherits: Optional[str] = None,
|
|
229
240
|
is_fleet: Optional[bool] = None,
|
|
@@ -238,9 +249,10 @@ class GroupsSDK(BaseSDK):
|
|
|
238
249
|
name: Optional[str] = None,
|
|
239
250
|
on_prem: Optional[bool] = None,
|
|
240
251
|
provisioned: Optional[bool] = None,
|
|
252
|
+
source_group_id: Optional[str] = None,
|
|
241
253
|
streamtags: Optional[List[str]] = None,
|
|
242
254
|
tags: Optional[str] = None,
|
|
243
|
-
type_: Optional[models.
|
|
255
|
+
type_: Optional[models.GroupCreateRequestType] = None,
|
|
244
256
|
upgrade_version: Optional[str] = None,
|
|
245
257
|
worker_count: Optional[float] = None,
|
|
246
258
|
worker_remote_access: Optional[bool] = None,
|
|
@@ -248,7 +260,7 @@ class GroupsSDK(BaseSDK):
|
|
|
248
260
|
server_url: Optional[str] = None,
|
|
249
261
|
timeout_ms: Optional[int] = None,
|
|
250
262
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
251
|
-
) -> models.
|
|
263
|
+
) -> models.CountedConfigGroup:
|
|
252
264
|
r"""Create a Worker Group or Edge Fleet for the specified Cribl product
|
|
253
265
|
|
|
254
266
|
Create a new Worker Group or Edge Fleet for the specified Cribl product.
|
|
@@ -256,10 +268,9 @@ class GroupsSDK(BaseSDK):
|
|
|
256
268
|
:param product: Name of the Cribl product to add the Worker Group or Edge Fleet to.
|
|
257
269
|
:param id:
|
|
258
270
|
:param cloud:
|
|
259
|
-
:param config_version:
|
|
260
271
|
:param deploying_worker_count:
|
|
261
272
|
:param description:
|
|
262
|
-
:param estimated_ingest_rate:
|
|
273
|
+
: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
274
|
:param git:
|
|
264
275
|
:param incompatible_worker_count:
|
|
265
276
|
:param inherits:
|
|
@@ -270,6 +281,7 @@ class GroupsSDK(BaseSDK):
|
|
|
270
281
|
:param name:
|
|
271
282
|
:param on_prem:
|
|
272
283
|
:param provisioned:
|
|
284
|
+
:param source_group_id:
|
|
273
285
|
:param streamtags:
|
|
274
286
|
:param tags:
|
|
275
287
|
:param type:
|
|
@@ -293,15 +305,16 @@ class GroupsSDK(BaseSDK):
|
|
|
293
305
|
|
|
294
306
|
request = models.CreateConfigGroupByProductRequest(
|
|
295
307
|
product=product,
|
|
296
|
-
|
|
308
|
+
group_create_request=models.GroupCreateRequest(
|
|
297
309
|
cloud=utils.get_pydantic_model(
|
|
298
310
|
cloud, Optional[models.ConfigGroupCloud]
|
|
299
311
|
),
|
|
300
|
-
config_version=config_version,
|
|
301
312
|
deploying_worker_count=deploying_worker_count,
|
|
302
313
|
description=description,
|
|
303
314
|
estimated_ingest_rate=estimated_ingest_rate,
|
|
304
|
-
git=utils.get_pydantic_model(
|
|
315
|
+
git=utils.get_pydantic_model(
|
|
316
|
+
git, Optional[models.GroupCreateRequestGit]
|
|
317
|
+
),
|
|
305
318
|
id=id,
|
|
306
319
|
incompatible_worker_count=incompatible_worker_count,
|
|
307
320
|
inherits=inherits,
|
|
@@ -314,6 +327,7 @@ class GroupsSDK(BaseSDK):
|
|
|
314
327
|
name=name,
|
|
315
328
|
on_prem=on_prem,
|
|
316
329
|
provisioned=provisioned,
|
|
330
|
+
source_group_id=source_group_id,
|
|
317
331
|
streamtags=streamtags,
|
|
318
332
|
tags=tags,
|
|
319
333
|
type=type_,
|
|
@@ -337,18 +351,27 @@ class GroupsSDK(BaseSDK):
|
|
|
337
351
|
http_headers=http_headers,
|
|
338
352
|
security=self.sdk_configuration.security,
|
|
339
353
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
340
|
-
request.
|
|
354
|
+
request.group_create_request,
|
|
355
|
+
False,
|
|
356
|
+
False,
|
|
357
|
+
"json",
|
|
358
|
+
models.GroupCreateRequest,
|
|
341
359
|
),
|
|
360
|
+
allow_empty_value=None,
|
|
342
361
|
timeout_ms=timeout_ms,
|
|
343
362
|
)
|
|
344
363
|
|
|
345
364
|
if retries == UNSET:
|
|
346
365
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
347
366
|
retries = self.sdk_configuration.retry_config
|
|
367
|
+
else:
|
|
368
|
+
retries = utils.RetryConfig(
|
|
369
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
370
|
+
)
|
|
348
371
|
|
|
349
372
|
retry_config = None
|
|
350
373
|
if isinstance(retries, utils.RetryConfig):
|
|
351
|
-
retry_config = (retries, ["429"
|
|
374
|
+
retry_config = (retries, ["429"])
|
|
352
375
|
|
|
353
376
|
http_res = self.do_request(
|
|
354
377
|
hook_ctx=HookContext(
|
|
@@ -367,9 +390,7 @@ class GroupsSDK(BaseSDK):
|
|
|
367
390
|
|
|
368
391
|
response_data: Any = None
|
|
369
392
|
if utils.match_response(http_res, "200", "application/json"):
|
|
370
|
-
return unmarshal_json_response(
|
|
371
|
-
models.CreateConfigGroupByProductResponse, http_res
|
|
372
|
-
)
|
|
393
|
+
return unmarshal_json_response(models.CountedConfigGroup, http_res)
|
|
373
394
|
if utils.match_response(http_res, "500", "application/json"):
|
|
374
395
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
375
396
|
raise errors.Error(response_data, http_res)
|
|
@@ -390,11 +411,14 @@ class GroupsSDK(BaseSDK):
|
|
|
390
411
|
cloud: Optional[
|
|
391
412
|
Union[models.ConfigGroupCloud, models.ConfigGroupCloudTypedDict]
|
|
392
413
|
] = None,
|
|
393
|
-
config_version: Optional[str] = None,
|
|
394
414
|
deploying_worker_count: Optional[float] = None,
|
|
395
415
|
description: Optional[str] = None,
|
|
396
|
-
estimated_ingest_rate: Optional[
|
|
397
|
-
|
|
416
|
+
estimated_ingest_rate: Optional[
|
|
417
|
+
models.GroupCreateRequestEstimatedIngestRate
|
|
418
|
+
] = None,
|
|
419
|
+
git: Optional[
|
|
420
|
+
Union[models.GroupCreateRequestGit, models.GroupCreateRequestGitTypedDict]
|
|
421
|
+
] = None,
|
|
398
422
|
incompatible_worker_count: Optional[float] = None,
|
|
399
423
|
inherits: Optional[str] = None,
|
|
400
424
|
is_fleet: Optional[bool] = None,
|
|
@@ -409,9 +433,10 @@ class GroupsSDK(BaseSDK):
|
|
|
409
433
|
name: Optional[str] = None,
|
|
410
434
|
on_prem: Optional[bool] = None,
|
|
411
435
|
provisioned: Optional[bool] = None,
|
|
436
|
+
source_group_id: Optional[str] = None,
|
|
412
437
|
streamtags: Optional[List[str]] = None,
|
|
413
438
|
tags: Optional[str] = None,
|
|
414
|
-
type_: Optional[models.
|
|
439
|
+
type_: Optional[models.GroupCreateRequestType] = None,
|
|
415
440
|
upgrade_version: Optional[str] = None,
|
|
416
441
|
worker_count: Optional[float] = None,
|
|
417
442
|
worker_remote_access: Optional[bool] = None,
|
|
@@ -419,7 +444,7 @@ class GroupsSDK(BaseSDK):
|
|
|
419
444
|
server_url: Optional[str] = None,
|
|
420
445
|
timeout_ms: Optional[int] = None,
|
|
421
446
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
422
|
-
) -> models.
|
|
447
|
+
) -> models.CountedConfigGroup:
|
|
423
448
|
r"""Create a Worker Group or Edge Fleet for the specified Cribl product
|
|
424
449
|
|
|
425
450
|
Create a new Worker Group or Edge Fleet for the specified Cribl product.
|
|
@@ -427,10 +452,9 @@ class GroupsSDK(BaseSDK):
|
|
|
427
452
|
:param product: Name of the Cribl product to add the Worker Group or Edge Fleet to.
|
|
428
453
|
:param id:
|
|
429
454
|
:param cloud:
|
|
430
|
-
:param config_version:
|
|
431
455
|
:param deploying_worker_count:
|
|
432
456
|
:param description:
|
|
433
|
-
:param estimated_ingest_rate:
|
|
457
|
+
: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
458
|
:param git:
|
|
435
459
|
:param incompatible_worker_count:
|
|
436
460
|
:param inherits:
|
|
@@ -441,6 +465,7 @@ class GroupsSDK(BaseSDK):
|
|
|
441
465
|
:param name:
|
|
442
466
|
:param on_prem:
|
|
443
467
|
:param provisioned:
|
|
468
|
+
:param source_group_id:
|
|
444
469
|
:param streamtags:
|
|
445
470
|
:param tags:
|
|
446
471
|
:param type:
|
|
@@ -464,15 +489,16 @@ class GroupsSDK(BaseSDK):
|
|
|
464
489
|
|
|
465
490
|
request = models.CreateConfigGroupByProductRequest(
|
|
466
491
|
product=product,
|
|
467
|
-
|
|
492
|
+
group_create_request=models.GroupCreateRequest(
|
|
468
493
|
cloud=utils.get_pydantic_model(
|
|
469
494
|
cloud, Optional[models.ConfigGroupCloud]
|
|
470
495
|
),
|
|
471
|
-
config_version=config_version,
|
|
472
496
|
deploying_worker_count=deploying_worker_count,
|
|
473
497
|
description=description,
|
|
474
498
|
estimated_ingest_rate=estimated_ingest_rate,
|
|
475
|
-
git=utils.get_pydantic_model(
|
|
499
|
+
git=utils.get_pydantic_model(
|
|
500
|
+
git, Optional[models.GroupCreateRequestGit]
|
|
501
|
+
),
|
|
476
502
|
id=id,
|
|
477
503
|
incompatible_worker_count=incompatible_worker_count,
|
|
478
504
|
inherits=inherits,
|
|
@@ -485,6 +511,7 @@ class GroupsSDK(BaseSDK):
|
|
|
485
511
|
name=name,
|
|
486
512
|
on_prem=on_prem,
|
|
487
513
|
provisioned=provisioned,
|
|
514
|
+
source_group_id=source_group_id,
|
|
488
515
|
streamtags=streamtags,
|
|
489
516
|
tags=tags,
|
|
490
517
|
type=type_,
|
|
@@ -508,18 +535,27 @@ class GroupsSDK(BaseSDK):
|
|
|
508
535
|
http_headers=http_headers,
|
|
509
536
|
security=self.sdk_configuration.security,
|
|
510
537
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
511
|
-
request.
|
|
538
|
+
request.group_create_request,
|
|
539
|
+
False,
|
|
540
|
+
False,
|
|
541
|
+
"json",
|
|
542
|
+
models.GroupCreateRequest,
|
|
512
543
|
),
|
|
544
|
+
allow_empty_value=None,
|
|
513
545
|
timeout_ms=timeout_ms,
|
|
514
546
|
)
|
|
515
547
|
|
|
516
548
|
if retries == UNSET:
|
|
517
549
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
518
550
|
retries = self.sdk_configuration.retry_config
|
|
551
|
+
else:
|
|
552
|
+
retries = utils.RetryConfig(
|
|
553
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
554
|
+
)
|
|
519
555
|
|
|
520
556
|
retry_config = None
|
|
521
557
|
if isinstance(retries, utils.RetryConfig):
|
|
522
|
-
retry_config = (retries, ["429"
|
|
558
|
+
retry_config = (retries, ["429"])
|
|
523
559
|
|
|
524
560
|
http_res = await self.do_request_async(
|
|
525
561
|
hook_ctx=HookContext(
|
|
@@ -538,9 +574,7 @@ class GroupsSDK(BaseSDK):
|
|
|
538
574
|
|
|
539
575
|
response_data: Any = None
|
|
540
576
|
if utils.match_response(http_res, "200", "application/json"):
|
|
541
|
-
return unmarshal_json_response(
|
|
542
|
-
models.CreateConfigGroupByProductResponse, http_res
|
|
543
|
-
)
|
|
577
|
+
return unmarshal_json_response(models.CountedConfigGroup, http_res)
|
|
544
578
|
if utils.match_response(http_res, "500", "application/json"):
|
|
545
579
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
546
580
|
raise errors.Error(response_data, http_res)
|
|
@@ -563,7 +597,7 @@ class GroupsSDK(BaseSDK):
|
|
|
563
597
|
server_url: Optional[str] = None,
|
|
564
598
|
timeout_ms: Optional[int] = None,
|
|
565
599
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
566
|
-
) -> models.
|
|
600
|
+
) -> models.CountedConfigGroup:
|
|
567
601
|
r"""Get a Worker Group or Edge Fleet
|
|
568
602
|
|
|
569
603
|
Get the specified Worker Group or Edge Fleet.
|
|
@@ -605,16 +639,21 @@ class GroupsSDK(BaseSDK):
|
|
|
605
639
|
accept_header_value="application/json",
|
|
606
640
|
http_headers=http_headers,
|
|
607
641
|
security=self.sdk_configuration.security,
|
|
642
|
+
allow_empty_value=None,
|
|
608
643
|
timeout_ms=timeout_ms,
|
|
609
644
|
)
|
|
610
645
|
|
|
611
646
|
if retries == UNSET:
|
|
612
647
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
613
648
|
retries = self.sdk_configuration.retry_config
|
|
649
|
+
else:
|
|
650
|
+
retries = utils.RetryConfig(
|
|
651
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
652
|
+
)
|
|
614
653
|
|
|
615
654
|
retry_config = None
|
|
616
655
|
if isinstance(retries, utils.RetryConfig):
|
|
617
|
-
retry_config = (retries, ["429"
|
|
656
|
+
retry_config = (retries, ["429"])
|
|
618
657
|
|
|
619
658
|
http_res = self.do_request(
|
|
620
659
|
hook_ctx=HookContext(
|
|
@@ -633,9 +672,7 @@ class GroupsSDK(BaseSDK):
|
|
|
633
672
|
|
|
634
673
|
response_data: Any = None
|
|
635
674
|
if utils.match_response(http_res, "200", "application/json"):
|
|
636
|
-
return unmarshal_json_response(
|
|
637
|
-
models.GetConfigGroupByProductAndIDResponse, http_res
|
|
638
|
-
)
|
|
675
|
+
return unmarshal_json_response(models.CountedConfigGroup, http_res)
|
|
639
676
|
if utils.match_response(http_res, "500", "application/json"):
|
|
640
677
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
641
678
|
raise errors.Error(response_data, http_res)
|
|
@@ -658,7 +695,7 @@ class GroupsSDK(BaseSDK):
|
|
|
658
695
|
server_url: Optional[str] = None,
|
|
659
696
|
timeout_ms: Optional[int] = None,
|
|
660
697
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
661
|
-
) -> models.
|
|
698
|
+
) -> models.CountedConfigGroup:
|
|
662
699
|
r"""Get a Worker Group or Edge Fleet
|
|
663
700
|
|
|
664
701
|
Get the specified Worker Group or Edge Fleet.
|
|
@@ -700,16 +737,21 @@ class GroupsSDK(BaseSDK):
|
|
|
700
737
|
accept_header_value="application/json",
|
|
701
738
|
http_headers=http_headers,
|
|
702
739
|
security=self.sdk_configuration.security,
|
|
740
|
+
allow_empty_value=None,
|
|
703
741
|
timeout_ms=timeout_ms,
|
|
704
742
|
)
|
|
705
743
|
|
|
706
744
|
if retries == UNSET:
|
|
707
745
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
708
746
|
retries = self.sdk_configuration.retry_config
|
|
747
|
+
else:
|
|
748
|
+
retries = utils.RetryConfig(
|
|
749
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
750
|
+
)
|
|
709
751
|
|
|
710
752
|
retry_config = None
|
|
711
753
|
if isinstance(retries, utils.RetryConfig):
|
|
712
|
-
retry_config = (retries, ["429"
|
|
754
|
+
retry_config = (retries, ["429"])
|
|
713
755
|
|
|
714
756
|
http_res = await self.do_request_async(
|
|
715
757
|
hook_ctx=HookContext(
|
|
@@ -728,9 +770,7 @@ class GroupsSDK(BaseSDK):
|
|
|
728
770
|
|
|
729
771
|
response_data: Any = None
|
|
730
772
|
if utils.match_response(http_res, "200", "application/json"):
|
|
731
|
-
return unmarshal_json_response(
|
|
732
|
-
models.GetConfigGroupByProductAndIDResponse, http_res
|
|
733
|
-
)
|
|
773
|
+
return unmarshal_json_response(models.CountedConfigGroup, http_res)
|
|
734
774
|
if utils.match_response(http_res, "500", "application/json"):
|
|
735
775
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
736
776
|
raise errors.Error(response_data, http_res)
|
|
@@ -755,8 +795,10 @@ class GroupsSDK(BaseSDK):
|
|
|
755
795
|
config_version: Optional[str] = None,
|
|
756
796
|
deploying_worker_count: Optional[float] = None,
|
|
757
797
|
description: Optional[str] = None,
|
|
758
|
-
estimated_ingest_rate: Optional[
|
|
759
|
-
git: Optional[
|
|
798
|
+
estimated_ingest_rate: Optional[models.ConfigGroupEstimatedIngestRate] = None,
|
|
799
|
+
git: Optional[
|
|
800
|
+
Union[models.ConfigGroupGit, models.ConfigGroupGitTypedDict]
|
|
801
|
+
] = None,
|
|
760
802
|
incompatible_worker_count: Optional[float] = None,
|
|
761
803
|
inherits: Optional[str] = None,
|
|
762
804
|
is_fleet: Optional[bool] = None,
|
|
@@ -781,7 +823,7 @@ class GroupsSDK(BaseSDK):
|
|
|
781
823
|
server_url: Optional[str] = None,
|
|
782
824
|
timeout_ms: Optional[int] = None,
|
|
783
825
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
784
|
-
) -> models.
|
|
826
|
+
) -> models.CountedConfigGroup:
|
|
785
827
|
r"""Update a Worker Group or Edge Fleet
|
|
786
828
|
|
|
787
829
|
Update the specified Worker Group or Edge Fleet.
|
|
@@ -793,7 +835,7 @@ class GroupsSDK(BaseSDK):
|
|
|
793
835
|
:param config_version:
|
|
794
836
|
:param deploying_worker_count:
|
|
795
837
|
:param description:
|
|
796
|
-
:param estimated_ingest_rate:
|
|
838
|
+
: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
839
|
:param git:
|
|
798
840
|
:param incompatible_worker_count:
|
|
799
841
|
:param inherits:
|
|
@@ -836,7 +878,7 @@ class GroupsSDK(BaseSDK):
|
|
|
836
878
|
deploying_worker_count=deploying_worker_count,
|
|
837
879
|
description=description,
|
|
838
880
|
estimated_ingest_rate=estimated_ingest_rate,
|
|
839
|
-
git=utils.get_pydantic_model(git, Optional[models.
|
|
881
|
+
git=utils.get_pydantic_model(git, Optional[models.ConfigGroupGit]),
|
|
840
882
|
id=id,
|
|
841
883
|
incompatible_worker_count=incompatible_worker_count,
|
|
842
884
|
inherits=inherits,
|
|
@@ -874,16 +916,21 @@ class GroupsSDK(BaseSDK):
|
|
|
874
916
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
875
917
|
request.config_group, False, False, "json", models.ConfigGroup
|
|
876
918
|
),
|
|
919
|
+
allow_empty_value=None,
|
|
877
920
|
timeout_ms=timeout_ms,
|
|
878
921
|
)
|
|
879
922
|
|
|
880
923
|
if retries == UNSET:
|
|
881
924
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
882
925
|
retries = self.sdk_configuration.retry_config
|
|
926
|
+
else:
|
|
927
|
+
retries = utils.RetryConfig(
|
|
928
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
929
|
+
)
|
|
883
930
|
|
|
884
931
|
retry_config = None
|
|
885
932
|
if isinstance(retries, utils.RetryConfig):
|
|
886
|
-
retry_config = (retries, ["429"
|
|
933
|
+
retry_config = (retries, ["429"])
|
|
887
934
|
|
|
888
935
|
http_res = self.do_request(
|
|
889
936
|
hook_ctx=HookContext(
|
|
@@ -902,9 +949,7 @@ class GroupsSDK(BaseSDK):
|
|
|
902
949
|
|
|
903
950
|
response_data: Any = None
|
|
904
951
|
if utils.match_response(http_res, "200", "application/json"):
|
|
905
|
-
return unmarshal_json_response(
|
|
906
|
-
models.UpdateConfigGroupByProductAndIDResponse, http_res
|
|
907
|
-
)
|
|
952
|
+
return unmarshal_json_response(models.CountedConfigGroup, http_res)
|
|
908
953
|
if utils.match_response(http_res, "500", "application/json"):
|
|
909
954
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
910
955
|
raise errors.Error(response_data, http_res)
|
|
@@ -929,8 +974,10 @@ class GroupsSDK(BaseSDK):
|
|
|
929
974
|
config_version: Optional[str] = None,
|
|
930
975
|
deploying_worker_count: Optional[float] = None,
|
|
931
976
|
description: Optional[str] = None,
|
|
932
|
-
estimated_ingest_rate: Optional[
|
|
933
|
-
git: Optional[
|
|
977
|
+
estimated_ingest_rate: Optional[models.ConfigGroupEstimatedIngestRate] = None,
|
|
978
|
+
git: Optional[
|
|
979
|
+
Union[models.ConfigGroupGit, models.ConfigGroupGitTypedDict]
|
|
980
|
+
] = None,
|
|
934
981
|
incompatible_worker_count: Optional[float] = None,
|
|
935
982
|
inherits: Optional[str] = None,
|
|
936
983
|
is_fleet: Optional[bool] = None,
|
|
@@ -955,7 +1002,7 @@ class GroupsSDK(BaseSDK):
|
|
|
955
1002
|
server_url: Optional[str] = None,
|
|
956
1003
|
timeout_ms: Optional[int] = None,
|
|
957
1004
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
958
|
-
) -> models.
|
|
1005
|
+
) -> models.CountedConfigGroup:
|
|
959
1006
|
r"""Update a Worker Group or Edge Fleet
|
|
960
1007
|
|
|
961
1008
|
Update the specified Worker Group or Edge Fleet.
|
|
@@ -967,7 +1014,7 @@ class GroupsSDK(BaseSDK):
|
|
|
967
1014
|
:param config_version:
|
|
968
1015
|
:param deploying_worker_count:
|
|
969
1016
|
:param description:
|
|
970
|
-
:param estimated_ingest_rate:
|
|
1017
|
+
: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
1018
|
:param git:
|
|
972
1019
|
:param incompatible_worker_count:
|
|
973
1020
|
:param inherits:
|
|
@@ -1010,7 +1057,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1010
1057
|
deploying_worker_count=deploying_worker_count,
|
|
1011
1058
|
description=description,
|
|
1012
1059
|
estimated_ingest_rate=estimated_ingest_rate,
|
|
1013
|
-
git=utils.get_pydantic_model(git, Optional[models.
|
|
1060
|
+
git=utils.get_pydantic_model(git, Optional[models.ConfigGroupGit]),
|
|
1014
1061
|
id=id,
|
|
1015
1062
|
incompatible_worker_count=incompatible_worker_count,
|
|
1016
1063
|
inherits=inherits,
|
|
@@ -1048,16 +1095,21 @@ class GroupsSDK(BaseSDK):
|
|
|
1048
1095
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
1049
1096
|
request.config_group, False, False, "json", models.ConfigGroup
|
|
1050
1097
|
),
|
|
1098
|
+
allow_empty_value=None,
|
|
1051
1099
|
timeout_ms=timeout_ms,
|
|
1052
1100
|
)
|
|
1053
1101
|
|
|
1054
1102
|
if retries == UNSET:
|
|
1055
1103
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
1056
1104
|
retries = self.sdk_configuration.retry_config
|
|
1105
|
+
else:
|
|
1106
|
+
retries = utils.RetryConfig(
|
|
1107
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
1108
|
+
)
|
|
1057
1109
|
|
|
1058
1110
|
retry_config = None
|
|
1059
1111
|
if isinstance(retries, utils.RetryConfig):
|
|
1060
|
-
retry_config = (retries, ["429"
|
|
1112
|
+
retry_config = (retries, ["429"])
|
|
1061
1113
|
|
|
1062
1114
|
http_res = await self.do_request_async(
|
|
1063
1115
|
hook_ctx=HookContext(
|
|
@@ -1076,9 +1128,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1076
1128
|
|
|
1077
1129
|
response_data: Any = None
|
|
1078
1130
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1079
|
-
return unmarshal_json_response(
|
|
1080
|
-
models.UpdateConfigGroupByProductAndIDResponse, http_res
|
|
1081
|
-
)
|
|
1131
|
+
return unmarshal_json_response(models.CountedConfigGroup, http_res)
|
|
1082
1132
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1083
1133
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1084
1134
|
raise errors.Error(response_data, http_res)
|
|
@@ -1100,7 +1150,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1100
1150
|
server_url: Optional[str] = None,
|
|
1101
1151
|
timeout_ms: Optional[int] = None,
|
|
1102
1152
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1103
|
-
) -> models.
|
|
1153
|
+
) -> models.CountedConfigGroup:
|
|
1104
1154
|
r"""Delete a Worker Group or Edge Fleet
|
|
1105
1155
|
|
|
1106
1156
|
Delete the specified Worker Group or Edge Fleet.
|
|
@@ -1140,16 +1190,21 @@ class GroupsSDK(BaseSDK):
|
|
|
1140
1190
|
accept_header_value="application/json",
|
|
1141
1191
|
http_headers=http_headers,
|
|
1142
1192
|
security=self.sdk_configuration.security,
|
|
1193
|
+
allow_empty_value=None,
|
|
1143
1194
|
timeout_ms=timeout_ms,
|
|
1144
1195
|
)
|
|
1145
1196
|
|
|
1146
1197
|
if retries == UNSET:
|
|
1147
1198
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
1148
1199
|
retries = self.sdk_configuration.retry_config
|
|
1200
|
+
else:
|
|
1201
|
+
retries = utils.RetryConfig(
|
|
1202
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
1203
|
+
)
|
|
1149
1204
|
|
|
1150
1205
|
retry_config = None
|
|
1151
1206
|
if isinstance(retries, utils.RetryConfig):
|
|
1152
|
-
retry_config = (retries, ["429"
|
|
1207
|
+
retry_config = (retries, ["429"])
|
|
1153
1208
|
|
|
1154
1209
|
http_res = self.do_request(
|
|
1155
1210
|
hook_ctx=HookContext(
|
|
@@ -1168,9 +1223,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1168
1223
|
|
|
1169
1224
|
response_data: Any = None
|
|
1170
1225
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1171
|
-
return unmarshal_json_response(
|
|
1172
|
-
models.DeleteConfigGroupByProductAndIDResponse, http_res
|
|
1173
|
-
)
|
|
1226
|
+
return unmarshal_json_response(models.CountedConfigGroup, http_res)
|
|
1174
1227
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1175
1228
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1176
1229
|
raise errors.Error(response_data, http_res)
|
|
@@ -1192,7 +1245,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1192
1245
|
server_url: Optional[str] = None,
|
|
1193
1246
|
timeout_ms: Optional[int] = None,
|
|
1194
1247
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1195
|
-
) -> models.
|
|
1248
|
+
) -> models.CountedConfigGroup:
|
|
1196
1249
|
r"""Delete a Worker Group or Edge Fleet
|
|
1197
1250
|
|
|
1198
1251
|
Delete the specified Worker Group or Edge Fleet.
|
|
@@ -1232,16 +1285,21 @@ class GroupsSDK(BaseSDK):
|
|
|
1232
1285
|
accept_header_value="application/json",
|
|
1233
1286
|
http_headers=http_headers,
|
|
1234
1287
|
security=self.sdk_configuration.security,
|
|
1288
|
+
allow_empty_value=None,
|
|
1235
1289
|
timeout_ms=timeout_ms,
|
|
1236
1290
|
)
|
|
1237
1291
|
|
|
1238
1292
|
if retries == UNSET:
|
|
1239
1293
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
1240
1294
|
retries = self.sdk_configuration.retry_config
|
|
1295
|
+
else:
|
|
1296
|
+
retries = utils.RetryConfig(
|
|
1297
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
1298
|
+
)
|
|
1241
1299
|
|
|
1242
1300
|
retry_config = None
|
|
1243
1301
|
if isinstance(retries, utils.RetryConfig):
|
|
1244
|
-
retry_config = (retries, ["429"
|
|
1302
|
+
retry_config = (retries, ["429"])
|
|
1245
1303
|
|
|
1246
1304
|
http_res = await self.do_request_async(
|
|
1247
1305
|
hook_ctx=HookContext(
|
|
@@ -1260,9 +1318,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1260
1318
|
|
|
1261
1319
|
response_data: Any = None
|
|
1262
1320
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1263
|
-
return unmarshal_json_response(
|
|
1264
|
-
models.DeleteConfigGroupByProductAndIDResponse, http_res
|
|
1265
|
-
)
|
|
1321
|
+
return unmarshal_json_response(models.CountedConfigGroup, http_res)
|
|
1266
1322
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1267
1323
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1268
1324
|
raise errors.Error(response_data, http_res)
|
|
@@ -1291,7 +1347,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1291
1347
|
server_url: Optional[str] = None,
|
|
1292
1348
|
timeout_ms: Optional[int] = None,
|
|
1293
1349
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1294
|
-
) -> models.
|
|
1350
|
+
) -> models.CountedConfigGroup:
|
|
1295
1351
|
r"""Deploy commits to a Worker Group or Edge Fleet
|
|
1296
1352
|
|
|
1297
1353
|
Deploy commits to the specified Worker Group or Edge Fleet.
|
|
@@ -1342,16 +1398,21 @@ class GroupsSDK(BaseSDK):
|
|
|
1342
1398
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
1343
1399
|
request.deploy_request, False, False, "json", models.DeployRequest
|
|
1344
1400
|
),
|
|
1401
|
+
allow_empty_value=None,
|
|
1345
1402
|
timeout_ms=timeout_ms,
|
|
1346
1403
|
)
|
|
1347
1404
|
|
|
1348
1405
|
if retries == UNSET:
|
|
1349
1406
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
1350
1407
|
retries = self.sdk_configuration.retry_config
|
|
1408
|
+
else:
|
|
1409
|
+
retries = utils.RetryConfig(
|
|
1410
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
1411
|
+
)
|
|
1351
1412
|
|
|
1352
1413
|
retry_config = None
|
|
1353
1414
|
if isinstance(retries, utils.RetryConfig):
|
|
1354
|
-
retry_config = (retries, ["429"
|
|
1415
|
+
retry_config = (retries, ["429"])
|
|
1355
1416
|
|
|
1356
1417
|
http_res = self.do_request(
|
|
1357
1418
|
hook_ctx=HookContext(
|
|
@@ -1370,9 +1431,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1370
1431
|
|
|
1371
1432
|
response_data: Any = None
|
|
1372
1433
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1373
|
-
return unmarshal_json_response(
|
|
1374
|
-
models.UpdateConfigGroupDeployByProductAndIDResponse, http_res
|
|
1375
|
-
)
|
|
1434
|
+
return unmarshal_json_response(models.CountedConfigGroup, http_res)
|
|
1376
1435
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1377
1436
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1378
1437
|
raise errors.Error(response_data, http_res)
|
|
@@ -1401,7 +1460,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1401
1460
|
server_url: Optional[str] = None,
|
|
1402
1461
|
timeout_ms: Optional[int] = None,
|
|
1403
1462
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1404
|
-
) -> models.
|
|
1463
|
+
) -> models.CountedConfigGroup:
|
|
1405
1464
|
r"""Deploy commits to a Worker Group or Edge Fleet
|
|
1406
1465
|
|
|
1407
1466
|
Deploy commits to the specified Worker Group or Edge Fleet.
|
|
@@ -1452,16 +1511,21 @@ class GroupsSDK(BaseSDK):
|
|
|
1452
1511
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
1453
1512
|
request.deploy_request, False, False, "json", models.DeployRequest
|
|
1454
1513
|
),
|
|
1514
|
+
allow_empty_value=None,
|
|
1455
1515
|
timeout_ms=timeout_ms,
|
|
1456
1516
|
)
|
|
1457
1517
|
|
|
1458
1518
|
if retries == UNSET:
|
|
1459
1519
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
1460
1520
|
retries = self.sdk_configuration.retry_config
|
|
1521
|
+
else:
|
|
1522
|
+
retries = utils.RetryConfig(
|
|
1523
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
1524
|
+
)
|
|
1461
1525
|
|
|
1462
1526
|
retry_config = None
|
|
1463
1527
|
if isinstance(retries, utils.RetryConfig):
|
|
1464
|
-
retry_config = (retries, ["429"
|
|
1528
|
+
retry_config = (retries, ["429"])
|
|
1465
1529
|
|
|
1466
1530
|
http_res = await self.do_request_async(
|
|
1467
1531
|
hook_ctx=HookContext(
|
|
@@ -1480,9 +1544,7 @@ class GroupsSDK(BaseSDK):
|
|
|
1480
1544
|
|
|
1481
1545
|
response_data: Any = None
|
|
1482
1546
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1483
|
-
return unmarshal_json_response(
|
|
1484
|
-
models.UpdateConfigGroupDeployByProductAndIDResponse, http_res
|
|
1485
|
-
)
|
|
1547
|
+
return unmarshal_json_response(models.CountedConfigGroup, http_res)
|
|
1486
1548
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1487
1549
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1488
1550
|
raise errors.Error(response_data, http_res)
|