Created
June 22, 2017 12:09
-
-
Save marrobi/5783193b8f3a4dd19f211160cf407d9e to your computer and use it in GitHub Desktop.
ACR Tempalte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"registryName": { | |
"type": "string", | |
"metadata": { | |
"description": "The name of the container registry." | |
} | |
}, | |
"registryLocation": { | |
"type": "string", | |
"metadata": { | |
"description": "The location of the container registry. This cannot be changed after the resource is created." | |
} | |
}, | |
"registrySku": { | |
"type": "string", | |
"defaultValue": "Managed_Standard", | |
"metadata": { | |
"description": "The SKU of the container registry." | |
} | |
}, | |
"registryApiVersion": { | |
"type": "string", | |
"defaultValue": "2017-06-01-preview", | |
"metadata": { | |
"description": "The API version of the container registry." | |
} | |
}, | |
"adminUserEnabled": { | |
"type": "bool", | |
"defaultValue": false, | |
"metadata": { | |
"description": "The value that indicates whether the admin user is enabled." | |
} | |
} | |
}, | |
"resources": [ | |
{ | |
"name": "[parameters('registryName')]", | |
"type": "Microsoft.ContainerRegistry/registries", | |
"location": "[parameters('registryLocation')]", | |
"apiVersion": "[parameters('registryApiVersion')]", | |
"sku": { | |
"name": "[parameters('registrySku')]" | |
}, | |
"properties": { | |
"adminUserEnabled": "[parameters('adminUserEnabled')]" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment