You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specification/imagebuilder/resource-manager/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/imagebuilder.json
+19-4Lines changed: 19 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -592,7 +592,7 @@
592
592
]
593
593
},
594
594
"ImageTemplateShellCustomizer": {
595
-
"description": "Runs a shell script during the customization phase (Linux)",
595
+
"description": "Runs a shell script during the customization phase (Linux). Corresponds to Packer shell provisioner. Exactly one of 'script' or 'inline' can be specified.",
596
596
"x-ms-discriminator-value": "Shell",
597
597
"allOf": [
598
598
{
@@ -603,6 +603,13 @@
603
603
"script": {
604
604
"type": "string",
605
605
"description": "The shell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc"
606
+
},
607
+
"inline": {
608
+
"type": "array",
609
+
"description": "Array of shell commands to execute",
610
+
"items": {
611
+
"type": "string"
612
+
}
606
613
}
607
614
}
608
615
},
@@ -630,7 +637,7 @@
630
637
}
631
638
},
632
639
"ImageTemplatePowerShellCustomizer": {
633
-
"description": "Runs the specified PowerShell on the VM (Windows). Corresponds to Packer powershell provisioner",
640
+
"description": "Runs the specified PowerShell on the VM (Windows). Corresponds to Packer powershell provisioner. Exactly one of 'script' or 'inline' can be specified.",
634
641
"x-ms-discriminator-value": "PowerShell",
635
642
"allOf": [
636
643
{
@@ -642,8 +649,16 @@
642
649
"type": "string",
643
650
"description": "The PowerShell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, etc"
644
651
},
652
+
"inline": {
653
+
"type": "array",
654
+
"description": "Array of PowerShell commands to execute",
655
+
"items": {
656
+
"type": "string"
657
+
}
658
+
},
645
659
"validExitCodes" : {
646
660
"type": "array",
661
+
"description": "Valid exit codes for the PowerShell script. [Default: 0]",
647
662
"items": {
648
663
"type": "integer"
649
664
}
@@ -857,9 +872,9 @@
857
872
"type": "string",
858
873
"description": "The resource id of the artifact."
859
874
},
860
-
"artifactLocation": {
875
+
"artifactUri": {
861
876
"type": "string",
862
-
"description": "The URL location of the artifact."
877
+
"description": "The location URI of the artifact."
0 commit comments