File tree Expand file tree Collapse file tree
src/services/virtualMachine Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,8 +50,15 @@ export default ({
5050 resourceGroupId,
5151 Tags,
5252 } = service
53- const storageImageReference : AzureVirtualMachineStorageImageReference =
54- imageReference || { }
53+ const {
54+ id : imageReferenceId ,
55+ exactVersion,
56+ offer,
57+ sku,
58+ publisher,
59+ version,
60+ sharedGalleryImageId,
61+ } : AzureVirtualMachineStorageImageReference = imageReference
5562 return {
5663 id,
5764 subscriptionId : account ,
@@ -78,7 +85,15 @@ export default ({
7885 allowExtensionOperations,
7986 requireGuestProvisionSignal,
8087 } ,
81- storageImageReference,
88+ storageImageReference : {
89+ id : imageReferenceId ,
90+ exactVersion,
91+ offer,
92+ sku,
93+ publisher,
94+ version,
95+ sharedGalleryImageId,
96+ } ,
8297 bootDiagnostics,
8398 licenseType,
8499 resourceGroupId,
You can’t perform that action at this time.
0 commit comments