code: public ServiceFuture<AppServicePlanInner> beginCreateOrUpdateAsync(String resourceGroupName, String name, AppServicePlanInner appServicePlan, final ServiceCallback<AppServicePlanInner> serviceCallback) {
          return ServiceFuture.fromResponse(beginCreateOrUpdateWithServiceResponseAsync(resourceGroupName, name, appServicePlan), serviceCallback);
      }
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.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object