RoleDefinitions Interface
public interface RoleDefinitions extends SupportsGettingById,HasManager,HasInner
Entry point to role definition management API.
Method Summary
Modifier and Type | Method and Description |
---|---|
Role |
getByScope(String scope, String name)
Gets the information about a role definition based on scope and name. |
Role |
getByScopeAndRoleName(String scope, String roleName)
Gets the information about a role definition based on scope and name. |
Observable<Role |
getByScopeAndRoleNameAsync(String scope, String roleName)
Gets the information about a role definition based on scope and name. |
ServiceFuture<Role |
getByScopeAndRoleNameAsync(String scope, String roleName, ServiceCallback<RoleDefinition> callback)
Gets the information about a role definition based on scope and name. |
Observable<Role |
getByScopeAsync(String scope, String name)
Gets the information about a role definition based on scope and name. |
ServiceFuture<Role |
getByScopeAsync(String scope, String name, ServiceCallback<RoleDefinition> callback)
Gets the information about a role definition based on scope and name. |
PagedList<Role |
listByScope(String scope)
List role definitions in a scope. |
Observable<Role |
listByScopeAsync(String scope)
List role definitions in a scope. |
Inherited Members
Method Details
getByScope
public RoleDefinition getByScope(String scope, String name)
Gets the information about a role definition based on scope and name.
Parameters:
Returns:
getByScopeAndRoleName
public RoleDefinition getByScopeAndRoleName(String scope, String roleName)
Gets the information about a role definition based on scope and name.
Parameters:
Returns:
getByScopeAndRoleNameAsync
public Observable
Gets the information about a role definition based on scope and name.
Parameters:
Returns:
getByScopeAndRoleNameAsync
public ServiceFuture
Gets the information about a role definition based on scope and name.
Parameters:
Returns:
getByScopeAsync
public Observable
Gets the information about a role definition based on scope and name.
Parameters:
Returns:
getByScopeAsync
public ServiceFuture
Gets the information about a role definition based on scope and name.
Parameters:
Returns:
listByScope
public PagedList
List role definitions in a scope.
Parameters:
Returns:
listByScopeAsync
public Observable
List role definitions in a scope.
Parameters:
Returns:
Applies to
Azure SDK for Java