Skip to content

Commit e5375e7

Browse files
Merge pull request #1356 from 50Wliu/make-extension-properties-optional
Make autoUpgradeMinorVersion & protectedSettings optional
2 parents 1a491f7 + f2f1ecd commit e5375e7

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

schemas/2019-07-01/Microsoft.Compute.Extensions.json

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -515,23 +515,23 @@
515515
"settings": {
516516
"type": "object",
517517
"properties": {
518+
"commandToExecute": {
519+
"type": "string"
520+
},
518521
"fileUris": {
519522
"type": "array",
520523
"items": {
521524
"type": "string"
522525
}
523-
},
524-
"commandToExecute": {
525-
"type": "string"
526526
}
527-
},
528-
"required": [
529-
"commandToExecute"
530-
]
527+
}
531528
},
532529
"protectedSettings": {
533530
"type": "object",
534531
"properties": {
532+
"commandToExecute": {
533+
"type": "string"
534+
},
535535
"storageAccountName": {
536536
"type": "string"
537537
},
@@ -544,10 +544,7 @@
544544
"required": [
545545
"publisher",
546546
"type",
547-
"typeHandlerVersion",
548-
"autoUpgradeMinorVersion",
549-
"settings",
550-
"protectedSettings"
547+
"typeHandlerVersion"
551548
]
552549
},
553550
"customScriptForLinux": {
@@ -573,6 +570,9 @@
573570
"settings": {
574571
"type": "object",
575572
"properties": {
573+
"commandToExecute": {
574+
"type": "string"
575+
},
576576
"fileUris": {
577577
"type": "array",
578578
"items": {
@@ -593,19 +593,13 @@
593593
"storageAccountKey": {
594594
"type": "string"
595595
}
596-
},
597-
"required": [
598-
"commandToExecute"
599-
]
596+
}
600597
}
601598
},
602599
"required": [
603600
"publisher",
604601
"type",
605-
"typeHandlerVersion",
606-
"autoUpgradeMinorVersion",
607-
"settings",
608-
"protectedSettings"
602+
"typeHandlerVersion"
609603
]
610604
},
611605
"linuxDiagnostic": {

0 commit comments

Comments
 (0)