Interface SupportsGettingById<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T getById​(String id)
      Gets the information about a resource from Azure based on the resource id.
      rx.Observable<T> getByIdAsync​(String id)
      Gets the information about a resource from Azure based on the resource id.
      com.microsoft.rest.ServiceFuture<T> getByIdAsync​(String id, com.microsoft.rest.ServiceCallback<T> callback)
      Gets the information about a resource from Azure based on the resource id.
    • Method Detail

      • getById

        T getById​(String id)
        Gets the information about a resource from Azure based on the resource id.
        Parameters:
        id - the id of the resource.
        Returns:
        an immutable representation of the resource
      • getByIdAsync

        rx.Observable<T> getByIdAsync​(String id)
        Gets the information about a resource from Azure based on the resource id.
        Parameters:
        id - the id of the resource.
        Returns:
        an immutable representation of the resource
      • getByIdAsync

        com.microsoft.rest.ServiceFuture<T> getByIdAsync​(String id,
                                                         com.microsoft.rest.ServiceCallback<T> callback)
        Gets the information about a resource from Azure based on the resource id.
        Parameters:
        id - the id of the resource.
        callback - the callback to call on success or failure
        Returns:
        an immutable representation of the resource