Interface RoleAssignments

    • Method Detail

      • getByScopeAsync

        Mono<RoleAssignment> getByScopeAsync​(String scope,
                                             String name)
        Gets the information about a role assignment based on scope and name.
        Parameters:
        scope - the scope of the role assignment
        name - the name of the role assignment
        Returns:
        an immutable representation of the role assignment
      • getByScope

        RoleAssignment getByScope​(String scope,
                                  String name)
        Gets the information about a role assignment based on scope and name.
        Parameters:
        scope - the scope of the role assignment
        name - the name of the role assignment
        Returns:
        an immutable representation of the role assignment
      • listByScopeAsync

        com.azure.core.http.rest.PagedFlux<RoleAssignment> listByScopeAsync​(String scope)
        List role assignments in a scope.
        Parameters:
        scope - the scope of the role assignments
        Returns:
        a list of role assignments
      • listByScope

        com.azure.core.http.rest.PagedIterable<RoleAssignment> listByScope​(String scope)
        List role assignments in a scope.
        Parameters:
        scope - the scope of the role assignments
        Returns:
        a list of role assignments
      • listByServicePrincipalAsync

        com.azure.core.http.rest.PagedFlux<RoleAssignment> listByServicePrincipalAsync​(ServicePrincipal servicePrincipal)
        List role assignments for a service principal.
        Parameters:
        servicePrincipal - the service principal
        Returns:
        a list of role assignments
      • listByServicePrincipal

        com.azure.core.http.rest.PagedIterable<RoleAssignment> listByServicePrincipal​(ServicePrincipal servicePrincipal)
        List role assignments for a service principal.
        Parameters:
        servicePrincipal - the service principal
        Returns:
        a list of role assignments
      • listByServicePrincipalAsync

        com.azure.core.http.rest.PagedFlux<RoleAssignment> listByServicePrincipalAsync​(String principalId)
        List role assignments for a service principal.
        Parameters:
        principalId - the ID of the service principal
        Returns:
        a list of role assignments
      • listByServicePrincipal

        com.azure.core.http.rest.PagedIterable<RoleAssignment> listByServicePrincipal​(String principalId)
        List role assignments for a service principal.
        Parameters:
        principalId - the ID of the service principal
        Returns:
        a list of role assignments