Skip to content

Commit 93665b8

Browse files
authored
Update properties for VMApps, CRP (#18609)
* saving work * ran prettier * fix LintDiff, SpellCheck * reverted changes made to gallery.json. The changes to gallery.json will be part of separate PR.
1 parent 1aaece9 commit 93665b8

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/computeRPCommon.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,6 +1113,14 @@
11131113
"configurationReference": {
11141114
"type": "string",
11151115
"description": "Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided"
1116+
},
1117+
"treatFailureAsDeploymentFailure": {
1118+
"type": "boolean",
1119+
"description": "Optional, If true, any failure for any operation in the VmApplication will fail the deployment"
1120+
},
1121+
"enableAutomaticUpgrade": {
1122+
"type": "boolean",
1123+
"description": "If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS"
11161124
}
11171125
},
11181126
"required": [

specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
"tags": "myTag1",
3333
"order": 1,
3434
"packageReferenceId": "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdb/resourceGroups/myresourceGroupName2/providers/Microsoft.Compute/galleries/myGallery1/applications/MyApplication1/versions/1.0",
35-
"configurationReference": "https://mystorageaccount.blob.core.windows.net/configurations/settings.config"
35+
"configurationReference": "https://mystorageaccount.blob.core.windows.net/configurations/settings.config",
36+
"treatFailureAsDeploymentFailure": false,
37+
"enableAutomaticUpgrade": false
3638
},
3739
{
3840
"packageReferenceId": "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1"

specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/examples/virtualMachineScaleSetExamples/VirtualMachineScaleSet_Create_WithApplicationProfile.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535
"tags": "myTag1",
3636
"order": 1,
3737
"packageReferenceId": "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdb/resourceGroups/myresourceGroupName2/providers/Microsoft.Compute/galleries/myGallery1/applications/MyApplication1/versions/1.0",
38-
"configurationReference": "https://mystorageaccount.blob.core.windows.net/configurations/settings.config"
38+
"configurationReference": "https://mystorageaccount.blob.core.windows.net/configurations/settings.config",
39+
"treatFailureAsDeploymentFailure": true,
40+
"enableAutomaticUpgrade": false
3941
},
4042
{
4143
"packageReferenceId": "/subscriptions/32c17a9e-aa7b-4ba5-a45b-e324116b6fdg/resourceGroups/myresourceGroupName3/providers/Microsoft.Compute/galleries/myGallery2/applications/MyApplication2/versions/1.1"

0 commit comments

Comments
 (0)