SupportsGettingById<T>.getByIdAsync 方法

定义

重载

getByIdAsync(String id)

Gets the information about a resource from Azure based on the resource id.

getByIdAsync(String id, ServiceCallback<T> callback)

Gets the information about a resource from Azure based on the resource id.

getByIdAsync(String id)

Gets the information about a resource from Azure based on the resource id.

public Observable<T> getByIdAsync(String id)

参数

id
String

the id of the resource.

返回

Observable<T>

an immutable representation of the resource

getByIdAsync(String id, ServiceCallback<T> callback)

Gets the information about a resource from Azure based on the resource id.

public ServiceFuture<T> getByIdAsync(String id, ServiceCallback<T> callback)

参数

id
String

the id of the resource.

callback
ServiceCallback<T>

the callback to call on success or failure

返回

ServiceFuture<T>

an immutable representation of the resource

适用于