@@ -10,10 +10,11 @@ ms.topic: conceptual
10
10
ms.reviewer : jmartens
11
11
author : lobrien
12
12
ms.author : laobri
13
- ms.date : 11/04/2019
13
+ ms.date : 03/06/2020
14
14
ms.custom : seodec18
15
15
---
16
- # Export or delete your Machine Learning service workspace data
16
+ # Export or delete your Machine Learning service workspace data
17
+
17
18
[ !INCLUDE [ applies-to-skus] ( ../../includes/aml-applies-to-basic-enterprise-sku.md )]
18
19
19
20
In Azure Machine Learning, you can export or delete your workspace data with the authenticated REST API. This article tells you how.
@@ -23,15 +24,16 @@ In Azure Machine Learning, you can export or delete your workspace data with the
23
24
[ !INCLUDE [ GDPR-related guidance] ( ../../includes/gdpr-intro-sentence.md )]
24
25
25
26
## Control your workspace data
27
+
26
28
In-product data stored by Azure Machine Learning is available for export and deletion through Azure Machine Learning studio, CLI, SDK, and authenticated REST APIs. Telemetry data can be accessed through the Azure Privacy portal.
27
29
28
30
In Azure Machine Learning, personal data consists of user information in run history documents and telemetry records of some user interactions with the service.
29
31
30
- ## Delete workspace data with the REST API
32
+ ## Delete workspace data with the REST API
31
33
32
34
In order to delete data, the following API calls can be made with the HTTP DELETE verb. These are authorized by having an ` Authorization: Bearer <arm-token> ` header in the request, where ` <arm-token> ` is the AAD access token for the ` https://management.core.windows.net/ ` endpoint.
33
35
34
- To learn how to get this token and call Azure endpoints, see [ Azure REST API documentation] ( https://docs.microsoft.com/rest/api/azure/ ) .
36
+ To learn how to get this token and call Azure endpoints, see [ Use REST to manage ML resources ] ( how-to-manage-rest.md ) and [ Azure REST API documentation] ( https://docs.microsoft.com/rest/api/azure/ ) .
35
37
36
38
In the examples following, replace the text in {} with the instance names that determine the associated resource.
37
39
@@ -41,77 +43,78 @@ Use this call to delete an entire workspace.
41
43
> [ !WARNING]
42
44
> All information will be deleted and the workspace will no longer be usable.
43
45
44
- https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}?api-version=2018-03 -01-preview
46
+ https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}?api-version=2019-11 -01
45
47
46
48
### Delete models
47
49
48
50
Use this call to get a list of models and their IDs:
49
51
50
- https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models?api-version=2018-03 -01-preview
52
+ https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models?api-version=2019-11 -01
51
53
52
54
Individual models can be deleted with:
53
55
54
- https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models/{id}?api-version=2018-03 -01-preview
56
+ https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models/{id}?api-version=2019-11 -01
55
57
56
58
### Delete assets
57
59
58
60
Use this call to get a list of assets and their IDs:
59
61
60
- https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets?api-version=2018-03 -01-preview
62
+ https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets?api-version=2019-11 -01
61
63
62
64
Individual assets can be deleted with:
63
65
64
- https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets/{id}?api-version=2018-03 -01-preview
66
+ https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets/{id}?api-version=2019-11 -01
65
67
66
68
### Delete images
67
69
68
70
Use this call to get a list of images and their IDs:
69
71
70
- https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images?api-version=2018-03 -01-preview
72
+ https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images?api-version=2019-11 -01
71
73
72
74
Individual images can be deleted with:
73
75
74
- https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{id}?api-version=2018-03 -01-preview
76
+ https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{id}?api-version=2019-11 -01
75
77
76
78
### Delete services
77
79
78
80
Use this call to get a list of services and their IDs:
79
81
80
- https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services?api-version=2018-03 -01-preview
82
+ https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services?api-version=2019-11 -01
81
83
82
84
Individual services can be deleted with:
83
85
84
- https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}?api-version=2018-03 -01-preview
86
+ https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}?api-version=2019-11 -01
85
87
86
88
## Export service data with the REST API
87
89
88
90
In order to export data, the following API calls can be made with the HTTP GET verb. These are authorized by having an ` Authorization: Bearer <arm-token> ` header in the request, where ` <arm-token> ` is the AAD access token for the endpoint ` https://management.core.windows.net/ `
89
91
90
- To learn how to get this token and call Azure endpoints, see [ Azure REST API documentation] ( https://docs.microsoft.com/rest/api/azure/ ) .
92
+ To learn how to get this token and call Azure endpoints, see [ Use REST to manage ML resources ] ( how-to-manage-rest.md ) and [ Azure REST API documentation] ( https://docs.microsoft.com/rest/api/azure/ ) . .
91
93
92
94
In the examples following, replace the text in {} with the instance names that determine the associated resource.
93
95
94
96
### Export Workspace information
95
97
96
98
Use this call to get a list of all workspaces:
97
99
98
- https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces?api-version=2018-03 -01-preview
100
+ https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces?api-version=2019-11 -01
99
101
100
102
Information about an individual workspace can be obtained by:
101
103
102
- https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}?api-version=2018-03 -01-preview
104
+ https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}?api-version=2019-11 -01
103
105
104
106
### Export Compute Information
105
107
106
108
All compute targets attached to a workspace can be obtained by:
107
109
108
- https://management.azure.com/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes?api-version=2018-03 -01-preview
110
+ https://management.azure.com/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes?api-version=2019-11 -01
109
111
110
112
Information about a single compute target can be obtained by:
111
113
112
- https://management.azure.com/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}?api-version=2018-03 -01-preview
114
+ https://management.azure.com/subscriptions/{subscriptionId}/resourceGroup/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}?api-version=2019-11 -01
113
115
114
116
### Export run history data
117
+
115
118
Use this call to get a list of all experiments and their information:
116
119
117
120
https://{location}.experiments.azureml.net/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments
@@ -131,16 +134,16 @@ All run metrics for an experiment can be obtained by:
131
134
A single run metric can be obtained by:
132
135
133
136
https://{location}.experiments.azureml.net/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/metrics/{metricId}
134
-
137
+
135
138
### Export artifacts
136
139
137
140
Use this call to get a list of artifacts and their paths:
138
141
139
142
https://{location}.experiments.azureml.net/artifact/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/origins/ExperimentRun/containers/{runId}
140
-
143
+
141
144
### Export notifications
142
145
143
- Use this call to get a list of stored tasks:
146
+ Use this call to get a list of stored tasks:
144
147
145
148
https://{location}.experiments.azureml.net/notification/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/tasks
146
149
@@ -162,41 +165,41 @@ Individual data stores can be obtained by:
162
165
163
166
Use this call to get a list of models and their IDs:
164
167
165
- https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models?api-version=2018-03 -01-preview
168
+ https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models?api-version=2019-11 -01
166
169
167
170
Individual models can be obtained by:
168
171
169
- https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models/{id}?api-version=2018-03 -01-preview
172
+ https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models/{id}?api-version=2019-11 -01
170
173
171
174
### Export assets
172
175
173
176
Use this call to get a list of assets and their IDs:
174
177
175
- https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets?api-version=2018-03 -01-preview
178
+ https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets?api-version=2019-11 -01
176
179
177
180
Individual assets can be obtained by:
178
181
179
- https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets/{id}?api-version=2018-03 -01-preview
182
+ https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets/{id}?api-version=2019-11 -01
180
183
181
184
### Export images
182
185
183
186
Use this call to get a list of images and their IDs:
184
187
185
- https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images?api-version=2018-03 -01-preview
188
+ https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images?api-version=2019-11 -01
186
189
187
190
Individual images can be obtained by:
188
191
189
- https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{id}?api-version=2018-03 -01-preview
192
+ https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{id}?api-version=2019-11 -01
190
193
191
194
### Export services
192
195
193
196
Use this call to get a list of services and their IDs:
194
197
195
- https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services?api-version=2018-03 -01-preview
198
+ https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services?api-version=2019-11 -01
196
199
197
200
Individual services can be obtained by:
198
201
199
- https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}?api-version=2018-03 -01-preview
202
+ https://{location}.modelmanagement.azureml.net/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}?api-version=2019-11 -01
200
203
201
204
### Export Pipeline Experiments
202
205
@@ -242,12 +245,14 @@ In the designer where you created your experiment, delete individual assets:
242
245
243
246
### Delete datasets in the designer
244
247
245
- To delete datasets in the designer, use the Azure portal or Storage Explorer to navigate to connected storage accounts and delete datasets there. Unregistering datasets in the designer only removes the reference point in storage.
248
+ To delete datasets in the designer, use the Azure portal or Storage Explorer to navigate to connected storage accounts and delete datasets there. Unregistering datasets in the designer only removes the reference point in storage.
246
249
247
250
## Export data in the designer
248
251
249
252
In the designer where you created your experiment, export data you have added:
250
253
251
254
1 . On the left, select ** Datasets** .
252
255
256
+ 1 . In the list, select the dataset to export
257
+
253
258
![ Download data] ( ./media/how-to-export-delete-data/unregister-dataset.png )
0 commit comments