code: public ServiceFuture<DeploymentExtendedInner> createOrUpdateAsync(String resourceGroupName, String deploymentName, DeploymentProperties properties, final ServiceCallback<DeploymentExtendedInner> serviceCallback) {
          return ServiceFuture.fromResponse(createOrUpdateWithServiceResponseAsync(resourceGroupName, deploymentName, properties), serviceCallback);
      }
docs: Deploys resources to a resource group.
  You can provide the template and parameters directly in the request or link to JSON files.
  
  @param resourceGroupName The name of the resource group to deploy the resources to. The name is case insensitive. The resource group must already exist.
  @param deploymentName The name of the deployment.
  @param properties The deployment properties.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object