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