resourcegroups list

This command retrieves information about all resource groups or a specific group.

Syntax

resourcegroups list  -h

resourcegroups list [-u <UUID>] [-v <filter>]

Options

{-h | --help}
Displays the syntax and brief usage information for this command.
{-u | --uuid}
Specifies the UUID of the resource group.
{-v | --view} <filter>
Identifies the view to use for the returned data. If a filter is not specified, the default view is used.

You can also create custom views (see Creating custom views).

Examples

The following example returns information about all resource groups.

connect --url https://192.0.2.0 --user ADMIN --noverify
resourcegroups list

The following example returns information about a specific resource group.

connect --url https://192.0.2.0 --user ADMIN --noverify
resourcegroups list –u 5C5AB42D94C6A719BEF2A375

Related links