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
Copy file name to clipboardExpand all lines: articles/energy-data-services/how-to-manage-legal-tags.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,9 +12,9 @@ ms.custom: template-how-to
12
12
# How to manage legal tags
13
13
In this article, you'll know what legal tags are and how to manage them in your Azure Data Manager for Energy instance.
14
14
15
-
A [legal tag](https://osdu.pages.opengroup.org/platform/security-and-compliance/legal/) is the entity that represents the legal status of data ingestion and [entitlement service](concepts-entitlements.md) defines user access to data. A user may have access to manage the data within a data partition however, they may not be able to do so until certain legal requirements are fulfilled. Legal tag is a collection of required properties that governs how data can be [ingested](concepts-csv-parser-ingestion.md) into your Azure Data Manager for Energy instance.
15
+
A [legal tag](https://osdu.pages.opengroup.org/platform/security-and-compliance/legal/) is the entity that represents the legal status of data ingestion and [entitlement service](concepts-entitlements.md) defines user access to data. A user may have access to manage the data using entitlements but need to fulfil certain legal requirements using legal tags. Legal tag is a collection of required properties that governs how data can be [ingested](concepts-csv-parser-ingestion.md) into your Azure Data Manager for Energy instance.
16
16
17
-
The Azure Data Manager for Energy instance allows creation of legal tags only for `countryOfOrigin` that are allowed as per the configuration file [DefaultCountryCodes.json](https://community.opengroup.org/osdu/platform/security-and-compliance/legal/-/blob/master/legal-core/src/main/resources/DefaultCountryCode.json?ref_type=heads) at a data partition level. This file is defined by OSDU and cann't be edited.
17
+
The Azure Data Manager for Energy instance allows creation of legal tags only for `countryOfOrigin` that are allowed as per the configuration file [DefaultCountryCodes.json](https://community.opengroup.org/osdu/platform/security-and-compliance/legal/-/blob/master/legal-core/src/main/resources/DefaultCountryCode.json?ref_type=heads) at a data partition level. OSDU has defined this file and you can't edit it.
18
18
19
19
## Create a legal tag
20
20
Run the curl command in Azure Cloud Bash to create a legal tag for a given data partition of your Azure Data Manager for Energy instance.
@@ -42,7 +42,7 @@ Run the curl command in Azure Cloud Bash to create a legal tag for a given data
42
42
```
43
43
44
44
### Sample request
45
-
Consider an Azure Data Manager for Energy instance named "medstest" with a data partition named "dp1"
45
+
Consider an Azure Data Manager for Energy instance named `medstest` with a data partition named "dp1"
46
46
47
47
```bash
48
48
curl --location --request POST 'https://medstest.energy.azure.com/api/legal/v1/legaltags' \
@@ -89,7 +89,7 @@ Consider an Azure Data Manager for Energy instance named "medstest" with a data
89
89
90
90
The country of origin should follow [ISO Alpha2 format](https://www.nationsonline.org/oneworld/country_code_list.htm).
91
91
92
-
The Create Legal Tag API, internally appends data-partition-id to legal tag name if it isn't already present. For instance, if request has name as: ```legal-tag```, then the create legal tag name would be ```<instancename>-<data-partition-id>-legal-tag```
92
+
This API, internally appends `data-partition-id` to legal tag name if it isn't already present. For instance, if request has name as: ```legal-tag```, then the create legal tag name would be ```<instancename>-<data-partition-id>-legal-tag```
93
93
94
94
```bash
95
95
curl --location --request POST 'https://medstest.energy.azure.com/api/legal/v1/legaltags' \
@@ -135,7 +135,7 @@ The sample response has `data-partition-id` appended to the legal tag name.
135
135
```
136
136
137
137
## Get a legal tag
138
-
Run the below curl command in Azure Cloud Bash to get the legal tag associated with a data partition of your Azure Data Manager for Energy instance.
138
+
Run the curl command in Azure Cloud Bash to get the legal tag associated with a data partition of your Azure Data Manager for Energy instance.
139
139
140
140
```bash
141
141
curl --location --request GET 'https://<URI>/api/legal/v1/legaltags/<legal-tag-name>' \
@@ -144,7 +144,7 @@ Run the below curl command in Azure Cloud Bash to get the legal tag associated w
144
144
```
145
145
146
146
### Sample request
147
-
Consider an Azure Data Manager for Energy instance named "medstest" with a data partition named "dp1"
147
+
Consider an Azure Data Manager for Energy instance named `medstest` with a data partition named "dp1"
148
148
149
149
```bash
150
150
curl --location --request GET 'https://medstest.energy.azure.com/api/legal/v1/legaltags/medstest-dp1-legal-tag' \
0 commit comments