Creates a new role.
Note
This method should be used for on-premise deployments only.
Parameters
name (str) –
Name of the role to be created. Must contain only lowercase letters, digits, and underscores, and cannot begin with a digit. Must not be the same name as an existing user or role.
options (dict of str to str) –
Optional parameters. Allowed keys are:
resource_group – Name of an existing resource group to associate with this user.
The default value is an empty dict ( ).
Returns
A dict with the following entries–
name (str) –
Value of input parameter name.
info (dict of str to str) –
Additional information.