public Observable<List<VnetRouteInner>> getRouteForVnetAsync(String resourceGroupName, String name, String vnetName, String routeName) {
        return getRouteForVnetWithServiceResponseAsync(resourceGroupName, name, vnetName, routeName).map(new Func1<ServiceResponse<List<VnetRouteInner>>, List<VnetRouteInner>>() {
            @Override
            public List<VnetRouteInner> call(ServiceResponse<List<VnetRouteInner>> response) {
                return response.body();
            }
        });
    }
public Observable < List < VnetRouteInner > > getRouteForVnetAsync ( String resourceGroupName , String name , String vnetName , String routeName ) { return getRouteForVnetWithServiceResponseAsync ( resourceGroupName , name , vnetName , routeName ) . map ( new Func1 < ServiceResponse < List < VnetRouteInner > > , List < VnetRouteInner > > ( ) { @ Override public List < VnetRouteInner > call ( ServiceResponse < List < VnetRouteInner > > response ) { return response . body ( ) ; } } ) ; }
Get a Virtual Network route in an App Service plan.
Get a Virtual Network route in an App Service plan.

@param resourceGroupName Name of the resource group to which the resource belongs.
@param name Name of the App Service plan.
@param vnetName Name of the Virtual Network.
@param routeName Name of the Virtual Network route.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the List&lt;VnetRouteInner&gt; object