Lists groups. If no group names are specified, the call lists all groups.
list-groups is a paginated operation. Multiple API calls may be issued in order to retrieve the entire data set of results. You can disable pagination by providing the
list-groups [--group-names <value>] [--max-items <value>] [--starting-token <value>] [--page-size <value>] [--cli-input-json <value>] [--generate-cli-skeleton]
The group names or CRNs of the groups. If not provided, all groups in the account are retrieved.
"string" "string" ...
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
nextTokenwill be provided in the output that you can use to resume pagination. This
nextTokenresponse element should not be used directly outside of the CDP CLI. This option cannnot be combined with the
no-paginateCLI option. If no max-items value is specified, then a default value of 100 is used.
A token to specify where to start paginating. This is the
nextTokenfrom a previously truncated response.
The size of each page. Generally this does not need to be set and the default page size used is appropriate.
Performs service operation based on the JSON string provided. The JSON string follows the format provided by
--generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.
Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for
groups -> (array)
The list of groups.
item -> (object)
Information about a group.
groupName -> (string)
The group name.
crn -> (string)
The CRN of the group.
creationDate -> (datetime)
The date when this group record was created.
syncMembershipOnUserLogin -> (boolean)
Whether group membership is synced when a user logs in. The default is to sync group membership.
azureCloudIdentities -> (array)
The list of Azure cloud identities assigned to the group.
item -> (object)
An Azure cloud identity.
objectId -> (string)
The Azure object ID (OID).
environmentCrn -> (string)
The CRN of the environment this Azure cloud identity is associated with. If omitted, this cloud identity is associated with all Azure environments.
nextToken -> (string)
The token to use when requesting the next set of results. If not present, there are no additional results.