code: public AppServicePlanInner update(String resourceGroupName, String name, AppServicePlanPatchResource appServicePlan) {
          return updateWithServiceResponseAsync(resourceGroupName, name, appServicePlan).toBlocking().single().body();
      }
docs: 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
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the AppServicePlanInner object if successful.