次の方法で共有


IWithRoleAssignmentBeta.WithNewRole(BuiltInRole, String) メソッド

定義

サービス プリンシパルに新しいロールを割り当てます。

public Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate WithNewRole (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role, string scope);
abstract member WithNewRole : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole * string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate
Public Function WithNewRole (role As BuiltInRole, scope As String) As IUpdate

パラメーター

role
BuiltInRole

サービス プリンシパルに割り当てるロール。

scope
String

サービス プリンシパルがアクセスできるスコープ。

戻り値

適用対象