Skip to content

Commit

Permalink
Added example to 2019-07 version (#7829)
Browse files Browse the repository at this point in the history
  • Loading branch information
vamuzumd authored and erich-wang committed Nov 22, 2019
1 parent ef5bff5 commit 381b06c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2673,7 +2673,7 @@
"VirtualMachines"
],
"operationId": "VirtualMachines_Generalize",
"description": "Sets the state of the virtual machine to generalized.",
"description": "Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation",
"parameters": [
{
"name": "resourceGroupName",
Expand All @@ -2700,7 +2700,13 @@
"200": {
"description": "OK"
}
},
"x-ms-examples": {
"Generalize a Virtual Machine.": {
"$ref": "./examples/GeneralizeVirtualMachine.json"
}
}

}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"parameters": {
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2019-07-01",
"vmName": "myVMName"
},
"responses": {
"200": {}
}
}

0 comments on commit 381b06c

Please sign in to comment.