Skip to content

Commit 2ed65a7

Browse files
Merge branch 'main' into LinkFixes_30May25
2 parents eda3a5d + b6c6306 commit 2ed65a7

File tree

56 files changed

+635
-472
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+635
-472
lines changed

articles/app-service/configure-language-java-deploy-run.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Azure provides seamless Java App Service development experience in popular Java
193193
- **Eclipse IDE**: [Create a Hello World web app for Azure App Service by using Eclipse](/azure/developer/java/toolkit-for-eclipse/create-hello-world-web-app).
194194
195195
### Kudu and OneDeploy APIs
196-
Deployment clients such as the [Maven plugin](#maven), GitHub Actions using `azure/webapps-deploy@v3` and newer, or the [az webapp deploy](/cli/azure/webapp#az-webapp-deploy) command use OneDeploy, which is invoked by calling the `/api/publish` endpoint of the Kudu site under the hood. For more information on this API, see [this documentation](./deploy-zip.md#deploy-warjarear-packages)
196+
Deployment clients such as the [Maven plugin](#maven), GitHub Actions using `azure/webapps-deploy@v3` and newer, or the [az webapp deploy](/cli/azure/webapp#az-webapp-deploy) command use OneDeploy, which is invoked by calling the `/api/publish` endpoint of the Kudu site under the hood. For more information on this API, see [this documentation](./deploy-zip.md#deploy-warjarear-packages).
197197
198198
::: zone pivot="java-javase"
199199

articles/app-service/reference-app-settings.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,18 @@ This section shows the configurable runtime settings for each supported language
202202
| `AZURE_SITE_HOME` | Value added to the Java arguments as `-Dsite.home`. The default is the value of `HOME`. |
203203
| `HTTP_PLATFORM_PORT` | Added to Java arguments as `-Dport.http`. The following environment variables used by different Java web frameworks are also set to this value: `SERVER_PORT`, `MICRONAUT_SERVER_PORT`, `RATPACK_PORT`, `QUARKUS_HTTP_PORT`, `PAYARAMICRO_PORT`. |
204204
| `AZURE_LOGGING_DIR` | For Windows Apps, added to Java arguments as `-Dsite.logdir`. The default is `%HOME%\LogFiles\`. Default value in Linux is `AZURE_LOGGING_DIR=/home/LogFiles`. |
205-
| `WEBSITE_AUTH_ROLE_CLAIM_TYPE` | For Java web apps using built-in [authentication](overview-authentication-authorization.md), claims defined in Entra are available in the `HttpServletRequest.isUserInRole` API in the following format: `<claimType>\|<claimValue>` (e.g. `team\|contoso`). To add the values of claims with the type `roles` directly as role names in the `HttpServletRequest` implementation, set `WEBSITE_AUTH_ROLE_CLAIM_TYPE` to the value `roles`. |
205+
| `WEBSITE_AUTH_ROLE_CLAIM_TYPE` | For Java web apps using built-in [authentication](overview-authentication-authorization.md), claims defined in Entra are available in the `HttpServletRequest.isUserInRole` API in the following format: <code>&lt;claimType&gt;&vert;&lt;claimValue&gt;</code> (e.g. <code>team&vert;contoso</code>). To add the values of claims with the type `roles` directly as role names in the `HttpServletRequest` implementation, set `WEBSITE_AUTH_ROLE_CLAIM_TYPE` to the value `roles`. |
206206
| `WEBSITE_JAVA_GC_LOGGING` | For webapps using Java 11 or later in Linux, set this to `true` or `1` to capture Java Garbage Collector logs in `/home/LogFiles/Application` which can be used to troubleshoot performance issues. |
207-
| `WEBSITE_SKIP_DUMP_ON_OUT_OF_MEMORY` | Set to `true` or `1` to disable the following error-handling options that are passed as parameters to the JVM: `-XX:ErrorFile=/home/LogFiles/java_error_XXX.log`, `-XX:+CrashOnOutOfMemoryError`, `-XX:+HeapDumpOnOutOfMemoryError` and `-XX:HeapDumpPath=/home/LogFiles/java_memdump_XXX.log` |
207+
| `WEBSITE_SKIP_DUMP_ON_OUT_OF_MEMORY` | On Linux, set this to `true` or `1` to disable the following error-handling options that, by default, are passed as parameters to the JVM: `-XX:ErrorFile=/home/LogFiles/java_error_XXX.log`, `-XX:+CrashOnOutOfMemoryError`, `-XX:+HeapDumpOnOutOfMemoryError` and `-XX:HeapDumpPath=/home/LogFiles/java_memdump_XXX.log` |
208208
| `WEBSITE_WORKING_DIR` | On Linux, set this to a path where the bootstrapping process should change before launching Java/Tomcat/JBoss. This is useful for webapps using Java 8, where Java error logs are saved to the same directory where Java was launched. |
209+
| `WEBSITE_CATALINA_MAXCONNECTIONS` | Applies to Tomcat on Linux. The value is used to configure the `maxConnections` property of the Connector component in Tomcat's configuration. If not set, the value defaults to `10000`. |
210+
| `WEBSITE_CATALINA_MAXTHREADS` | Applies to Tomcat on Linux. The value is used to configure the `maxThreads` property of the Connector component in Tomcat's configuration. If not set, the value defaults to `200`. |
211+
| `WEBSITE_JAVA_JAR_FILE_NAME` | If set and the web application is a standalone Java (Java web server) application, this can be used to designate the name of a JAR file if there are multiple JAR files deployed, or the location of the file is not standard (e.g. in the `wwwroot` directory). Defaults to `app.jar`. |
212+
| `WEBSITE_JAVA_WAR_FILE_NAME` | If set and the web application is a Tomcat application, this can be used to designate the name of a single WAR file if there are multiple WAR files deployed, or the location of the file is not standard (e.g. in the `wwwroot` directory). Defaults to `app.war`. |
213+
| `WEBSITE_JAVA_KEYSTORE_PASSWORD` | The value of the keystore password used to store certificates with the `keytool` tool. |
214+
| `WEBSITE_TOMCAT_APPSERVICE_ERROR_PAGE` | On Tomcat webapps, when set to `1` or `true`, the default Tomcat error page is replaced with a custom App Service error page. Defaults to `true`. |
215+
| `WEBSITE_TOMCAT_ERROR_DETAILS` | Defaults to `false`. On Tomcat webapps, when set to `1` or `true`, the properties `showReport` and `showServerInfo` of the Error Report Valve are set to `true`, causing to show the stack trace of failed requests and the Tomcat version in the error page. |
216+
| `WEBSITE_SKIP_TROUBLESHOOT_ARCHIVE` | By default, JAR and WAR archives are scanned for common problems during application startup. This includes looking for duplicate/conflicting Java classes inside the archive, which is a common problem that causes Java apps to crash. Setting this value to `true` or `1` will skip the scanning process. Defaults to `false`. |
209217

210218
<!--
211219
WEBSITE_JAVA_COPY_ALL

articles/azure-resource-manager/bicep/bicep-import.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Imports in Bicep
33
description: This article describes how to import shared functionality and namespaces in Bicep.
44
ms.topic: conceptual
55
ms.custom: devx-track-bicep
6-
ms.date: 12/06/2024
6+
ms.date: 05/16/2025
77
---
88

99
# Imports in Bicep
@@ -47,6 +47,8 @@ Only statements that were [exported](#export-variables-types-and-functions) in t
4747

4848
You can use functionality that was imported from another file without restrictions. For example, you can use imported variables anywhere that a variable declared in-file would normally be valid.
4949

50+
Starting with [Bicep CLI version 0.31.X](https://github.com/Azure/bicep/releases/tag/v0.31.34), variables imported from other Bicep files are accessible within your user-defined functions, just like variables defined locally. For more information, see [User-defined functions](./user-defined-functions.md#define-functions).
51+
5052
### Example
5153

5254
*exports.bicep*

articles/azure-resource-manager/bicep/user-defined-functions.md

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,19 @@ title: User-defined functions in Bicep
33
description: Describes how to define and use user-defined functions in Bicep.
44
ms.topic: conceptual
55
ms.custom: devx-track-bicep
6-
ms.date: 04/28/2025
6+
ms.date: 05/16/2025
77
---
88

99
# User-defined functions in Bicep
1010

1111
Within your Bicep file, you can create your own functions. These functions are available for use in your Bicep files. User-defined functions are separate from the [standard Bicep functions](./bicep-functions.md) that are automatically available within your Bicep files. Create your own functions when you have complicated expressions that are used repeatedly in your Bicep files. Using user-defined functions automatically enables [language version 2.0](../templates/syntax.md#languageversion-20) code generation.
1212

13-
[Bicep CLI version 0.26.X or higher](./install.md) is required to use this feature.
13+
[Bicep CLI version 0.26.X or higher](https://github.com/Azure/bicep/releases/tag/v0.26.54) is required to use this feature.
1414

1515
## Limitations
1616

1717
There are some restrictions when defining a user function:
1818

19-
* The function can't access variables.
2019
* The function can only use parameters that are defined in the function.
2120
* The function can't use the [reference](bicep-functions-resource.md#reference) function or any of the [list](bicep-functions-resource.md#list) functions.
2221
* Parameters for the function can't have default values.
@@ -30,8 +29,6 @@ Use the `func` statement to define user-defined functions.
3029
func <user-defined-function-name> (<argument-name> <data-type>, <argument-name> <data-type>, ...) <function-data-type> => <expression>
3130
```
3231

33-
## Examples
34-
3532
The following examples show how to define and use user-defined functions:
3633

3734
```bicep
@@ -71,7 +68,7 @@ The outputs from the preceding examples are:
7168
| nameArray | Array | ["John"] |
7269
| addNameArray | Array | ["Mary","Bob","John"] |
7370

74-
With [Bicep CLI version 0.23.X or higher](./install.md), you have the flexibility to invoke another user-defined function within a user-defined function. In the preceding example, with the function definition of `sayHelloString`, you can redefine the `sayHelloObject` function as:
71+
You have the flexibility to invoke another user-defined function within a user-defined function. In the preceding example, with the function definition of `sayHelloString`, you can redefine the `sayHelloObject` function as:
7572

7673
```bicep
7774
func sayHelloObject(name string) object => {
@@ -102,6 +99,50 @@ The output from the preceding example is:
10299
| ---- | ---- | ----- |
103100
| elements | positiveInt | 3 |
104101

102+
As of [Bicep CLI version 0.30.X](https://github.com/Azure/bicep/releases/tag/v0.30.3), user-defined functions can access variables defined in the same Bicep file. The following example demonstrates how a user-defined function can reference a variable:
103+
104+
```bicep
105+
var greetingPrefix = 'Hello'
106+
107+
func greet(name string) string => '${greetingPrefix}, ${name}!'
108+
109+
output message string = greet('Azure')
110+
```
111+
112+
The output from the preceding example is:
113+
114+
| Name | Type | Value |
115+
| ------- | ------ | --------------- |
116+
| message | String | Hello, Azure! |
117+
118+
Starting with [Bicep CLI version 0.31.X](https://github.com/Azure/bicep/releases/tag/v0.31.34), variables imported from other Bicep files are accessible within your user-defined functions, just like variables defined locally.
119+
120+
Suppose you have a Bicep file named `shared.bicep` that exports a variable:
121+
122+
```bicep
123+
// shared.bicep
124+
@export()
125+
var sharedPrefix = 'Contoso'
126+
```
127+
128+
You can import this variable into your main Bicep file and use it inside a user-defined function:
129+
130+
```bicep
131+
import shared from './shared.bicep'
132+
133+
func makeResourceName(suffix string) string => '${shared.sharedPrefix}-${suffix}'
134+
135+
output resourceName string = makeResourceName('storage')
136+
```
137+
138+
The output from the preceding example is:
139+
140+
| Name | Type | Value |
141+
| ------------ | ------ | --------------- |
142+
| resourceName | String | Contoso-storage |
143+
144+
For more information on importing variables, see [Export variables, types, and functions](./bicep-import.md#export-variables-types-and-functions).
145+
105146
## Use decorators
106147

107148
Decorators are written in the format `@expression` and are placed above function declarations. The following table shows the available decorators for functions.

articles/azure-vmware/attach-azure-netapp-files-to-azure-vmware-solution-hosts.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ Azure NetApp Files datastores for Azure VMware Solution are currently supported
7979

8080
* AV36
8181
* AV36P
82+
* AV48
8283
* AV52
8384
* AV64
8485

articles/azure-vmware/configure-vsan-esa.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ In this article, you learn more about:
3333
> - How to enable vSAN Compression
3434
> - How to enable or disable vSAN Data-In-Transit Encryption
3535
36-
## Supported host type
36+
## Supported host types
3737
vSAN ESA (Express Storage Architecture) is supported on the following Azure VMware Solution host types:
3838

3939
- AV48
40+
- AV48 (Stretched Clusters)
41+
- AV64 (Gen 2)
4042

4143
## Supported vSAN services
4244

articles/cost-management-billing/manage/azure-plan-subscription-transfer-partners.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.reviewer: macyso
66
ms.service: cost-management-billing
77
ms.subservice: billing
88
ms.topic: conceptual
9-
ms.date: 01/22/2025
9+
ms.date: 05/29/2025
1010
ms.author: macyso
1111
---
1212

@@ -39,4 +39,4 @@ You can also seek help, report misconduct, or suspicious activity using any of t
3939
## Related content
4040

4141
- To give your new partner Azure RBAC access, see [What is Azure role-based access control (Azure RBAC)?](../../role-based-access-control/overview.md)
42-
- [Obtain permissions to manage a customers service or subscription](/partner-center/customers-revoke-admin-privileges).
42+
- [Obtain permissions to manage a customers service or subscription](/partner-center/customers-revoke-admin-privileges).

articles/cost-management-billing/manage/programmatically-create-subscription-microsoft-customer-agreement-across-tenants.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: kendayMS
55
ms.service: cost-management-billing
66
ms.subservice: billing
77
ms.topic: how-to
8-
ms.date: 01/14/2025
8+
ms.date: 05/29/2025
99
ms.reviewer: macyso
1010
ms.author: macyso
1111
---

articles/cost-management-billing/manage/transfer-subscriptions-subscribers-csp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
author: preetione
77
ms.author: macyso
88
ms.reviewer: macyso
9-
ms.date: 01/22/2025
9+
ms.date: 05/29/2025
1010
ms.service: cost-management-billing
1111
ms.subservice: billing
1212
ms.topic: how-to

articles/cost-management-billing/manage/understand-mca-roles.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Watch the [Manage access to your MCA billing account](https://www.youtube.com/wa
2222
2323
## Billing role definitions
2424

25-
The following table describes the billing roles you use to manage your billing account, billing profiles, and invoice sections.
25+
The following table describes the billing roles you use to manage your billing account, billing profiles, and invoice sections. Permissions granted at the billing account level have the highest level of permission and will inherit permission on all billing groups and invoice sections under that billing account. These inherited permissions cannot be removed at the lower level as they are linked to the role granted at the higher level. If a user only needs access to a specific billing profile or invoice section, grant permission at that level rather than providing access at the billing account scope.
2626

2727
|Role|Description|
2828
|---|---|
@@ -40,7 +40,7 @@ The following table describes the billing roles you use to manage your billing a
4040

4141
## Billing account roles and tasks
4242

43-
A billing account is created when you sign up to use Azure. You use your billing account to manage invoices, payments, and track costs. Roles on the billing account have the highest level of permissions and users in these roles get visibility into the cost and billing information for your entire account. Assign these roles only to users that need to view invoices, and track costs for your entire account like member of the finance and the accounting teams. For more information, see [Understand billing account](../understand/mca-overview.md#your-billing-account).
43+
A billing account is created when you sign up to use Azure. You use your billing account to manage invoices, payments, and track costs. Roles on the billing account have the highest level of permissions and users in these roles get visibility into the cost and billing information for your entire account. Assign these roles only to users that need to view invoices, and track costs for your entire account like member of the finance and the accounting teams. For more information, see [Understand billing account](../understand/mca-overview.md#your-billing-account).
4444

4545
The following tables show what role you need to complete tasks in the context of the billing account.
4646

0 commit comments

Comments
 (0)