Interface RoleAssignments

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<AuthorizationManager>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation<RoleAssignment>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<RoleAssignment.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<RoleAssignment>

public interface RoleAssignments extends com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<RoleAssignment>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<RoleAssignment.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation<RoleAssignment>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<AuthorizationManager>
Entry point to role assignment management API.
  • Method Summary

    Modifier and Type
    Method
    Description
    getByScope(String scope, String name)
    Gets the information about a role assignment based on scope and name.
    Gets the information about a role assignment based on scope and name.
    com.azure.core.http.rest.PagedIterable<RoleAssignment>
    List role assignments in a scope.
    com.azure.core.http.rest.PagedFlux<RoleAssignment>
    List role assignments in a scope.
    com.azure.core.http.rest.PagedIterable<RoleAssignment>
    List role assignments for a service principal.
    com.azure.core.http.rest.PagedIterable<RoleAssignment>
    List role assignments for a service principal.
    com.azure.core.http.rest.PagedFlux<RoleAssignment>
    List role assignments for a service principal.
    com.azure.core.http.rest.PagedFlux<RoleAssignment>
    List role assignments for a service principal.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager

    manager

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation

    create, create, createAsync, createAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating

    define

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById

    deleteById, deleteByIdAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById

    getById, getByIdAsync
  • Method Details

    • 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