IWithRoleAssignmentBeta.WithNewRole(BuiltInRole, String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Assigns a new role to the service principal.
public Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate 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.Definition.IWithCreate
Public Function WithNewRole (role As BuiltInRole, scope As String) As IWithCreate
- role
- BuiltInRole
The role to assign to the service principal.
- scope
- String
The scope the service principal can access.
Prodotto | Versioni |
---|---|
Azure SDK for .NET | Legacy |
Feedback su Azure SDK for .NET
Azure SDK for .NET è un progetto di open source. Selezionare un collegamento per fornire feedback: