Manage imported data assets (preview)
In this article, you'll learn how to manage imported data assets from a life-cycle perspective. We learn how to modify or update auto delete settings on the data assets imported into a managed datastore (
workspacemanagedstore) that Microsoft manages for the customer.
Auto delete settings capability, or lifecycle management, is currently offered only through the imported data assets in managed datastore, also known as
This feature is currently in public preview. This preview version is provided without a service-level agreement, and we don't recommend it for production workloads. Certain features might not be supported or might have constrained capabilities.
Modifying auto delete settings
You can change the auto delete setting value or condition as shown in these code samples:
> az ml data update -n <my_imported_ds> -v <version_number> --set auto_delete_setting.value='45d' > az ml data update -n <my_imported_ds> -v <version_number> --set auto_delete_setting.condition='created_greater_than'
Deleting/removing auto delete settings
If you don't want a specific data asset version to become part of life-cycle management, you can remove a previously configured auto delete setting.
> az ml data update -n <my_imported_ds> -v <version_number> --remove auto_delete_setting
Query on the configured auto delete settings
This Azure CLI code sample shows the data assets with certain conditions, or with values configured in the auto delete settings:
> az ml data list --query '[?auto_delete_setting.\"condition\"==''created_greater_than'']' > az ml data list --query '[?auto_delete_setting.\"value\"==''30d'']'