Alter Role

Alters a Role.

Input Parameter Description

NameTypeDescription
namestringName of the role to be altered. Must be an existing role.
actionstring

Modification operation to be applied to the role.

Supported ValuesDescription
set_commentSets the comment for an internal role.
set_resource_groupSets the resource group for an internal role. The resource group must exist, otherwise, an empty string assigns the role to the default resource group.
valuestringThe value of the modification, depending on input parameter action.
optionsmap of string to stringsOptional parameters. The default value is an empty map ( {} ).

Output Parameter Description

NameTypeDescription
namestringValue of input parameter name.
infomap of string to stringsAdditional information.