ServicePrincipal.DefinitionStages.WithRoleAssignment 接口
定义
A service principal definition allowing role assignments to be added.
public interface WithRoleAssignment
方法
withNewRole(BuiltInRole role, String scope) |
Assigns a new role to the service principal. |
withNewRoleInResourceGroup(BuiltInRole role, ResourceGroup resourceGroup) |
Assigns a new role to the service principal. |
withNewRoleInSubscription(BuiltInRole role, String subscriptionId) |
Assigns a new role to the service principal. |