ServicePrincipal.DefinitionStages.WithRoleAssignment.withNewRole(BuiltInRole role, String scope) 方法
定义
Assigns a new role to the service principal.
public WithCreate withNewRole(BuiltInRole role, String scope)
参数
- role
- BuiltInRole
the role to assign to the service principal
- scope
- String
the scope the service principal can access
返回
the next stage of the service principal definition