Skip to content

Commit

Permalink
Cplat 2023-07-03 (#27590)
Browse files Browse the repository at this point in the history
* add virtualmachineid field and make comment more generic

* remove extra whitespace
  • Loading branch information
tiregan authored Feb 1, 2024
1 parent c0449bd commit 39c1eb0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
},
"storageProfile": {
"source": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}"
"virtualMachineId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}"
}
},
"safetyProfile": {
Expand Down Expand Up @@ -121,7 +121,7 @@
},
"storageProfile": {
"source": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}"
"virtualMachineId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}"
},
"osDiskImage": {
"sizeInGB": 10,
Expand Down Expand Up @@ -206,7 +206,7 @@
},
"storageProfile": {
"source": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}"
"virtualMachineId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}"
},
"osDiskImage": {
"sizeInGB": 10,
Expand Down Expand Up @@ -291,7 +291,7 @@
},
"storageProfile": {
"source": {
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}"
"virtualMachineId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/virtualMachines/{vmName}"
},
"osDiskImage": {
"sizeInGB": 10,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2751,6 +2751,10 @@
"communityGalleryImageId": {
"type": "string",
"description": "The resource Id of the source Community Gallery Image. Only required when using Community Gallery Image as a source."
},
"virtualMachineId": {
"type": "string",
"description": "The resource Id of the source virtual machine. Only required when capturing a virtual machine to source this Gallery Image Version."
}
},
"allOf": [
Expand All @@ -2764,7 +2768,7 @@
"properties": {
"id": {
"type": "string",
"description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource."
"description": "The id of the gallery artifact version source."
}
},
"description": "The gallery artifact version source."
Expand Down

0 comments on commit 39c1eb0

Please sign in to comment.