c8y(1)
πΈ c8y-devices-availability β Cumulocity device availability πΈ
Hey bestie! This is the page from the c8y(1) manual, all about device availability. Let's get into it! β¨
β¨ SYNOPSIS β¨
c8y devices availability [flags]
π DESCRIPTION π
Okay so this is the REST endpoint to interact with Cumulocity devices. It's giving main character energy for sure! π
π OPTIONS π
Here are the options you can use with this command:
-h,--help[=false]β help for availability. Use this when you need a little help, bestie! π«Ά
π¦ OPTIONS INHERITED FROM PARENT COMMANDS π¦
These are the options that trickle down from the parent commands. So many, but we got you! π
--abortOnErrors=10β Abort batch when reaching specified number of errors. Like, if things go wrong too many times, just stop, you know? π--allowEmptyPipe[=false]β Don't fail when piped input is empty (stdin). No input? No problem! π«Ά--cache[=false]β Enable cached responses. Save those responses for later, slay! πΎ--cacheBodyPaths=[]β Cache should limit hashing of selected paths in the json body. Empty indicates all values. So if you leave it empty, it's literally all values. π--cacheTTL="60s"β Cache time-to-live (TTL) as a duration, i.e.60s,2m. How long the cache sticks around, bestie! β³-c,--compact[=false]β Compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal. Keep it cute and compact! β¨--confirm[=false]β Prompt for confirmation. Double-check before you commit, no cap! π«Ά--confirmText=""β Custom confirmation text. Make it your own! π--currentPage=0β Current page which should be returned. Page zero, let's go! π--customQueryParam=[]β add custom URL query parameters. i.e.--customQueryParam 'withCustomOption=true,myOtherOption=myvalue'. Add your own vibes to the query! π--debug[=false]β Set very verbose log messages. For when you really need to see everything, bestie! π--delay="0ms"β delay after each request, i.e.5ms,1.2s. Chill for a sec after each request. π΄--delayBefore="0ms"β delay before each request, i.e.5ms,1.2s. Chill for a sec before each request. π΄--dry[=false]β Dry run. Don't send any data to the server. Just pretend, like a rehearsal! π--dryFormat="markdown"β Dry run output format. i.e.json,dump,markdownorcurl. Pick your fave format for the dry run! π--examples[=false]β Show examples for the current command. Examples are always a vibe! π--filter=[]β Apply a client side filter to response before returning it to the user. Filter it out before you see it! πΈ--flatten[=false]β flatten json output by replacing nested json properties with properties where their names are represented by dot notation. Flatten it like a pancake! π₯-f,--force[=false]β Do not prompt for confirmation. Ignored when using--confirm. No confirmation needed, just go! π₯-H,--header=[]β custom headers. i.e.--header "Accept: value, AnotherHeader: myvalue". Add your own headers, bestie! π¨--includeAll[=false]β Include all results by iterating through each page. Get every single result, no skips! π-k,--insecure[=false]β Allow insecure server connections when using SSL. Living dangerously, huh? π-l,--logMessage=""β Add custom message to the activity log. Leave a little note in the log! π--maxJobs=0β Maximum number of jobs.0= unlimited (use with caution!). Unlimited jobs? Use with caution, bestie! β οΈ--noAccept[=false]β Ignore Accept header will remove the Accept header from requests, however PUT and POST requests will only see the effect. Ignore that header, but only for PUT and POST! π«--noCache[=false]β Force disabling of cached responses (overwrites cache setting). No cache for you! π«-M,--noColor[=false]β Don't use colors when displaying log entries on the console. No colors, just plain text. π¨--noLog[=false]β Disables the activity log for the current command. No log, no problem! π«--noProgress[=false]β Disable progress bars. No progress bars, just vibes. π«--noProxy[=false]β Ignore the proxy settings. No proxy, straight to the server! π«-n,--nullInput[=false]β Don't read the input (stdin). Useful if using in shell for/while loops. No input needed, perfect for loops! π«Ά-o,--output="table"β Output format i.e.table,json,csv,csvheader. Pick your output vibe! π--outputFile=""β Save JSON output to file (after select/view). Save it for later! πΎ--outputFileRaw=""β Save raw response to file (before select/view). Save the raw stuff too! πΎ--outputTemplate=""β jsonnet template to apply to the output. Template it up! π¨-p,--pageSize=5β Maximum results per page. Five per page, cute! π--progress[=false]β Show progress bar. This will also disable any other verbose output. Show that progress, but no other verbose vibes! π--proxy=""β Proxy setting, i.e.http://10.0.0.1:8080. Set your proxy, bestie! π-r,--raw[=false]β Show raw response. This mode will forceoutput=jsonandview=off. Raw and unfiltered, just how you like it! π₯--retries=3β Max number of attempts when a failed http call is encountered. Try, try againβthree times max! π--select=[]β Comma separated list of properties to return. wildcards and globstar accepted, i.e.--select 'id,name,type,**.serialNumber'. Pick exactly what you want! π―--session=""β Session configuration. Set up your session! π«Ά--sessionMode=""β Override default session mode for a single command which would normally be disabled. Override it just this once! β¨-P,--sessionPassword=""β Override session password. Password override, shh! π-U,--sessionUsername=""β Override session username. i.e.peterort1234/peter(with tenant). Username override, with or without tenant! π€--silentExit[=false]β Silent status codes do not affect the exit code. Silent but deadlyβto the exit code, anyway! π€«--silentStatusCodes=""β Status codes which will not print out an error message. These codes stay quiet! π€«--timeout="600s"β Request timeout duration, i.e.60s,2m. Wait up to ten minutes, bestie! β°--totalPages=0β Total number of pages to get. Get all the pages! π-v,--verbose[=false]β Verbose logging. Tell me everything! π£οΈ--view="auto"β Use views when displaying data on the terminal. Disable using--view off. Views on the terminal, auto-magically! β¨--withError[=false]β Errors will be printed on stdout instead of stderr. Errors go to stdout now! π¨--withTotalElements[=false]β Request Cumulocity to include the total elements in the response statistics under.statistics.totalElements(introduced in 10.13). Get those total elements, introduced in 10.13! π-t,--withTotalPages[=false]β Request Cumulocity to include the total pages in the response statistics under.statistics.totalPages. Total pages in the stats! π--workers=1β Number of workers. Just one worker by default, but you can add more! π·
π SEE ALSO π
Don't forget to check out these other pages, bestie:
This page was brought to you by the c8y(1) manual, dated Jan 1980. Stay slay, bestie! πβ¨
π¦ 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