code: public ServiceFuture<AppServiceEnvironmentResourceInner> updateAsync(String resourceGroupName, String name, AppServiceEnvironmentPatchResource hostingEnvironmentEnvelope, final ServiceCallback<AppServiceEnvironmentResourceInner> serviceCallback) {
          return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, name, hostingEnvironmentEnvelope), serviceCallback);
      }
docs: Create or update an App Service Environment.
  Create or update an App Service Environment.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param name Name of the App Service Environment.
  @param hostingEnvironmentEnvelope Configuration details of the App Service Environment.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object