|
1 | 1 | {
|
2 | 2 | "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
|
3 |
| - "contentVersion": "11.3.0", |
| 3 | + "contentVersion": "11.3.1", |
4 | 4 | "parameters": {
|
5 | 5 | "DeploymentName": {
|
6 | 6 | "type": "string",
|
|
10 | 10 | "description": "The value will be used as prefix for all resources. Limit to 10 characters and spaces will be removed."
|
11 | 11 | }
|
12 | 12 | },
|
| 13 | + "ImageType": { |
| 14 | + "type": "string", |
| 15 | + "allowedValues": [ |
| 16 | + "RockyLinux8", |
| 17 | + "RockyLinux9" |
| 18 | + ], |
| 19 | + "defaultValue": "RockyLinux8", |
| 20 | + "metadata": { |
| 21 | + "description": "The type of image to use for the VM." |
| 22 | + } |
| 23 | + }, |
| 24 | + "NumberOfNodes": { |
| 25 | + "type": "int", |
| 26 | + "defaultValue": 3, |
| 27 | + "allowedValues": [1,3], |
| 28 | + "metadata": { |
| 29 | + "description": "Number of nodes in the cluster" |
| 30 | + } |
| 31 | + }, |
13 | 32 | "AdminUser": {
|
14 | 33 | "type": "string",
|
15 | 34 | "minLength": 0,
|
|
40 | 59 | "description": "The MarkLogic License Key or 'none' for developer license"
|
41 | 60 | }
|
42 | 61 | },
|
43 |
| - "NumberOfNodes": { |
44 |
| - "type": "int", |
45 |
| - "defaultValue": 3, |
46 |
| - "allowedValues": [1,3], |
47 |
| - "metadata": { |
48 |
| - "description": "Number of nodes in the cluster" |
49 |
| - } |
50 |
| - }, |
51 | 62 | "VnetName": {
|
52 | 63 | "type": "string",
|
53 | 64 | "minLength": 1,
|
|
139 | 150 | "description": "The base URL for dependent assets"
|
140 | 151 | },
|
141 | 152 | "minLength": 1,
|
142 |
| - "defaultValue": "https://raw.githubusercontent.com/marklogic/cloud-enablement-azure/11.3.0" |
| 153 | + "defaultValue": "https://raw.githubusercontent.com/marklogic/cloud-enablement-azure/11.3.1" |
143 | 154 | },
|
144 | 155 | "_artifactsLocationSasToken": {
|
145 | 156 | "type": "securestring",
|
|
152 | 163 | "type": "string",
|
153 | 164 | "minLength": 1,
|
154 | 165 | "metadata": {
|
155 |
| - "description": "The location to deploy the cluster" |
| 166 | + "description": "The location to deploy the cluster. (e.g. eastus)" |
156 | 167 | }
|
157 | 168 | }
|
158 | 169 | },
|
159 | 170 | "variables": {
|
160 |
| - "templateVersion": "11.3.0", |
| 171 | + "templateVersion": "11.3.1", |
161 | 172 | "baseUrl": "[replace(parameters('_artifactsLocation'),'/mainTemplate.json','')]",
|
162 | 173 | "templateBaseUrl": "[concat(variables('baseUrl'),'/nestedtemplates/')]",
|
163 | 174 | "scriptBaseUrl": "[concat(variables('baseUrl'),'/scripts/')]",
|
|
166 | 177 | "enableAvailabilitySet": true,
|
167 | 178 | "enableHA": "[if(lessOrEquals(parameters('NumberOfNodes'),1),bool('false'),equals(parameters('HighAvailability'),'enable'))]",
|
168 | 179 | "imageOffer": "marklogic-developer-11",
|
169 |
| - "imageSku": "ml1130_rockylinux8", |
| 180 | + "imageSku": "[if(equals(parameters('ImageType'), 'RockyLinux8'), 'ml1131_rockylinux8', 'ml1131_rockylinux9')]", |
170 | 181 | "templateUrls": {
|
171 | 182 | "availabilitySetTemplateUrl": "[concat(variables('templateBaseUrl'),'availabilitySet.json',parameters('_artifactsLocationSasToken'))]",
|
172 | 183 | "vnetTemplateUrl": "[concat(variables('templateBaseUrl'),'virtualNetwork.json',parameters('_artifactsLocationSasToken'))]",
|
|
0 commit comments