Share via


CLI (v2) レジストリ YAML スキーマ

適用対象: Azure CLI ML 拡張機能 v2 (現行)

ソース JSON スキーマは https://azuremlschemasprod.azureedge.net/latest/registry.schema.json にあります。

Note

このドキュメントで詳しく説明されている YAML 構文は、最新バージョンの ML CLI v2 拡張機能の JSON スキーマに基づいています。 この構文は、ML CLI v2 拡張機能の最新バージョンでのみ動作することが保証されています。 以前のバージョンの拡張機能のスキーマについては、https://azuremlschemasprod.azureedge.net/ でご確認いただけます。

YAML 構文

キー Type 説明 使用できる値 既定値
$schema string YAML スキーマ。 Azure Machine Learning 用 VS Code 拡張機能を使用して YAML ファイルを作成する場合は、ファイルの先頭に $schema を含めることで、スキーマとリソースの入力候補を呼び出すことができます。
name string 必須。 レジストリの名前。
tags object レジストリのタグの辞書。
location string 必須。 レジストリのプライマリの場所。
replication_locations object 必須。 レジストリの関連リソースがレプリケートされる場所の一覧。 一覧には、レジストリのプライマリの場所を含める必要があります。
public_network_access string レジストリに Private Link を使う場合、パブリック エンドポイントへのアクセスを許可するかどうか。 enabled, disabled enabled

解説

az ml registry コマンドは、Azure Machine Learning レジストリを管理するために使用できます。

例は、GitHub リポジトリの例にあります。 次のセクションに、いくつか示します。

YAML: basic

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: ストレージ オプションあり

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

次の手順