Principal. Definition Stages. With Role Assignment. with New Role InResource Group(BuiltInRole role, ResourceGroup resourceGroup) 方法
Assigns a new role to the service principal.
public WithCreate withNewRoleInResourceGroup(BuiltInRole role, ResourceGroup resourceGroup)
the role to assign to the service principal
the resource group the service principal can access
the next stage of the service principal definition