code: public Observable<DeploymentExtendedInner> createOrUpdateAsync(String resourceGroupName, String deploymentName, DeploymentProperties properties) {
          return createOrUpdateWithServiceResponseAsync(resourceGroupName, deploymentName, properties).map(new Func1<ServiceResponse<DeploymentExtendedInner>, DeploymentExtendedInner>() {
              @Override
              public DeploymentExtendedInner call(ServiceResponse<DeploymentExtendedInner> response) {
                  return response.body();
              }
          });
      }
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.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable for the request