CLI (v2) registry YAML schema
APPLIES TO: Azure CLI ml extension v2 (current)
The source JSON schema can be found at https://azuremlschemasprod.azureedge.net/latest/registry.schema.json.
The YAML syntax detailed in this document is based on the JSON schema for the latest version of the ML CLI v2 extension. This syntax is guaranteed only to work with the latest version of the ML CLI v2 extension. You can find the schemas for older extension versions at https://azuremlschemasprod.azureedge.net/.
|Key||Type||Description||Allowed values||Default value|
||string||The YAML schema. If you use the Azure Machine Learning VS Code extension to author the YAML file, including
||string||Required. Name of the registry.|
||object||Dictionary of tags for the registry.|
||string||Required. The primary location of the registry.|
||object||Required. List of locations where the associated resources of the registry will be replicated. The list must include the primary location of registry.|
||string||Whether public endpoint access is allowed if the registry will be using Private Link.||
az ml registry command can be used for managing Azure Machine Learning registries.
Examples are available in the examples GitHub repository. Several are shown in the following sections.
name: DemoRegistry tags: foo: bar description: Basic registry with one primary region and to additional regions location: eastus replication_locations: - location: eastus - location: eastus2 - location: westus - location: westus2
YAML: with storage options
name: DemoRegistry2 tags: foo: bar description: Registry with additional configuration for storage accounts location: eastus replication_locations: - location: eastus storage_config: storage_account_hns: False storage_account_type: Standard_LRS - location: eastus2 storage_config: storage_account_hns: False storage_account_type: Standard_LRS - location: westus storage_config: storage_account_hns: False storage_account_type: Standard_LRS