assign-group-resource-role¶
- subtitle
Assign a resource role to a group.
- version
0.9.128
Description¶
Assign a resource role to a group. If the resource role is already assigned to the group the request will fail.
Synopsis¶
assign-group-resource-role
--group-name <value>
--resource-role-crn <value>
--resource-crn <value>
[--cli-input-json <value>]
[--generate-cli-skeleton]
Options¶
--group-name
(string)
The group to assign the resource role to. Can be the group’s name or CRN.
--resource-role-crn
(string)
The CRN of the resource role being assigned to the group.
--resource-crn
(string)
The resource for which the resource role rights are granted.
--cli-input-json
(string)
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.
--generate-cli-skeleton
(boolean)
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
--cli-input-json
.
Output¶
Form Factors¶
public, private