RoleDefinitions.getByScopeAsync 方法

定义

重载

getByScopeAsync(String scope, String name)

Gets the information about a role definition based on scope and name.

getByScopeAsync(String scope, String name, ServiceCallback<RoleDefinition> callback)

Gets the information about a role definition based on scope and name.

getByScopeAsync(String scope, String name)

Gets the information about a role definition based on scope and name.

public Observable<RoleDefinition> getByScopeAsync(String scope, String name)

参数

scope
String

the scope of the role definition

name
String

the name of the role definition

返回

Observable<RoleDefinition>

an immutable representation of the role definition

getByScopeAsync(String scope, String name, ServiceCallback<RoleDefinition> callback)

Gets the information about a role definition based on scope and name.

public ServiceFuture<RoleDefinition> getByScopeAsync(String scope, String name, ServiceCallback<RoleDefinition> callback)

参数

scope
String

the scope of the role definition

name
String

the name of the role definition

callback
ServiceCallback<RoleDefinition>

the callback when the operation finishes

返回

ServiceFuture<RoleDefinition>

an immutable representation of the role definition

适用于