CLI(v2) 레지스트리 YAML 스키마

적용 대상:Azure CLI ml 확장 v2(현재)

원본 JSON 스키마는 https://azuremlschemasprod.azureedge.net/latest/registry.schema.json 에서 찾을 수 있습니다.

참고

이 문서에 자세히 설명된 YAML 구문은 최신 버전의 ML CLI v2 확장에 대한 JSON 스키마를 기반으로 합니다. 이 구문은 최신 버전의 ML CLI v2 확장에서만 작동하도록 보장됩니다. https://azuremlschemasprod.azureedge.net/에서 이전 확장 버전에 대한 스키마를 찾을 수 있습니다.

YAML 구문

형식 Description 허용되는 값 기본값
$schema 문자열 YAML 스키마입니다. Azure Machine Learning VS Code 확장을 사용하여 YAML 파일을 제작하는 경우 파일 맨 위에 $schema를 포함하여 스키마 및 리소스 완성을 호출할 수 있습니다.
name 문자열 필수 요소. 레지스트리의 이름입니다.
tags 개체 레지스트리에 대한 태그 사전입니다.
location 문자열 필수 요소. 레지스트리의 기본 위치입니다.
replication_locations object 필수 사항입니다. 레지스트리의 관련 리소스가 복제될 위치 목록입니다. 목록에는 레지스트리의 기본 위치가 포함되어야 합니다.
public_network_access 문자열 레지스트리가 Private Link를 사용할 경우 공용 엔드포인트 액세스가 허용되는지 여부를 나타냅니다. enabled, disabled enabled

설명

Azure Machine Learning 레지스트리를 관리하는 데 az ml registry 명령을 사용할 수 있습니다.

예제는 GitHub 리포지토리 예제에서 사용할 수 있습니다. 다음 섹션에는 여러 가지가 나와 있습니다.

YAML: 기본

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

다음 단계