chef-node-management-cli reference
chef-node-management-cli
Chef Node Management CLI
Options
-h--helphelp for chef-node-management-cli
Default value:
false
chef-node-management-cli completion
Generate the autocompletion script for the specified shell
Synopsis
Generate the autocompletion script for chef-node-management-cli for the specified shell. See each sub-command’s help for details on how to use the generated script.
Options
-h--helphelp for completion
Default value:
false
See also
- chef-node-management-cli completion bash
- chef-node-management-cli completion fish
- chef-node-management-cli completion powershell
- chef-node-management-cli completion zsh
chef-node-management-cli completion bash
Generate the autocompletion script for bash
Synopsis
Generate the autocompletion script for the bash shell.
This script depends on the ‘bash-completion’ package. If it is not installed already, you can install it via your OS’s package manager.
To load completions in your current shell session:
source <(chef-node-management-cli completion bash)
To load completions for every new session, execute once:
Linux:
chef-node-management-cli completion bash > /etc/bash_completion.d/chef-node-management-cli
macOS:
chef-node-management-cli completion bash > $(brew --prefix)/etc/bash_completion.d/chef-node-management-cli
You will need to start a new shell for this setup to take effect.
completion-bash package
You must have the bash-completion package installed on your workstation to run the completion bash subcommand.
To install and configure the package, see the Chef 360 Platform CLI documentation.
Usage
chef-node-management-cli completion bashOptions
-h--helphelp for bash
Default value:
false--no-descriptionsdisable completion descriptions
Default value:
false
See also
chef-node-management-cli completion fish
Generate the autocompletion script for fish
Synopsis
Generate the autocompletion script for the fish shell.
To load completions in your current shell session:
chef-node-management-cli completion fish | source
To load completions for every new session, execute once:
chef-node-management-cli completion fish > ~/.config/fish/completions/chef-node-management-cli.fish
You will need to start a new shell for this setup to take effect.
Usage
chef-node-management-cli completion fish [flags]Options
-h--helphelp for fish
Default value:
false--no-descriptionsdisable completion descriptions
Default value:
false
See also
chef-node-management-cli completion powershell
Generate the autocompletion script for powershell
Synopsis
Generate the autocompletion script for powershell.
To load completions in your current shell session:
chef-node-management-cli completion powershell | Out-String | Invoke-Expression
To load completions for every new session, add the output of the above command to your powershell profile.
Usage
chef-node-management-cli completion powershell [flags]Options
-h--helphelp for powershell
Default value:
false--no-descriptionsdisable completion descriptions
Default value:
false
See also
chef-node-management-cli completion zsh
Generate the autocompletion script for zsh
Synopsis
Generate the autocompletion script for the zsh shell.
If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once:
echo "autoload -U compinit; compinit" >> ~/.zshrc
To load completions in your current shell session:
source <(chef-node-management-cli completion zsh)
To load completions for every new session, execute once:
Linux:
chef-node-management-cli completion zsh > "${fpath[1]}/_chef-node-management-cli"
macOS:
chef-node-management-cli completion zsh > $(brew --prefix)/share/zsh/site-functions/_chef-node-management-cli
You will need to start a new shell for this setup to take effect.
Usage
chef-node-management-cli completion zsh [flags]Options
-h--helphelp for zsh
Default value:
false--no-descriptionsdisable completion descriptions
Default value:
false
See also
chef-node-management-cli deregister-device
De-register a device
Synopsis
Use this operation to de-register a device
Usage
chef-node-management-cli deregister-device [flags]Options
--forceforce remove profile from local list of profiles, even on error from server
Default value:
false-f--formatto print response in format
Default value:
json-h--helphelp for deregister-device
Default value:
false--profilename for the profile of the new api-token
Default value:
default-v--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli enrollment
Commands related to enrollment
Options
-h--helphelp for enrollment
Default value:
false
See also
chef-node-management-cli enrollment bulk-enroll
Bulk enrollment of nodes with the node management
Synopsis
This operation bulk enrolls the nodes in the node management.
Usage
chef-node-management-cli enrollment bulk-enroll [flags]Options
--fileTakes path of file.
--formatto print response in format
Default value:
json-h--helphelp for bulk-enroll
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli enrollment enroll-node
Enrol a node with the node management
Synopsis
This operation enrol a node in the node management.
Usage
chef-node-management-cli enrollment enroll-node [flags]Options
--bodyThe node enrollment request
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for enroll-node
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli get-default-profile
Get default profile for request
Usage
chef-node-management-cli get-default-profile [flags]Options
-h--helphelp for get-default-profile
Default value:
false
See also
chef-node-management-cli list-profile-names
Get the list of profile names available
Usage
chef-node-management-cli list-profile-names [flags]Options
-h--helphelp for list-profile-names
Default value:
false
See also
chef-node-management-cli management
Commands related to state service
Options
-h--helphelp for management
Default value:
false
See also
- chef-node-management-cli management assembly
- chef-node-management-cli management cohort
- chef-node-management-cli management filter
- chef-node-management-cli management list
- chef-node-management-cli management node
- chef-node-management-cli management setting
- chef-node-management-cli management skill
chef-node-management-cli management assembly
Commands related to assembly
Options
-h--helphelp for assembly
Default value:
false
See also
- chef-node-management-cli management
- chef-node-management-cli management assembly create-assembly
- chef-node-management-cli management assembly delete-assembly
- chef-node-management-cli management assembly find-all-assemblies
- chef-node-management-cli management assembly find-one-assembly
- chef-node-management-cli management assembly update-assembly
chef-node-management-cli management assembly create-assembly
Add a skill assembly.
Synopsis
This operation enables the addition of a new skill assembly to the node management.
Usage
chef-node-management-cli management assembly create-assembly [flags]Options
--bodyThe skill assembly to be added
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for create-assembly
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management assembly delete-assembly
Deletes a skill assembly.
Synopsis
Use this operation to delete a skill assembly using its ID. Deletion of the skill assembly is not allowed when there are any cohorts associated with the given assembly ID.
Usage
chef-node-management-cli management assembly delete-assembly [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for delete-assembly
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--skillAssemblyIdId of the skill assembly
--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management assembly find-all-assemblies
List the skill assemblies under node management.
Synopsis
This operation allows users to search for skill assemblies under node management in the current organization.
Usage
chef-node-management-cli management assembly find-all-assemblies [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for find-all-assemblies
Default value:
false--pagination.pagewhat page of the pagination
Default value:
1--pagination.sizeitems per page
Default value:
10--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management assembly find-one-assembly
Get a skill assembly by its id.
Synopsis
Use this operation to obtain a skill assembly given its id.
Usage
chef-node-management-cli management assembly find-one-assembly [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for find-one-assembly
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--skillAssemblyIdId of the skill assembly
--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management assembly update-assembly
Updates a skill assembly rules.
Synopsis
Use this operation to update skill assembly rules. This will replace the entire rule set with the new one.
Usage
chef-node-management-cli management assembly update-assembly [flags]Options
--bodyThe skill assembly to be added
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for update-assembly
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--skillAssemblyIdId of the skill assembly
--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management cohort
Commands related to cohort
Options
-h--helphelp for cohort
Default value:
false
See also
- chef-node-management-cli management
- chef-node-management-cli management cohort assign-setting
- chef-node-management-cli management cohort assign-skillAssembly
- chef-node-management-cli management cohort create-cohort
- chef-node-management-cli management cohort delete-cohort
- chef-node-management-cli management cohort find-all-cohorts
- chef-node-management-cli management cohort find-one-cohort
chef-node-management-cli management cohort assign-setting
Update a node cohort’s override settings group.
Synopsis
Use this operation to update a node cohort’s associated override settings group.
Usage
chef-node-management-cli management cohort assign-setting [flags]Options
--cohortIdId of the node cohort
--formatto print response in format
Default value:
json-h--helphelp for assign-setting
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--settingIdId of the settings group
--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management cohort assign-skillAssembly
Update a node cohort’s skill assembly.
Synopsis
Use this operation to update a node cohort’s skill assembly.
Usage
chef-node-management-cli management cohort assign-skillAssembly [flags]Options
--cohortIdId of the node cohort
--formatto print response in format
Default value:
json-h--helphelp for assign-skillAssembly
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--skillAssemblyIdId of the skill assembly
--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management cohort create-cohort
Add a node cohort.
Synopsis
This operation enables the addition of a new node cohort to the node management.
Usage
chef-node-management-cli management cohort create-cohort [flags]Options
--bodyThe node cohort to be added
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for create-cohort
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management cohort delete-cohort
Deletes a node cohort.
Synopsis
Use this operation to delete a node cohort using its id. The deletion of the node cohort is not allowed when there are any nodes associated with a given cohort.
Usage
chef-node-management-cli management cohort delete-cohort [flags]Options
--cohortIdId of the node cohort
--formatto print response in format
Default value:
json-h--helphelp for delete-cohort
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management cohort find-all-cohorts
List the node cohorts under node management.
Synopsis
This operation allows users to search for node cohorts under node management in the current organization.
Usage
chef-node-management-cli management cohort find-all-cohorts [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for find-all-cohorts
Default value:
false--pagination.pagewhat page of the pagination
Default value:
1--pagination.sizeitems per page
Default value:
10--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management cohort find-one-cohort
Get a node cohort by its id.
Synopsis
Use this operation to obtain a node cohort given its id.
Usage
chef-node-management-cli management cohort find-one-cohort [flags]Options
--cohortIdId of the node cohort
--formatto print response in format
Default value:
json-h--helphelp for find-one-cohort
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management filter
Commands related to filter
Options
-h--helphelp for filter
Default value:
false
See also
- chef-node-management-cli management
- chef-node-management-cli management filter create-filter
- chef-node-management-cli management filter delete-filter
- chef-node-management-cli management filter find-all-filters
- chef-node-management-cli management filter find-one-filter
- chef-node-management-cli management filter run-adhocFilter
- chef-node-management-cli management filter run-savedFilter
- chef-node-management-cli management filter update-filter
chef-node-management-cli management filter create-filter
Add a node filter.
Synopsis
This operation enables the addition of a new node filter to node management. A node filter comprises a set of constraints used to identify matching nodes.
Usage
chef-node-management-cli management filter create-filter [flags]Options
--bodyThe node filter to be added
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for create-filter
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management filter delete-filter
Delete a node filter by its id.
Synopsis
Use this operation to delete a node filter using its id.
Usage
chef-node-management-cli management filter delete-filter [flags]Options
--filterIdId of the node filter
--formatto print response in format
Default value:
json-h--helphelp for delete-filter
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management filter find-all-filters
List the node filters under node management.
Synopsis
This operation allows users to search for node filters under node management in the current organization.
Usage
chef-node-management-cli management filter find-all-filters [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for find-all-filters
Default value:
false--pagination.pagewhat page of the pagination
Default value:
1--pagination.sizeitems per page
Default value:
10--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management filter find-one-filter
Get a node filter by its id.
Synopsis
Use this operation to obtain a node filter given its id.
Usage
chef-node-management-cli management filter find-one-filter [flags]Options
--filterIdId of the node filter
--formatto print response in format
Default value:
json-h--helphelp for find-one-filter
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management filter run-adhocFilter
Runs an adhooc filter and returns the matching nodes.
Synopsis
Use this operation to execute an adhooc filter. The result of each invocation of this operation could yield a different set of nodes.
Usage
chef-node-management-cli management filter run-adhocFilter [flags]Options
--bodyThe filter to run
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--expandSpecifies whether to retrieve partial or full node details. Defaults to true to retrieve full node details. Partial retrieval will not include attributes, installed skills, and required skills details.
Default value:
true--formatto print response in format
Default value:
json-h--helphelp for run-adhocFilter
Default value:
false--pagination.pagewhat page of the pagination
Default value:
1--pagination.sizeitems per page
Default value:
10--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management filter run-savedFilter
Runs a saved filter and returns the matching nodes.
Synopsis
Use this operation to execute a saved filter. The result of each invocation of this operation could yield a different set of nodes.
Usage
chef-node-management-cli management filter run-savedFilter [flags]Options
--expandSpecifies whether to retrieve partial or full node details. Defaults to true to retrieve full node details. Partial retrieval will not include attributes, installed skills, and required skills details.
Default value:
true--filterIdId of the node filter
--formatto print response in format
Default value:
json-h--helphelp for run-savedFilter
Default value:
false--pagination.pagewhat page of the pagination
Default value:
1--pagination.sizeitems per page
Default value:
10--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management filter update-filter
Update a node filter given its id.
Synopsis
Use this operation to update a node filter. This will replace the existing filter with the new one.
Usage
chef-node-management-cli management filter update-filter [flags]Options
--bodyThe updated filter
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--filterIdId of the node filter
--formatto print response in format
Default value:
json-h--helphelp for update-filter
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management list
Commands related to list
Options
-h--helphelp for list
Default value:
false
See also
- chef-node-management-cli management
- chef-node-management-cli management list add-nodes
- chef-node-management-cli management list create-list
- chef-node-management-cli management list delete-list
- chef-node-management-cli management list find-all-lists
- chef-node-management-cli management list find-one-list
- chef-node-management-cli management list modify-nodes
- chef-node-management-cli management list remove-nodes
chef-node-management-cli management list add-nodes
Add a list of node IDs to an existing node list.
Synopsis
Use this operation to add new node ids to a node list.
Usage
chef-node-management-cli management list add-nodes [flags]Options
--bodyThe node ids to add
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for add-nodes
Default value:
false--listIdId of the node list
--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management list create-list
Add a node list.
Synopsis
This operation enables the addition of a new node list to the node management. A node list consists of node IDs managed under node management.
Usage
chef-node-management-cli management list create-list [flags]Options
--bodyThe node list to be added
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for create-list
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management list delete-list
Deletes a node list.
Synopsis
Use this operation to delete a node list using its id.
Usage
chef-node-management-cli management list delete-list [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for delete-list
Default value:
false--listIdId of the node list
--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management list find-all-lists
List the node lists under node management.
Synopsis
This operation allows users to search for node lists under node management in the current organization.
Usage
chef-node-management-cli management list find-all-lists [flags]Options
--expandIndicates whether to retrieve complete or partial details of the node list. By default, this is set to true to retrieve the full details. When set to false, only partial information is returned, which includes only the node list ID and name, excluding other details.
Default value:
true--formatto print response in format
Default value:
json-h--helphelp for find-all-lists
Default value:
false--keywordThe search keyword to filter node lists.
--pagination.pagewhat page of the pagination
Default value:
1--pagination.sizeitems per page
Default value:
10--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management list find-one-list
Get a node list by its id.
Synopsis
Use this operation to obtain a node list given its id.
Usage
chef-node-management-cli management list find-one-list [flags]Options
--expandSpecifies whether to retrieve the list with node IDs or node details.
Default value:
false--formatto print response in format
Default value:
json-h--helphelp for find-one-list
Default value:
false--listIdId of the node list
--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management list modify-nodes
Update the node list by adding or removing a set of node IDs. The list of node IDs provided in the request will replace the existing node list, making it the final set of nodes associated with the specified list ID.
Synopsis
Use this operation to simultaneously add and remove node IDs, ensuring the node list is updated with the specified set of nodes.
Usage
chef-node-management-cli management list modify-nodes [flags]Options
--bodyThe provided node IDs will be used to define the final set of nodes associated with the specified list ID.
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for modify-nodes
Default value:
false--listIdId of the node list
--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management list remove-nodes
Remove a list of node ids to an existing node list.
Synopsis
Use this operation to remove new node ids to a node list.
Usage
chef-node-management-cli management list remove-nodes [flags]Options
--bodyThe node ids to remove
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for remove-nodes
Default value:
false--listIdId of the node list
--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management node
Commands related to node
Options
-h--helphelp for node
Default value:
false
See also
- chef-node-management-cli management
- chef-node-management-cli management node assign-cohort
- chef-node-management-cli management node checkin-node
- chef-node-management-cli management node create-node
- chef-node-management-cli management node delete-attributes
- chef-node-management-cli management node delete-tags
- chef-node-management-cli management node find-all-nodes
- chef-node-management-cli management node find-one-node
- chef-node-management-cli management node find-ou-nodes
- chef-node-management-cli management node modify-attributes
- chef-node-management-cli management node modify-tags
- chef-node-management-cli management node update-attributes
- chef-node-management-cli management node update-tags
chef-node-management-cli management node assign-cohort
Update a node’s cohort.
Synopsis
Use this operation to update a node’s cohort.
Usage
chef-node-management-cli management node assign-cohort [flags]Options
--cohortIdId of the node cohort
--formatto print response in format
Default value:
json-h--helphelp for assign-cohort
Default value:
false--nodeIdId of a node
--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management node checkin-node
The subsequent check-in by the node management agent.
Synopsis
This operation is intended to be used by the node management agent, which utilizes it during subsequent check-ins."
Usage
chef-node-management-cli management node checkin-node [flags]Options
--bodyThe node's checkin data
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for checkin-node
Default value:
false--nodeIdId of a node
--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management node create-node
Register a node with the node management
Synopsis
This operation registers a new node in the node management.
Usage
chef-node-management-cli management node create-node [flags]Options
--bodyThe node to be added
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for create-node
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management node delete-attributes
Deletes the attributes with the provided namespace on a node.
Synopsis
Use this operation to delete attributes within a namespace. Attribute names can be provided through query parameters. If names are provided, only those attributes will be deleted. Otherwise, the entire namespace will be deleted.
Usage
chef-node-management-cli management node delete-attributes [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for delete-attributes
Default value:
false--nameThe name of the property (attribute or tag)
Default value:
[]--namespaceAn attribute's namespace
--nodeIdId of a node
--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management node delete-tags
Delete the tags on a node.
Synopsis
Use this operation to delete the tags. Tag names can be provided through query parameters. If names are provided, only those tags will be deleted. Otherwise, the entire tags will be deleted.
Usage
chef-node-management-cli management node delete-tags [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for delete-tags
Default value:
false--nameThe name of the property (attribute or tag)
Default value:
[]--nodeIdId of a node
--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management node find-all-nodes
List the nodes under node management.
Synopsis
This operation will allow users to search for nodes under node management in the current organization.
Usage
chef-node-management-cli management node find-all-nodes [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for find-all-nodes
Default value:
false--pagination.pagewhat page of the pagination
Default value:
1--pagination.sizeitems per page
Default value:
10--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management node find-one-node
Get a node uisng its id.
Synopsis
Use this operation to retrieve data for a single node in the node management.
Usage
chef-node-management-cli management node find-one-node [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for find-one-node
Default value:
false--nodeIdId of a node
--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management node find-ou-nodes
Filters a list of node ids to only those nodes in the OU of the request.
Synopsis
Use this operation to provide a list of node ids from potentially mixed OUs and receive a response of lists filtered to the OU of the request.
Usage
chef-node-management-cli management node find-ou-nodes [flags]Options
--bodyThe list of node ids to filter
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for find-ou-nodes
Default value:
false--pagination.pagewhat page of the pagination
Default value:
1--pagination.sizeitems per page
Default value:
10--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management node modify-attributes
Modifies the attributes with the provided namespace on a node.
Synopsis
Use this operation to modify a node’s namespaced attributes. This operation replaces the existing attribute value with the new one and adds any missing attributes.
Usage
chef-node-management-cli management node modify-attributes [flags]Options
--bodyThe modified attributes
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for modify-attributes
Default value:
false--namespaceAn attribute's namespace
--nodeIdId of a node
--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management node modify-tags
Modify the tags on a node.
Synopsis
Use this operation to modify a node’s tags. This operation replaces the existing tag value with the new one and adds any missing tags.
Usage
chef-node-management-cli management node modify-tags [flags]Options
--bodyThe modified tags
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for modify-tags
Default value:
false--nodeIdId of a node
--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management node update-attributes
Updates the attributes with the provided namespace on a node.
Synopsis
Use this operation to update a node’s namespaced attributes. If any attributes exist for the given namespace, this operation completely replaces the old attributes with the new ones.
Usage
chef-node-management-cli management node update-attributes [flags]Options
--bodyThe updated attributes
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for update-attributes
Default value:
false--namespaceAn attribute's namespace
--nodeIdId of a node
--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management node update-tags
Update the tags on a node.
Synopsis
Use this operation to update a node’s tags. If any tags exist, this operation completely replaces the old tags with the new ones.
Usage
chef-node-management-cli management node update-tags [flags]Options
--bodyThe updated tags
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for update-tags
Default value:
false--nodeIdId of a node
--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management setting
Commands related to setting
Options
-h--helphelp for setting
Default value:
false
See also
- chef-node-management-cli management
- chef-node-management-cli management setting create-setting
- chef-node-management-cli management setting delete-setting
- chef-node-management-cli management setting find-all-default-settings
- chef-node-management-cli management setting find-all-settings
- chef-node-management-cli management setting find-one-setting
- chef-node-management-cli management setting get-skill-defaultSettings
- chef-node-management-cli management setting get-skillSettings
- chef-node-management-cli management setting update-defaultSettings
- chef-node-management-cli management setting update-skillSettings
chef-node-management-cli management setting create-setting
Add a node override settings
Synopsis
This operation will enable the addition of a node override settings based on skill groups.
Usage
chef-node-management-cli management setting create-setting [flags]Options
--bodyThe override settings to be added
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for create-setting
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management setting delete-setting
Deletes a override settings group
Synopsis
Use this operation to delete a override settings group using its id.
Usage
chef-node-management-cli management setting delete-setting [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for delete-setting
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--settingIdId of the settings group
--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management setting find-all-default-settings
Get the list of default settings for all the available skills.
Synopsis
Use this operation to obtain all the default settings for all the skills.
Usage
chef-node-management-cli management setting find-all-default-settings [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for find-all-default-settings
Default value:
false--pagination.pagewhat page of the pagination
Default value:
1--pagination.sizeitems per page
Default value:
10--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management setting find-all-settings
Get the list of override settings under node management.
Synopsis
Use this operation to obtain all the override settings for a settings group.
Usage
chef-node-management-cli management setting find-all-settings [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for find-all-settings
Default value:
false--pagination.pagewhat page of the pagination
Default value:
1--pagination.sizeitems per page
Default value:
10--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management setting find-one-setting
Get override settings by id
Synopsis
Use this operation to obtain override settings for a settings group given its id.
Usage
chef-node-management-cli management setting find-one-setting [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for find-one-setting
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--settingIdId of the settings group
--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management setting get-skill-defaultSettings
Get default settings for a skill
Synopsis
Use this operation to obtain default settings for a skill.
Usage
chef-node-management-cli management setting get-skill-defaultSettings [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for get-skill-defaultSettings
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--skillNamename of Skill
--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management setting get-skillSettings
Get merged global and override settings by id and skill
Synopsis
Use this operation to get merged global and override settings for a skill.
Usage
chef-node-management-cli management setting get-skillSettings [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for get-skillSettings
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--settingIdId of the settings group
--skillNamename of Skill
--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management setting update-defaultSettings
Update default settings for a skill
Synopsis
Use this operation to update default settings for a skill.
Usage
chef-node-management-cli management setting update-defaultSettings [flags]Options
--bodyThe updated skill override settings
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for update-defaultSettings
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--skillNamename of Skill
--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management setting update-skillSettings
Create or update Override Settings for a Skill
Synopsis
Use this operation to update override settings for a skill.
Usage
chef-node-management-cli management setting update-skillSettings [flags]Options
--bodyThe updated skill override settings
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for update-skillSettings
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--settingIdId of the settings group
--skillNamename of Skill
--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management skill
Commands related to skill
Options
-h--helphelp for skill
Default value:
false
See also
- chef-node-management-cli management
- chef-node-management-cli management skill create-skill
- chef-node-management-cli management skill delete-skill
- chef-node-management-cli management skill find-all-skills
- chef-node-management-cli management skill find-one-skill
- chef-node-management-cli management skill modify-skill
- chef-node-management-cli management skill update-agent
chef-node-management-cli management skill create-skill
Add a skill definition
Synopsis
This method will allow the addition of a new skill definition to the node management.
Usage
chef-node-management-cli management skill create-skill [flags]Options
--bodyThe skill definition to be added
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for create-skill
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management skill delete-skill
Deletes a skill definition
Synopsis
Use this operation to delete a skill definition using its name.
Usage
chef-node-management-cli management skill delete-skill [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for delete-skill
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--skillNamename of Skill
--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management skill find-all-skills
List the skill definitions under node management
Synopsis
This method will list all skill definitions related to management in the current organization.
Usage
chef-node-management-cli management skill find-all-skills [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for find-all-skills
Default value:
false--pagination.pagewhat page of the pagination
Default value:
1--pagination.sizeitems per page
Default value:
10--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management skill find-one-skill
Get skill definition
Synopsis
Use this operation to obtain a skill definition using the skill name (it is case-insensitive).
Usage
chef-node-management-cli management skill find-one-skill [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for find-one-skill
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--skillNamename of Skill
--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management skill modify-skill
Modify a skill definition
Synopsis
Use this operation to modify a skill definition using its name. Put requests can modify canister, native definitions, as well as configuration templates.
Usage
chef-node-management-cli management skill modify-skill [flags]Options
--bodyThe updated skill definition
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for modify-skill
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--skillNamename of Skill
--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli management skill update-agent
Register/Update node management agent skill along with the default settings.
Synopsis
The node management agent is a specialized skill; use this operation to update the node management agent’s skill. This operation registers the node management agent as a special skill, enabling the updating of the node management agent. It also establishes the default settings for the node management agent to function during skill installation, as well as for self-updating.
Usage
chef-node-management-cli management skill update-agent [flags]Options
--bodyThe data for node management agent skill
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for update-agent
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli register-device
register a device and get api-token for device login
Usage
chef-node-management-cli register-device [flags]Options
--cafilepath to ca file
--device-namename of the device
Default value:
device-f--formatto print response in format
Default value:
json-h--helphelp for register-device
Default value:
false-i--insecureinsecure skip verify
Default value:
false--overwritethis flag is used to overwrite the old profile if the profile for profile name provided already exists
Default value:
false--profile-namename for the profile of the new api-token
--urltenant url
-v--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli set-default-profile
Set default profile for request
Usage
chef-node-management-cli set-default-profile [flags]Options
-h--helphelp for set-default-profile
Default value:
false
See also
chef-node-management-cli status
Commands related to status
Options
-h--helphelp for status
Default value:
false
See also
- chef-node-management-cli status get-enrollmentId-status
- chef-node-management-cli status get-status
- chef-node-management-cli status update-status
chef-node-management-cli status get-enrollmentId-status
Get node(s) enrollment status using enrollment id
Synopsis
Use this operation to obtain the node(s) enrollment status using enrollment id
Usage
chef-node-management-cli status get-enrollmentId-status [flags]Options
--enrollmentIdEnrollment Id of node/nodes
--formatto print response in format
Default value:
json-h--helphelp for get-enrollmentId-status
Default value:
false--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli status get-status
Get node enrollment status
Synopsis
Use this operation to obtain a node enrollment status
Usage
chef-node-management-cli status get-status [flags]Options
--formatto print response in format
Default value:
json-h--helphelp for get-status
Default value:
false--nodeIdId of a node
--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli status update-status
update the node enrollment status
Synopsis
Use this operation to update the node enrollment state and status.
Usage
chef-node-management-cli status update-status [flags]Options
--bodyThe updated node enrollment status definition
--body-filePath to file in the local system containing valid body parameter value
--body-formatFormat of the --body or --body-file, options: json, yaml, toml
Default value:
json--formatto print response in format
Default value:
json-h--helphelp for update-status
Default value:
false--nodeIdId of a node
--profilename of the profile to be used for cmd
Default value:
default--verboseto show debug logs
Default value:
false
See also
chef-node-management-cli version
Chef Platform version
Usage
chef-node-management-cli version [flags]Options
-h--helphelp for version
Default value:
false