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/machine-learning/how-to-export-delete-data.md
+63-24Lines changed: 63 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.custom: devx-track-python
9
9
author: fbsolo-ms1
10
10
ms.author: franksolomon
11
11
ms.reviewer: franksolomon
12
-
ms.date: 08/11/2023
12
+
ms.date: 08/01/2024
13
13
ms.topic: how-to
14
14
monikerRange: 'azureml-api-2 || azureml-api-1'
15
15
---
@@ -24,11 +24,11 @@ In Azure Machine Learning, you can export or delete your workspace data with eit
24
24
25
25
## Control your workspace data
26
26
27
-
The in-product data that Azure Machine Learning stores is available for export and deletion. You can export and delete data with Azure Machine Learning studio, the CLI, and the SDK. Additionally, you can access telemetry data through the Azure Privacy portal.
27
+
Azure Machine Learning stores in-product data that is available for export and deletion. You can export and delete data with Azure Machine Learning studio, the CLI, or the SDK. Additionally, you can access telemetry data through the Azure Privacy portal.
28
28
29
29
In Azure Machine Learning, personal data consists of user information in job history documents.
30
30
31
-
An Azure workspace relies on a **resource group** to hold the related resources for an Azure solution. When you create a workspace, you have the opportunity to use an existing resource group, or to create a new one. See[this page](../azure-resource-manager/management/manage-resource-groups-portal.md)to learn more about Azure resource groups.
31
+
An Azure workspace relies on a **resource group** to hold the related resources for an Azure solution. When you create a workspace, you can either use an existing resource group, or you can create a new one. Visit[this resource](../azure-resource-manager/management/manage-resource-groups-portal.md)for more information about Azure resource groups.
32
32
33
33
## Delete high-level resources using the portal
34
34
@@ -43,37 +43,76 @@ When you create a workspace, Azure creates several resources within the resource
43
43
To delete these resources, select them from the list, and choose **Delete**:
44
44
45
45
> [!IMPORTANT]
46
-
> If the resource is configured for soft delete, the data won't actually delete unless you optionally select to delete the resource permanently. For more information, see the following articles:
> If the resource is configured for soft delete, the data won't actually delete unless you optionally select to delete the resource permanently. For more information, visit these resources:
:::image type="content" source="media/how-to-export-delete-data/delete-resource-group-resources.png" lightbox="media/how-to-export-delete-data/delete-resource-group-resources.png" alt-text="Screenshot of portal, with delete icon highlighted.":::
54
54
55
55
A confirmation dialog box opens, where you can confirm your choices.
56
56
57
-
Job history documents might contain personal user information. These documents are stored in the storage account in blob storage, in `/azureml` subfolders. You can download and delete the data from the portal.
57
+
Job history documents might contain personal user information. These documents are stored in the storage account in blob storage, in `/azureml` subfolders. You can download and delete the data from the portal. First, select the **Storage accounts** Azure services in the Azure portal, as shown in this screenshot:
58
58
59
-
:::image type="content" source="media/how-to-export-delete-data/storage-account-folders.png" lightbox="media/how-to-export-delete-data/storage-account-folders.png" alt-text="Screenshot of the Azure Machine Learning directory in the storage account, within the portal.":::
59
+
:::image type="content" source="media/how-to-export-delete-data/storage-account-main-screen.png" lightbox="media/how-to-export-delete-data/storage-account-main-screen.png" alt-text="Screenshot showing selection of Storage accounts in the Azure portal.":::
60
+
61
+
At the **Storage accounts** page, select the relevant storage account, as shown in this screenshot:
62
+
63
+
:::image type="content" source="media/how-to-export-delete-data/select-storage-account.png" lightbox="media/how-to-export-delete-data/select-storage-account.png" alt-text="Screenshot showing selection of a specific storage account.":::
64
+
65
+
Select **Containers** as shown in this screenshot:
66
+
67
+
:::image type="content" source="media/how-to-export-delete-data/select-containers.png" lightbox="media/how-to-export-delete-data/select-containers.png" alt-text="Screenshot showing selection of Containers at the storage account page.":::
68
+
69
+
Select a specific container, as shown in this screenshot:
70
+
71
+
:::image type="content" source="media/how-to-export-delete-data/select-a-container-resource.png" lightbox="media/how-to-export-delete-data/select-a-container-resource.png" alt-text="Screenshot showing selection of a specific container.":::
72
+
73
+
In that container, select and delete the resource or resources you wish to delete, as shown in this screenshot:
74
+
75
+
:::image type="content" source="media/how-to-export-delete-data/delete-a-resource.png" lightbox="media/how-to-export-delete-data/delete-a-resource.png" alt-text="Screenshot showing deletion of a specific resource.":::
60
76
61
77
## Export and delete machine learning resources using Azure Machine Learning studio
62
78
63
-
Azure Machine Learning studio provides a unified view of your machine learning resources - for example, notebooks, data assets, models, and jobs. Azure Machine Learning studio emphasizes preservation of a record of your data and experiments. You can delete computational resources - pipelines and compute resources - right in the browser. For these resources, navigate to the resource in question, and choose **Delete**.
79
+
Azure Machine Learning studio provides a unified view of your machine learning resources - for example, data assets, models, notebooks, and jobs. Azure Machine Learning studio emphasizes preservation of a record of your data and experiments. You can delete computational resources - pipelines and compute resources - right in the browser. For these resources, navigate to the resource in question, and choose **Delete**.
80
+
81
+
You can unregister data assets and archive jobs, but these operations don't delete the data. To completely remove the data, data assets and job data require deletion at the storage level. Storage level deletion happens in the portal, as described earlier. Azure Machine Learning studio can handle individual deletion. Job deletion deletes the data of that job.
82
+
83
+
### Artifact and log downloads of jobs
64
84
65
-
You can unregister data assets and archive jobs, but these operations don't delete the data. To entirely remove the data, data assets and job data require deletion at the storage level. Storage level deletion happens in the portal, as described earlier. Azure Machine Learning studio can handle individual deletion. Job deletion deletes the data of that job.
85
+
Azure Machine Learning studio can handle training artifact and log downloads from experimental jobs. At the Azure Machine Learning studio main page, select **Jobs** as shown in this screenshot:
66
86
67
-
Azure Machine Learning studio can handle training artifact downloads from experimental jobs. Choose the relevant **Job**. Choose **Output + logs**, and navigate to the specific artifacts you wish to download. Choose **...** and **Download**, or select **Download all**.
87
+
:::image type="content" source="media/how-to-export-delete-data/azure-machine-learning-studio-select-jobs.png" lightbox="media/how-to-export-delete-data/azure-machine-learning-studio-select-jobs.png" alt-text="Screenshot showing selection of Jobs in Azure Machine Learning studio.":::
68
88
69
-
To download a registered model, navigate to the **Model**and choose **Download**.
89
+
To show the available jobs, select the **All Jobs**tab, as shown in this screenshot:
70
90
71
-
:::image type="contents" source="media/how-to-export-delete-data/model-download.png" lightbox="media/how-to-export-delete-data/model-download.png" alt-text="Screenshot of studio model page with download option highlighted.":::
91
+
:::image type="content" source="media/how-to-export-delete-data/select-the-all-jobs-tab.png" lightbox="media/how-to-export-delete-data/select-the-all-jobs-tab.png" alt-text="Screenshot showing selection of the All Jobs tab.":::
92
+
93
+
Select a specific job, as shown in this screenshot:
94
+
95
+
:::image type="content" source="media/how-to-export-delete-data/select-a-specific-job.png" lightbox="media/how-to-export-delete-data/select-a-specific-job.png" alt-text="Screenshot showing selection of a specific job.":::
96
+
97
+
Select **Download all**, as shown in this screenshot:
98
+
99
+
:::image type="content" source="media/how-to-export-delete-data/select-download-all.png" lightbox="media/how-to-export-delete-data/select-download-all.png" alt-text="Screenshot showing how to start the job download process.":::
100
+
101
+
### Download a registered model
102
+
103
+
To download a registered model, select **Models** to open the **Model List** in Azure Machine Learning studio, and then select a specific model, as shown in this screenshot:
104
+
105
+
:::image type="content" source="media/how-to-export-delete-data/select-a-specific-model.png" lightbox="media/how-to-export-delete-data/select-a-specific-model.png" alt-text="Screenshot showing selection of a specific model.":::
106
+
107
+
Select **Download all** to start the model download process, as shown in this screenshot:
108
+
109
+
:::image type="contents" source="media/how-to-export-delete-data/model-download.png" lightbox="media/how-to-export-delete-data/model-download.png" alt-text="Screenshot showing how to start the model download process.":::
72
110
73
111
:::moniker range="azureml-api-1"
112
+
74
113
## Export and delete resources using the Python SDK
75
114
76
-
You can download the outputs of a particular job using:
115
+
You can download the outputs of a particular job using:
The following machine learning resources can be deleted using the Python SDK:
129
+
You can delete these machine learning resources with the Python SDK:
91
130
92
-
| Type | Function Call | Notes |
131
+
| Type | Function Call | Notes |
93
132
| --- | --- | --- |
94
-
|`Workspace`|[`delete`](/python/api/azureml-core/azureml.core.workspace.workspace#delete-delete-dependent-resources-false--no-wait-false-)| Use `delete-dependent-resources` to cascade the delete |
|`Workspace`|[`delete`](/python/api/azureml-core/azureml.core.workspace(class)#azureml-core-workspace-delete)| Use `delete-dependent-resources` to cascade the delete |
0 commit comments