az ml feature-store
Note
This reference is part of the ml extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az ml feature-store command. Learn more about extensions.
Manage Azure ML feature stores.
A feature store is a lifecycle management system for features. Feature store provides feature discovery, materialization serving offline workloads (training/batch inference), serving online inference with low latency requirements, and operational and feature quality monitoring.
Commands
Name | Description | Type | Status |
---|---|---|---|
az ml feature-store create |
Create a feature store. |
Extension | GA |
az ml feature-store delete |
Delete a feature store. |
Extension | GA |
az ml feature-store list |
List all the feature stores in a subscription. |
Extension | GA |
az ml feature-store provision-network |
Provision managed network. |
Extension | GA |
az ml feature-store show |
Show details for a feature store. |
Extension | GA |
az ml feature-store update |
Update a feature store. |
Extension | GA |
az ml feature-store create
Create a feature store.
When a feature store is created, several Azure resources that will be used by Azure ML also get created by default: Azure Storage, Azure Container Registry, Azure Key Vault, and Azure Application Insights. You can instead use existing Azure resource instances for those when creating the feature store by specifying the resource IDs in the feature store configuration YAML file.
az ml feature-store create --resource-group
[--application-insights]
[--container-registry]
[--description]
[--display-name]
[--file]
[--image-build-compute]
[--location]
[--managed-network]
[--materialization-identity]
[--name]
[--no-wait]
[--not-grant-permissions]
[--offline-store]
[--primary-user-assigned-identity]
[--public-network-access]
[--set]
[--tags]
[--update-dependent-resources]
Examples
Create a feature store from a YAML specification file.
az ml feature-store create --file feature-store.yml --resource-group my-resource-group
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
ARM id of the application insights associated with this workspace.
ARM id of the container registry associated with this workspace.
Description of the feature store.
Display name for the feature store.
Local path to the YAML file containing the Azure ML feature_store specification. The YAML reference docs for feature_store can be found at: https://aka.ms/ml-cli-v2-featurestore-yaml-reference.
The name of the compute target to use for building environment Docker images when the container registry is behind a VNet.
The location to be used for the new feature store.
Managed Network Isolation Mode for the workspace.
The identity used for offline/online store connection.
Name of the feature store.
Do not wait for feature store creation to finish.
Specifying --not-grant-permissions, to not grant materializtion identity permission to feature store (workspace, offline store and online store). Default is False.
Feature store offline store config. materialization-identity is needed to setup offline store.
ARM identifier of primary user assigned managed identity, in case multiple ones are specified. Also the default managed identity for clusterless compute.
Allow public endpoint connectivity when a workspace is private link enabled.
Update an object by specifying a property path and value to set. Example: --set property1.property2=.
Space-separated key-value pairs for the tags of the object.
Specifying --update_dependent_resources, gives your consent to update the feature store dependent resources. Updating the workspace-attached Azure Container Registry or Application Insights resource may break lineage of previous jobs, deployed inference endpoints, or your ability to rerun earlier jobs in this feature store.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ml feature-store delete
Delete a feature store.
By default the dependent resources associated with the feature store (Azure Storage, Azure Container Registry, Azure Key Vault, Azure Application Insights) are not deleted. To delete those as well, include --all-resources.
az ml feature-store delete --name
--resource-group
[--all-resources]
[--no-wait]
[--yes]
Required Parameters
Name of the feature store You can configure the default group using az configure --defaults feature-store=<name>
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Delete all the dependent resources associated with the feature store (Azure Storage account, Azure Container Registry, Azure Application Insights, Azure Key Vault).
Do not wait for the long-running-operation to finish. Default is False.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ml feature-store list
List all the feature stores in a subscription.
The list of feature-stores can be filtered by resource group.
az ml feature-store list [--max-results]
[--resource-group]
Examples
List all the feature stores in a resource group
az ml feature-store list --resource-group my-resource-group
List all the feature stores using --query argument to execute a JMESPath query on the results of commands.
az ml feature-store list --query "[].{Name:name}" --output table --resource-group my-resource-group
Optional Parameters
Max number of results to return.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ml feature-store provision-network
Provision managed network.
Triggers the feature-store to provision the managed network. Specifying spark enabled flag prepares the workspace managed network for supporting Spark. The default is false if not specified but can be enabled later by running this command again with this flag. Once enabled it cannot be disabled.
az ml feature-store provision-network --name
--resource-group
[--include-spark]
[--no-wait]
Examples
Provision managed network.
az ml feature-store provision-network --resource-group my-resource-group --name my-feature-store-name
Required Parameters
Name of the feature store You can configure the default group using az configure --defaults feature-store=<name>
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Boolean [true/false] for if managed network should be provisioned to account for spark jobs. The default is false if flag not set. It can be enabled later by running this command again with this flag.
Do not wait for the long-running-operation to finish. Default is False.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ml feature-store show
Show details for a feature store.
az ml feature-store show --name
--resource-group
Required Parameters
Name of the feature store You can configure the default group using az configure --defaults feature-store=<name>
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ml feature-store update
Update a feature store.
The 'description', 'tags', 'friendly_name', and materialization_identity properties can be updated.
az ml feature-store update --name
--resource-group
[--add]
[--application-insights]
[--container-registry]
[--description]
[--display-name]
[--file]
[--force-string]
[--image-build-compute]
[--managed-network]
[--materialization-identity]
[--no-wait]
[--not-grant-permissions]
[--primary-user-assigned-identity]
[--public-network-access]
[--remove]
[--set]
[--update-dependent-resources]
Examples
update a feature store from a YAML specification file.
az ml feature-store update --resource-group my-resource-group --name my-feature-store-name --file feature-store.yml
Required Parameters
Name of the feature store You can configure the default group using az configure --defaults feature-store=<name>
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>
.
ARM id of the application insights associated with this workspace.
ARM id of the container registry associated with this workspace.
Description of the feature store.
Display name for the feature store.
Local path to the YAML file containing the Azure ML feature_store specification. The YAML reference docs for feature_store can be found at: https://aka.ms/ml-cli-v2-featurestore-yaml-reference.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
The name of the compute target to use for building environment Docker images when the container registry is behind a VNet.
Managed Network Isolation Mode for the workspace.
The identity used for offline/online store connection.
Do not wait for the long-running-operation to finish. Default is False.
Specifying --not-grant-permissions, to not grant materializtion identity permission to feature store (workspace, offline store and online store). Default is False.
ARM id of the primary user assigned identity associated with this workspace.
Allow public endpoint connectivity when a workspace is private link enabled.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Specifying --update_dependent_resources, gives your consent to update the workspace dependent resources. Updating the workspace-attached Azure Container Registry or Application Insights resource may break lineage of previous jobs, deployed inference endpoints, or your ability to rerun earlier jobs in this workspace.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI