Interface RoleAssignments

All Superinterfaces:
HasInner<com.microsoft.azure.management.graphrbac.implementation.RoleAssignmentsInner>, HasManager<com.microsoft.azure.management.graphrbac.implementation.GraphRbacManager>, SupportsBatchCreation<RoleAssignment>, SupportsCreating<RoleAssignment.DefinitionStages.Blank>, SupportsDeletingById, SupportsGettingById<RoleAssignment>

public interface RoleAssignments extends SupportsGettingById<RoleAssignment>, SupportsCreating<RoleAssignment.DefinitionStages.Blank>, SupportsBatchCreation<RoleAssignment>, SupportsDeletingById, HasManager<com.microsoft.azure.management.graphrbac.implementation.GraphRbacManager>, HasInner<com.microsoft.azure.management.graphrbac.implementation.RoleAssignmentsInner>
Entry point to role assignment management API.
  • Method Details

    • getByScopeAsync

      rx.Observable<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
    • getByScopeAsync

      com.microsoft.rest.ServiceFuture<RoleAssignment> getByScopeAsync(String scope, String name, com.microsoft.rest.ServiceCallback<RoleAssignment> callback)
      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
      callback - the callback when the operation finishes
      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

      rx.Observable<RoleAssignment> listByScopeAsync(String scope)
      List role assignments in a scope.
      Parameters:
      scope - the scope of the role assignments
      Returns:
      an observable of role assignments
    • listByScope

      com.microsoft.azure.PagedList<RoleAssignment> listByScope(String scope)
      List role assignments in a scope.
      Parameters:
      scope - the scope of the role assignments
      Returns:
      a list of role assignments