Skip to content

Commit abd58c5

Browse files
vramanatMWEshan Patel
authored andcommitted
R2025b release!
1 parent e747a36 commit abd58c5

13 files changed

Lines changed: 86 additions & 3466 deletions
-4.32 KB
Loading

img/Resource_Group_Delete.png

2.29 KB
Loading

releases/R2023b/azuredeploy-R2023b-test.json

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

releases/R2023b/azuredeploy-R2023b.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,13 @@
114114
"metadata": {
115115
"description": "Provide an optional inline shell command to run on machine launch. For example, to set an environment variable CLOUD=AZURE, use this command excluding the angle brackets: <echo -e \"export CLOUD=AZURE\" | sudo tee -a /etc/profile.d/setenvvar.sh && source /etc/profile>. To run an external script, use this command excluding the angle brackets: <wget -O /tmp/my-script.sh \"https://example.com/script.sh\" && bash /tmp/my-script.sh>. Find the logs at '/var/log/mathworks.log'."
116116
}
117+
},
118+
"imageID": {
119+
"type": "String",
120+
"defaultValue": "",
121+
"metadata": {
122+
"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."
123+
}
117124
}
118125
},
119126
"variables": {
@@ -134,12 +141,16 @@
134141
"offer": "matlab-parallel-server-ref-arch-vm-offer",
135142
"sku": "matlab-parallel-server-ref-arch-r2023b-vm-sku",
136143
"version": "1.0.0",
137-
"imageReference": {
144+
"imageResourceID": {
145+
"id": "[parameters('imageID')]"
146+
},
147+
"defaultImageReference": {
138148
"publisher": "[variables('publisher')]",
139149
"offer": "[variables('offer')]",
140150
"sku": "[variables('sku')]",
141151
"version": "[variables('version')]"
142152
},
153+
"imageReference": "[if(empty(parameters('imageId')), variables('defaultImageReference'), variables('imageResourceID'))]",
143154
"plan": {
144155
"name": "[variables('sku')]",
145156
"publisher": "[variables('publisher')]",
@@ -369,7 +380,7 @@
369380
"[resourceId('Microsoft.Storage/storageAccounts/', variables('storageAccountName'))]"
370381
],
371382
"tags": "[variables('tagsForAll')]",
372-
"plan": "[variables('plan')]",
383+
"plan": "[if(empty(parameters('imageId')), variables('plan') , null())]",
373384
"identity": {
374385
"type": "SystemAssigned"
375386
},
@@ -454,7 +465,7 @@
454465
"tier": "Standard",
455466
"capacity": "[parameters('numWorkerNodes')]"
456467
},
457-
"plan": "[variables('plan')]",
468+
"plan": "[if(empty(parameters('imageId')), variables('plan') , null())]",
458469
"properties": {
459470
"overprovision": false,
460471
"upgradepolicy": {

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

Lines changed: 0 additions & 554 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
@@ -127,6 +127,13 @@
127127
"metadata": {
128128
"description": "Provide an optional inline shell command to run on machine launch. For example, to set an environment variable CLOUD=AZURE, use this command excluding the angle brackets: <echo -e \"export CLOUD=AZURE\" | sudo tee -a /etc/profile.d/setenvvar.sh && source /etc/profile>. To run an external script, use this command excluding the angle brackets: <wget -O /tmp/my-script.sh \"https://example.com/script.sh\" && bash /tmp/my-script.sh>. Find the logs at '/var/log/mathworks.log'."
129129
}
130+
},
131+
"imageID": {
132+
"type": "String",
133+
"defaultValue": "",
134+
"metadata": {
135+
"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."
136+
}
130137
}
131138
},
132139
"variables": {
@@ -147,12 +154,16 @@
147154
"offer": "matlab-parallel-server-ref-arch-vm-offer",
148155
"sku": "matlab-parallel-server-ref-arch-r2023b-vm-sku",
149156
"version": "1.0.0",
150-
"imageReference": {
157+
"imageResourceID": {
158+
"id": "[parameters('imageID')]"
159+
},
160+
"defaultImageReference": {
151161
"publisher": "[variables('publisher')]",
152162
"offer": "[variables('offer')]",
153163
"sku": "[variables('sku')]",
154164
"version": "[variables('version')]"
155165
},
166+
"imageReference": "[if(empty(parameters('imageId')), variables('defaultImageReference'), variables('imageResourceID'))]",
156167
"plan": {
157168
"name": "[variables('sku')]",
158169
"publisher": "[variables('publisher')]",
@@ -382,7 +393,7 @@
382393
"[resourceId('Microsoft.Storage/storageAccounts/', variables('storageAccountName'))]"
383394
],
384395
"tags": "[variables('tagsForAll')]",
385-
"plan": "[variables('plan')]",
396+
"plan": "[if(empty(parameters('imageId')), variables('plan') , null())]",
386397
"identity": {
387398
"type": "SystemAssigned"
388399
},
@@ -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": {

0 commit comments

Comments
 (0)