Compartir a través de


ServicePrincipalImpl.IWithRoleAssignmentBeta.WithNewRole Método

Definición

Asigna un nuevo rol a la entidad de servicio.

Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate IWithRoleAssignmentBeta.WithNewRole (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role, string scope);
abstract member Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithRoleAssignmentBeta.WithNewRole : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole * string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate
override this.Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithRoleAssignmentBeta.WithNewRole : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole * string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate
Function WithNewRole (role As BuiltInRole, scope As String) As IWithCreate Implements IWithRoleAssignmentBeta.WithNewRole

Parámetros

role
BuiltInRole

Rol que se va a asignar a la entidad de servicio.

scope
String

Ámbito al que puede acceder la entidad de servicio.

Devoluciones

Implementaciones

Se aplica a