Interface RoleDefinitions
- All Superinterfaces:
HasInner<com.microsoft.azure.management.graphrbac.implementation.RoleDefinitionsInner>,HasManager<com.microsoft.azure.management.graphrbac.implementation.GraphRbacManager>,SupportsGettingById<RoleDefinition>
public interface RoleDefinitions
extends SupportsGettingById<RoleDefinition>, HasManager<com.microsoft.azure.management.graphrbac.implementation.GraphRbacManager>, HasInner<com.microsoft.azure.management.graphrbac.implementation.RoleDefinitionsInner>
Entry point to role definition management API.
-
Method Summary
Modifier and TypeMethodDescriptiongetByScope(String scope, String name) Gets the information about a role definition based on scope and name.getByScopeAndRoleName(String scope, String roleName) Gets the information about a role definition based on scope and name.rx.Observable<RoleDefinition>getByScopeAndRoleNameAsync(String scope, String roleName) Gets the information about a role definition based on scope and name.com.microsoft.rest.ServiceFuture<RoleDefinition>getByScopeAndRoleNameAsync(String scope, String roleName, com.microsoft.rest.ServiceCallback<RoleDefinition> callback) Gets the information about a role definition based on scope and name.rx.Observable<RoleDefinition>getByScopeAsync(String scope, String name) Gets the information about a role definition based on scope and name.com.microsoft.rest.ServiceFuture<RoleDefinition>getByScopeAsync(String scope, String name, com.microsoft.rest.ServiceCallback<RoleDefinition> callback) Gets the information about a role definition based on scope and name.com.microsoft.azure.PagedList<RoleDefinition>listByScope(String scope) List role definitions in a scope.rx.Observable<RoleDefinition>listByScopeAsync(String scope) List role definitions in a scope.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
innerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync, getByIdAsync
-
Method Details
-
getByScopeAsync
Gets the information about a role definition based on scope and name.- Parameters:
scope- the scope of the role definitionname- the name of the role definition- Returns:
- an immutable representation of the role definition
-
getByScopeAsync
com.microsoft.rest.ServiceFuture<RoleDefinition> getByScopeAsync(String scope, String name, com.microsoft.rest.ServiceCallback<RoleDefinition> callback) Gets the information about a role definition based on scope and name.- Parameters:
scope- the scope of the role definitionname- the name of the role definitioncallback- the callback when the operation finishes- Returns:
- an immutable representation of the role definition
-
getByScope
Gets the information about a role definition based on scope and name.- Parameters:
scope- the scope of the role definitionname- the name of the role definition- Returns:
- an immutable representation of the role definition
-
getByScopeAndRoleNameAsync
Gets the information about a role definition based on scope and name.- Parameters:
scope- the scope of the role definitionroleName- the name of the role- Returns:
- an immutable representation of the role definition
-
getByScopeAndRoleNameAsync
com.microsoft.rest.ServiceFuture<RoleDefinition> getByScopeAndRoleNameAsync(String scope, String roleName, com.microsoft.rest.ServiceCallback<RoleDefinition> callback) Gets the information about a role definition based on scope and name.- Parameters:
scope- the scope of the role definitionroleName- the name of the rolecallback- the callback when the operation finishes- Returns:
- an immutable representation of the role definition
-
getByScopeAndRoleName
Gets the information about a role definition based on scope and name.- Parameters:
scope- the scope of the role definitionroleName- the name of the role- Returns:
- an immutable representation of the role definition
-
listByScopeAsync
List role definitions in a scope.- Parameters:
scope- the scope of the role definition- Returns:
- an observable of role definitions
-
listByScope
List role definitions in a scope.- Parameters:
scope- the scope of the role definition- Returns:
- a list of role definitions
-