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.fasterxml.jackson.annotation.JsonCreator; import com.microsoft.rest.ExpandableStringEnum; import java.util.Collection;
OneDeploy type.
/** * OneDeploy type. */
public class DeployType extends ExpandableStringEnum<DeployType> {
Deploy the war file to /home/site/wwwroot/app.war. If DeployOptions.path is provided, path=webapps/<appname> will behave exactly like wardeploy by unzipping app to /home/site/wwwroot/webapps/<appname>.
/** * Deploy the war file to {@code /home/site/wwwroot/app.war}. * * If {@code DeployOptions.path} is provided, {@code path=webapps/<appname>} will behave exactly like wardeploy by unzipping app to {@code /home/site/wwwroot/webapps/<appname>}. */
public static final DeployType WAR = fromString("war");
Deploy the jar file to /home/site/wwwroot/app.jar.
/** * Deploy the jar file to {@code /home/site/wwwroot/app.jar}. */
public static final DeployType JAR = fromString("jar");
Deploy the ear file to /home/site/wwwroot/app.ear.
/** * Deploy the ear file to {@code /home/site/wwwroot/app.ear}. */
public static final DeployType EAR = fromString("ear");
Deploy the jar to /home/site/libs. DeployOptions.path parameter needs to be specified.
/** * Deploy the jar to {@code /home/site/libs}. {@code DeployOptions.path} parameter needs to be specified. */
public static final DeployType JAR_LIB = fromString("lib");
Deploy the static file to /home/site/wwwroot/. DeployOptions.path parameter needs to be specified.
/** * Deploy the static file to {@code /home/site/wwwroot/}. {@code DeployOptions.path} parameter needs to be specified. */
public static final DeployType STATIC = fromString("static");
Deploy the script as startup.sh (Linux) or startup.cmd (Windows) to /home/site/scripts/. DeployOptions.path parameter is not supported.
/** * Deploy the script as startup.sh (Linux) or startup.cmd (Windows) to {@code /home/site/scripts/}. {@code DeployOptions.path} parameter is not supported. */
public static final DeployType SCRIPT_STARTUP = fromString("startup");
unzip the zip to /home/site/wwwroot. DeployOptions.path parameter is optional.
/** * unzip the zip to {@code /home/site/wwwroot}. {@code DeployOptions.path} parameter is optional. */
public static final DeployType ZIP = fromString("zip");
Creates or finds a DeployType from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding DeployType
/** * Creates or finds a DeployType from its string representation. * @param name a name to look for * @return the corresponding DeployType */
@JsonCreator public static DeployType fromString(String name) { return fromString(name, DeployType.class); }
Returns:known DeployType type values
/** * @return known DeployType type values */
public static Collection<DeployType> values() { return values(DeployType.class); } }