Container Registry

Overview

The Container Registry builder is used to create Azure Container Registry (ACR) instances.

  • Container Registry (Microsoft.ContainerRegistry/registries)

Builder Keywords

KeywordPurpose
nameSets the name of the Container Registry instance.
skuSets the SKU of the instance. Defaults to Basic.
enable_admin_userThe value that indicates whether the admin user is enabled.

Configuration Members

MemberPurpose
PasswordGets the ARM expression path to the first admin password of this container registry if the admin user was enabled.
Password2Gets the ARM expression path to the second admin password of this container registry if the admin user was enabled.
UsernameGets the ARM expression path to the admin username of this container registry if the admin user was enabled.

Example

open Farmer
open Farmer.Builders

let myRegistry = containerRegistry {
    name "myRegistry"
    sku ContainerRegistry.Basic
    enable_admin_user
}