Skip to content

Commit 80780e0

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into ergrupdate
2 parents 6c9ea40 + 3a2c376 commit 80780e0

File tree

11 files changed

+127
-15
lines changed

11 files changed

+127
-15
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@
9393
href: ../../postgresql/quickstart-create-postgresql-server-database-using-bicep.md?toc=/azure/azure-resource-manager/bicep/toc.json
9494
- name: Database Migration Service
9595
href: ../../dms/create-dms-bicep.md?toc=/azure/azure-resource-manager/bicep/toc.json
96+
- name: SQL Database
97+
href: /azure-sql/database/single-database-create-bicep-quickstart.md?toc=/azure/azure-resource-manager/bicep/toc.json
9698
- name: DevOps
9799
items:
98100
- name: App Configuration

articles/cognitive-services/Custom-Vision-Service/copy-move-projects.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ ms.author: pafarley
1515

1616
After you've created and trained a Custom Vision project, you may want to copy your project to another resource. If your app or business depends on the use of a Custom Vision project, we recommend you copy your model to another Custom Vision account in another region. Then if a regional outage occurs, you can access your project in the region where it was copied.
1717

18-
As a part of Azure, Custom Vision Service has components that are maintained across multiple regions. Service zones and regions are used by all of our services to provide continued service to our customers. For more information on zones and regions, see [Azure regions](../../availability-zones/az-overview.md). If you need additional information or have any issues, please [contact support](/answers/topics/azure-custom-vision.html).
19-
2018
The **[ExportProject](https://southcentralus.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.3/operations/5eb0bcc6548b571998fddeb3)** and **[ImportProject](https://southcentralus.dev.cognitive.microsoft.com/docs/services/Custom_Vision_Training_3.3/operations/5eb0bcc7548b571998fddee3)** APIs enable this scenario by allowing you to copy projects from one Custom Vision account into others. This guide shows you how to use these REST APIs with cURL. You can also use an HTTP request service like Postman to issue the requests.
2119

2220
> [!TIP]

articles/cognitive-services/Custom-Vision-Service/overview.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,19 @@ The Custom Vision portal can be used by the following web browsers:
5252

5353
![Custom Vision website in a Chrome browser window](media/browser-home.png)
5454

55+
## Backup and disaster recovery
56+
57+
As a part of Azure, Custom Vision Service has components that are maintained across multiple regions. Service zones and regions are used by all of our services to provide continued service to our customers. For more information on zones and regions, see [Azure regions](../../availability-zones/az-overview.md). If you need additional information or have any issues, please [contact support](/answers/topics/azure-custom-vision.html).
58+
59+
5560
## Data privacy and security
5661

5762
As with all of the Cognitive Services, developers using the Custom Vision service should be aware of Microsoft's policies on customer data. See the [Cognitive Services page](https://www.microsoft.com/trustcenter/cloudservices/cognitiveservices) on the Microsoft Trust Center to learn more.
5863

64+
## Data residency
65+
66+
Custom Vision primarily doesn't replicate data out of the specified region, except for one region, `NorthCentralUS`, where there is no local Azure Support.
67+
5968
## Next steps
6069

6170
Follow the [Build a classifier](getting-started-build-a-classifier.md) quickstart to get started using Custom Vision on the web portal, or complete an [SDK quickstart](quickstarts/image-classification.md) to implement the basic scenarios in code.

articles/cosmos-db/continuous-backup-restore-introduction.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ For example, if you have 1 TB of data in two regions then:
101101

102102
* Restore cost is calculated as (1000 * 0.15) = $150 per restore
103103

104+
> [!TIP]
105+
> For more information about measuring the current data usage of your Azure Cosmos DB account, see [Explore Azure Monitor Cosmos DB insights](/azure/azure-monitor/insights/cosmosdb-insights-overview#view-utilization-and-performance-metrics-for-azure-cosmos-db).
106+
104107
## Customer-managed keys
105108

106109
See [How do customer-managed keys affect continuous backups?](./how-to-setup-cmk.md#how-do-customer-managed-keys-affect-continuous-backups) to learn:

articles/cosmos-db/graph/create-graph-dotnet.md

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ms.custom: devx-track-dotnet, mode-api
2222
> * [PHP](create-graph-php.md)
2323
>
2424
25-
Azure Cosmos DB is Microsoft's globally distributed multi-model database service. You can quickly create and query document, key/value, and graph databases, all of which benefit from the global distribution and horizontal scale capabilities at the core of Azure Cosmos DB.
25+
Azure Cosmos DB is Microsoft's globally distributed multi-model database service. You can quickly create and query document, key/value, and graph databases. All of which benefit from the global distribution and horizontal scale capabilities at the core of Azure Cosmos DB.
2626

2727
This quickstart demonstrates how to create an Azure Cosmos DB [Gremlin API](graph-introduction.md) account, database, and graph (container) using the Azure portal. You then build and run a console app built using the open-source driver [Gremlin.Net](https://tinkerpop.apache.org/docs/3.2.7/reference/#gremlin-DotNet).
2828

@@ -56,16 +56,15 @@ Now let's clone a Gremlin API app from GitHub, set the connection string, and ru
5656
cd "C:\git-samples"
5757
```
5858

59-
3. Run the following command to clone the sample repository. This command creates a copy of the sample app on your computer.
59+
3. Run the following command to clone the sample repository. The ``git clone`` command creates a copy of the sample app on your computer.
6060

6161
```bash
6262
git clone https://github.com/Azure-Samples/azure-cosmos-db-graph-gremlindotnet-getting-started.git
6363
```
6464

6565
4. Then open Visual Studio and open the solution file.
6666

67-
5. Restore the NuGet packages in the project. This should include the Gremlin.Net driver, and the Newtonsoft.Json package.
68-
67+
5. Restore the NuGet packages in the project. The restore operation should include the Gremlin.Net driver, and the Newtonsoft.Json package.
6968

7069
6. You can also install the [email protected] driver manually using the NuGet package manager, or the [NuGet command-line utility](/nuget/install-nuget-client-tools):
7170

@@ -110,16 +109,27 @@ Now go back to the Azure portal to get your connection string information and co
110109

111110
:::image type="content" source="./media/create-graph-dotnet/endpoint.png" alt-text="Copy the endpoint":::
112111

113-
To run this sample, copy the **Gremlin Endpoint** value, delete the port number at the end, that is the URI becomes `https://<your cosmos db account name>.gremlin.cosmosdb.azure.com`. The endpoint value should look like `testgraphacct.gremlin.cosmosdb.azure.com`
112+
For this sample, record the *Host* value of the **Gremlin Endpoint**. For example, if the URI is ``https://graphtest.gremlin.cosmosdb.azure.com``, the *Host* value would be ``graphtest.gremlin.cosmosdb.azure.com``.
114113

115-
1. Next, navigate to the **Keys** tab and copy the **PRIMARY KEY** value from the Azure portal.
114+
1. Next, navigate to the **Keys** tab and record the *PRIMARY KEY* value from the Azure portal.
116115

117-
1. After you've copied the URI and PRIMARY KEY of your account, save them to a new environment variable on the local machine running the application. To set the environment variable, open a command prompt window, and run the following command. Make sure to replace <Your_Azure_Cosmos_account_URI> and <Your_Azure_Cosmos_account_PRIMARY_KEY> values.
116+
1. After you've copied the URI and PRIMARY KEY of your account, save them to a new environment variable on the local machine running the application. To set the environment variable, open a command prompt window, and run the following command. Make sure to replace ``<cosmos-account-name>`` and ``<cosmos-account-primary-key>`` values.
118117
119-
```console
120-
setx Host "<your Azure Cosmos account name>.gremlin.cosmosdb.azure.com"
121-
setx PrimaryKey "<Your_Azure_Cosmos_account_PRIMARY_KEY>"
122-
```
118+
### [Windows](#tab/windows)
119+
120+
```powershell
121+
setx Host "<cosmos-account-name>.gremlin.cosmosdb.azure.com"
122+
setx PrimaryKey "<cosmos-account-primary-key>"
123+
```
124+
125+
### [Linux / macOS](#tab/linux+macos)
126+
127+
```bash
128+
export Host=<cosmos-account-name>.gremlin.cosmosdb.azure.com
129+
export PrimaryKey=<cosmos-account-primary-key>
130+
```
131+
132+
---
123133
124134
1. Open the *Program.cs* file and update the "database and "container" variables with the database and container (which is also the graph name) names created above.
125135

articles/devtest-labs/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@
259259
href: create-alerts.md
260260
- name: Move to new region
261261
href: how-to-move-labs.md
262+
- name: Move schedules to another region
263+
href: how-to-move-schedule-to-new-region.md
262264
- name: Reference
263265
items:
264266
- name: CLI

articles/devtest-labs/how-to-move-labs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,3 +265,4 @@ In this article, you moved a DevTest lab from one region to another and cleaned
265265

266266
- [Move resources to a new resource group or subscription](../azure-resource-manager/management/move-resource-group-and-subscription.md)
267267
- [Move Azure VMs to another region](../site-recovery/azure-to-azure-tutorial-migrate.md)
268+
- [Move Microsoft.DevtestLab/schedules to another region](./how-to-move-schedule-to-new-region.md)
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
---
2+
title: How to move a schedule to another region
3+
description: This article explains how to move schedules to another Azure region.
4+
ms.topic: how-to
5+
ms.author: rosemalcolm
6+
author: RoseHJM
7+
ms.date: 05/09/2022
8+
---
9+
# Move schedules to another region
10+
11+
In this article, you'll learn how to move schedules by using an Azure Resource Manager (ARM) template.
12+
13+
DevTest Labs supports two types of schedules.
14+
15+
- Schedules apply only to compute virtual machines (VMs): schedules are stored as microsoft.devtestlab/schedules resources, and often referred to as top level schedules, or simply schedules.
16+
17+
- Lab schedules apply only to DevTest Labs (DTL) VMs: lab schedules. They are stored as microsoft.devtestlab/labs/schedules resources. This type of schedule is not covered in this article.
18+
19+
In this article, you'll learn how to:
20+
> [!div class="checklist"]
21+
> >
22+
> - Export an ARM template that contains your schedules.
23+
> - Modify the template by adding or updating the target region and other parameters.
24+
> - Delete the resources in the source region.
25+
26+
## Prerequisites
27+
28+
- Ensure that the services and features that your account uses are supported in the target region.
29+
- For preview features, ensure that your subscription is allowlisted for the target region.
30+
- Ensure a Compute VM exists in the target region.
31+
32+
## Move an existing schedule
33+
There are two ways to move a schedule:
34+
35+
- Manually recreate the schedules on the moved VMs. This process can be time consuming and error prone. This approach is most useful when you have a few schedules and VMs.
36+
- Export and redeploy the schedules by using ARM templates.
37+
38+
Use the following steps to export and redeploy your schedule in another Azure region by using an ARM template:
39+
40+
1. Sign in to the [Azure portal](https://portal.azure.com).
41+
42+
2. Go to the source resource group that held your VMs.
43+
44+
3. On the **Resource Group Overview** page, under **Resources**, select **Show hidden types**.
45+
46+
4. Select all resources with the type **microsoft.devtestlab/schedules**.
47+
48+
5. Select **Export template**.
49+
50+
:::image type="content" source="./media/how-to-move-schedule-to-new-region/move-compute-schedule.png" alt-text="Screenshot that shows the hidden resources in a resource group, with schedules selected.":::
51+
52+
6. On the **Export resource group template** page, select **Deploy**.
53+
54+
7. On the **Custom deployment** page, select **Edit template**.
55+
56+
8. In the template code, change all instances of `"location": "<old location>"` to `"location": "<new location>"` and then select **Save**.
57+
58+
9. On the **Custom deployment** page, enter values that match the target VM:
59+
60+
|Name|Value|
61+
|----|----|
62+
|**Subscription**|Select an Azure subscription.|
63+
|**Resource group**|Select the resource group name. |
64+
|**Region**|Select a location for the lab schedule. For example, **Central US**. |
65+
|**Schedule Name**|Must be a globally unique name. |
66+
|**VirtualMachine_xxx_externalId**|Must be the target VM. |
67+
68+
:::image type="content" source="./media/how-to-move-schedule-to-new-region/move-schedule-custom-deployment.png" alt-text="Screenshot that shows the custom deployment page, with new location values for the relevant settings.":::
69+
70+
>[!IMPORTANT]
71+
>Each schedule must have a globally unique name; you will need to change the schedule name for the new location.
72+
73+
10. Select **Review and create** to create the deployment.
74+
75+
11. When the deployment is complete, verify that the new schedule is configured correctly on the new VM.
76+
77+
## Discard or clean up
78+
79+
Now you can choose to clean up the original schedules if they're no longer used. Go to the original schedule resource group (where you exported templates from in step 5 above) and delete the schedule resource.
80+
81+
## Next steps
82+
83+
In this article, you moved a schedule from one region to another and cleaned up the source resources. To learn more about moving resources between regions and disaster recovery in Azure, refer to:
84+
85+
- [Move a DevTest Labs to another region](./how-to-move-labs.md).
86+
- [Move resources to a new resource group or subscription](../azure-resource-manager/management/move-resource-group-and-subscription.md).
87+
- [Move Azure VMs to another region](../site-recovery/azure-to-azure-tutorial-migrate.md).
166 KB
Loading
57.3 KB
Loading

0 commit comments

Comments
 (0)