|
78 | 78 | },
|
79 | 79 | "centosVersion": {
|
80 | 80 | "type": "string",
|
81 |
| - "defaultValue": "7.4", |
| 81 | + "defaultValue": "7_9", |
82 | 82 | "metadata": {
|
83 |
| - "description": "The CentOS version for deploying the Docker containers. This will pick a fully patched image of this given CentOS version. Allowed values: 7.2, 7.3, 7.4" |
| 83 | + "description": "The CentOS version for deploying the Docker containers. This will pick a fully patched image of this given CentOS version. Allowed values: 7.9" |
84 | 84 | },
|
85 | 85 | "allowedValues": [
|
86 |
| - "7.2", |
87 |
| - "7.3", |
88 |
| - "7.4" |
| 86 | + "7_9" |
89 | 87 | ]
|
90 | 88 | },
|
91 | 89 | "maxNumberOfClientConnections": {
|
|
116 | 114 | },
|
117 | 115 | "messageRoutingNodeVmSize": {
|
118 | 116 | "type": "string",
|
119 |
| - "defaultValue": "Standard_D2_v2", |
| 117 | + "defaultValue": "Standard_D2_v3", |
120 | 118 | "metadata": {
|
121 |
| - "description": "The size of a PubSub+ broker message routing node VM. Important: ensure adequate CPU and Memory resources are available to support the selected broker system scaling parameters. For requirements check https://docs.solace.com/." |
| 119 | + "description": "The size of a PubSub+ broker message routing node VM. Important: ensure adequate CPU and Memory resources are available to support the selected broker system scaling parameters. For requirements check the resource calculator at https://docs.solace.com/Assistance-Tools/Resource-Calculator/pubsubplus-resource-calculator.html." |
122 | 120 | },
|
123 | 121 | "allowedValues": [
|
124 |
| - "Standard_D1_v2", |
125 |
| - "Standard_D2_v2", |
126 |
| - "Standard_D3_v2", |
127 |
| - "Standard_D4_v2", |
128 |
| - "Standard_D5_v2", |
129 | 122 | "Standard_D2_v3",
|
130 | 123 | "Standard_D4_v3",
|
131 | 124 | "Standard_D8_v3",
|
132 | 125 | "Standard_D16_v3",
|
133 |
| - "Standard_DS1_v2", |
134 |
| - "Standard_DS2_v2", |
135 |
| - "Standard_DS3_v2", |
136 |
| - "Standard_DS4_v2", |
137 |
| - "Standard_DS5_v2" |
| 126 | + "Standard_D2s_v3", |
| 127 | + "Standard_D4s_v3", |
| 128 | + "Standard_D8s_v3", |
| 129 | + "Standard_D16s_v3" |
138 | 130 | ]
|
139 | 131 | },
|
140 | 132 | "monitorNodeVmSize": {
|
141 | 133 | "type": "string",
|
142 |
| - "defaultValue": "Standard_D1_v2", |
| 134 | + "defaultValue": "Standard_D2_v3", |
143 | 135 | "metadata": {
|
144 |
| - "description": "The size of the PubSub+ monitor node VM in a High Availabity deployment. For requirements check https://docs.solace.com/." |
| 136 | + "description": "The size of the PubSub+ monitor node VM in a High Availabity deployment. For requirements check the resource calculator at https://docs.solace.com/Assistance-Tools/Resource-Calculator/pubsubplus-resource-calculator.html." |
145 | 137 | },
|
146 | 138 | "allowedValues": [
|
147 |
| - "Standard_D1_v2", |
148 |
| - "Standard_DS1_v2", |
149 |
| - "Standard_D2_v2", |
150 |
| - "Standard_DS2_v2", |
151 |
| - "Standard_D2_v3" |
| 139 | + "Standard_D2_v3", |
| 140 | + "Standard_D2s_v3" |
152 | 141 | ]
|
153 | 142 | },
|
154 | 143 | "dataDiskSize": {
|
155 | 144 | "type": "string",
|
156 | 145 | "defaultValue": "0",
|
157 | 146 | "metadata": {
|
158 |
| - "description": "The size of the data disk in GB for diagnostics and message spooling on the Solace Message Routing Nodes. For requirements check https://docs.solace.com/." |
| 147 | + "description": "The size of the data disk in GB for diagnostics and message spooling on the Solace Message Routing Nodes. For requirements check the resource calculator at https://docs.solace.com/Assistance-Tools/Resource-Calculator/pubsubplus-resource-calculator.html." |
159 | 148 | },
|
160 | 149 | "allowedValues": [
|
161 | 150 | "0",
|
|
231 | 220 | "metadata": {
|
232 | 221 | "description": "The base URI where artifacts required by this template are located."
|
233 | 222 | },
|
234 |
| - "defaultValue": "https://raw.githubusercontent.com/SolaceProducts/pubsubplus-azure-quickstart-template/master/" |
| 223 | + "defaultValue": "[deployment().properties.templatelink.uri]" |
235 | 224 | },
|
236 | 225 | "_artifactsLocationSasToken": {
|
237 | 226 | "type": "securestring",
|
|
246 | 235 | "platformFaultDomainCount": "[parameters('numberOfFaultDomains')]",
|
247 | 236 | "platformUpdateDomainCount": "[if(equals(parameters('numberOfFaultDomains'), 1), 1, 3)]",
|
248 | 237 | "imagePublisher": "OpenLogic",
|
249 |
| - "imageOffer": "Centos", |
| 238 | + "imageOffer": "CentOS", |
250 | 239 | "nestedTemplatesLocation": "nestedtemplates/",
|
251 |
| - "solaceSecurityName": "SolaceSecurity.Template", |
| 240 | + "solaceSecurityTemplateName": "SolaceSecurity.Template", |
252 | 241 | "securitySharedTemplateName": "security-shared-resources.json",
|
253 | 242 | "securitySharedTemplateUri": "[uri(parameters('_artifactsLocation'), concat(variables('nestedTemplatesLocation'), variables('securitySharedTemplateName'), parameters('_artifactsLocationSasToken')))]",
|
254 | 243 | "solaceLoadBalancerName": "SolaceLoadBalancer.Template",
|
|
288 | 277 | "caching": "ReadWrite",
|
289 | 278 | "createOption": "Empty",
|
290 | 279 | "managedDisk": {
|
291 |
| - "storageAccountType": "Standard_LRS" |
| 280 | + "storageAccountType": "StandardSSD_LRS" |
292 | 281 | }
|
293 | 282 | }
|
294 | 283 | ],
|
|
300 | 289 | "caching": "ReadWrite",
|
301 | 290 | "createOption": "Empty",
|
302 | 291 | "managedDisk": {
|
303 |
| - "storageAccountType": "Standard_LRS" |
| 292 | + "storageAccountType": "StandardSSD_LRS" |
304 | 293 | }
|
305 | 294 | }
|
306 | 295 | ],
|
|
311 | 300 | },
|
312 | 301 | "resources": [
|
313 | 302 | {
|
314 |
| - "apiVersion": "2019-10-01", |
| 303 | + "apiVersion": "2021-04-01", |
315 | 304 | "type": "Microsoft.Resources/deployments",
|
316 |
| - "name": "[variables('solaceSecurityName')]", |
| 305 | + "name": "[variables('solaceSecurityTemplateName')]", |
317 | 306 | "properties": {
|
318 | 307 | "mode": "Incremental",
|
319 | 308 | "templateLink": {
|
|
334 | 323 | }
|
335 | 324 | },
|
336 | 325 | {
|
337 |
| - "apiVersion": "2019-10-01", |
| 326 | + "apiVersion": "2021-04-01", |
338 | 327 | "type": "Microsoft.Resources/deployments",
|
339 | 328 | "name": "[variables('solaceLoadBalancerName')]",
|
340 | 329 | "properties": {
|
|
373 | 362 | },
|
374 | 363 | {
|
375 | 364 | "condition": "[not(empty(parameters('workspaceName')))]",
|
376 |
| - "apiVersion": "2019-10-01", |
| 365 | + "apiVersion": "2021-04-01", |
377 | 366 | "type": "Microsoft.Resources/deployments",
|
378 | 367 | "name": "[variables('solaceWorkspaceName')]",
|
379 | 368 | "properties": {
|
|
394 | 383 | },
|
395 | 384 | {
|
396 | 385 | "condition": "[equals(parameters('vmAndLoadbalancerExposure'),'Public')]",
|
397 |
| - "apiVersion": "2020-04-01", |
| 386 | + "apiVersion": "2021-05-01", |
398 | 387 | "type": "Microsoft.Network/publicIPAddresses",
|
399 | 388 | "name": "[concat(variables('publicIPAddressNameVM'), copyindex())]",
|
400 | 389 | "location": "[parameters('location')]",
|
|
411 | 400 | },
|
412 | 401 | {
|
413 | 402 | "condition": "[empty(parameters('existingSubnetName'))]",
|
414 |
| - "apiVersion": "2020-04-01", |
| 403 | + "apiVersion": "2021-05-01", |
415 | 404 | "type": "Microsoft.Network/virtualNetworks",
|
416 | 405 | "name": "[variables('virtualNetworkName')]",
|
417 | 406 | "location": "[parameters('location')]",
|
|
432 | 421 | }
|
433 | 422 | },
|
434 | 423 | {
|
435 |
| - "apiVersion": "2019-10-01", |
| 424 | + "apiVersion": "2021-04-01", |
436 | 425 | "name": "[variables('solaceUpdateSubnetName')]",
|
437 | 426 | "type": "Microsoft.Resources/deployments",
|
438 | 427 | "dependsOn": [
|
439 |
| - "[concat('Microsoft.Resources/deployments/', variables('solaceSecurityName'))]" |
| 428 | + "[concat('Microsoft.Resources/deployments/', variables('solaceSecurityTemplateName'))]" |
440 | 429 | ],
|
441 | 430 | "properties": {
|
442 | 431 | "mode": "Incremental",
|
|
466 | 455 | {
|
467 | 456 | "condition": "[equals(parameters('vmAndLoadbalancerExposure'),'Public')]",
|
468 | 457 | "comments": "Only created if network interfaces are to be publicly exposed. Otherwise the next resource is created.",
|
469 |
| - "apiVersion": "2020-04-01", |
| 458 | + "apiVersion": "2021-05-01", |
470 | 459 | "type": "Microsoft.Network/networkInterfaces",
|
471 | 460 | "name": "[concat('Public',variables('nicName'), copyindex())]",
|
472 | 461 | "location": "[parameters('location')]",
|
|
506 | 495 | },
|
507 | 496 | {
|
508 | 497 | "condition": "[not(equals(parameters('vmAndLoadbalancerExposure'),'Public'))]",
|
509 |
| - "apiVersion": "2020-04-01", |
| 498 | + "apiVersion": "2021-05-01", |
510 | 499 | "type": "Microsoft.Network/networkInterfaces",
|
511 | 500 | "name": "[concat('Internal',variables('nicName'), copyindex())]",
|
512 | 501 | "location": "[parameters('location')]",
|
|
541 | 530 | }
|
542 | 531 | },
|
543 | 532 | {
|
544 |
| - "apiVersion": "2019-12-01", |
| 533 | + "apiVersion": "2021-07-01", |
545 | 534 | "type": "Microsoft.Compute/availabilitySets",
|
546 | 535 | "name": "[variables('availabilitySetName')]",
|
547 | 536 | "location": "[parameters('location')]",
|
|
554 | 543 | }
|
555 | 544 | },
|
556 | 545 | {
|
557 |
| - "apiVersion":"2019-12-01", |
| 546 | + "apiVersion":"2021-07-01", |
558 | 547 | "type": "Microsoft.Compute/virtualMachines",
|
559 | 548 | "name": "[concat(parameters('dnsLabelForVmIp'), copyindex())]",
|
560 | 549 | "location": "[parameters('location')]",
|
|
602 | 591 | }
|
603 | 592 | },
|
604 | 593 | {
|
605 |
| - "apiVersion": "2019-12-01", |
| 594 | + "apiVersion": "2021-07-01", |
606 | 595 | "type": "Microsoft.Compute/virtualMachines/extensions",
|
607 | 596 | "name": "[concat(parameters('dnsLabelForVmIp'), copyindex(), '/DockerExtension')]",
|
608 | 597 | "location": "[parameters('location')]",
|
|
623 | 612 | },
|
624 | 613 | {
|
625 | 614 | "condition": "[not(empty(parameters('workspaceName')))]",
|
626 |
| - "apiVersion": "2019-12-01", |
| 615 | + "apiVersion": "2021-07-01", |
627 | 616 | "type": "Microsoft.Compute/virtualMachines/extensions",
|
628 | 617 | "name": "[concat(parameters('dnsLabelForVmIp'), copyindex(), '/OmsAgentExtension')]",
|
629 | 618 | "location": "[parameters('location')]",
|
|
648 | 637 | }
|
649 | 638 | },
|
650 | 639 | {
|
651 |
| - "apiVersion": "2019-12-01", |
| 640 | + "apiVersion": "2021-07-01", |
652 | 641 | "type": "Microsoft.Compute/virtualMachines/extensions",
|
653 | 642 | "name": "[concat(parameters('dnsLabelForVmIp'), copyindex(), '/configureSolaceContainer')]",
|
654 | 643 | "location": "[parameters('location')]",
|
|
672 | 661 | },
|
673 | 662 | "protectedSettings": {
|
674 | 663 | "commandToExecute": "[concat('mkdir -p -m 770 ', variables('adminPasswordDir'), '; echo ', parameters('solaceAdminPassword'), ' > ', variables('adminPasswordFile'), '; bash ', variables('solaceInstallScriptName'), ' -c ', copyindex(), ' -d ', parameters('dnsLabelForVmIp'), ' -i ', variables('numberOfInstances'), ' -p ', variables('adminPasswordFile'), ' -n ', parameters('maxNumberOfClientConnections'), ' -q ', parameters('maxNumberOfQueueMessages'), ' -s ', if(equals(copyindex(), variables('monitorNodeIndex')), '0', parameters('dataDiskSize')), if(empty(parameters('workspaceName')), '', concat(' -w ', reference(variables('solaceWorkspaceName')).outputs.workspaceId.value)), ' -u ', parameters('brokerDockerImageReference'))]"
|
675 |
| - } |
| 664 | + } |
676 | 665 | }
|
677 | 666 | }
|
678 | 667 | ]
|
679 | 668 | }
|
| 669 | + |
0 commit comments