private static final String |
APP_NAME_PATTERN |
"[a-zA-Z0-9\\-]{2,60}" |
private static final String |
APP_SERVICE_PLAN_NAME_PATTERN |
"[a-zA-Z0-9\\-]{1,40}" |
private static final String |
APPINSIGHTS_INSTRUMENTATION_KEY |
"APPINSIGHTS_INSTRUMENTATIONKEY" |
private static final String |
APPLICATION_INSIGHTS_CONFIGURATION_CONFLICT |
"Contradictory configurations for application insights, specify \'appInsightsKey\' or \'appInsightsInstance\' if you want to enable it, and specify \'disableAppInsights=true\' if you want to disable it." |
private static final String |
APPLICATION_INSIGHTS_CREATE_FAILED |
"Unable to create the Application Insights for the Function App due to error %s. Please use the Azure Portal to manually create and configure the Application Insights if needed." |
private static final String |
APPLICATION_INSIGHTS_CREATE_START |
"Creating application insights..." |
private static final String |
APPLICATION_INSIGHTS_CREATED |
"Successfully created the application insights %s for this Function App. You can visit %s/#@/resource%s/overview to view your Application Insights component." |
private static final String |
ARTIFACT_INCOMPATIBLE |
"Your function app artifact compile version is higher than the java version in function host, please downgrade the project compile version and try again." |
private static final String |
AUTH_LEVEL |
"authLevel" |
private static final String |
CREATE_APP_SERVICE_DONE |
"Successfully created app service plan %s." |
private static final String |
CREATE_APP_SERVICE_PLAN |
"Creating app service plan..." |
private static final String |
CREATE_FUNCTION_APP |
"Creating function app %s..." |
private static final String |
CREATE_FUNCTION_APP_DONE |
"Successfully created function app %s." |
private static final String |
CREATE_NEW_APP_SERVICE_PLAN |
"createNewAppServicePlan" |
private static final String |
CREATE_NEW_FUNCTION_APP |
"isCreateNewFunctionApp" |
private static final String |
CREATE_NEW_RESOURCE_GROUP |
"createNewResourceGroup" |
private static final String |
CREATE_RESOURCE_GROUP |
"Creating resource group %s in region %s..." |
private static final String |
CREATE_RESOURCE_GROUP_DONE |
"Successfully created resource group %s." |
private static final String |
CUSTOMIZED_FUNCTIONS_WORKER_RUNTIME_WARNING |
"App setting `FUNCTIONS_WORKER_RUNTIME` doesn\'t meet the requirement of Azure Java Functions, the value should be `java`." |
private static final String |
DEPLOY_FINISH |
"Deployment done, you may access your resource through %s" |
private static final String |
DEPLOY_START |
"Starting deployment..." |
private static final String |
EMPTY_APP_NAME |
"Please config the <appName> in pom.xml." |
private static final String |
EMPTY_IMAGE_NAME |
"Please config the <image> of <runtime> in pom.xml." |
private static final String |
EMPTY_RESOURCE_GROUP |
"Please config the <resourceGroup> in pom.xml." |
private static final String |
EMPTY_SLOT_NAME |
"Please config the <name> of <deploymentSlot> in pom.xml" |
private static final String |
FAILED_TO_GET_APPLICATION_INSIGHTS |
"The application insights %s cannot be found, will create it in resource group %s." |
private static final String |
FAILED_TO_LIST_TRIGGERS |
"Deployment succeeded, but failed to list http trigger urls." |
private static final String |
FUNCTION_SLOT_CREATE_START |
"The specified function slot does not exist. Creating a new slot..." |
private static final String |
FUNCTION_SLOT_CREATED |
"Successfully created the function slot: %s." |
private static final String |
FUNCTION_SLOT_UPDATE |
"Updating the specified function slot..." |
private static final String |
FUNCTION_SLOT_UPDATE_DONE |
"Successfully updated the function slot: %s." |
private static final String |
FUNCTIONS_EXTENSION_VERSION_NAME |
"FUNCTIONS_EXTENSION_VERSION" |
private static final String |
FUNCTIONS_EXTENSION_VERSION_VALUE |
"~3" |
private static final String |
FUNCTIONS_WORKER_RUNTIME_NAME |
"FUNCTIONS_WORKER_RUNTIME" |
private static final String |
FUNCTIONS_WORKER_RUNTIME_VALUE |
"java" |
private static final String |
HTTP_TRIGGER |
"httpTrigger" |
private static final String |
HTTP_TRIGGER_URLS |
"HTTP Trigger Urls:" |
private static final String |
INSTRUMENTATION_KEY_IS_NOT_VALID |
"Instrumentation key is not valid, please update the application insights configuration" |
private static final String |
INVALID_APP_NAME |
"The <appName> only allow alphanumeric characters, hyphens and cannot start or end in a hyphen." |
private static final String |
INVALID_JAVA_VERSION |
"Unsupported value %s for <javaVersion> in pom.xml" |
private static final String |
INVALID_OS |
"The value of <os> is not correct, supported values are: windows, linux and docker." |
private static final String |
INVALID_PRICING_TIER |
"Unsupported value %s for <pricingTier> in pom.xml" |
private static final String |
INVALID_REGION |
"The value of <region> is not supported, please correct it in pom.xml." |
private static final String |
INVALID_RESOURCE_GROUP_NAME |
"The <resourceGroup> only allow alphanumeric characters, periods, underscores, hyphens and parenthesis and cannot end in a period." |
private static final String |
INVALID_SERVICE_PLAN_NAME |
"Invalid value for <appServicePlanName>, it need to match the pattern %s" |
private static final String |
INVALID_SERVICE_PLAN_RESOURCE_GROUP_NAME |
"Invalid value for <appServicePlanResourceGroup>, it only allow alphanumeric characters, periods, underscores, hyphens and parenthesis and cannot end in a period." |
private static final String |
INVALID_SLOT_NAME |
"Invalid value of <name> inside <deploymentSlot> in pom.xml, it needs to match the pattern \'%s\'" |
private static final int |
LIST_TRIGGERS_MAX_RETRY |
3 |
private static final int |
LIST_TRIGGERS_RETRY_PERIOD_IN_SECONDS |
10 |
private static final String |
LOCAL_SETTINGS_FILE |
"local.settings.json" |
private static final String |
NO_ANONYMOUS_HTTP_TRIGGER |
"No anonymous HTTP Triggers found in deployed function app, skip list triggers." |
private static final String |
NO_ARTIFACT_FOUNDED |
"Failed to find function artifact \'%s.jar\' in folder \'%s\', please re-package the project and try again." |
private static final String |
NO_TRIGGERS_FOUNDED |
"No triggers found in deployed function app, please try recompile the project by `mvn clean package` and deploy again." |
private static final String |
RESOURCE_GROUP_PATTERN |
"[a-zA-Z0-9._\\-()]{1,90}" |
private static final String |
RUNNING |
"Running" |
private static final String |
SET_FUNCTIONS_EXTENSION_VERSION |
"Functions extension version isn\'t configured, setting up the default value." |
private static final String |
SET_FUNCTIONS_WORKER_RUNTIME |
"Set function worker runtime to java." |
private static final String |
SKIP_CREATING_APPLICATION_INSIGHTS |
"Skip creating application insights" |
private static final String |
SKIP_DEPLOYMENT_FOR_DOCKER_APP_SERVICE |
"Skip deployment for docker app service" |
private static final String |
SLOT_NAME_PATTERN |
"[A-Za-z0-9-]{1,60}" |
private static final String |
SYNCING_TRIGGERS_AND_FETCH_FUNCTION_INFORMATION |
"Syncing triggers and fetching function information (Attempt %d/%d)..." |
private static final String |
UNABLE_TO_LIST_NONE_ANONYMOUS_HTTP_TRIGGERS |
"Some http trigger urls cannot be displayed because they are non-anonymous. To access the non-anonymous triggers, please refer https://aka.ms/azure-functions-key." |
private static final String |
UPDATE_FUNCTION_APP |
"Updating target Function App %s..." |
private static final String |
UPDATE_FUNCTION_DONE |
"Successfully updated Function App %s." |