Windows Update for Business 部署服务中的部署Deployments in the Windows Update for Business deployment service

部署是 Windows Update for Business 部署服务的基础。Deployments are the foundation of the Windows Update for Business deployment service. 通过部署,你可以面向一组设备,以接收来自 Windows Update 的特定内容,例如软件更新Through a deployment you can target a set of devices to receive specific content from Windows Update, such as a software update.

部署具有以下主要方面:Deployments have the following key aspects:

  1. 内容:可从目录部署的更新。Content: The update available to deploy from the catalog. 这由 deployableContent类型的 content 属性表示。This is represented by the content property of the deployableContent type.
  2. 访问群体:用于接收内容的设备。Audience: The devices to receive content. 这是deploymentAudience 类型的访问群体关系。 This is an audience relationship of the deploymentAudience type.
  3. 设置:管理内容传递到设备的方式和时间的设置。Settings: The settings governing how and when content should be delivered to devices. 这由 deploymentSettings类型的 settings 属性表示。This is represented by the settings property of the deploymentSettings type.
  4. 状态:部署在其生命周期中的当前状态。State: The current state of the deployment within its lifecycle. 这由 deploymentState类型的 state 属性表示。This is represented by the state property of the deploymentState type.

创建包含内容和访问群体部署的部署Create a deployment with content and an audience

由于内容和访问群体是定义部署的关键,因此在创建时必须同时分配这两者。Because content and audience are key to the definition of a deployment, you are required to assign both at the time of creation. 尽管以后无法更改内容和访问群体分配,但访问群体中的设备成员身份可以。While content and audience assignments cannot be changed later, device membership within an audience can.

若要详细了解如何创建部署,请参阅 部署功能更新部署加速安全更新To learn more about creating a deployment, see Deploy a feature update and Deploy an expedited security update.

配置设置Configure settings


推出 设置控制内容在一段时间之后如何部署到部署访问群体中的设备。Rollout settings govern how the content is deployed over time to devices in the deployment audience. 你可以为部署功能更新配置推出设置。You can configure rollout settings for deployments of feature updates.

若要了解有关推出设置的信息,请参阅计划 部署To learn more about rollout settings, see Schedule a deployment.


可以使用监视 设置 来配置警报,并基于来自设备的更新信号自动执行操作。You can use monitoring settings to configure alerts and automated actions to take based on update signals from devices. 可以针对功能更新的部署配置监视设置。Monitoring settings can be configured for deployments of feature updates.

若要了解有关监视设置的信息,请参阅 管理监视规则To learn more about monitoring settings, see Manage monitoring rules.

用户体验User experience

对于快速质量更新的部署, 用户体验设置 会临时替代设备上现有的策略,以便获得更新体验。For deployments of expedited quality updates, user experience settings temporarily override existing policies on the device for update experience.

若要了解有关用户体验设置的信息,请参阅 部署加速安全更新To learn more about user experience settings, see Deploy an expedited security update.

获取或设置生命周期状态Get or set lifecycle state


部署在生命周期状态中移动,如下表所述。Deployments move through lifecycle states as described in the following table.

状态State 说明Description
scheduled 部署正在等待满足产品/服务条件,以开始向设备提供更新。The deployment is waiting for offer conditions to be met to start offering the update to devices.
offering 部署正在向设备提供更新。The deployment is offering the update to devices.
paused 部署将暂停,并阻止向设备提供更新,直到未暂停。The deployment is paused and prevented from offering the update to devices until it is unpaused.


TransitionTransition ConditionCondition
scheduledofferingscheduledoffering 满足计划条件。Scheduling condition is met.
offeringscheduledofferingscheduled 不满足计划条件。Scheduling condition is not met.
scheduledofferingpausedscheduled or offeringpaused 有一个暂停的请求或自动操作。There is a request or automatic action to pause.
pausedscheduledofferingpausedscheduled or offering 不再有要暂停的请求或自动操作。There is no longer a request or automatic action to pause.

资源模型Resource model

部署 资源具有 deploymentState类型的 state 属性,该属性提供有关当前生命周期状态的信息。The deployment resource has a state property of type deploymentState which provides information about the current lifecycle state.

该服务确定部署 状态 的有效值作为多个输入和异步进程的结果,但可以通过将 requestedValue 设置为这些输入之一来请求特定值。The service determines the effective value of the deployment state as a net result of several inputs and asynchronous processes, but you can request a particular value by setting requestedValue as one of these inputs. 有效部署状态值的其他输入包括推出设置和监视设置。Other inputs to the effective deployment state value include rollout settings and monitoring settings.

多个部署Multiple deployments

你可以一次将设备分配给多个部署。You can assign a device to multiple deployments at one time. 这些部署可用于相同更新类别的内容 (例如,所有部署都是功能更新) ,或用于不同更新类别的内容。These deployments can be for content of the same update category (for example all deployments are feature updates), or for content of different update categories.

为不同更新类别的内容分配设备 (例如功能更新和快速质量更新) 时,部署服务根据 Microsoft 的建议按顺序提供内容。When you assign a device to two deployments for content of different update categories (for example, a feature update and an expedited quality update), the deployment service offers content in a sequence according to Microsoft’s recommendation.

为同一更新类别 (的内容分配设备时 (例如,功能更新版本 20H1 和 20H2,或 2021 年 3 月和 2021 年 4 月的质量更新) 部署服务会提供 Microsoft 排名更高的内容。When you assign a device to two deployments for content of the same update category (for example, feature update versions 20H1 and 20H2, or quality updates from March 2021 and April 2021), the deployment service offers the content that is higher ranked by Microsoft. 对于功能更新和质量更新,最新更新的排名更高。For feature updates and quality updates, more recent updates are higher ranked. 如果其中一个部署仍为设备计划,并且尚未准备好提供内容,则此行为不适用。This behavior does not apply if one of the deployments is still scheduled for the device and is not ready to offer content. 在这种情况下,其他部署将内容交付到设备。In that case, the other deployment delivers content to the device.