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 Summary
Modifier and TypeMethodDescriptiongetByScope
(String scope, String name) Gets the information about a role assignment based on scope and name.rx.Observable<RoleAssignment>
getByScopeAsync
(String scope, String name) Gets the information about a role assignment based on scope and name.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.com.microsoft.azure.PagedList<RoleAssignment>
listByScope
(String scope) List role assignments in a scope.rx.Observable<RoleAssignment>
listByScopeAsync
(String scope) List role assignments in a scope.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
manager
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation
create, create, createAsync, createAsync, createAsync, createAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating
define
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsync, deleteByIdAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync, getByIdAsync
-
Method Details
-
getByScopeAsync
Gets the information about a role assignment based on scope and name.- Parameters:
scope
- the scope of the role assignmentname
- 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 assignmentname
- the name of the role assignmentcallback
- the callback when the operation finishes- Returns:
- an immutable representation of the role assignment
-
getByScope
Gets the information about a role assignment based on scope and name.- Parameters:
scope
- the scope of the role assignmentname
- the name of the role assignment- Returns:
- an immutable representation of the role assignment
-
listByScopeAsync
List role assignments in a scope.- Parameters:
scope
- the scope of the role assignments- Returns:
- an observable of role assignments
-
listByScope
List role assignments in a scope.- Parameters:
scope
- the scope of the role assignments- Returns:
- a list of role assignments
-