Skip to content

Commit f39a620

Browse files
authored
Merge pull request #301059 from MicrosoftDocs/main
6/9/2025 AM Publish
2 parents d9f0f3a + f078b1b commit f39a620

File tree

45 files changed

+389
-123
lines changed

Some content is hidden

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

45 files changed

+389
-123
lines changed

articles/active-directory-b2c/identity-provider-adfs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ zone_pivot_groups: b2c-policy-type
3131

3232
To enable sign-in for users with an AD FS account in Azure Active Directory B2C (Azure AD B2C), create an Application Group in your AD FS. For more information, see [Build a web application using OpenID Connect with AD FS 2016 and later](../active-directory/develop/msal-migration.md)
3333

34-
To create an Application Group, follow theses steps:
34+
To create an Application Group, follow these steps:
3535

3636
1. In **Server Manager**, select **Tools**, and then select **AD FS Management**.
3737
1. In AD FS Management, right-click on **Application Groups** and select **Add Application Group**.

articles/api-management/llm-semantic-cache-lookup-policy.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ Use the `llm-semantic-cache-lookup` policy to perform cache lookup of responses
6868
- This policy can only be used once in a policy section.
6969
- Fine-tune the value of `score-threshold` based on your application to ensure that the right sensitivity is used when determining which queries to cache. Start with a low value such as 0.05 and adjust to optimize the ratio of cache hits to misses.
7070
- The embeddings model should have enough capacity and sufficient context size to accommodate the prompt volume and prompts.
71+
- Score threshold above 0.2 may lead to cache mismatch. Consider using lower value for sensitive use cases.
72+
- Control cross-user access to cache entries by specifying `vary-by`with specific user or user-group identifiers.
73+
- Consider adding [llm-content-safety](./llm-content-safety-policy.md) policy with prompt shield to protect from prompt attacks.
7174

7275

7376
## Examples

articles/azure-resource-manager/bicep/bicep-config-linter.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ The following example shows the rules that are available for configuration.
7575
"no-unused-existing-resources": {
7676
"level": "warning"
7777
},
78+
"no-unused-imports": {
79+
"level": "warning"
80+
},
7881
"no-unused-params": {
7982
"level": "warning"
8083
},

articles/azure-resource-manager/bicep/bicep-core-diagnostics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.custom:
77
- devx-track-bicep
88
- devx-track-arm-template
99
- build-2025
10-
ms.date: 05/20/2025
10+
ms.date: 06/06/2025
1111
---
1212

1313
# Bicep core diagnostics

articles/azure-resource-manager/bicep/deployment-stacks.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Create and deploy Azure deployment stacks in Bicep
33
description: Understand how to create deployment stacks in Bicep.
44
ms.topic: how-to
55
ms.custom: devx-track-azurecli, devx-track-azurepowershell, devx-track-bicep
6-
ms.date: 03/25/2025
6+
ms.date: 06/09/2025
77
---
88

99
# Create and deploy Azure deployment stacks in Bicep
@@ -31,6 +31,8 @@ Deployment stacks provide the following benefits:
3131

3232
### Known limitations
3333

34+
- There is a limit of 800 deployment stacks that can be created within a single scope.
35+
- A maximum of 2,000 Deny Assignments can exist at any given scope.
3436
- The deployment stack doesn't manage implicitly created resources. Therefore, you can't use [deny-assignments](../../role-based-access-control/deny-assignments.md) or cleanup for these resources.
3537
- Deny-assignments don't support tags.
3638
- Deny-assignments aren't supported at the management group scope. However, they're supported in a management group stack if the deployment is pointed at the subscription scope.
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: Linter rule - no unused imports
3+
description: Linter rule - no unused imports
4+
ms.topic: reference
5+
ms.custom: devx-track-bicep
6+
ms.date: 06/06/2025
7+
---
8+
9+
# Linter rule - no unused imports
10+
11+
This rule finds [import alias](./bicep-import.md#import-variables-types-and-functions) that aren't referenced anywhere in the Bicep file.
12+
13+
## Linter rule code
14+
15+
Use the following value in the [Bicep configuration file](bicep-config-linter.md) to customize rule settings:
16+
17+
`no-unused-imports`
18+
19+
## Solution
20+
21+
To reduce confusion in your Bicep file, delete any imports that are defined but not used. This test finds all imports that aren't used anywhere in the template.
22+
23+
The following example fails this test because `myImports` and `myObjectType` are not used in the Bicep file:
24+
25+
```bicep
26+
import * as myImports from 'exports.bicep'
27+
import {myObjectType, sayHello} from 'exports.bicep'
28+
29+
output greeting string = sayHello('Bicep user')
30+
```
31+
32+
You can fix it by removing and updating the `import` statements.
33+
34+
```bicep
35+
import {sayHello} from 'exports.bicep'
36+
37+
output greeting string = sayHello('Bicep user')
38+
```
39+
40+
Use **Quick Fix** to remove the unused imports:
41+
42+
:::image type="content" source="./media/linter-rule-no-unused-imports/linter-rule-no-unused-imports-quick-fix.png" alt-text="A screenshot of using Quick Fix for the no-unused-variables linter rule.":::
43+
44+
## Next steps
45+
46+
For more information about the linter, see [Use Bicep linter](./linter.md).

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Use Bicep linter
33
description: Learn how to use Bicep linter.
44
ms.topic: how-to
55
ms.custom: devx-track-bicep
6-
ms.date: 02/12/2025
6+
ms.date: 06/06/2025
77
---
88

99
# Use Bicep linter
@@ -35,6 +35,7 @@ The default set of linter rules is minimal and taken from [arm-ttk test cases](.
3535
- [no-loc-expr-outside-params](./linter-rule-no-loc-expr-outside-params.md)
3636
- [no-unnecessary-dependson](./linter-rule-no-unnecessary-dependson.md)
3737
- [no-unused-existing-resources](./linter-rule-no-unused-existing-resources.md)
38+
- [no-unused-imports](./linter-rule-no-unused-imports.md)
3839
- [no-unused-params](./linter-rule-no-unused-parameters.md)
3940
- [no-unused-vars](./linter-rule-no-unused-variables.md)
4041
- [outputs-should-not-contain-secrets](./linter-rule-outputs-should-not-contain-secrets.md)
@@ -57,7 +58,7 @@ The default set of linter rules is minimal and taken from [arm-ttk test cases](.
5758
- [use-stable-vm-image](./linter-rule-use-stable-vm-image.md)
5859
- [what-if-short-circuiting](./linter-rule-what-if-short-circuiting.md)
5960

60-
You can customize how the linter rules are applied. To overwrite the default settings, add a **bicepconfig.json** file and apply custom settings. For more information about applying those settings, see [Add custom settings in the Bicep config file](bicep-config-linter.md).
61+
You can enable or disable all linter rules and control how they are applied using a configuration file. To override the default behavior, create a **bicepconfig.json** file with your custom settings. For more information about applying those settings, see [Add custom settings in the Bicep config file](bicep-config-linter.md).
6162

6263
## Use in Visual Studio Code
6364

Loading

articles/azure-resource-manager/bicep/toc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,9 @@ items:
509509
- name: No unused existing resources
510510
displayName: linter
511511
href: linter-rule-no-unused-existing-resources.md
512+
- name: No unused imports
513+
displayName: linter
514+
href: linter-rule-no-unused-imports.md
512515
- name: No unused parameters
513516
displayName: linter
514517
href: linter-rule-no-unused-parameters.md

articles/azure-vmware/install-cloud-backup-virtual-machines.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ ms.custom: engagement-fy23
1010

1111
# Install Cloud Backup for Virtual Machines (preview)
1212

13-
Cloud Backup for Virtual Machines is a plug-in installed in the Azure VMware Solution and enables you to back up and restore Azure NetApp Files datastores and virtual machines (VMs).
13+
Cloud Backup for Virtual Machines is a plug-in installed in the Azure VMware Solution and enables you to back up and restore Azure NetApp Files datastores and virtual machines (VMs) residing in NetApp Datastore to be backed up and restored.
14+
15+
:::image type="content" source="./media/cloud-backup/cloud-backup-overview.png" alt-text="Diagram showing solution overview of Cloud Backup for Virtual Machines." lightbox="./media/cloud-backup/cloud-backup-overview.png":::
16+
1417

1518
Cloud Backup for Virtual Machines features:
1619

@@ -96,7 +99,7 @@ You can execute the run command to uninstall Cloud Backup for Virtual Machines.
9699

97100
> [!IMPORTANT]
98101
> Before you initiate the upgrade, you must:
99-
> * Backup the MySQL database of Cloud Backup for Virtual Machines.
102+
> * Back up the MySQL database of Cloud Backup for Virtual Machines.
100103
> * Ensure that there are no other VMs installed in the VMware vSphere tag: `AVS_ANF_CLOUD_ADMIN_VM_TAG`. All VMs with this tag are deleted when you uninstall.
101104
102105
1. Select **Run command** > **Packages** > **NetApp.CBS.AVS** > **Uninstall-NetAppCBSAppliance**.

0 commit comments

Comments
 (0)