code: public Observable<GenericResourceInner> getAsync(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String apiVersion) {
          return getWithServiceResponseAsync(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, apiVersion).map(new Func1<ServiceResponse<GenericResourceInner>, GenericResourceInner>() {
              @Override
              public GenericResourceInner call(ServiceResponse<GenericResourceInner> response) {
                  return response.body();
              }
          });
      }
docs: Gets a resource.
  
  @param resourceGroupName The name of the resource group containing the resource to get. The name is case insensitive.
  @param resourceProviderNamespace The namespace of the resource provider.
  @param parentResourcePath The parent resource identity.
  @param resourceType The resource type of the resource.
  @param resourceName The name of the resource to get.
  @param apiVersion The API version to use for the operation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the GenericResourceInner object