vcd-cli

Command Line Interface for
VMware vCloud Director

Commands

Installation

Configuration

Adding extensions

View the Project on GitHub

Usage: vcd role [OPTIONS] COMMAND [ARGS]...

  Work with roles.

      Note
         All sub-commands execute in the context of organization specified
         via --org option; it defaults to current organization-in-use
         if --org option is not specified.

      Examples
          vcd role info myRole -o myOrg
              Show details of a given role

          vcd role list
              Get list of roles in the current organization.

          vcd role list-rights myRole
              Get list of rights associated with a given role.

          vcd role create myRole myDescription 'Disk: View Properties' \
              'Provider vDC: Edit' --org myOrg
              Creates a role with zero or more rights.

          vcd role delete myRole -o myOrg
              Deletes a role from the organization.

          vcd role link myRole -o myOrg
              Links the role to it's original template.

          vcd role unlink myRole -o myOrg
              Unlinks the role from its template.

          vcd role add-right myRole myRight1 myRight2  -o myOrg
              Adds one or more rights to a given role.

          vcd role remove-right myRole myRight1 myRight2  -o myOrg
              Removes one or more rights from a given role.



Options:
  -h, --help  Show this message and exit.

Commands:
  add-right     Adds one or more rights to the role
  create        Creates role in the specified Organization (defaults to the
                current Organization in use)
  delete        Deletes role in the specified Organization
  info          show details of a role
  link          Link the role of a given org to its template
  list          list roles
  list-rights   list rights of a role
  remove-right  Removes one or more rights from the role
  unlink        Unlink the role of a given org from its template