-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBlueprint.json
130 lines (130 loc) · 3.47 KB
/
Blueprint.json
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"properties": {
"description": "Template for hosting .Net based Web App with a SQL database as data store.",
"targetScope": "subscription",
"parameters": {
"rgName": {
"type": "string",
"metadata": {
"displayName": "Resource Group Name"
}
},
"appName": {
"type": "string",
"metadata": {
"displayName": "Application Name"
}
},
"environment": {
"type": "string",
"metadata": {
"displayName": "Environment"
},
"allowedValues": [
"dev",
"prod",
"qa"
]
},
"locationShort": {
"type": "string",
"minLength": 2,
"maxLength": 3,
"metadata": {
"description": "Two to three character value that identifies the region into which the resources are deployed. Should map to the resource group's location."
},
"defaultValue": "weu"
},
"sqlServerLogin": {
"type": "string",
"metadata": {
"displayName": "SQLServer admin user name"
},
"defaultValue": "sqladmin"
},
"sqlServerPassword": {
"type": "secureString",
"metadata": {
"displayName": "SQLServer admin user password"
},
"defaultValue": {
"reference": {
"keyVault": {
"id": "/subscriptions/7a7779d7-2238-4a8a-947b-e35c5c46abfa/resourceGroups/secrets-test-rg/providers/Microsoft.KeyVault/vaults/samplewebapp-test-kv"
},
"secretName": "administratorLoginPassword"
}
}
},
"sqlServerCollation": {
"type": "string",
"metadata": {
"displayName": "SQL Server collation"
},
"defaultValue": "SQL_Latin1_General_CP1_CI_AS"
},
"sqlDbName": {
"type": "string",
"metadata": {
"displayName": "SQL database name"
},
"allowedValues": []
},
"sqlDbSize": {
"type": "string",
"metadata": {
"displayName": "SQL databse size in bytes"
},
"defaultValue": "1073741824",
"allowedValues": []
},
"sqlDbtier": {
"type": "string",
"metadata": {
"displayName": "The performance level for Azure SQL database"
},
"defaultValue": "S0",
"allowedValues": [
"S0",
"S1",
"S2",
"P1",
"P2",
"P3"
]
},
"webAppSkuName": {
"type": "string",
"metadata": {
"displayName": "WebApp instance size",
"description": "Describes plan's pricing tier and instance size. Check details at https://azure.microsoft.com/en-us/pricing/details/app-service/"
},
"defaultValue": "S1",
"allowedValues": [
"S1",
"S2",
"S3",
"P1",
"P2",
"P3",
"P4"
]
},
"webAppSkuCapacity": {
"type": "int",
"metadata": {
"displayName": "WebApp instance count",
},
"defaultValue": 1
}
},
"resourceGroups": {
"ResourceGroup": {
"location": "westeurope",
"dependsOn": [],
"name": "[parameters('rgName')]"
}
}
},
"type": "Microsoft.Blueprint/blueprints"
}