RoleAssignments.getByScopeAsync 方法

定义

重载

getByScopeAsync(String scope, String name)

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

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

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

getByScopeAsync(String scope, String name)

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

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

参数

scope
String

the scope of the role assignment

name
String

the name of the role assignment

返回

Observable<RoleAssignment>

an immutable representation of the role assignment

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

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

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

参数

scope
String

the scope of the role assignment

name
String

the name of the role assignment

callback
ServiceCallback<RoleAssignment>

the callback when the operation finishes

返回

ServiceFuture<RoleAssignment>

an immutable representation of the role assignment

适用于