From 7689458302866179ee692d10f8dff1cb973a5b6a Mon Sep 17 00:00:00 2001 From: Meghan Stewart <33289333+mestew@users.noreply.github.com> Date: Wed, 1 Feb 2023 16:39:52 -0800 Subject: [PATCH] formattingand additional content --- .../update/deployment-service-drivers.md | 46 +++++++++---------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/windows/deployment/update/deployment-service-drivers.md b/windows/deployment/update/deployment-service-drivers.md index 87ad1d4382..89a928ddaa 100644 --- a/windows/deployment/update/deployment-service-drivers.md +++ b/windows/deployment/update/deployment-service-drivers.md @@ -129,6 +129,27 @@ Update policies define how content is deployed to a deployment audience. An [upd } ``` +Response returning the policy, without any additional settings specified, that has a **Policy ID** of `9011c330-1234-5678-9abc-def012345678`: + +```json +HTTP/1.1 202 Accepted +Content-type: application/json +{ + "@odata.context": "https://graph.microsoft.com/beta/$metadata#admin/windows/updates/updatePolicies/$entity", + "id": "9011c330-1234-5678-9abc-def012345678", + "createdDateTime": "2023-01-25T05:32:21.9721459Z", + "autoEnrollmentUpdateCategories": [], + "complianceChangeRules": [], + "deploymentSettings": { + "schedule": null, + "monitoring": null, + "contentApplicability": null, + "userExperience": null, + "expedite": null + } +} +``` + ### Specify settings during policy creation To create a policy with additional settings, in the request body: @@ -136,7 +157,7 @@ To create a policy with additional settings, in the request body: - Define any additional [deployment settings](/graph/api/resources/windowsupdates-deploymentsettings). - You may need to add the `content-length` header to the request. The value should be the length of the request body in bytes. - In the following example, the **Audience ID** is `d39ad1ce-0123-4567-89ab-cdef01234567`: + In the following driver update policy example, any deployments created by a content approval will start in 7 days after approval and will gradually roll out to 1000 devices per day for **Audience ID** `d39ad1ce-0123-4567-89ab-cdef01234567`: ```http POST https://graph.microsoft.com/beta/admin/windows/updates/updatePolicies @@ -175,27 +196,6 @@ To create a policy with additional settings, in the request body: ``` -Response returning the policy, without any additional settings specified, that has a **Policy ID** of `9011c330-1234-5678-9abc-def012345678`: - -```json -HTTP/1.1 202 Accepted -Content-type: application/json -{ - "@odata.context": "https://graph.microsoft.com/beta/$metadata#admin/windows/updates/updatePolicies/$entity", - "id": "9011c330-1234-5678-9abc-def012345678", - "createdDateTime": "2023-01-25T05:32:21.9721459Z", - "autoEnrollmentUpdateCategories": [], - "complianceChangeRules": [], - "deploymentSettings": { - "schedule": null, - "monitoring": null, - "contentApplicability": null, - "userExperience": null, - "expedite": null - } -} -``` - ### Review and edit update policy settings To review the policy settings, run the following query using the **Policy ID**, for example `9011c330-1234-5678-9abc-def012345678`: @@ -291,8 +291,6 @@ Content-type: application/json } ``` - - Review the compliance changes to a policy with the most recent changes listed in the response first. The following example returns the compliance changes for a policy with the **Policy ID** `9011c330-1234-5678-9abc-def012345678` and sorts by `createdDateTime` in descending order: ```http