Interface RoleDefinitions
-
- All Superinterfaces:
HasManager<AuthorizationManager>
,SupportsGettingById<RoleDefinition>
public interface RoleDefinitions extends SupportsGettingById<RoleDefinition>, HasManager<AuthorizationManager>
Entry point to role definition management API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RoleDefinition
getByScope(String scope, String name)
Gets the information about a role definition based on scope and name.RoleDefinition
getByScopeAndRoleName(String scope, String roleName)
Gets the information about a role definition based on scope and name.Mono<RoleDefinition>
getByScopeAndRoleNameAsync(String scope, String roleName)
Gets the information about a role definition based on scope and name.Mono<RoleDefinition>
getByScopeAsync(String scope, String name)
Gets the information about a role definition based on scope and name.com.azure.core.http.rest.PagedIterable<RoleDefinition>
listByScope(String scope)
List role definitions in a scope.com.azure.core.http.rest.PagedFlux<RoleDefinition>
listByScopeAsync(String scope)
List role definitions in a scope.-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync
-
-
-
-
Method Detail
-
getByScopeAsync
Mono<RoleDefinition> getByScopeAsync(String scope, String name)
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
-
getByScope
RoleDefinition getByScope(String scope, String name)
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
Mono<RoleDefinition> getByScopeAndRoleNameAsync(String scope, String roleName)
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
-
getByScopeAndRoleName
RoleDefinition getByScopeAndRoleName(String scope, String roleName)
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
com.azure.core.http.rest.PagedFlux<RoleDefinition> listByScopeAsync(String scope)
List role definitions in a scope.- Parameters:
scope
- the scope of the role definition- Returns:
- an observable of role definitions
-
listByScope
com.azure.core.http.rest.PagedIterable<RoleDefinition> listByScope(String scope)
List role definitions in a scope.- Parameters:
scope
- the scope of the role definition- Returns:
- a list of role definitions
-
-