Skip to content

Commit 2933cfc

Browse files
committed
R2025b release!
1 parent b63bb4c commit 2933cfc

15 files changed

Lines changed: 101 additions & 3836 deletions

releases/R2023b/azuredeploy-R2023b-test.json

Lines changed: 0 additions & 569 deletions
This file was deleted.

releases/R2023b/azuredeploy-R2023b.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,13 @@
107107
"metadata": {
108108
"description": "Flag indicating whether instance autoscaling is enabled. For more information about autoscaling, refer to the 'Use Autoscaling' section in the deployment README."
109109
}
110+
},
111+
"imageID": {
112+
"type": "String",
113+
"defaultValue": "",
114+
"metadata": {
115+
"description": "Optional Resource ID of a custom managed image in the target region. To use a prebuilt MathWorks image instead, leave this field empty. If you customize the build, for example by removing or modifying the included scripts, this can make the image incompatible with the provided ARM template. To ensure compatibility, modify the ARM template or image accordingly."
116+
}
110117
}
111118
},
112119
"variables": {
@@ -127,12 +134,16 @@
127134
"offer": "matlab-parallel-server-ref-arch-vm-win-offer",
128135
"sku": "matlab-parallel-server-ref-arch-r2023b-vm-win-sku",
129136
"version": "1.0.0",
130-
"imageReference": {
137+
"imageResourceID": {
138+
"id": "[parameters('imageID')]"
139+
},
140+
"defaultImageReference": {
131141
"publisher": "[variables('publisher')]",
132142
"offer": "[variables('offer')]",
133143
"sku": "[variables('sku')]",
134144
"version": "[variables('version')]"
135145
},
146+
"imageReference": "[if(empty(parameters('imageId')), variables('defaultImageReference'), variables('imageResourceID'))]",
136147
"plan": {
137148
"name": "[variables('sku')]",
138149
"publisher": "[variables('publisher')]",
@@ -358,7 +369,7 @@
358369
"[resourceId('Microsoft.Storage/storageAccounts/', variables('storageAccountName'))]"
359370
],
360371
"tags": "[variables('tagsForAll')]",
361-
"plan": "[variables('plan')]",
372+
"plan": "[if(empty(parameters('imageId')), variables('plan') , null())]",
362373
"identity": {
363374
"type": "SystemAssigned"
364375
},
@@ -467,7 +478,7 @@
467478
"tier": "Standard",
468479
"capacity": "[parameters('numWorkerNodes')]"
469480
},
470-
"plan": "[variables('plan')]",
481+
"plan": "[if(empty(parameters('imageId')), variables('plan') , null())]",
471482
"properties": {
472483
"overprovision": false,
473484
"upgradepolicy": {

releases/R2023b/azuredeploy-existing-vnet-R2023b-test.json

Lines changed: 0 additions & 582 deletions
This file was deleted.

releases/R2023b/azuredeploy-existing-vnet-R2023b.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,13 @@
120120
"metadata": {
121121
"description": "Flag indicating whether instance autoscaling is enabled. For more information about autoscaling, refer to the 'Use Autoscaling' section in the deployment README."
122122
}
123+
},
124+
"imageID": {
125+
"type": "String",
126+
"defaultValue": "",
127+
"metadata": {
128+
"description": "Optional Resource ID of a custom managed image in the target region. To use a prebuilt MathWorks image instead, leave this field empty. If you customize the build, for example by removing or modifying the included scripts, this can make the image incompatible with the provided ARM template. To ensure compatibility, modify the ARM template or image accordingly."
129+
}
123130
}
124131
},
125132
"variables": {
@@ -140,12 +147,16 @@
140147
"offer": "matlab-parallel-server-ref-arch-vm-win-offer",
141148
"sku": "matlab-parallel-server-ref-arch-r2023b-vm-win-sku",
142149
"version": "1.0.0",
143-
"imageReference": {
150+
"imageResourceID": {
151+
"id": "[parameters('imageID')]"
152+
},
153+
"defaultImageReference": {
144154
"publisher": "[variables('publisher')]",
145155
"offer": "[variables('offer')]",
146156
"sku": "[variables('sku')]",
147157
"version": "[variables('version')]"
148158
},
159+
"imageReference": "[if(empty(parameters('imageId')), variables('defaultImageReference'), variables('imageResourceID'))]",
149160
"plan": {
150161
"name": "[variables('sku')]",
151162
"publisher": "[variables('publisher')]",
@@ -371,7 +382,7 @@
371382
"[resourceId('Microsoft.Storage/storageAccounts/', variables('storageAccountName'))]"
372383
],
373384
"tags": "[variables('tagsForAll')]",
374-
"plan": "[variables('plan')]",
385+
"plan": "[if(empty(parameters('imageId')), variables('plan') , null())]",
375386
"identity": {
376387
"type": "SystemAssigned"
377388
},
@@ -480,7 +491,7 @@
480491
"tier": "Standard",
481492
"capacity": "[parameters('numWorkerNodes')]"
482493
},
483-
"plan": "[variables('plan')]",
494+
"plan": "[if(empty(parameters('imageId')), variables('plan') , null())]",
484495
"properties": {
485496
"overprovision": false,
486497
"upgradepolicy": {

releases/R2024a/azuredeploy-R2024a-test.json

Lines changed: 0 additions & 629 deletions
This file was deleted.

releases/R2024a/azuredeploy-R2024a.json

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"minValue": 0,
7979
"maxValue": 1023,
8080
"metadata": {
81-
"description": "Size in GB of the volume to store the database files. All job and task information, including input and output data is stored on this volume and should therefore have enough capacity to store the expected amount of data. If set to 0, no volume is created and the root volume of the VM is used for the database."
81+
"description": "Size in GB of the volume to store the database files. All job and task information, including input and output data, is stored on this volume and so it must have enough capacity to store the expected amount of data. If set to 0, no volume is created and the root volume of the VM is used for the database."
8282
}
8383
},
8484
"clientIPAddress": {
@@ -148,6 +148,13 @@
148148
"metadata": {
149149
"description": "Provide an optional inline PowerShell command to run on machine launch. For example, to set an environment variable CLOUD=AZURE, use this command excluding the angle brackets: <[System.Environment]::SetEnvironmentVariable(\"CLOUD\",\"AZURE\", \"Machine\");>. You can use either double quotes or two single quotes. To run an external script, use this command excluding the angle brackets: <Invoke-WebRequest \"https://www.example.com/script.ps1\" -OutFile script.ps1; .\\script.ps1>. Find the logs at '$Env:ProgramData\\MathWorks\\startup.log'."
150150
}
151+
},
152+
"imageID": {
153+
"type": "String",
154+
"defaultValue": "",
155+
"metadata": {
156+
"description": "Optional Resource ID of a custom managed image in the target region. To use a prebuilt MathWorks image instead, leave this field empty. If you customize the build, for example by removing or modifying the included scripts, this can make the image incompatible with the provided ARM template. To ensure compatibility, modify the ARM template or image accordingly."
157+
}
151158
}
152159
},
153160
"variables": {
@@ -172,12 +179,16 @@
172179
"offer": "matlab-parallel-server-ref-arch-vm-win-offer",
173180
"sku": "matlab-parallel-server-ref-arch-r2024a-vm-win-sku",
174181
"version": "1.0.1",
175-
"imageReference": {
182+
"imageResourceID": {
183+
"id": "[parameters('imageID')]"
184+
},
185+
"defaultImageReference": {
176186
"publisher": "[variables('publisher')]",
177187
"offer": "[variables('offer')]",
178188
"sku": "[variables('sku')]",
179189
"version": "[variables('version')]"
180190
},
191+
"imageReference": "[if(empty(parameters('imageId')), variables('defaultImageReference'), variables('imageResourceID'))]",
181192
"plan": {
182193
"name": "[variables('sku')]",
183194
"publisher": "[variables('publisher')]",
@@ -407,7 +418,7 @@
407418
"[resourceId('Microsoft.Storage/storageAccounts/', variables('storageAccountName'))]"
408419
],
409420
"tags": "[variables('tagsForAll')]",
410-
"plan": "[variables('plan')]",
421+
"plan": "[if(empty(parameters('imageId')), variables('plan') , null())]",
411422
"identity": {
412423
"type": "SystemAssigned"
413424
},
@@ -516,7 +527,7 @@
516527
"tier": "Standard",
517528
"capacity": "[parameters('numWorkerNodes')]"
518529
},
519-
"plan": "[variables('plan')]",
530+
"plan": "[if(empty(parameters('imageId')), variables('plan') , null())]",
520531
"properties": {
521532
"overprovision": false,
522533
"upgradepolicy": {

0 commit comments

Comments
 (0)