c8y(1)
β¨ c8y(1) β your bestie's guide to the c8y command β¨
Hey bestie! π This is the manual page for c8y(1), and I'm gonna walk you through the c8y-bulkoperations-update command like we're gossiping in the group chat. No cap, it's gonna be iconic. Let's go! π«Ά
π NAME π
c8y-bulkoperations-update β the command that does Update bulk operation. Periodt. π
π¦ SYNOPSIS π¦
Okay so here's the vibe check on how you run it:
c8y bulkoperations update [flags]
πΈ DESCRIPTION πΈ
So like, this command updates a bulk operation. But here's the tea: if you make an update on a bulk operation that's already started, it cancels that one and creates/schedules a new one. It's giving 'out with the old, in with the new' energy. π₯
β¨ OPTIONS β¨
--creationRampSec=0β Delay between every operation creation. Default is0, so no delay unless you set it. β³-d,--data=[]β static data to be applied to body. accepts json or shorthand json, i.e.--data 'value1=1,my.nested.value=100'. So convenient! β¨-h,--help[=false]β help for update. You know, the usual. πββοΈ--id=[]β Bulk Operation id (required) (accepts pipeline). And yes, it's required! Don't forget it, bestie. π¨--processingMode=""β Cumulocity processing mode. Set it to whatever mode you need. π--template=""β Body template. For when you need a template for the body. π--templateVars=[]β Body template variables. The vars that go with your template. π
π OPTIONS INHERITED FROM PARENT COMMANDS π
--abortOnErrors=10β Abort batch when reaching specified number of errors. Default is10. So if 10 errors happen, it's like 'nope, we're done'. π--allowEmptyPipe[=false]β Don't fail when piped input is empty (stdin). It'sfalseby default, so set it if you need that. π--cache[=false]β Enable cached responses. Off by default. Turn it on if you wanna cache. π--cacheBodyPaths=[]β Cache should limit hashing of selected paths in the json body. Empty indicates all values. So if you leave it empty, it's all values, bestie. π¦--cacheTTL="60s"β Cache time-to-live (TTL) as a duration, i.e.60s,2m. Default is60s. Slay. β³-c,--compact[=false]β Compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal. So if you're on a terminal, it's pretty by default. π--confirm[=false]β Prompt for confirmation. Off by default. Use it if you want a little 'are you sure?' moment. π€--confirmText=""β Custom confirmation text. For when you want your confirmation prompt to say something cute. π¬--currentPage=0β Current page which should be returned. Default is0. Pagination vibes. π--customQueryParam=[]β add custom URL query parameters. i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. So you can add whatever params you need. π--debug[=false]β Set very verbose log messages. For when you wanna see everything. It's giving 'debug mode'. π--delay="0ms"β delay after each request, i.e.5ms,1.2s. Default is0ms, so no delay. β±οΈ--delayBefore="0ms"β delay before each request, i.e.5ms,1.2s. Default is0ms. Same energy as--delaybut before. β³--dry[=false]β Dry run. Don't send any data to the server. Perfect for when you're just testing. π§ͺ--dryFormat="markdown"β Dry run output format. i.e.json,dump,markdownorcurl. Default ismarkdown. So you can see your dry run in different formats. π--examples[=false]β Show examples for the current command. Off by default. Use it if you need inspo. β¨--filter=[]β Apply a client side filter to response before returning it to the user. So you only see what you wanna see. π--flatten[=false]β flatten json output by replacing nested json properties with properties where their names are represented by dot notation. So nested stuff becomes dot notation. π₯-f,--force[=false]β Do not prompt for confirmation. Ignored when using--confirm. So don't mix them up, bestie. π«-H,--header=[]β custom headers. i.e.--header "Accept: value, AnotherHeader: myvalue". So you can add whatever headers you need. π¨--includeAll[=false]β Include all results by iterating through each page. So you get everything. π-k,--insecure[=false]β Allow insecure server connections when using SSL. It'sfalseby default. Only use if you know what you're doing, bestie. π-l,--logMessage=""β Add custom message to the activity log. For when you wanna leave a little note. π--maxJobs=0β Maximum number of jobs.0= unlimited (use with caution!).
use with caution! β οΈ
--noAccept[=false]β Ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect. So it's not for every request. π--noCache[=false]β Force disabling of cached responses (overwrites cache setting). So if you wanna be sure, use this. π«-M,--noColor[=false]β Don't use colors when displaying log entries on the console. For when you want it plain. π¨--noLog[=false]β Disables the activity log for the current command. So no log for this one. π΄--noProgress[=false]β Disable progress bars. For when you don't want the little progress bar. π«--noProxy[=false]β Ignore the proxy settings. So it won't use your proxy. π-n,--nullInput[=false]β Don't read the input (stdin). Useful if using in shellfor/whileloops. π-o,--output="table"β Output format i.e.table,json,csv,csvheader. Default istable. So you can pick your vibe. π--outputFile=""β Save JSON output to file (after select/view). Note: it's after select/view. So it saves the final output. πΎ--outputFileRaw=""β Save raw response to file (before select/view). And this one is before select/view. So you get the raw stuff. π--outputTemplate=""β jsonnet template to apply to the output. For when you wanna customize. π¨-p,--pageSize=5β Maximum results per page. Default is5. So five at a time. π--progress[=false]β Show progress bar. This will also disable any other verbose output. So it's a trade-off. π--proxy=""β Proxy setting, i.e.http://10.0.0.1:8080. Set it if you need a proxy. π-r,--raw[=false]β Show raw response. This mode will forceoutput=jsonandview=off. So it's raw and json. π₯--retries=3β Max number of attempts when a failed http call is encountered. Default is3. So it'll try three times. π--select=[]β Comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'. So you can pick exactly what you want. β¨--session=""β Session configuration. For your session. π--sessionMode=""β Override default session mode for a single command which would normally be disabled. So you can force it. π§-P,--sessionPassword=""β Override session password. For when you need a different password. π-U,--sessionUsername=""β Override session username. i.e.peterort1234/peter(with tenant). So you can switch users. π€--silentExit[=false]β Silent status codes do not affect the exit code. So they won't change the exit code. π€«--silentStatusCodes=""β Status codes which will not print out an error message. So you can silence specific ones. π--timeout="600s"β Request timeout duration, i.e.60s,2m. Default is600s. So ten minutes. β°--totalPages=0β Total number of pages to get. Default is0. So set it if you want a specific number. π-v,--verbose[=false]β Verbose logging. For when you want all the details. π£οΈ--view="auto"β Use views when displaying data on the terminal. Disable using--view off. Default isauto. So it's automatic by default. π--withError[=false]β Errors will be printed on stdout instead of stderr. So they go to stdout. π€--withTotalElements[=false]β Request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in10.13). So if you're on that version or later, it's there. π-t,--withTotalPages[=false]β Request Cumulocity to include the total pages in the response statistics under.statistics.totalPages. So you get total pages. π--workers=1β Number of workers. Default is1. So one worker unless you change it. π·ββοΈ
π EXAMPLE π
Here's a little example to show you how it's done, bestie: π
$ c8y bulkoperations update --id 12345 --creationRampSec 15
Update an bulk operation
π SEE ALSO π
Check out c8y-bulkoperations(1) for more bulk operation goodness. π
β¨ And that's the tea, bestie! This page is from the c8y(1) manual, dated Jan 1980. Now go update those bulk operations like the icon you are! π«Άπ
π¦ where this page comes from
- nixpkgs unstable: go-c8y-cli 2.56.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms