-
Notifications
You must be signed in to change notification settings - Fork 5.5k
VMGuestPatch Updates: Updated patch status in VMInstanceView, properties in AssessPatches API and patch settings in Windows and Linux Configuration in VMModel #11768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
fengzhou-msft
merged 13 commits into
Azure:compute-2020-12
from
rane-rajasi:rarane-vmguestpatchupdates
Dec 1, 2020
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
0420ce7
Updated patch status in VMInstanceView, few properties in AssessPatch…
rane-rajasi 89ee1bc
updating enum value for hotPatchEnablementStatus in VirtualMachinePat…
rane-rajasi adb19b9
fix for spellcheck failure
rane-rajasi d4982e6
Merge branch 'compute-2020-12' of https://github.com/Azure/azure-rest…
rane-rajasi 8f2b319
Adding more custom words to fix spell check failures
rane-rajasi 7f30866
Addressing PR comments
rane-rajasi c150894
Merge branch 'compute-2020-12' of https://github.com/Azure/azure-rest…
rane-rajasi 4ce5f3b
Fixing spellcheck failures
rane-rajasi 59306f8
Addressing PR comments
rane-rajasi 26c0e29
Addressing PR comments
rane-rajasi 17b92b7
Removing hotPatchStatus added earlier in this PR under patchStatus in…
rane-rajasi c39b647
Removing hotpatch which is now unused from custom-words
rane-rajasi e5203b0
Resolving merge conflicts with compute-2020-12
rane-rajasi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -720,6 +720,7 @@ hierarchyid | |
hivevar | ||
HKEY | ||
homepagetest | ||
hotpatching | ||
Horovod | ||
hostnames | ||
Hotfix | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
163 changes: 163 additions & 0 deletions
163
...e/stable/2020-12-01/examples/CreateALinuxVmWithPatchSettingModeOfAutomaticByPlatform.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"vmName": "myVM", | ||
"api-version": "2020-12-01", | ||
"parameters": { | ||
"location": "westus", | ||
"properties": { | ||
"hardwareProfile": { | ||
"vmSize": "Standard_D2s_v3" | ||
}, | ||
"storageProfile": { | ||
"imageReference": { | ||
"sku": "16.04-LTS", | ||
"publisher": "Canonical", | ||
"version": "latest", | ||
"offer": "UbuntuServer" | ||
}, | ||
"osDisk": { | ||
"caching": "ReadWrite", | ||
"managedDisk": { | ||
"storageAccountType": "Premium_LRS" | ||
}, | ||
"name": "myVMosdisk", | ||
"createOption": "FromImage" | ||
} | ||
}, | ||
"osProfile": { | ||
"adminUsername": "{your-username}", | ||
"computerName": "myVM", | ||
"adminPassword": "{your-password}", | ||
"linuxConfiguration": { | ||
"provisionVMAgent": true, | ||
"patchSettings": { | ||
"patchMode": "AutomaticByPlatform" | ||
} | ||
} | ||
}, | ||
"networkProfile": { | ||
"networkInterfaces": [ | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}", | ||
"properties": { | ||
"primary": true | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", | ||
"type": "Microsoft.Compute/virtualMachines", | ||
"properties": { | ||
"osProfile": { | ||
"adminUsername": "{your-username}", | ||
"secrets": [], | ||
"computerName": "myVM", | ||
"linuxConfiguration": { | ||
"provisionVMAgent": true, | ||
"patchSettings": { | ||
"patchMode": "AutomaticByPlatform" | ||
} | ||
} | ||
}, | ||
"networkProfile": { | ||
"networkInterfaces": [ | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic", | ||
"properties": { | ||
"primary": true | ||
} | ||
} | ||
] | ||
}, | ||
"storageProfile": { | ||
"imageReference": { | ||
"sku": "16.04-LTS", | ||
"publisher": "Canonical", | ||
"version": "latest", | ||
"offer": "UbuntuServer" | ||
}, | ||
"osDisk": { | ||
"osType": "Linux", | ||
"caching": "ReadWrite", | ||
"createOption": "FromImage", | ||
"name": "myVMosdisk", | ||
"managedDisk": { | ||
"storageAccountType": "Premium_LRS" | ||
} | ||
}, | ||
"dataDisks": [] | ||
}, | ||
"vmId": "a149cd25-409f-41af-8088-275f5486bc93", | ||
"hardwareProfile": { | ||
"vmSize": "Standard_D2s_v3" | ||
}, | ||
"provisioningState": "Creating" | ||
}, | ||
"name": "myVM", | ||
"location": "westus" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM", | ||
"type": "Microsoft.Compute/virtualMachines", | ||
"properties": { | ||
"osProfile": { | ||
"adminUsername": "{your-username}", | ||
"secrets": [], | ||
"computerName": "myVM", | ||
"linuxConfiguration": { | ||
"provisionVMAgent": true, | ||
"patchSettings": { | ||
"patchMode": "AutomaticByPlatform" | ||
} | ||
} | ||
}, | ||
"networkProfile": { | ||
"networkInterfaces": [ | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic", | ||
"properties": { | ||
"primary": true | ||
} | ||
} | ||
] | ||
}, | ||
"storageProfile": { | ||
"imageReference": { | ||
"sku": "16.04-LTS", | ||
"publisher": "Canonical", | ||
"version": "latest", | ||
"offer": "UbuntuServer" | ||
}, | ||
"osDisk": { | ||
"osType": "Linux", | ||
"caching": "ReadWrite", | ||
"createOption": "FromImage", | ||
"name": "myVMosdisk", | ||
"managedDisk": { | ||
"storageAccountType": "Premium_LRS" | ||
} | ||
}, | ||
"dataDisks": [] | ||
}, | ||
"vmId": "a149cd25-409f-41af-8088-275f5486bc93", | ||
"hardwareProfile": { | ||
"vmSize": "Standard_D2s_v3" | ||
}, | ||
"provisioningState": "Creating" | ||
}, | ||
"name": "myVM", | ||
"location": "westus" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.