Skip to content

Commit fc93374

Browse files
committed
improve grammar in how-to-create-data-registries
1 parent 2461a0c commit fc93374

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

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

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,11 @@ Once you've created an Azure storage account with files uploaded into one or mor
109109

110110
:::image type="content" source="./media/data-registry/add-datastore.png" lightbox="./media/data-registry/add-datastore.png" alt-text="A screenshot showing the add datastore screen.":::
111111

112-
The new datastore will now appear in the list of datastores.
112+
The new datastore now appears in the list of datastores.
113113

114114
### Assign roles to managed identities and add them to the datastore
115115

116-
Once your managed identities and datastore are created, you can add the managed identities to the datastore and simultaneously assign them the **Contributor** and **Storage Blob Data Reader** roles. While it's possible to add roles to your managed identities directly in your managed identities or storage account, you can easily do this while simultaneously associating them with your Azure Maps datastore directly in the datastore pane.
116+
Once your managed identities and datastore are created, you can add the managed identities to the datastore, and simultaneously assign them the **Contributor** and **Storage Blob Data Reader** roles. While it's possible to add roles to your managed identities directly in your managed identities or storage account, which you can easily do while simultaneously associating them with your Azure Maps datastore directly in the datastore pane.
117117

118118
> [!NOTE]
119119
> Each managed identity associated with the datastore will need the **Contributor** and **Storage Blob Data Reader** roles granted to them. If you do not have the required permissions to grant roles to managed identities, consult your Azure administrator.
@@ -132,7 +132,7 @@ To assign roles to your managed identities and associate them with a datastore:
132132

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

135-
There are the AzureBlob properties that you'll pass in the body of the HTTP request, and [The user data ID](#the-user-data-id) passed in the URL.
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.
136136

137137
### The AzureBlob
138138

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

149-
The following two sections will provide you with details how to get the values to use for the [msiClientId](#the-msiclientid-property), [blobUrl](#the-bloburl-property) properties.
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.
150150

151151
#### The msiClientId property
152152

153153
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].
154154

155155
# [system-assigned](#tab/System-assigned)
156156

157-
When using System-assigned managed identities, you don't need to provide a value for the `msiClientId` property. The data registry service will automatically use the system assigned identity of the Azure Maps account when `msiClientId` is null.
157+
When using System-assigned managed identities, you don't need to provide a value for the `msiClientId` property. The data registry service automatically uses the system assigned identity of the Azure Maps account when `msiClientId` is null.
158158

159159
# [user-assigned](#tab/User-assigned)
160160

@@ -177,7 +177,7 @@ The `blobUrl` property is the path to the file being registered. You can get thi
177177
[data registry]
178178
1. Select your **storage account** in the **Azure portal**.
179179
1. Select **Containers** from the left menu.
180-
1. A list of containers will appear. Select the container that contains the file you wish to register.
180+
1. A list of containers appear. Select the container that contains the file you wish to register.
181181
1. The container opens, showing a list of the files previously uploaded.
182182
1. Select the desired file, then copy the URL.
183183

@@ -196,7 +196,7 @@ The user data ID (`udid`) of the data registry is a user-defined GUID that must
196196
197197
## Create a data registry
198198

199-
Now that you have your storage account with the desired files linked to your Azure Maps account through the datastore and have gathered all required properties, you're ready to use the [data registry] API to register those files. If you have multiple files in your Azure storage account that you want to register, you'll need to run the register request for each file (`udid`).
199+
Now that you have your storage account with the desired files linked to your Azure Maps account through the datastore and have gathered all required properties, you're ready to use the [data registry] API to register those files. If you have multiple files in your Azure storage account that you want to register, you need to run the register request for each file (`udid`).
200200

201201
> [!NOTE]
202202
> The maximum size of a file that can be registered with an Azure Maps datastore is one gigabyte.
@@ -246,13 +246,13 @@ https://us.atlas.microsoft.com/dataRegistries/operations/{udid}?api-version=2022
246246

247247
## Get a list of all files in the data registry
248248

249-
To get a list of all files registered in an Azure Maps account using the [List][list] request:
249+
Use the [List][list] request to get a list of all files registered in an Azure Maps account:
250250

251251
```http
252252
https://us.atlas.microsoft.com/dataRegistries?api-version=2022-12-01-preview&subscription-key={Azure-Maps-Subscription-key}
253253
```
254254

255-
The following is a sample response showing three possible statuses, completed, running and failed:
255+
The following sample demonstrates three possible statuses, completed, running and failed:
256256

257257
```json
258258
{
@@ -325,7 +325,7 @@ Use the `udid` to get the content of a file registered in an Azure Maps account:
325325
https://us.atlas.microsoft.com/dataRegistries/{udid}/content?api-version=2022-12-01-preview&subscription-key={Your-Azure-Maps-Subscription-key}
326326
```
327327

328-
The contents of the file will appear in the body of the response. For example, a text based GeoJSON file will appear similar to the following example:
328+
The contents of the file appear in the body of the response. For example, a text based GeoJSON file appears similar to the following example:
329329

330330
```json
331331
{
@@ -359,18 +359,19 @@ If you need to replace a previously registered file with another file, rerun the
359359

360360
## Data validation
361361

362-
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 will fail. If you need to modify the contents of a file that has been registered in Azure Maps, you'll need to register it again.
363-
364-
[data registry]: /rest/api/maps/data-registry
365-
[list]: /rest/api/maps/data-registry/list
366-
[Register]: /rest/api/maps/data-registry/register-or-replace
367-
[Get operation]: /rest/api/maps/data-registry/get-operation
362+
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.
368363

364+
<!------------- end-style links ---------------------->
369365
[Azure Maps account]: quick-demo-map-app.md#create-an-azure-maps-account
370-
[storage account overview]: /azure/storage/common/storage-account-overview
366+
[Azure portal]: https://portal.azure.com/
371367
[create storage account]: /azure/storage/common/storage-account-create?tabs=azure-portal
368+
[geographic scope]: geographic-scope.md
372369
[managed identity]: /azure/active-directory/managed-identities-azure-resources/overview
370+
[storage account overview]: /azure/storage/common/storage-account-overview
373371
[subscription key]: quick-demo-map-app.md#get-the-subscription-key-for-your-account
374-
[Azure portal]: https://portal.azure.com/
375372
[Visual Studio]: https://visualstudio.microsoft.com/downloads/
376-
[geographic scope]: geographic-scope.md
373+
<!------------- REST API Links ------------------>
374+
[data registry]: /rest/api/maps/data-registry
375+
[Get operation]: /rest/api/maps/data-registry/get-operation
376+
[list]: /rest/api/maps/data-registry/list
377+
[Register]: /rest/api/maps/data-registry/register-or-replace

0 commit comments

Comments
 (0)