You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new datastore will now appear in the list of datastores.
112
+
The new datastore now appears in the list of datastores.
113
113
114
114
### Assign roles to managed identities and add them to the datastore
115
115
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.
117
117
118
118
> [!NOTE]
119
119
> 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:
132
132
133
133
With a datastore created in your Azure Maps account, you're ready to gather the properties required to create the data registry.
134
134
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.
136
136
137
137
### The AzureBlob
138
138
@@ -146,15 +146,15 @@ The `AzureBlob` is a JSON object that defines properties required to create the
146
146
|`linkedResource`| The ID of the datastore registered in the Azure Maps account.<BR>The datastore contains a link to the file being registered. |
147
147
|`blobUrl`| A URL pointing to the Location of the AzurebBlob, the file imported into your container. |
148
148
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.
150
150
151
151
#### The msiClientId property
152
152
153
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
154
155
155
# [system-assigned](#tab/System-assigned)
156
156
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.
158
158
159
159
# [user-assigned](#tab/User-assigned)
160
160
@@ -177,7 +177,7 @@ The `blobUrl` property is the path to the file being registered. You can get thi
177
177
[data registry]
178
178
1. Select your **storage account** in the **Azure portal**.
179
179
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.
181
181
1. The container opens, showing a list of the files previously uploaded.
182
182
1. Select the desired file, then copy the URL.
183
183
@@ -196,7 +196,7 @@ The user data ID (`udid`) of the data registry is a user-defined GUID that must
196
196
197
197
## Create a data registry
198
198
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`).
200
200
201
201
> [!NOTE]
202
202
> The maximum size of a file that can be registered with an Azure Maps datastore is one gigabyte.
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:
329
329
330
330
```json
331
331
{
@@ -359,18 +359,19 @@ If you need to replace a previously registered file with another file, rerun the
359
359
360
360
## Data validation
361
361
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.
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.
0 commit comments