forked from Azure/bicep
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.combined.bicep
More file actions
46 lines (42 loc) · 820 Bytes
/
main.combined.bicep
File metadata and controls
46 lines (42 loc) · 820 Bytes
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
// $1 = aksCluster
// $2 = 'name'
// $3 = location
// $4 = 1.19.7
// $5 = 'dnsPrefix'
// $6 = 3
// $7 = 'Standard_DS2_v2'
// $8 = adminUsername
// $9 = 'REQUIRED'
param adminUsername string
param location string
resource aksCluster 'Microsoft.ContainerService/managedClusters@2021-03-01' = {
name: 'name'
location: location
identity: {
type: 'SystemAssigned'
}
properties: {
kubernetesVersion: '1.19.7'
dnsPrefix: 'dnsPrefix'
enableRBAC: true
agentPoolProfiles: [
{
name: 'agentpool'
count: 3
vmSize: 'Standard_DS2_v2'
osType: 'Linux'
mode: 'System'
}
]
linuxProfile: {
adminUsername: adminUsername
ssh: {
publicKeys: [
{
keyData: 'REQUIRED'
}
]
}
}
}
}