Skip to content

Commit e8c383b

Browse files
authored
Merge pull request #58068 from DennisLee-DennisLee/v-dele-1387770-1
1387770: Changed first 10 files of broken internal links.
2 parents e25878f + 42c7237 commit e8c383b

File tree

10 files changed

+179
-185
lines changed

10 files changed

+179
-185
lines changed

articles/api-management/api-management-howto-disaster-recovery-backup-restore.md

Lines changed: 33 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ ms.workload: mobile
1212
ms.tgt_pltfrm: na
1313
ms.devlang: na
1414
ms.topic: article
15-
ms.date: 08/15/2018
15+
ms.date: 11/14/2018
1616
ms.author: apimpm
1717
---
1818
# How to implement disaster recovery using service backup and restore in Azure API Management
1919

20-
By choosing to publish and manage your APIs via Azure API Management you are taking advantage of many fault tolerance and infrastructure capabilities that you would otherwise have to design, implement, and manage. The Azure platform mitigates a large fraction of potential failures at a fraction of the cost.
20+
By publishing and managing your APIs via Azure API Management, you're taking advantage of fault tolerance and infrastructure capabilities that you'd otherwise design, implement, and manage manually. The Azure platform mitigates a large fraction of potential failures at a fraction of the cost.
2121

22-
To recover from availability problems affecting the region where your API Management service is hosted, you should be ready to reconstitute your service in a different region at any time. Depending on your availability goals and recovery time objective, you might want to reserve a backup service in one or more regions and try to maintain their configuration and content in sync with the active service. The service "backup and restore" feature provides the necessary building block for implementing your disaster recovery strategy.
22+
To recover from availability problems that affect the region that hosts your API Management service, be ready to reconstitute your service in another region at any time. Depending on your availability and recovery time goals, you might want to reserve a backup service in one or more regions. You might also try to maintain their configuration and content in sync with the active service. The service "backup and restore" feature provides the necessary building block for implementing your disaster recovery strategy.
2323

24-
This guide shows how to authenticate Azure Resource Manager requests, and how to back up and restore your API Management service instances.
24+
This guide shows how to authenticate Azure Resource Manager requests. It also shows how to back up and restore your API Management service instances.
2525

2626
> [!NOTE]
2727
> The process for backing up and restoring an API Management service instance for disaster recovery can also be used for replicating API Management service instances for scenarios such as staging.
@@ -43,17 +43,17 @@ All of the tasks that you do on resources using the Azure Resource Manager must
4343

4444
### Create an Azure Active Directory application
4545

46-
1. Sign in to the [Azure portal](https://portal.azure.com).
46+
1. Sign in to the [Azure portal](https://portal.azure.com).
4747
2. Using the subscription that contains your API Management service instance, navigate to the **App registrations** tab in **Azure Active Directory** (Azure Active Directory > Manage/App registrations).
4848

4949
> [!NOTE]
50-
> If the Azure Active Directory default directory is not visible to your account, contact the administrator of the Azure subscription to grant the required permissions to your account.
50+
> If the Azure Active Directory default directory isn't visible to your account, contact the administrator of the Azure subscription to grant the required permissions to your account.
5151
3. Click **New application registration**.
5252

53-
The **Create** window appears on the right. That is where you enter the AAD app relevant information.
53+
The **Create** window appears on the right. That's where you enter the AAD app relevant information.
5454
4. Enter a name for the application.
5555
5. For the application type, select **Native**.
56-
6. Enter a placeholder URL such as `http://resources` for the **Redirect URI**, as it is a required field, but the value is not used later. Click the check box to save the application.
56+
6. Enter a placeholder URL such as `http://resources` for the **Redirect URI**, as it's a required field, but the value isn't used later. Click the check box to save the application.
5757
7. Click **Create**.
5858

5959
### Add an application
@@ -63,7 +63,7 @@ All of the tasks that you do on resources using the Azure Resource Manager must
6363
3. Click **+Add**.
6464
4. Press **Select an API**.
6565
5. Choose **Windows** **Azure Service Management API**.
66-
6. Press **Select**.
66+
6. Press **Select**.
6767

6868
![Add permissions](./media/api-management-howto-disaster-recovery-backup-restore/add-app.png)
6969

@@ -73,7 +73,7 @@ All of the tasks that you do on resources using the Azure Resource Manager must
7373

7474
### Configuring your app
7575

76-
Prior to invoking the APIs that generate the backup and restore it, it is necessary to get a token. The following example uses the [Microsoft.IdentityModel.Clients.ActiveDirectory](https://www.nuget.org/packages/Microsoft.IdentityModel.Clients.ActiveDirectory) NuGet package to retrieve the token.
76+
Before calling the APIs that generate the backup and restore it, you need to get a token. The following example uses the [Microsoft.IdentityModel.Clients.ActiveDirectory](https://www.nuget.org/packages/Microsoft.IdentityModel.Clients.ActiveDirectory) NuGet package to retrieve the token.
7777

7878
```csharp
7979
using Microsoft.IdentityModel.Clients.ActiveDirectory;
@@ -100,9 +100,9 @@ namespace GetTokenResourceManagerRequests
100100
}
101101
```
102102

103-
Replace `{tentand id}`, `{application id}`, and `{redirect uri}` using the following instructions:
103+
Replace `{tenant id}`, `{application id}`, and `{redirect uri}` using the following instructions:
104104

105-
1. Replace `{tenant id}` with the tenant id of the Azure Active Directory application you created. You can access the id by clicking **App registrations** -> **Endpoints**.
105+
1. Replace `{tenant id}` with the tenant ID of the Azure Active Directory application you created. You can access the ID by clicking **App registrations** -> **Endpoints**.
106106

107107
![Endpoints][api-management-endpoint]
108108
2. Replace `{application id}` with the value you get by navigating to the **Settings** page.
@@ -117,7 +117,7 @@ Replace `{tentand id}`, `{application id}`, and `{redirect uri}` using the follo
117117
118118
## Calling the backup and restore operations
119119

120-
The REST APIs are [Api Management Service - Backup](https://docs.microsoft.com/rest/api/apimanagement/apimanagementservice/apimanagementservice_backup) and [Api Management Service - Restore](https://docs.microsoft.com/rest/api/apimanagement/apimanagementservice/apimanagementservice_restore).
120+
The REST APIs are [Api Management Service - Backup](/rest/api/apimanagement/apimanagementservice/backup) and [Api Management Service - Restore](/rest/api/apimanagement/apimanagementservice/restore).
121121

122122
Before calling the "backup and restore" operations described in the following sections, set the authorization request header for your REST call.
123123

@@ -126,22 +126,22 @@ request.Headers.Add(HttpRequestHeader.Authorization, "Bearer " + token);
126126
```
127127

128128
### <a name="step1"> </a>Back up an API Management service
129+
129130
To back up an API Management service issue the following HTTP request:
130131

131-
```
132+
```http
132133
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backup?api-version={api-version}
133134
```
134135

135136
where:
136137

137-
* `subscriptionId` - id of the subscription containing the API Management service you are attempting to back up
138+
* `subscriptionId` - ID of the subscription that holds the API Management service you're trying to back up
138139
* `resourceGroupName` - name of the resource group of your Azure API Management service
139-
* `serviceName` - the name of the API Management service you are making a backup of specified at the time of its creation
140+
* `serviceName` - the name of the API Management service you're making a backup of specified at the time of its creation
140141
* `api-version` - replace with `2018-06-01-preview`
141142

142143
In the body of the request, specify the target Azure storage account name, access key, blob container name, and backup name:
143144

144-
145145
```json
146146
{
147147
"storageAccount": "{storage account name for the backup}",
@@ -153,32 +153,33 @@ In the body of the request, specify the target Azure storage account name, acces
153153

154154
Set the value of the `Content-Type` request header to `application/json`.
155155

156-
Backup is a long running operation that may take multiple minutes to complete. If the request was successful and the backup process was initiated, you receive a `202 Accepted` response status code with a `Location` header. Make 'GET' requests to the URL in the `Location` header to find out the status of the operation. While the backup is in progress, you continue to receive a '202 Accepted' status code. A Response code of `200 OK` indicates successful completion of the backup operation.
156+
Backup is a long running operation that may take more than a minute to complete. If the request succeeded and the backup process began, you receive a `202 Accepted` response status code with a `Location` header. Make 'GET' requests to the URL in the `Location` header to find out the status of the operation. While the backup is in progress, you continue to receive a '202 Accepted' status code. A Response code of `200 OK` indicates successful completion of the backup operation.
157157

158-
Note the following constraints when making a backup request.
158+
Note the following constraints when making a backup request:
159159

160160
* **Container** specified in the request body **must exist**.
161-
* While backup is in progress you **should not attempt any service management operations** such as SKU upgrade or downgrade, domain name change, etc.
161+
* While backup is in progress, **avoid changes in service management** such as SKU upgrade or downgrade, change in domain name, and more.
162162
* Restore of a **backup is guaranteed only for 30 days** since the moment of its creation.
163-
* **Usage data** used for creating analytics reports **is not included** in the backup. Use [Azure API Management REST API][Azure API Management REST API] to periodically retrieve analytics reports for safekeeping.
164-
* The frequency with which you perform service backups affect your recovery point objective. To minimize it, the recommendation is implementing regular backups as well as performing on-demand backups after making important changes to your API Management service.
165-
* **Changes** made to the service configuration (for example, APIs, policies, developer portal appearance) while backup operation is in process **might not be included in the backup and therefore will be lost**.
163+
* **Usage data** used for creating analytics reports **isn't included** in the backup. Use [Azure API Management REST API][Azure API Management REST API] to periodically retrieve analytics reports for safekeeping.
164+
* The frequency with which you perform service backups affect your recovery point objective. To minimize it, we recommend implementing regular backups and performing on-demand backups after you make changes to your API Management service.
165+
* **Changes** made to the service configuration, (for example, APIs, policies, and developer portal appearance) while backup operation is in process **might be excluded from the backup and will be lost**.
166166

167167
### <a name="step2"> </a>Restore an API Management service
168-
To restore an API Management service from a previously created backup make the following HTTP request:
169168

170-
```
169+
To restore an API Management service from a previously created backup, make the following HTTP request:
170+
171+
```http
171172
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/restore?api-version={api-version}
172173
```
173174

174175
where:
175176

176-
* `subscriptionId` - id of the subscription containing the API Management service you are restoring a backup into
177-
* `resourceGroupName` - name of the resource group containing the Azure API Management service you are restoring a backup into
178-
* `serviceName` - the name of the API Management service being restored into specified at the time of its creation
177+
* `subscriptionId` - ID of the subscription that holds the API Management service you're restoring a backup into
178+
* `resourceGroupName` - name of the resource group that holds the Azure API Management service you're restoring a backup into
179+
* `serviceName` - the name of the API Management service being restored into specified at its creation time
179180
* `api-version` - replace with `2018-06-01-preview`
180181

181-
In the body of the request, specify the backup file location, that is, Azure storage account name, access key, blob container name, and backup name:
182+
In the body of the request, specify the backup file location. That is, add the Azure storage account name, access key, blob container name, and backup name:
182183

183184
```json
184185
{
@@ -191,13 +192,15 @@ In the body of the request, specify the backup file location, that is, Azure sto
191192

192193
Set the value of the `Content-Type` request header to `application/json`.
193194

194-
Restore is a long running operation that may take up to 30 or more minutes to complete. If the request was successful and the restore process was initiated, you receive a `202 Accepted` response status code with a `Location` header. Make 'GET' requests to the URL in the `Location` header to find out the status of the operation. While the restore is in progress, you continue to receive '202 Accepted' status code. A response code of `200 OK` indicates successful completion of the restore operation.
195+
Restore is a long running operation that may take up to 30 or more minutes to complete. If the request succeeded and the restore process began, you receive a `202 Accepted` response status code with a `Location` header. Make 'GET' requests to the URL in the `Location` header to find out the status of the operation. While the restore is in progress, you continue to receive '202 Accepted' status code. A response code of `200 OK` indicates successful completion of the restore operation.
195196

196197
> [!IMPORTANT]
197198
> **The SKU** of the service being restored into **must match** the SKU of the backed-up service being restored.
198199
>
199200
> **Changes** made to the service configuration (for example, APIs, policies, developer portal appearance) while restore operation is in progress **could be overwritten**.
200201
202+
<!-- Dummy comment added to suppress markdown lint warning -->
203+
201204
> [!NOTE]
202205
> Backup and restore operations can also be performed with PowerShell *Backup-AzureRmApiManagement* and *Restore-AzureRmApiManagement* commands respectively.
203206

articles/azure-maps/map-search-location.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The first block of code constructs a map object and initializes the client servi
2626

2727
The second block of code uses the [Azure Maps Fuzzy Search API](https://docs.microsoft.com/rest/api/maps/search/getsearchfuzzy) to search for point of interest. Fuzzy search API can handle any combination of fuzzy inputs. The response from the fuzzy search service is then parsed into GeoJSON format using the [getGeoJsonSearchResponse](https://docs.microsoft.com/javascript/api/azure-maps-rest/atlas.service.geojson.geojsonsearchresponse?view=azure-iot-typescript-latest#geojsonsearchresponse) method. The pins are then added to the map to show the points of interest on the map.
2828

29-
The last block of code adjusts the camera bounds for the map by using the Map's [setCameraBounds](https://docs.microsoft.com/javascript/api/azure-maps-control/models.cameraboundsoptions?view=azure-iot-typescript-latest) property.
29+
The last block of code adjusts the camera bounds for the map by using the Map's [setCameraBounds](/javascript/api/azure-maps-control/atlas.map#setcamerabounds-cameraboundsoptions-) property.
3030

3131
## Make a search request via XMLHttpRequest
3232

@@ -39,7 +39,7 @@ The second code block adds search results layer to the map. The search results l
3939

4040
The third block of code sends an [XMLHttpRequest](https://xhr.spec.whatwg.org/) to [Azure Maps Fuzzy search API](https://docs.microsoft.com/rest/api/maps/search/getsearchfuzzy) to search for the point of interest. Fuzzy search API can handle any combination of fuzzy inputs.
4141

42-
The last block of code parses the response and adjusts the adjusts the camera bounds for the map by using the Map's [setCameraBounds](https://docs.microsoft.com/javascript/api/azure-maps-control/models.cameraboundsoptions?view=azure-iot-typescript-latest) to render the result pins.
42+
The last block of code parses the response and adjusts the adjusts the camera bounds for the map by using the Map's [setCameraBounds](/javascript/api/azure-maps-control/atlas.map#setcamerabounds-cameraboundsoptions-) to render the result pins.
4343

4444
## Next steps
4545

@@ -57,6 +57,6 @@ See the following articles for full code examples:
5757

5858
> [!div class="nextstepaction"]
5959
> [Get information from a coordinate](./map-get-information-from-coordinate.md)
60-
60+
<!-- Comment added to suppress false positive warning -->
6161
> [!div class="nextstepaction"]
6262
> [Show directions from A to B](./map-route.md)

0 commit comments

Comments
 (0)