Skip to content

Commit 8cde438

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into nw-grafana
2 parents 7862f07 + 095db9e commit 8cde438

File tree

52 files changed

+621
-708
lines changed

Some content is hidden

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

52 files changed

+621
-708
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/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.

articles/machine-learning/how-to-read-write-data-v2.md

Lines changed: 27 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,20 @@ ml_client = MLClient(
7878
)
7979

8080
# ==============================================================
81-
# Set the URI path for the data. Supported paths include:
81+
# Set the URI path for the data.
82+
# Supported `path` formats for input include:
8283
# local: `./<path>
8384
# Blob: wasbs://<container_name>@<account_name>.blob.core.windows.net/<path>
8485
# ADLS: abfss://<file_system>@<account_name>.dfs.core.windows.net/<path>
8586
# Datastore: azureml://datastores/<data_store_name>/paths/<path>
8687
# Data Asset: azureml:<my_data>:<version>
87-
# We set the path to a file on a public blob container
88+
# Supported `path` format for output is:
89+
# Datastore: azureml://datastores/<data_store_name>/paths/<path>
90+
# We set the input path to a file on a public blob container
8891
# ==============================================================
8992
path = "wasbs://[email protected]/titanic.csv"
9093

94+
9195
# ==============================================================
9296
# What type of data does the path point to? Options include:
9397
# data_type = AssetTypes.URI_FILE # a specific file
@@ -139,12 +143,15 @@ Create a job specification YAML file (`<file-name>.yml`).
139143
$schema: https://azuremlschemas.azureedge.net/latest/commandJob.schema.json
140144

141145
# ==============================================================
142-
# Set the URI path for the data. Supported paths include:
146+
# Set the URI path for the data.
147+
# Supported `path` formats for input include:
143148
# local: `./<path>
144149
# Blob: wasbs://<container_name>@<account_name>.blob.core.windows.net/<path>
145150
# ADLS: abfss://<file_system>@<account_name>.dfs.core.windows.net/<path>
146151
# Datastore: azureml://datastores/<data_store_name>/paths/<path>
147152
# Data Asset: azureml:<my_data>:<version>
153+
# Supported `path` format for output is:
154+
# Datastore: azureml://datastores/<data_store_name>/paths/<path>
148155
# ==============================================================
149156

150157
# ==============================================================
@@ -212,12 +219,15 @@ ml_client = MLClient(
212219
)
213220

214221
# ==============================================================
215-
# Set the input and output URI paths for the data. Supported paths include:
222+
# Set the URI path for the data.
223+
# Supported `path` formats for input include:
216224
# local: `./<path>
217225
# Blob: wasbs://<container_name>@<account_name>.blob.core.windows.net/<path>
218226
# ADLS: abfss://<file_system>@<account_name>.dfs.core.windows.net/<path>
219227
# Datastore: azureml://datastores/<data_store_name>/paths/<path>
220228
# Data Asset: azureml:<my_data>:<version>
229+
# Supported `path` format for output is:
230+
# Datastore: azureml://datastores/<data_store_name>/paths/<path>
221231
# As an example, we set the input path to a file on a public blob container
222232
# As an example, we set the output path to a folder in the default datastore
223233
# ==============================================================
@@ -259,8 +269,8 @@ outputs = {
259269
path=output_path,
260270
mode=output_mode,
261271
# optional: if you want to create a data asset from the output,
262-
# then uncomment name (name can be set without setting version)
263-
# name = "<name_of_data_asset>",
272+
# then uncomment `name` (`name` can be set without setting `version`, and in this way, we will set `version` automatically for you)
273+
# name = "<name_of_data_asset>", # use `name` and `version` to create a data asset from the output
264274
# version = "<version>",
265275
)
266276
}
@@ -319,10 +329,10 @@ outputs:
319329
path: azureml://datastores/workspaceblobstore/paths/quickstart-output/titanic.csv
320330
type: uri_file
321331
# optional: if you want to create a data asset from the output,
322-
# then uncomment name (name can be set without setting version)
323-
# name: <name_of_data_asset>
332+
# then uncomment `name` (`name` can be set without setting `version`, and in this way, we will set `version` automatically for you)
333+
# name: <name_of_data_asset> # use `name` and `version` to create a data asset from the output
324334
# version: <version>
325-
335+
326336
```
327337

328338
Next, submit the job using the CLI:
@@ -352,13 +362,13 @@ When you submit a job, the Azure Machine Learning data runtime controls the data
352362

353363
When you provide a data input/output to a job, you must specify a `path` parameter that points to the data location. This table shows the different data locations that Azure Machine Learning supports, and also shows `path` parameter examples:
354364

355-
|Location | Examples |
356-
|---------|---------|
357-
|A path on your local computer | `./home/username/data/my_data` |
358-
|A path on a public http(s) server | `https://raw.githubusercontent.com/pandas-dev/pandas/main/doc/data/titanic.csv` |
359-
|A path on Azure Storage | `wasbs://<container_name>@<account_name>.blob.core.windows.net/<path>`<br>`abfss://<file_system>@<account_name>.dfs.core.windows.net/<path>` |
360-
|A path on an Azure Machine Learning Datastore | `azureml://datastores/<data_store_name>/paths/<path>` |
361-
|A path to a Data Asset | `azureml:<my_data>:<version>` |
365+
|Location | Examples | Input | Output |
366+
|---------|---------|---------|---------|
367+
|A path on your local computer | `./home/username/data/my_data` |Y|N|
368+
|A path on a public http(s) server | `https://raw.githubusercontent.com/pandas-dev/pandas/main/doc/data/titanic.csv` |Y|N|
369+
|A path on Azure Storage | `wasbs://<container_name>@<account_name>.blob.core.windows.net/<path>`<br>`abfss://<file_system>@<account_name>.dfs.core.windows.net/<path>` |Y, only for identity-based authentication.|N|
370+
|A path on an Azure Machine Learning Datastore | `azureml://datastores/<data_store_name>/paths/<path>` |Y|Y|
371+
|A path to a Data Asset | `azureml:<my_data>:<version>` |Y|N, but you can use `name` and `version` to create a data asset from output|
362372

363373
## Modes
364374

@@ -1127,4 +1137,4 @@ az ml job create -f <file-name>.yml
11271137

11281138
* [Train models](how-to-train-model.md)
11291139
* [Tutorial: Create production ML pipelines with Python SDK v2](tutorial-pipeline-python-sdk.md)
1130-
* Learn more about [Data in Azure Machine Learning](concept-data.md)
1140+
* Learn more about [Data in Azure Machine Learning](concept-data.md)

0 commit comments

Comments
 (0)