c8y(1)

๐Ÿ“ฆ version 2.56.1, in nixpkgs unstable

๐ŸŽ€ c8y-devicegroups-children-assign โ€” Assign child ๐ŸŽ€

okay so bestie, this is the c8y(1) manual page for the command that assigns a child to an existing managed object. Group-chat voice, all facts intact, no cap ๐Ÿ’…

๐ŸŒธ NAME ๐ŸŒธ

c8y-devicegroups-children-assign โ€” Assign child

โœจ SYNOPSIS โœจ

c8y devicegroups children assign [flags]

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

Assign an existing managed object as a child to an existing managed object. That's the whole assignment vibe: one existing managed object becomes the child of another existing managed object.

๐Ÿ‘‘ OPTIONS ๐Ÿ‘‘

  • --child="" โ€” the managed object that will be assigned as a child. Required. It accepts pipeline input ๐Ÿซถ
  • --childType="" โ€” the child relationship type. Required.
  • -h, --help[=false] โ€” help for assign.
  • --id=[] โ€” the managed object id where the child will be assigned to. Required.
  • --processingMode="" โ€” Cumulocity processing mode.

๐Ÿงฌ OPTIONS INHERITED FROM PARENT COMMANDS ๐Ÿงฌ

  • --abortOnErrors=10 โ€” abort the batch when reaching the specified number of errors.
  • --allowEmptyPipe[=false] โ€” don't fail when piped input is empty (stdin).
  • --cache[=false] โ€” enable cached responses.
  • --cacheBodyPaths=[] โ€” cache should limit hashing of selected paths in the json body. Empty indicates all values.
  • --cacheTTL="60s" โ€” cache time-to-live (TTL) as a duration, i.e. 60s, 2m.
  • -c, --compact[=false] โ€” compact instead of pretty-printed output when using json output. Pretty print is the default if output is the terminal.
  • --confirm[=false] โ€” prompt for confirmation.
  • --confirmText="" โ€” custom confirmation text.
  • --currentPage=0 โ€” current page which should be returned.
  • --customQueryParam=[] โ€” add custom URL query parameters. i.e. --customQueryParam 'withCustomOption=true,myOtherOption=myvalue'.
  • --debug[=false] โ€” set very verbose log messages.
  • --delay="0ms" โ€” delay after each request, i.e. 5ms, 1.2s.
  • --delayBefore="0ms" โ€” delay before each request, i.e. 5ms, 1.2s.
  • --dry[=false] โ€” dry run. Don't send any data to the server.
  • --dryFormat="markdown" โ€” dry run output format. i.e. json, dump, markdown or curl.
  • --examples[=false] โ€” show examples for the current command.
  • --filter=[] โ€” apply a client side filter to response before returning it to the user.
  • --flatten[=false] โ€” flatten json output by replacing nested json properties with properties where their names are represented by dot notation.
  • -f, --force[=false] โ€” do not prompt for confirmation. Ignored when using --confirm.
  • -H, --header=[] โ€” custom headers. i.e. --header "Accept: value, AnotherHeader: myvalue".
  • --includeAll[=false] โ€” include all results by iterating through each page.
  • -k, --insecure[=false] โ€” allow insecure server connections when using SSL.
  • -l, --logMessage="" โ€” add custom message to the activity log.
  • --maxJobs=0 โ€” maximum number of jobs. 0 = unlimited (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.
  • --noCache[=false] โ€” force disabling of cached responses (overwrites cache setting).
  • -M, --noColor[=false] โ€” don't use colors when displaying log entries on the console.
  • --noLog[=false] โ€” disables the activity log for the current command.
  • --noProgress[=false] โ€” disable progress bars.
  • --noProxy[=false] โ€” ignore the proxy settings.
  • -n, --nullInput[=false] โ€” don't read the input (stdin). Useful if using in shell for/while loops.
  • -o, --output="table" โ€” output format i.e. table, json, csv, csvheader.
  • --outputFile="" โ€” save JSON output to file (after select/view).
  • --outputFileRaw="" โ€” save raw response to file (before select/view).
  • --outputTemplate="" โ€” jsonnet template to apply to the output.
  • -p, --pageSize=5 โ€” maximum results per page.
  • --progress[=false] โ€” show progress bar. This will also disable any other verbose output.
  • --proxy="" โ€” proxy setting, i.e. http://10.0.0.1:8080.
  • -r, --raw[=false] โ€” show raw response. This mode will force output=json and view=off.
  • --retries=3 โ€” max number of attempts when a failed http call is encountered.
  • --select=[] โ€” comma separated list of properties to return. wildcards and globstar accepted, i.e. --select 'id,name,type,**.serialNumber'.
  • --session="" โ€” session configuration.
  • --sessionMode="" โ€” override default session mode for a single command which would normally be disabled.
  • -P, --sessionPassword="" โ€” override session password.
  • -U, --sessionUsername="" โ€” override session username. i.e. peter or t1234/peter (with tenant).
  • --silentExit[=false] โ€” silent status codes do not affect the exit code.
  • --silentStatusCodes="" โ€” status codes which will not print out an error message.
  • --timeout="600s" โ€” request timeout duration, i.e. 60s, 2m.
  • --totalPages=0 โ€” total number of pages to get.
  • -v, --verbose[=false] โ€” verbose logging.
  • --view="auto" โ€” use views when displaying data on the terminal. Disable using --view off.
  • --withError[=false] โ€” errors will be printed on stdout instead of stderr.
  • --withTotalElements[=false] โ€” request Cumulocity to include the total elements in the response statistics under .statistics.totalElements (introduced in 10.13).
  • -t, --withTotalPages[=false] โ€” request Cumulocity to include the total pages in the response statistics under .statistics.totalPages.
  • --workers=1 โ€” number of workers.

๐ŸŒŸ EXAMPLE ๐ŸŒŸ

$ c8y devicegroups children assign --id 12345 --child 6789 --childType addition
Add a related managed object as a child to an existing managed object

๐Ÿ”ฎ SEE ALSO ๐Ÿ”ฎ

c8y-devicegroups-children(1)


๐Ÿ’– source/version: c8y(1); date: Jan 1980 โ€” mwah, bestie, that's the whole page! ๐Ÿ’‹โœจ

๐Ÿ“ฆ where this page comes from