public ServiceFuture<AppServicePlanInner> createOrUpdateAsync(String resourceGroupName, String name, AppServicePlanInner appServicePlan, final ServiceCallback<AppServicePlanInner> serviceCallback) {
        return ServiceFuture.fromResponse(createOrUpdateWithServiceResponseAsync(resourceGroupName, name, appServicePlan), serviceCallback);
    }
public ServiceFuture < AppServicePlanInner > createOrUpdateAsync ( String resourceGroupName , String name , AppServicePlanInner appServicePlan , final ServiceCallback < AppServicePlanInner > serviceCallback ) { return ServiceFuture . fromResponse ( createOrUpdateWithServiceResponseAsync ( resourceGroupName , name , appServicePlan ) , serviceCallback ) ; }
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