Class DeployType
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<DeployType>
-
- com.azure.resourcemanager.appservice.models.DeployType
-
public class DeployType extends com.azure.core.util.ExpandableStringEnum<DeployType>
OneDeploy type.
-
-
Field Summary
Fields Modifier and Type Field Description static DeployTypeEARDeploy the ear file to/home/site/wwwroot/app.ear.static DeployTypeJARDeploy the jar file to/home/site/wwwroot/app.jar.static DeployTypeJAR_LIBDeploy the jar to/home/site/libs.static DeployTypeSCRIPTDeploy the script file to/home/site/scripts/.static DeployTypeSCRIPT_STARTUPDeploy the script as startup.sh (Linux) or startup.cmd (Windows) to/home/site/scripts/.static DeployTypeSTATICDeploy the static file to/home/site/wwwroot/.static DeployTypeWARDeploy the war file to/home/site/wwwroot/app.war.static DeployTypeZIPunzip the zip to/home/site/wwwroot.
-
Constructor Summary
Constructors Constructor Description DeployType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeployTypefromString(String name)Creates or finds a DeployType from its string representation.static Collection<DeployType>values()
-
-
-
Field Detail
-
WAR
public static final DeployType WAR
Deploy the war file to/home/site/wwwroot/app.war. IfDeployOptions.pathis provided,path=webapps/<appname>will behave exactly like wardeploy by unzipping app to/home/site/wwwroot/webapps/<appname>.
-
JAR
public static final DeployType JAR
Deploy the jar file to/home/site/wwwroot/app.jar.
-
EAR
public static final DeployType EAR
Deploy the ear file to/home/site/wwwroot/app.ear.
-
JAR_LIB
public static final DeployType JAR_LIB
Deploy the jar to/home/site/libs.DeployOptions.pathparameter needs to be specified.
-
STATIC
public static final DeployType STATIC
Deploy the static file to/home/site/wwwroot/.DeployOptions.pathparameter needs to be specified.
-
SCRIPT
public static final DeployType SCRIPT
Deploy the script file to/home/site/scripts/.DeployOptions.pathparameter needs to be specified.
-
SCRIPT_STARTUP
public static final DeployType SCRIPT_STARTUP
Deploy the script as startup.sh (Linux) or startup.cmd (Windows) to/home/site/scripts/.DeployOptions.pathparameter is not supported.
-
ZIP
public static final DeployType ZIP
unzip the zip to/home/site/wwwroot.DeployOptions.pathparameter is optional.
-
-
Method Detail
-
fromString
public static DeployType fromString(String name)
Creates or finds a DeployType from its string representation.- Parameters:
name- a name to look for- Returns:
- the corresponding DeployType
-
values
public static Collection<DeployType> values()
- Returns:
- known DeployType type values
-
-