This repository was archived by the owner on Oct 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathazuredeploy.json
More file actions
102 lines (102 loc) · 2.94 KB
/
azuredeploy.json
File metadata and controls
102 lines (102 loc) · 2.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.8.9.13224",
"templateHash": "3623591997234573037"
}
},
"parameters": {
"acrName": {
"type": "string",
"metadata": {
"description": "Name of the azure container registry (must be globally unique)"
},
"maxLength": 50,
"minLength": 5
},
"acrAdminUserEnabled": {
"type": "bool",
"defaultValue": false,
"metadata": {
"description": "Enable an admin user that has push/pull permission to the registry."
}
},
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]",
"metadata": {
"description": "Location for all resources."
}
},
"acrSku": {
"type": "string",
"defaultValue": "Basic",
"metadata": {
"description": "Tier of your Azure Container Registry."
},
"allowedValues": [
"Basic",
"Standard",
"Premium"
]
}
},
"resources": [
{
"type": "Microsoft.ContainerRegistry/registries",
"apiVersion": "2021-09-01",
"name": "[parameters('acrName')]",
"location": "[parameters('location')]",
"tags": {
"displayName": "Container Registry",
"container.registry": "[parameters('acrName')]"
},
"sku": {
"name": "[parameters('acrSku')]"
},
"properties": {
"adminUserEnabled":"[parameters('acrAdminUserEnabled')]",
"policies": {
"quarantinePolicy": {
"status": "disabled"
},
"trustPolicy": {
"type": "Notary",
"status": "disabled"
},
"retentionPolicy": {
"days": 7,
"status": "disabled"
},
"exportPolicy": {
"status": "enabled"
},
"azureADAuthenticationAsArmPolicy": {
"status": "enabled"
},
"softDeletePolicy": {
"retentionDays": 7,
"status": "disabled"
}
},
"encryption": {
"status": "disabled"
},
"dataEndpointEnabled": false,
"publicNetworkAccess": "Enabled",
"networkRuleBypassOptions": "AzureServices",
"zoneRedundancy": "Disabled",
"anonymousPullEnabled": false
}
}
],
"outputs": {
"acrLoginServer": {
"type": "string",
"value": "[reference(resourceId('Microsoft.ContainerRegistry/registries', parameters('acrName'))).loginServer]"
}
}
}