Skip to content

Commit e7c4aa8

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/azure-docs-pr into ippatch
2 parents b85e2ba + f4a7db9 commit e7c4aa8

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

articles/azure-functions/functions-reference-java.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ Functions lets you customize the Java virtual machine (JVM) used to run your Jav
154154

155155
You can provide additional arguments in an app setting named `JAVA_OPTS`. You can add app settings to your function app deployed to Azure in the Azure portal or the Azure CLI.
156156

157+
> [!IMPORTANT]
158+
> In the Consumption plan, you must also add the WEBSITE_USE_PLACEHOLDER setting with a value of 0 for the customization to work. This setting does increase the cold start times for Java functions.
159+
157160
### Azure portal
158161

159162
In the [Azure portal](https://portal.azure.com), use the [Application Settings tab](functions-how-to-use-azure-function-app-settings.md#settings) to add the `JAVA_OPTS` setting.
@@ -162,16 +165,22 @@ In the [Azure portal](https://portal.azure.com), use the [Application Settings t
162165

163166
You can use the [az functionapp config appsettings set](/cli/azure/functionapp/config/appsettings) command to set `JAVA_OPTS`, as in the following example:
164167

168+
#### [Consumption plan](#tab/consumption)
169+
```azurecli-interactive
170+
az functionapp config appsettings set \
171+
--settings "JAVA_OPTS=-Djava.awt.headless=true" \
172+
"WEBSITE_USE_PLACEHOLDER=0" \
173+
--name <APP_NAME> --resource-group <RESOURCE_GROUP>
174+
```
175+
#### [Dedicated plan / Premium plan](#tab/dedicated+premium)
165176
```azurecli-interactive
166-
az functionapp config appsettings set --name <APP_NAME> \
167-
--resource-group <RESOURCE_GROUP> \
168-
--settings "JAVA_OPTS=-Djava.awt.headless=true"
177+
az functionapp config appsettings set \
178+
--settings "JAVA_OPTS=-Djava.awt.headless=true" \
179+
--name <APP_NAME> --resource-group <RESOURCE_GROUP>
169180
```
170-
This example enables headless mode. Replace `<APP_NAME>` with the name of your function app, and `<RESOURCE_GROUP>` with the resource group.
181+
---
171182

172-
> [!WARNING]
173-
> In the [Consumption plan](functions-scale.md#consumption-plan), you must add the `WEBSITE_USE_PLACEHOLDER` setting with a value of `0`.
174-
This setting does increase the cold start times for Java functions.
183+
This example enables headless mode. Replace `<APP_NAME>` with the name of your function app, and `<RESOURCE_GROUP>` with the resource group.
175184

176185
## Third-party libraries
177186

@@ -442,6 +451,9 @@ public class Function {
442451

443452
```
444453

454+
> [!NOTE]
455+
> The value of AppSetting FUNCTIONS_EXTENSION_VERSION should be ~2 or ~3 for an optimized cold start experience.
456+
445457
## Next steps
446458

447459
For more information about Azure Functions Java development, see the following resources:
229 KB
Loading

articles/service-health/service-health-overview.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ Choose the **Potential impact** tab to see the specific list of resources you ow
3838

3939
![Manage service issue - Impact](./media/service-health-overview/azure-service-health-overview-4.png)
4040

41+
## See emerging issues which may impact your services
42+
43+
There are situations when widespread service issues may be posted to the [Azure Status page](https://status.azure.com) before targeted communications can be sent to impacted customers. To ensure that Azure Service Health provides a comprehensive view of issues that may affect you, active Azure Status page issues are surfaced in Service Health as *emerging issues*. When an event is active on the Azure Status page, an emerging issues banner will be present in Service Health. Click the banner to see the full details of the issue.
44+
45+
![Emerging service issue](./media/service-health-overview/azure-service-health-emerging-issue.png)
46+
4147
## Get links and downloadable explanations
4248

4349
You can get a link for the issue to use in your problem management system. You can download PDF and sometimes CSV files to share with people who don't have access to the Azure portal.

0 commit comments

Comments
 (0)