Compartir a través de


ServicePrincipalImpl.IWithRoleAssignmentBeta.WithNewRoleInResourceGroup Método

Definición

Asigna un nuevo rol a la entidad de servicio.

Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate IWithRoleAssignmentBeta.WithNewRoleInResourceGroup (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role, Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup resourceGroup);
abstract member Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IWithRoleAssignmentBeta.WithNewRoleInResourceGroup : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole * Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate
override this.Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IWithRoleAssignmentBeta.WithNewRoleInResourceGroup : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole * Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate
Function WithNewRoleInResourceGroup (role As BuiltInRole, resourceGroup As IResourceGroup) As IUpdate Implements IWithRoleAssignmentBeta.WithNewRoleInResourceGroup

Parámetros

role
BuiltInRole

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

resourceGroup
IResourceGroup

El grupo de recursos al que puede acceder la entidad de servicio.

Devoluciones

Implementaciones

Se aplica a