Skip to content

Commit 86686b7

Browse files
authored
Merge pull request #113297 from stevemunk/end-link-7
end links #7
2 parents 08ecdb0 + 3be14ee commit 86686b7

File tree

5 files changed

+77
-69
lines changed

5 files changed

+77
-69
lines changed

articles/azure-maps/how-to-create-custom-styles.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -233,17 +233,18 @@ Now when you select that unit in the map, the pop-up menu has the new layer ID,
233233
## Next steps
234234

235235
> [!div class="nextstepaction"]
236-
> [Use the Azure Maps Indoor Maps module](how-to-use-indoor-module.md)
236+
> [Use the Azure Maps Indoor Maps module]
237237
238+
[categories]: https://atlas.microsoft.com/sdk/javascript/indoor/0.2/categories.json
238239
[Creator concepts]: creator-indoor-maps.md
239-
[tileset]: /rest/api/maps/v20220901preview/tileset
240-
[tileset get]: /rest/api/maps/v20220901preview/tileset/get
241-
[Use Creator to create indoor maps]: tutorial-creator-indoor-maps.md
242240
[Creators Rest API]: /rest/api/maps-creator/
241+
[Instantiate the Indoor Manager]: how-to-use-indoor-module.md#instantiate-the-indoor-manager
242+
[manifest]: drawing-requirements.md#manifest-file-requirements
243+
[map configuration]: creator-indoor-maps.md#map-configuration
243244
[style editor]: https://azure.github.io/Azure-Maps-Style-Editor
244245
[subscription key]: quick-demo-map-app.md#get-the-subscription-key-for-your-account
245-
[manifest]: drawing-requirements.md#manifest-file-requirements
246+
[tileset get]: /rest/api/maps/v20220901preview/tileset/get
247+
[tileset]: /rest/api/maps/v20220901preview/tileset
246248
[unitProperties]: drawing-requirements.md#unitproperties
247-
[categories]: https://atlas.microsoft.com/sdk/javascript/indoor/0.2/categories.json
248-
[Instantiate the Indoor Manager]: how-to-use-indoor-module.md#instantiate-the-indoor-manager
249-
[map configuration]: creator-indoor-maps.md#map-configuration
249+
[Use Creator to create indoor maps]: tutorial-creator-indoor-maps.md
250+
[Use the Azure Maps Indoor Maps module]: how-to-use-indoor-module.md

articles/azure-maps/how-to-create-data-registries.md

Lines changed: 39 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,24 @@ The [data registry] service enables you to register data content in an Azure Sto
1616

1717
## Prerequisites
1818

19-
- [Azure Maps account]
20-
- [Subscription key]
21-
- An [Azure storage account][create storage account]
19+
- An [Azure Maps account]
20+
- A [Subscription key]
21+
- An [Azure storage account]
2222

2323
>[!IMPORTANT]
2424
>
25-
> - This article uses the `us.atlas.microsoft.com` geographical URL. If your account wasn't created in the United States, you must use a different geographical URL. For more information, see [Access to Creator services](how-to-manage-creator.md#access-to-creator-services).
25+
> - This article uses the `us.atlas.microsoft.com` geographical URL. If your account wasn't created in the United States, you must use a different geographical URL. For more information, see [Access to Creator services].
2626
> - In the URL examples in this article you will need to replace:
2727
> - `{Azure-Maps-Subscription-key}` with your Azure Maps [subscription key].
28-
> - `{udid}` with the user data ID of your data registry. For more information, see [The user data ID](#the-user-data-id).
28+
> - `{udid}` with the user data ID of your data registry. For more information, see [The user data ID].
2929
3030
## Prepare to register data in Azure Maps
3131

3232
Before you can register data in Azure Maps, you need to create an environment containing all required components. You need a storage account with one or more containers that hold the files you wish to register and managed identities for authentication. This section explains how to prepare your Azure environment to register data in Azure Maps.
3333

3434
### Create managed identities
3535

36-
There are two types of managed identities: **system-assigned** and **user-assigned**. System-assigned managed identities have their lifecycle tied to the resource that created them. User-assigned managed identities can be used on multiple resources. For more information, see [managed identities for Azure resources][managed identity].
36+
There are two types of managed identities: **system-assigned** and **user-assigned**. System-assigned managed identities have their lifecycle tied to the resource that created them. User-assigned managed identities can be used on multiple resources. For more information, see [managed identities for Azure resources].
3737

3838
Use the following steps to create a managed identity, add it to your Azure Maps account.
3939

@@ -68,7 +68,7 @@ The user defined managed identity should now be added to your Azure Maps account
6868

6969
---
7070

71-
For more information, see [managed identities for Azure resources][managed identity].
71+
For more information, see [managed identities for Azure resources].
7272

7373
### Create a container and upload data files
7474

@@ -98,9 +98,10 @@ To create a container in the [Azure portal], follow these steps:
9898
Once you've created an Azure storage account with files uploaded into one or more containers, you're ready to create the datastore that links the storage accounts to your Azure Maps account.
9999

100100
> [!IMPORTANT]
101-
> All storage accounts linked to an Azure Maps account must be in the same geographic location. For more information, see [Azure Maps service geographic scope][geographic scope].
101+
> All storage accounts linked to an Azure Maps account must be in the same geographic location. For more information, see [Azure Maps service geographic scope].
102+
102103
> [!NOTE]
103-
> If you do not have a storage account see [Create a storage account][create storage account].
104+
> If you do not have a storage account see [Create a storage account].
104105
105106
1. Select **Datastore** from the left menu in your Azure Maps account.
106107
1. Select the **Add** button. An **Add datastore** screen appears on the right side.
@@ -132,7 +133,7 @@ To assign roles to your managed identities and associate them with a datastore:
132133

133134
With a datastore created in your Azure Maps account, you're ready to gather the properties required to create the data registry.
134135

135-
There are the AzureBlob properties that you pass in the body of the HTTP request, and [The user data ID](#the-user-data-id) passed in the URL.
136+
There are the AzureBlob properties that you pass in the body of the HTTP request, and [The user data ID] passed in the URL.
136137

137138
### The AzureBlob
138139

@@ -146,11 +147,11 @@ The `AzureBlob` is a JSON object that defines properties required to create the
146147
|`linkedResource`| The ID of the datastore registered in the Azure Maps account.<BR>The datastore contains a link to the file being registered. |
147148
| `blobUrl` | A URL pointing to the Location of the AzurebBlob, the file imported into your container. |
148149

149-
The following two sections provide you with details how to get the values to use for the [msiClientId](#the-msiclientid-property), [blobUrl](#the-bloburl-property) properties.
150+
The following two sections provide you with details how to get the values to use for the [msiClientId], [blobUrl] properties.
150151

151152
#### The msiClientId property
152153

153-
The `msiClientId` property is the ID of the managed identity used to create the data registry. There are two types of managed identities: **system-assigned** and **user-assigned**. System-assigned managed identities have their lifecycle tied to the resource that created them. User-assigned managed identities can be used on multiple resources. For more information, see [What are managed identities for Azure resources?][managed identity].
154+
The `msiClientId` property is the ID of the managed identity used to create the data registry. There are two types of managed identities: **system-assigned** and **user-assigned**. System-assigned managed identities have their lifecycle tied to the resource that created them. User-assigned managed identities can be used on multiple resources. For more information, see [managed identities for Azure resources].
154155

155156
# [system-assigned](#tab/System-assigned)
156157

@@ -192,7 +193,7 @@ The user data ID (`udid`) of the data registry is a user-defined GUID that must
192193
```
193194

194195
> [!TIP]
195-
> The `udid` is a user-defined GUID that must be supplied when creating a data registry. If you want to be certain you have a globally unique identifier (GUID), consider creating it by running a GUID generating tool such as the Guidgen.exe command line program (Available with [Visual Studio][Visual Studio]).
196+
> The `udid` is a user-defined GUID that must be supplied when creating a data registry. If you want to be certain you have a globally unique identifier (GUID), consider creating it by running a GUID generating tool such as the Guidgen.exe command line program (Available with [Visual Studio]).
196197
197198
## Create a data registry
198199

@@ -221,7 +222,7 @@ To create a data registry:
221222
> [!NOTE]
222223
> When using System-assigned managed identities, you will get an error if you provide a value for the msiClientId property in your HTTP request.
223224

224-
For more information on the properties required in the HTTP request body, see [Data registry properties](#data-registry-properties).
225+
For more information on the properties required in the HTTP request body, see [Data registry properties].
225226

226227
1. Once you have the body of your HTTP request ready, execute the following **HTTP PUT request**:
227228

@@ -230,7 +231,7 @@ To create a data registry:
230231

231232
```
232233

233-
For more information on the `udid` property, see [The user data ID](#the-user-data-id).
234+
For more information on the `udid` property, see [The user data ID].
234235

235236
1. Copy the value of the **Operation-Location** key from the response header.
236237

@@ -253,7 +254,7 @@ To create a data registry:
253254
> [!NOTE]
254255
> When using User-assigned managed identities, you will get an error if you don't provide a value for the msiClientId property in your HTTP request.
255256

256-
For more information on the properties required in the HTTP request body, see [Data registry properties](#data-registry-properties).
257+
For more information on the properties required in the HTTP request body, see [Data registry properties].
257258

258259
1. Once you have the body of your HTTP request ready, execute the following **HTTP PUT request**:
259260

@@ -262,30 +263,30 @@ To create a data registry:
262263

263264
```
264265

265-
For more information on the `udid` property, see [The user data ID](#the-user-data-id).
266+
For more information on the `udid` property, see [The user data ID].
266267

267268
1. Copy the value of the **Operation-Location** key from the response header.
268269

269270
---
270271

271272
> [!TIP]
272-
> If the contents of a previously registered file is modified, it will fail its [data validation](#data-validation) and won't be usable in Azure Maps until it's re-registered. To re-register a file, rerun the register request, passing in the same [AzureBlob](#the-azureblob) used to create the original registration.
273-
The value of the **Operation-Location** key is the status URL that you'll use to check the status of the data registry creation in the next section, it contains the operation ID used by the [Get operation][Get operation] API.
273+
> If the contents of a previously registered file is modified, it will fail its [data validation] and won't be usable in Azure Maps until it's re-registered. To re-register a file, rerun the register request, passing in the same [AzureBlob] used to create the original registration.
274+
The value of the **Operation-Location** key is the status URL that you'll use to check the status of the data registry creation in the next section, it contains the operation ID used by the [Get operation] API.
274275

275276
> [!NOTE]
276277
> The value of the **Operation-Location** key will not contain the `subscription-key`, you will need to add that to the request URL when using it to check the data registry creation status.
277278

278279
### Check the data registry creation status
279280

280-
To (optionally) check the status of the data registry creation process, enter the status URL you copied in the [Create a data registry](#create-a-data-registry) section, and add your subscription key as a query string parameter. The request should look similar to the following URL:
281+
To (optionally) check the status of the data registry creation process, enter the status URL you copied in the [Create a data registry] section, and add your subscription key as a query string parameter. The request should look similar to the following URL:
281282

282283
```http
283284
https://us.atlas.microsoft.com/dataRegistries/operations/{udid}?api-version=2023-06-01&subscription-key={Your-Azure-Maps-Primary-Subscription-key}
284285
```
285286

286287
## Get a list of all files in the data registry
287288

288-
Use the [List][list] request to get a list of all files registered in an Azure Maps account:
289+
Use the [List] request to get a list of all files registered in an Azure Maps account:
289290

290291
```http
291292
https://us.atlas.microsoft.com/dataRegistries?api-version=2023-06-01&subscription-key={Azure-Maps-Subscription-key}
@@ -347,28 +348,35 @@ The data returned when running the list request is similar to the data provided
347348

348349
| property | description |
349350
|-------------|-----------------------------------|
350-
| contentMD5 | MD5 hash created from the contents of the file being registered. For more information, see [Data validation](#data-validation) |
351+
| contentMD5 | MD5 hash created from the contents of the file being registered. For more information, see [Data validation] |
351352
| sizeInBytes | The size of the content in bytes. |
352353

353354
## Replace a data registry
354355

355-
If you need to replace a previously registered file with another file, rerun the register request, passing in the same [AzureBlob](#the-azureblob) used to create the original registration, except for the [blobUrl](#the-bloburl-property). The `BlobUrl` needs to be modified to point to the new file.
356+
If you need to replace a previously registered file with another file, rerun the register request, passing in the same [AzureBlob] used to create the original registration, except for the [blobUrl]. The `BlobUrl` needs to be modified to point to the new file.
356357

357358
## Data validation
358359

359360
When you register a file in Azure Maps using the data registry API, an MD5 hash is created from the contents of the file, encoding it into a 128-bit fingerprint and saving it in the `AzureBlob` as the `contentMD5` property. The MD5 hash stored in the `contentMD5` property is used to ensure the data integrity of the file. Since the MD5 hash algorithm always produces the same output given the same input, the data validation process can compare the `contentMD5` property of the file when it was registered against a hash of the file in the Azure storage account to check that it's intact and unmodified. If the hash isn't the same, the validation fails. If the file in the underlying storage account changes, the validation fails. If you need to modify the contents of a file that has been registered in Azure Maps, you need to register it again.
360361

361362
<!------------- end-style links ---------------------->
363+
[Access to Creator services]: how-to-manage-creator.md#access-to-creator-services
362364
[Azure Maps account]: quick-demo-map-app.md#create-an-azure-maps-account
365+
[Azure Maps service geographic scope]: geographic-scope.md
363366
[Azure portal]: https://portal.azure.com/
364-
[create storage account]: /azure/storage/common/storage-account-create?tabs=azure-portal
365-
[geographic scope]: geographic-scope.md
366-
[managed identity]: /azure/active-directory/managed-identities-azure-resources/overview
367-
[storage account overview]: /azure/storage/common/storage-account-overview
368-
[subscription key]: quick-demo-map-app.md#get-the-subscription-key-for-your-account
369-
[Visual Studio]: https://visualstudio.microsoft.com/downloads/
370-
<!------------- REST API Links ------------------>
367+
[Azure storage account]: /azure/storage/common/storage-account-create?tabs=azure-portal
368+
[AzureBlob]: #the-azureblob
369+
[blobUrl]: #the-bloburl-property
370+
[Create a data registry]: #create-a-data-registry
371+
[Create a storage account]: /azure/storage/common/storage-account-create?tabs=azure-portal
372+
[Data registry properties]: #data-registry-properties
371373
[data registry]: /rest/api/maps/data-registry
374+
[Data validation]: #data-validation
372375
[Get operation]: /rest/api/maps/data-registry/get-operation
373376
[list]: /rest/api/maps/data-registry/list
374-
[Register]: /rest/api/maps/data-registry/register-or-replace
377+
[managed identities for Azure resources]: /azure/active-directory/managed-identities-azure-resources/overview
378+
[msiClientId]: #the-msiclientid-property
379+
[storage account overview]: /azure/storage/common/storage-account-overview
380+
[subscription key]: quick-demo-map-app.md#get-the-subscription-key-for-your-account
381+
[The user data ID]: #the-user-data-id
382+
[Visual Studio]: https://visualstudio.microsoft.com/downloads/

articles/azure-maps/how-to-create-template.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The template used in this quickstart is from [Azure Quickstart Templates].
3232

3333
The Azure Maps account resource is defined in this template:
3434

35-
* [**Microsoft.Maps/accounts**](/azure/templates/microsoft.maps/accounts): create an Azure Maps account.
35+
* [**Microsoft.Maps/accounts**]: create an Azure Maps account.
3636

3737
## Deploy the template
3838

@@ -82,8 +82,9 @@ To learn more about Azure Maps and Azure Resource Manager, see the following art
8282
* Create an Azure Maps [demo application]
8383
* Learn more about [ARM templates]
8484

85-
[free account]: https://azure.microsoft.com/free/?WT.mc_id=A261C142F
85+
[**Microsoft.Maps/accounts**]: /azure/templates/microsoft.maps/accounts
86+
[ARM templates]: ../azure-resource-manager/templates/overview.md
8687
[Azure Quickstart Templates]: https://azure.microsoft.com/resources/templates/maps-create
8788
[demo application]: quick-demo-map-app.md
88-
[ARM templates]: ../azure-resource-manager/templates/overview.md
8989
[Deploy templates]: ../azure-resource-manager/templates/deploy-powershell.md
90+
[free account]: https://azure.microsoft.com/free/?WT.mc_id=A261C142F

0 commit comments

Comments
 (0)