Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */
package com.microsoft.azure.management.appservice; import com.microsoft.azure.management.apigeneration.Beta; import rx.Completable; import java.io.File; import java.io.InputStream;
Provides access to OneDeploy.
/** * Provides access to OneDeploy. */
@Beta(Beta.SinceVersion.V1_36_0) public interface SupportsOneDeploy {
Deploy a file to Azure site.
Params:
  • type – the deploy type
  • file – the file to upload
/** * Deploy a file to Azure site. * * @param type the deploy type * @param file the file to upload */
void deploy(DeployType type, File file);
Deploy a file to Azure site.
Params:
  • type – the deploy type
  • file – the file to upload
Returns:a completable of the operation
/** * Deploy a file to Azure site. * * @param type the deploy type * @param file the file to upload * @return a completable of the operation */
Completable deployAsync(DeployType type, File file);
Deploy a file to Azure site.
Params:
  • type – the deploy type
  • file – the file to upload
  • deployOptions – the deploy options
/** * Deploy a file to Azure site. * * @param type the deploy type * @param file the file to upload * @param deployOptions the deploy options */
void deploy(DeployType type, File file, DeployOptions deployOptions);
Deploy a file to Azure site.
Params:
  • type – the deploy type
  • file – the file to upload
  • deployOptions – the deploy options
Returns:a completable of the operation
/** * Deploy a file to Azure site. * * @param type the deploy type * @param file the file to upload * @param deployOptions the deploy options * @return a completable of the operation */
Completable deployAsync(DeployType type, File file, DeployOptions deployOptions);
Deploy a file to Azure site.
Params:
  • type – the deploy type
  • file – the file to upload
/** * Deploy a file to Azure site. * * @param type the deploy type * @param file the file to upload */
void deploy(DeployType type, InputStream file);
Deploy a file to Azure site.
Params:
  • type – the deploy type
  • file – the file to upload
Returns:a completable of the operation
/** * Deploy a file to Azure site. * * @param type the deploy type * @param file the file to upload * @return a completable of the operation */
Completable deployAsync(DeployType type, InputStream file);
Deploy a file to Azure site.
Params:
  • type – the deploy type
  • file – the file to upload
  • deployOptions – the deploy options
/** * Deploy a file to Azure site. * * @param type the deploy type * @param file the file to upload * @param deployOptions the deploy options */
void deploy(DeployType type, InputStream file, DeployOptions deployOptions);
Deploy a file to Azure site.
Params:
  • type – the deploy type
  • file – the file to upload
  • deployOptions – the deploy options
Returns:a completable of the operation
/** * Deploy a file to Azure site. * * @param type the deploy type * @param file the file to upload * @param deployOptions the deploy options * @return a completable of the operation */
Completable deployAsync(DeployType type, InputStream file, DeployOptions deployOptions); }