public Observable<AppServicePlanInner> updateAsync(String resourceGroupName, String name, AppServicePlanPatchResource appServicePlan) {
        return updateWithServiceResponseAsync(resourceGroupName, name, appServicePlan).map(new Func1<ServiceResponse<AppServicePlanInner>, AppServicePlanInner>() {
            @Override
            public AppServicePlanInner call(ServiceResponse<AppServicePlanInner> response) {
                return response.body();
            }
        });
    }
public Observable < AppServicePlanInner > updateAsync ( String resourceGroupName , String name , AppServicePlanPatchResource appServicePlan ) { return updateWithServiceResponseAsync ( resourceGroupName , name , appServicePlan ) . map ( new Func1 < ServiceResponse < AppServicePlanInner > , AppServicePlanInner > ( ) { @ Override public AppServicePlanInner call ( ServiceResponse < AppServicePlanInner > response ) { return response . body ( ) ; } } ) ; }
Creates or updates an App Service Plan.
Creates or updates 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 appServicePlan Details of the App Service plan.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the AppServicePlanInner object