public abstract class AbstractAppServiceMojo extends AbstractAzureMojo
AbstractAzureMojo.DefaultUncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected String |
appName
App Service name.
|
protected String |
appServicePlanName
App Service Plan name.
|
protected String |
appServicePlanResourceGroup
Resource group of App Service Plan.
|
protected Properties |
appSettings
Application settings of App Service, in the form of name-value pairs.
|
protected DeploymentSlotSetting |
deploymentSlotSetting
Deployment Slot.
|
protected String |
deploymentType
Deployment type to deploy Web App or Function App.
|
protected static String |
MAVEN_PLUGIN_POSTFIX |
protected static String |
PORTAL_URL_PATTERN |
protected String |
resourceGroup
Resource group of App Service.
|
allowTelemetry, auth, AUTH_METHOD, AUTH_TYPE, authentication, authType, AZURE_INIT_FAIL, buildDirectory, failsOnError, FAILURE_REASON, httpProxyHost, httpProxyPort, INIT_FAILURE, INSTALLATION_ID_KEY, mavenResourcesFiltering, plugin, PLUGIN_NAME_KEY, PLUGIN_VERSION_KEY, project, session, SESSION_ID_KEY, settings, settingsDecrypter, SUBSCRIPTION_ID_KEY, subscriptionId, TELEMETRY_NOT_ALLOWED| Constructor and Description |
|---|
AbstractAppServiceMojo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAppName() |
String |
getAppServicePlanName() |
String |
getAppServicePlanResourceGroup() |
Map |
getAppSettings() |
DeploymentSlotSetting |
getDeploymentSlotSetting() |
String |
getDeploymentStagingDirectoryPath() |
DeploymentType |
getDeploymentType() |
private static String |
getPortalUrl(com.microsoft.azure.AzureEnvironment azureEnvironment) |
String |
getResourceGroup() |
String |
getResourcePortalUrl(com.microsoft.azure.management.appservice.WebAppBase resource) |
List<org.apache.maven.model.Resource> |
getResources() |
void |
setDeploymentSlot(DeploymentSlotSetting slotSetting) |
doExecute, execute, getAuthenticationSetting, getAuthMethod, getAuthTypeEnum, getAzureClient, getAzureClientByAuthType, getAzureTokenWrapper, getBuildDirectoryAbsolutePath, getHttpProxyHost, getHttpProxyPort, getInstallationId, getMavenResourcesFiltering, getPluginName, getPluginVersion, getProject, getSession, getSessionId, getSettings, getSubscriptionId, getTelemetryProperties, getTelemetryProxy, getUserAgent, handleException, infoWithMultipleLines, initAuth, initializeAuthConfiguration, initTelemetry, isAuthConfigurationExist, isFailingOnError, isSkipMojo, isTelemetryAllowed, trackMojoFailure, trackMojoSkip, trackMojoStart, trackMojoSuccessprotected static final String MAVEN_PLUGIN_POSTFIX
protected static final String PORTAL_URL_PATTERN
@Parameter(property="resourceGroup",
required=false)
protected String resourceGroup
@Parameter(property="appName",
required=false)
protected String appName
@Parameter(property="deploymentType") protected String deploymentType
<resources> specifies configurations for this kind of deployment.<resources> specifies configurations for this kind of deployment.<warFile> and <path> specifies configurations for this kind of deployment.<jarFile> and <path> specifies configurations for this kind of deployment.<packaging> of the Maven project and uses WAR, JAR @Parameter(property="appServicePlanResourceGroup") protected String appServicePlanResourceGroup
@Parameter(property="appServicePlanName") protected String appServicePlanName
@Parameter(alias="deploymentSlot") protected DeploymentSlotSetting deploymentSlotSetting
@Parameter protected Properties appSettings
<appSettings>
<property>
<name>setting-name</name>
<value>setting-value</value>
</property>
</appSettings>
public String getResourceGroup()
public String getAppName()
public String getAppServicePlanResourceGroup()
public String getAppServicePlanName()
public Map getAppSettings()
public DeploymentType getDeploymentType() throws AzureExecutionException
AzureExecutionExceptionpublic DeploymentSlotSetting getDeploymentSlotSetting()
public List<org.apache.maven.model.Resource> getResources()
public String getDeploymentStagingDirectoryPath()
public void setDeploymentSlot(DeploymentSlotSetting slotSetting)
public String getResourcePortalUrl(com.microsoft.azure.management.appservice.WebAppBase resource) throws AzureAuthFailureException
AzureAuthFailureExceptionprivate static String getPortalUrl(com.microsoft.azure.AzureEnvironment azureEnvironment)
Copyright © 2020. All rights reserved.