Skip to content

Commit 55c3fe4

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into nw-cm
2 parents c425374 + f7a0126 commit 55c3fe4

File tree

85 files changed

+711
-798
lines changed

Some content is hidden

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

85 files changed

+711
-798
lines changed

.openpublishing.redirection.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
{
22
"redirections": [
33
{
4+
"source_path": "articles/traffic-manager/powershell-samples.md",
5+
"redirect_url": "/previous-versions/azure/traffic-manager/powershell-samples",
6+
"redirect_document_id": false
7+
},
8+
{
9+
"source_path": "articles/traffic-manager/scripts/traffic-manager-cli-websites-high-availability.md",
10+
"redirect_url": "/previous-versions/azure/traffic-manager/scripts/traffic-manager-cli-websites-high-availability",
11+
"redirect_document_id": false
12+
},
13+
{
414
"source_path": "articles/network-watcher/network-watcher-security-group-view-powershell.md",
515
"redirect_url": "/previous-versions/azure/network-watcher/network-watcher-security-group-view-powershell",
616
"redirect_document_id": false
@@ -34,7 +44,7 @@
3444
"source_path": "articles/germany/index.yml",
3545
"redirect_url": "/previous-versions/azure/germany/index",
3646
"redirect_document_id": false
37-
},
47+
},
3848
{
3949
"source_path_from_root": "/articles/internet-analyzer/internet-analyzer-cli.md",
4050
"redirect_url": "/previous-versions/azure/internet-analyzer/internet-analyzer-cli",

articles/ai-services/metrics-advisor/encryption.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ Metrics Advisor supports CMK and double encryption by using BYOS (bring your own
6969
1. Set 'Allow access to Azure services' as 'Yes'.
7070
2. Add your clientIP address to sign in to Azure Database for PostgreSQL.
7171

72-
- Get the access-token for your account with resource type 'https://server-name.database.windows.net'. The access token is the password you need to sign in to the Azure Database for PostgreSQL by your account. An example using `az` client:
72+
- Get the access-token for your account with resource type 'https://ossrdbms-aad.database.windows.net'. The access token is the password you need to sign in to the Azure Database for PostgreSQL by your account. An example using `az` client:
7373

7474
```
7575
az login
76-
az account get-access-token --resource https://server-name.database.windows.net
76+
az account get-access-token --resource https://ossrdbms-aad.database.windows.net
7777
```
7878

7979
- After getting the token, use it to sign in to your Azure Database for PostgreSQL. Replace the 'servername' as the one that you can find in the 'overview' of your Azure Database for PostgreSQL.

articles/app-service/includes/tutorial-connect-msi-azure-database/code-mysql-mi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ using MySqlConnector;
2626
// });
2727
2828
var tokenRequestContext = new TokenRequestContext(
29-
new[] { "https://server-name.database.windows.net/.default" });
29+
new[] { "https://ossrdbms-aad.database.windows.net/.default" });
3030
AccessToken accessToken = await credential.GetTokenAsync(tokenRequestContext);
3131
// Open a connection to the MySQL server using the access token.
3232
string connectionString =
@@ -93,7 +93,7 @@ For more information, see [Use Java and JDBC with Azure Database for MySQL - Fle
9393
# cred = ManagedIdentityCredential(client_id=managed_identity_client_id)
9494

9595
# acquire token
96-
accessToken = cred.get_token('https://server-name.database.windows.net/.default')
96+
accessToken = cred.get_token('https://ossrdbms-aad.database.windows.net/.default')
9797

9898
# open connect to Azure MySQL with the access token.
9999
host = os.getenv('AZURE_MYSQL_HOST')
@@ -136,7 +136,7 @@ For more information, see [Use Java and JDBC with Azure Database for MySQL - Fle
136136
// });
137137

138138
// acquire token
139-
var accessToken = await credential.getToken('https://server-name.database.windows.net/.default');
139+
var accessToken = await credential.getToken('https://ossrdbms-aad.database.windows.net/.default');
140140

141141
const connection = mysql.createConnection({
142142
host: process.env.AZURE_MYSQL_HOST,

articles/app-service/includes/tutorial-connect-msi-azure-database/code-postgres-mi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ using Npgsql;
3030
AccessToken accessToken = await sqlServerTokenProvider.GetTokenAsync(
3131
new TokenRequestContext(scopes: new string[]
3232
{
33-
"https://server-name.database.windows.net/.default"
33+
"https://ossrdbms-aad.database.windows.net/.default"
3434
}));
3535

3636
// Combine the token with the connection string from the environment variables provided by Service Connector.
@@ -102,7 +102,7 @@ For more information, see the following resources:
102102
# cred = ManagedIdentityCredential(client_id=managed_identity_client_id)
103103

104104
# Acquire the access token
105-
accessToken = cred.get_token('https://server-name.database.windows.net/.default')
105+
accessToken = cred.get_token('https://ossrdbms-aad.database.windows.net/.default')
106106

107107
# Combine the token with the connection string from the environment variables added by Service Connector to establish the connection.
108108
conn_string = os.getenv('AZURE_POSTGRESQL_CONNECTIONSTRING')
@@ -135,7 +135,7 @@ For more information, see the following resources:
135135
// });
136136

137137
// Acquire the access token.
138-
var accessToken = await credential.getToken('https://server-name.database.windows.net/.default');
138+
var accessToken = await credential.getToken('https://ossrdbms-aad.database.windows.net/.default');
139139

140140
// Use the token and the connection information from the environment variables added by Service Connector to establish the connection.
141141
(async () => {

articles/app-service/tutorial-connect-msi-azure-database.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ If you encounter any problem when creating a connection, refer to [Troubleshooti
197197
Connectivity to the Azure Database for MySQL in your code follows the `DefaultAzureCredential` pattern for all language stacks. `DefaultAzureCredential` is flexible enough to adapt to both the development environment and the Azure environment. When running locally, it can retrieve the logged-in Azure user from the environment of your choice (Visual Studio, Visual Studio Code, Azure CLI, or Azure PowerShell). When running in Azure, it retrieves the managed identity. So it's possible to have connectivity to database both at development time and in production. The pattern is as follows:
198198
199199
1. Instantiate a `DefaultAzureCredential` from the Azure Identity client library. If you're using a user-assigned identity, specify the client ID of the identity.
200-
2. Get an access token for Azure Database for MySQL: `https://server-name.database.windows.net/.default`.
200+
2. Get an access token for Azure Database for MySQL: `https://ossrdbms-aad.database.windows.net/.default`.
201201
3. Add the token to your connection string.
202202
4. Open the connection.
203203
@@ -208,7 +208,7 @@ Connectivity to the Azure Database for MySQL in your code follows the `DefaultAz
208208
Connectivity to the Azure Database for PostgreSQL in your code follows the `DefaultAzureCredential` pattern for all language stacks. `DefaultAzureCredential` is flexible enough to adapt to both the development environment and the Azure environment. When running locally, it can retrieve the logged-in Azure user from the environment of your choice (Visual Studio, Visual Studio Code, Azure CLI, or Azure PowerShell). When running in Azure, it retrieves the managed identity. So it's possible to have connectivity to database both at development time and in production. The pattern is as follows:
209209
210210
1. Instantiate a `DefaultAzureCredential` from the Azure Identity client library. If you're using a user-assigned identity, specify the client ID of the identity.
211-
2. Get an access token for Azure Database for PostgreSQL: `https://server-name.database.windows.net/.default`.
211+
2. Get an access token for Azure Database for PostgreSQL: `https://ossrdbms-aad.database.windows.net/.default`.
212212
3. Add the token to your connection string.
213213
4. Open the connection.
214214

articles/azure-resource-manager/management/frequently-asked-questions.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ metadata:
33
title: Azure Resource Manager frequently asked questions
44
description: Answers to common questions about using Azure Resource Manager to manage resources.
55
ms.topic: faq
6-
ms.date: 02/22/2024
6+
ms.date: 05/31/2024
77
content_well_notification:
88
- AI-contribution
99
ai-usage: ai-assisted
@@ -35,12 +35,6 @@ sections:
3535
resource group location, we recommend that you select a location close to where your control operations originate. Typically, this location is the one closest to
3636
your current location.
3737
38-
- question: Can I move a resource group to a different subscription?
39-
answer: |
40-
No, you can't move a resource group to a new subscription. But, you can move all of the resources in the resource group to a resource group in another
41-
subscription. Settings such as tags, role assignments, and policies aren't automatically transferred from the original resource group to the destination resource group.
42-
You need to reapply these settings to the new resource group. For more information, see [Move resources to new resource group or subscription](./move-support-resources.md).
43-
4438
- name: Resources
4539
questions:
4640
- question: What happens if two operations update the same resource at the same time?

articles/azure-resource-manager/management/move-resource-group-and-subscription.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
title: Move resources to a new subscription or resource group
3-
description: Use Azure Resource Manager to move resources to a new resource group or subscription.
3+
description: Describes how to move resources to a new resource group or subscription, and the steps to take to ensure a successful move operation.
44
ms.topic: conceptual
5-
ms.date: 04/24/2023
5+
ms.date: 05/31/2024
66
ms.custom: devx-track-azurecli, devx-track-azurepowershell, devx-track-arm-template, devx-track-python
77
content_well_notification:
88
- AI-contribution
@@ -472,6 +472,10 @@ If the source or target resource group contains a virtual network, the states of
472472

473473
When you receive this error, you have two options. Either move your resources to a resource group that doesn't have a virtual network, or [contact support](../../azure-portal/supportability/how-to-create-azure-support-request.md).
474474

475+
**Question: Can I move a resource group to a different subscription?**
476+
477+
No, you can't move a resource group to a new subscription. But, you can move all of the resources in the resource group to a resource group in another subscription. Settings such as tags, role assignments, and policies aren't automatically transferred from the original resource group to the destination resource group. You need to reapply these settings to the new resource group. For more information, see [Move resources to new resource group or subscription](./move-support-resources.md).
478+
475479
## Next steps
476480

477481
For a list of which resources support move, see [Move operation support for resources](move-support-resources.md).

articles/azure-resource-manager/management/overview.md

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Azure Resource Manager overview
33
description: Describes how to use Azure Resource Manager for deployment, management, and access control of resources on Azure.
44
ms.topic: overview
5-
ms.date: 02/16/2024
5+
ms.date: 05/31/2024
66
ms.custom: devx-track-arm-template
77
---
88

@@ -87,19 +87,7 @@ There are some important factors to consider when defining your resource group:
8787

8888
* You can move a resource from one resource group to another group. For more information, see [Move resources to new resource group or subscription](move-resource-group-and-subscription.md).
8989

90-
* The resources in a resource group can be located in different regions than the resource group.
91-
92-
* When you create a resource group, you need to provide a location for that resource group.
93-
94-
You may be wondering, "Why does a resource group need a location? And, if the resources can have different locations than the resource group, why does the resource group location matter at all?"
95-
96-
The resource group stores metadata about the resources. When you specify a location for the resource group, you're specifying where that metadata is stored. For compliance reasons, you may need to ensure that your data is stored in a particular region.
97-
98-
To ensure state consistency for the resource group, all [control plane operations](./control-plane-and-data-plane.md) are routed through the resource group's location. When selecting a resource group location, we recommend that you select a location close to where your control operations originate. Typically, this location is the one closest to your current location. This routing requirement only applies to control plane operations for the resource group. It doesn't affect requests that are sent to your applications.
99-
100-
If a resource group's region is temporarily unavailable, you may not be able to update resources in the resource group because the metadata is unavailable. The resources in other regions still function as expected, but you may not be able to update them. This condition may also apply to global resources like Azure DNS, Azure DNS Private Zones, Azure Traffic Manager, and Azure Front Door. You can view which types have their metadata managed by Azure Resource Manager via the [list of types for the Azure Resource Graph resources table](../../governance/resource-graph/reference/supported-tables-resources.md#resources).
101-
102-
For more information about building reliable applications, see [Designing reliable Azure applications](/azure/architecture/checklist/resiliency-per-service).
90+
* The resources in a resource group can be located in different regions than the resource group, but we recommend that you use the same location. See [What location should I use for my resource group?](#what-location-should-i-use-for-my-resource-group)
10391

10492
* A resource group can be used to scope access control for administrative actions. To manage a resource group, you can assign [Azure Policies](../../governance/policy/overview.md), [Azure roles](../../role-based-access-control/role-assignments-portal.yml), or [resource locks](lock-resources.md).
10593

@@ -115,6 +103,22 @@ There are some important factors to consider when defining your resource group:
115103

116104
* To create a resource group, you can use the [portal](manage-resource-groups-portal.md#create-resource-groups), [PowerShell](manage-resource-groups-powershell.md#create-resource-groups), [Azure CLI](manage-resource-groups-cli.md#create-resource-groups), or an [ARM template](../templates/deploy-to-subscription.md#resource-groups).
117105

106+
## What location should I use for my resource group?
107+
108+
When you create a resource group, you need to provide a location for that resource group.
109+
110+
You may be wondering, "Why does a resource group need a location? And, if the resources can have different locations than the resource group, why does the resource group location matter at all?"
111+
112+
The resource group stores metadata about the resources. When you specify a location for the resource group, you're specifying where that metadata is stored. For compliance reasons, you may need to ensure that your data is stored in a particular region.
113+
114+
To ensure state consistency for the resource group, all [control plane operations](./control-plane-and-data-plane.md) are routed through the resource group's location. When selecting a resource group location, we recommend that you select a location close to where your control operations originate. Typically, this location is the one closest to your current location. This routing requirement only applies to control plane operations for the resource group. It doesn't affect requests that are sent to your applications.
115+
116+
If a resource group's region is temporarily unavailable, you may not be able to update resources in the resource group because the metadata is unavailable. The resources in other regions still function as expected, but you may not be able to update them. This condition may also apply to global resources like Azure DNS, Azure DNS Private Zones, Azure Traffic Manager, and Azure Front Door. You can view which types have their metadata managed by Azure Resource Manager via the [list of types for the Azure Resource Graph resources table](../../governance/resource-graph/reference/supported-tables-resources.md#resources).
117+
118+
To reduce the impact of regional outages, we recommend that you locate resources in the same region as the resource group. When the resource group's region is unavailable, Azure Resource Manager is unable to update your resource's metadata and blocks your write calls. By colocating your resource and resource group region, you reduce the risk of region unavailability because your resources and metadata exist in one region instead of multiple regions.
119+
120+
For more information about building reliable applications, see [Designing reliable Azure applications](/azure/architecture/checklist/resiliency-per-service).
121+
118122
## Resiliency of Azure Resource Manager
119123

120124
The Azure Resource Manager service is designed for resiliency and continuous availability. Resource Manager and control plane operations (requests sent to `management.azure.com`) in the REST API are:
@@ -129,14 +133,6 @@ The Azure Resource Manager service is designed for resiliency and continuous ava
129133

130134
This resiliency applies to services that receive requests through Resource Manager. For example, Key Vault benefits from this resiliency.
131135

132-
## Resource group location alignment
133-
134-
To reduce the impact of regional outages, we recommend that you locate resources in the same region as the resource group.
135-
136-
The resource group location is where Azure Resource Manager stores metadata for the resources in the resource group. Azure Resource Manager uses this location for routing and caching. For example, when you list your resources at the subscription or resource group scopes, Azure Resource Manager gets the information from the cache.
137-
138-
When the resource group's region is unavailable, Azure Resource Manager is unable to update your resource's metadata and blocks your write calls. By colocating your resource and resource group region, you reduce the risk of region unavailability because your resources and metadata exist in one region instead of multiple regions.
139-
140136
## Resolve concurrent operations
141137

142138
When two or more operations try to update the same resource at the same time, Azure Resource Manager detects the conflict and permits only one operation to complete successfully. Azure Resource Manager blocks the other operations and returns an error.

0 commit comments

Comments
 (0)