DeployType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. appservice. models. DeployType
- com.
- com.
public class DeployType
extends ExpandableStringEnum<DeployType>
OneDeploy type.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Deploy |
EAR
Deploy the ear file to |
|
static final
Deploy |
JAR
Deploy the jar file to |
|
static final
Deploy |
JAR_LIB
Deploy the jar to |
|
static final
Deploy |
SCRIPT
Deploy the script file to |
|
static final
Deploy |
SCRIPT_STARTUP
Deploy the script as startup. |
|
static final
Deploy |
STATIC
Deploy the static file to |
|
static final
Deploy |
WAR
Deploy the war file to |
|
static final
Deploy |
ZIP
unzip the zip to |
Constructor Summary
| Constructor | Description |
|---|---|
| DeployType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Deploy |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Deploy |
fromString(String name)
Creates or finds a Deploy |
|
static
Collection<Deploy |
values()
Gets known Deploy |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
EAR
public static final DeployType EAR
Deploy the ear file to /home/site/wwwroot/app.ear.
JAR
public static final DeployType JAR
Deploy the jar file to /home/site/wwwroot/app.jar.
JAR_LIB
public static final DeployType JAR_LIB
Deploy the jar to /home/site/libs. DeployOptions.path parameter needs to be specified.
SCRIPT
public static final DeployType SCRIPT
Deploy the script file to /home/site/scripts/. DeployOptions.path parameter 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.path parameter is not supported.
STATIC
public static final DeployType STATIC
Deploy the static file to /home/site/wwwroot/. DeployOptions.path parameter needs to be specified.
WAR
public static final DeployType WAR
Deploy the war file to /home/site/wwwroot/app.war. If DeployOptions.path is provided, path=webapps/ will behave exactly like wardeploy by unzipping app to /home/site/wwwroot/webapps/.
ZIP
public static final DeployType ZIP
unzip the zip to /home/site/wwwroot. DeployOptions.path parameter is optional.
Constructor Details
DeployType
@Deprecated
public DeployType()
Deprecated
Creates a new instance of DeployType value.
Method Details
fromString
public static DeployType fromString(String name)
Creates or finds a DeployType from its string representation.
Parameters:
Returns:
values
public static Collection<DeployType> values()
Gets known DeployType type values.
Returns: