-
Notifications
You must be signed in to change notification settings - Fork 5.6k
[DO NOT MERGE] Add software update specs #4950
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
Changes from all commits
64b3a99
35a781b
20198d2
476bbe9
1527e47
ef69c5b
ab0cab9
5a2ba55
b7b4cf8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "mySubscriptionId", | ||
| "resourceGroupName": "myResourceGroupName", | ||
| "vmName": "myVMName", | ||
| "softwareUpdateId": "35428702-5784-4ba4-a6e0-5222258b5411", | ||
| "api-version": "2018-06-30-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": { | ||
| "id": "/subscriptions/mySubscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName/providers/Microsoft.GuestConfiguration/softwareUpdates/35428702-5784-4ba4-a6e0-5222258b5411", | ||
| "name": "35428702-5784-4ba4-a6e0-5222258b5411", | ||
| "type": "Microsoft.GuestConfiguration/softwareUpdates", | ||
| "properties": { | ||
| "updateState": "Needed", | ||
| "availableOnComputerSince": "2018-11-07T00:02:21Z", | ||
| "approved": "true", | ||
| "packageRepository": "", | ||
| "supercededUpdateIds": "", | ||
| "isSupercededUpdate": "", | ||
| "deploymentAction": "", | ||
| "kbid": "2267602", | ||
| "kbRevisionNumber": "200", | ||
| "publishedDate": "2018-11-07T00:00:00Z", | ||
| "productName": "Windows Defender", | ||
| "productVersion": "", | ||
| "productArch": "", | ||
| "title": "Definition Update for Windows Defender Antivirus - KB2267602 (Definition 1.279.1373.0)", | ||
| "classification": "Definition Updates", | ||
| "packageClassification": "", | ||
| "packageSeverity": "", | ||
| "msrcSeverity": "", | ||
| "externalURL": "https://support.microsoft.com/en-us/help/2267602", | ||
| "msrcBulletinId": "", | ||
| "cveNumbers": "", | ||
| "rebootBehavior": "NeverReboots", | ||
| "optional": "false", | ||
| "autoSelectOnWebsites": "", | ||
| "browseOnly": "", | ||
| "lastRefreshDate": "2018-11-11T00:00:00Z" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "mySubscriptionId", | ||
| "resourceGroupName": "myResourceGroupName", | ||
| "vmName": "myVMName", | ||
| "profileName": "default", | ||
| "api-version": "2018-06-30-preview" | ||
| }, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing parameter
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added |
||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": { | ||
| "id": "/subscriptions/mySubscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName/providers/Microsoft.GuestConfiguration/softwareUpdateProfile/default", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. SoftwareUpdateProfile defined here: https://github.com/Azure/azure-rest-api-specs/pull/4950/files#diff-e53a4ef9e8ceed16b91a1997e37815e6R1017 does not have properties "id", "name", "type". Did you forget to inherit it from Resource?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Inherited from Proxy resource now
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Inherited from proxy now |
||
| "name": "default", | ||
| "type": "Microsoft.GuestConfiguration/softwareUpdateProfile", | ||
| "properties": { | ||
| "computerName": "myVMName", | ||
| "computerIP": "40.85.217.32", | ||
abhinav-ghai marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "computerEnvironment": "Azure", | ||
| "osType": "Windows", | ||
| "osName": "Microsoft Windows 10 Enterprise", | ||
| "osVersion": "10.0.17763 N/A Build 17763", | ||
| "osMajorVersion": "", | ||
| "osMinorVersion": "", | ||
| "osFullName": "", | ||
| "osArch": "x64", | ||
| "computerStartTime": "2018-10-30T17:31:02Z", | ||
| "restartPending": "True", | ||
| "guestConfigAgentVersion": "8.0.11081.0", | ||
| "guestConfigAgentStartTime": "2018-10-30T17:31:02Z", | ||
| "netRuntimeVersion": ".NET Framework 4.6.1", | ||
| "windowsUpdateSetting": "Notify before installation", | ||
| "windowsUpdateAgentVersion": "10.0.14393.2368", | ||
| "windowsUpdateIncludeRecommendedUpdates": "", | ||
| "wsusServer": "http://rd2-sup-hlb.redmond.corp.microsoft.com:80", | ||
| "linuxPackageManager": "", | ||
| "criticalCount": "2", | ||
| "securityCount": "0", | ||
| "otherCount": "0", | ||
| "assessmentRuntime": "2018-10-30T17:31:02Z", | ||
| "oldestMissingSecurityUpdateInDays": "35", | ||
| "oldestMissingSecurityUpdateBucket": "30 days ago", | ||
| "lastUpdateApplied": "", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "" is not a valid value for a
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed date-time format for this property because this can actually not be a valid date-time in the when updates have never been applied to VM. |
||
| "updateAssessmentErrors": "The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (Exception from HRESULT: 0x80070422)", | ||
abhinav-ghai marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "updateAssessmentErrorStackTrace": "System.Runtime.InteropServices.COMException (0x80070422): ... at Microsoft.EnterpriseManagement.Mom.Modules.ChangeTracking.WUA.UpdateInstallerClass.get_IsBusy() at .....acknowledgeImmediately)", | ||
| "lastRefreshDate": "2018-11-07T00:00:00Z" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,81 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "mySubscriptionId", | ||
| "resourceGroupName": "myResourceGroupName", | ||
| "vmName": "myVMName", | ||
| "api-version": "2018-06-30-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "headers": {}, | ||
| "body": [ | ||
| { | ||
| "id": "/subscriptions/mySubscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName/providers/Microsoft.GuestConfiguration/softwareUpdates/35428702-5784-4ba4-a6e0-5222258b5411", | ||
| "name": "35428702-5784-4ba4-a6e0-5222258b5411", | ||
| "type": "Microsoft.GuestConfiguration/softwareUpdates", | ||
| "properties": { | ||
| "updateState": "Needed", | ||
| "availableOnComputerSince": "2018-11-07T00:02:21Z", | ||
| "approved": "true", | ||
| "packageRepository": "", | ||
| "supercededUpdateIds": "", | ||
| "isSupercededUpdate": "", | ||
| "deploymentAction": "", | ||
| "kbid": "2267602", | ||
| "kbRevisionNumber": "200", | ||
| "publishedDate": "2018-11-07T00:00:00Z", | ||
| "productName": "Windows Defender", | ||
| "productVersion": "", | ||
| "productArch": "", | ||
| "title": "Definition Update for Windows Defender Antivirus - KB2267602 (Definition 1.279.1373.0)", | ||
| "classification": "Definition Updates", | ||
| "packageClassification": "", | ||
| "packageSeverity": "", | ||
| "msrcSeverity": "", | ||
| "externalURL": "https://support.microsoft.com/en-us/help/2267602", | ||
| "msrcBulletinId": "", | ||
| "cveNumbers": "", | ||
| "rebootBehavior": "NeverReboots", | ||
| "optional": "false", | ||
| "autoSelectOnWebsites": "", | ||
| "browseOnly": "", | ||
| "lastRefreshDate": "2018-11-11T00:00:00Z" | ||
| } | ||
| }, | ||
| { | ||
| "id": "/subscriptions/mySubscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName/providers/Microsoft.GuestConfiguration/softwareUpdates/39f9cdd1-795c-4d0e-8c0a-73ab3f31746d", | ||
| "name": "39f9cdd1-795c-4d0e-8c0a-73ab3f31746d", | ||
| "type": "Microsoft.GuestConfiguration/softwareUpdates", | ||
| "properties": { | ||
| "updateState": "Needed", | ||
| "availableOnComputerSince": "2018-10-10T07:00:00Z", | ||
| "approved": "true", | ||
| "packageRepository": "", | ||
| "supercededUpdateIds": "", | ||
| "isSupercededUpdate": "", | ||
| "deploymentAction": "", | ||
| "kbid": "890830", | ||
| "kbRevisionNumber": "200", | ||
| "publishedDate": "2018-11-07T00:00:00Z", | ||
| "productName": "Windows Server 2012 R2", | ||
| "productVersion": "", | ||
| "productArch": "", | ||
| "title": "Windows Malicious Software Removal Tool x64 - October 2018 (KB890830)", | ||
| "classification": "Update Rollups", | ||
| "packageClassification": "", | ||
| "packageSeverity": "", | ||
| "msrcSeverity": "", | ||
| "externalURL": "https://support.microsoft.com/en-us/help/890830", | ||
| "msrcBulletinId": "", | ||
| "cveNumbers": "", | ||
| "rebootBehavior": "CanRequestReboot", | ||
| "optional": "false", | ||
| "autoSelectOnWebsites": "", | ||
| "browseOnly": "", | ||
| "lastRefreshDate": "2018-11-11T00:00:00Z" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing parameter
softwareUpdateId.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed