NetworkQoSPolicy 云解决方案提供商NetworkQoSPolicy CSP

NetworkQoSPolicy 配置服务提供商创建网络服务质量 (QoS) 策略。The NetworkQoSPolicy configuration service provider creates network Quality of Service (QoS) policies. QoS 策略根据一组匹配的条件对网络流量执行一组操作。A QoS policy performs a set of actions on network traffic based on a set of matching conditions. 此 CSP 已添加到 Windows 10 版本 1703 中。This CSP was added in Windows 10, version 1703.

支持以下条件:The following conditions are supported:

  • 来自特定应用程序名称的网络流量Network traffic from a specific application name
  • 来自特定源端口或目标端口的网络流量Network traffic from specific source or destination ports
  • 来自特定 IP 协议的网络流量 (TCP、UDP 或两者) Network traffic from a specific IP protocol (TCP, UDP, or both)

支持以下操作:The following actions are supported:

  • 使用 IEEE 802.1p 优先级值标记第 2 层Layer 2 tagging using a IEEE 802.1p priority value
  • 使用区分服务代码点标记第 3 层 (DSCP) 值Layer 3 tagging using a differentiated services code point (DSCP) value

备注

NetworkQoSPolicy 配置服务提供程序正式支持 Intune 托管且已加入 Azure AD 的设备。The NetworkQoSPolicy configuration service provider is officially supported for devices that are Intune managed and Azure AD joined. 目前,加入 Azure AD 混合的设备和同时使用 GPO 和 CSP 的设备不支持此 CSP。Currently, this CSP is not supported on Azure AD Hybrid joined devices and for devices using GPO and CSP at the same time. 此 CSP 的最低操作系统要求是 Windows 10 版本 2004。The minimum operating system requirement for this CSP is Windows 10, version 2004. 此 CSP 仅在 Window 10 版本 2004 之前的 Microsoft Surface Hub 中受支持。This CSP is supported only in Microsoft Surface Hub prior to Window 10, version 2004.

下面以树格式显示 NetworkQoSPolicy 配置服务提供程序。The following shows the NetworkQoSPolicy configuration service provider in tree format.

./Device/Vendor/MSFT
NetworkQoSPolicy
----Version
----Name
--------IPProtocolMatchCondition
--------AppPathNameMatchCondition
--------SourcePortMatchCondition
--------DestinationPortMatchCondition
--------PriorityValue8021Action
--------DSCPAction

NetworkQoSPolicyNetworkQoSPolicy

NetworkQoSPolicy 配置服务提供程序的根节点。The root node for the NetworkQoSPolicy configuration service provider.

版本Version

指定版本信息。Specifies the version information.

the 数据类型 is int.The data type is int.

唯一受支持的操作是 Get。The only supported operation is Get.

名称Name

QoS 策略名称的节点。Node for the QoS policy name.

*Name*/IPProtocolMatchCondition*Name*/IPProtocolMatchCondition

指定用于匹配网络流量的 IP 协议。Specifies the IP protocol used to match the network traffic.

有效值包括:Valid values are:

  • 0 (默认) TCP 和 UDP0 (default) - Both TCP and UDP
  • 1 - TCP1 - TCP
  • 2 - UDP2 - UDP

the 数据类型 is int.The data type is int.

支持的操作包括添加、获取、删除和替换。The supported operations are Add, Get, Delete, and Replace.

*Name*/AppPathNameMatchCondition*Name*/AppPathNameMatchCondition

指定要用于匹配网络流量的应用程序的名称,例如 application.exe %ProgramFiles%\application.exe。Specifies the name of an application to be used to match the network traffic, such as application.exe or %ProgramFiles%\application.exe.

该数据类型字符。The data type is char.

支持的操作包括添加、获取、删除和替换。The supported operations are Add, Get, Delete, and Replace.

*Name*/SourcePortMatchCondition*Name*/SourcePortMatchCondition

指定要用于匹配网络流量源的单个端口或一系列端口。Specifies a single port or a range of ports to be used to match the network traffic source.

有效值包括:Valid values are:

  • 源端口的范围 :[第一个端口号] - [最后一个端口号]A range of source ports: [first port number]-[last port number]
  • 单个源端口 :[端口号]A single source port: [port number]

该数据类型字符。The data type is char.

支持的操作包括添加、获取、删除和替换。The supported operations are Add, Get, Delete, and Replace.

*Name*/DestinationPortMatchCondition*Name*/DestinationPortMatchCondition

指定要用于匹配网络流量目的地的单个源端口或端口范围。Specifies a single source port or a range of ports to be used to match the network traffic destination.

有效值包括:Valid values are:

  • 目标端口的范围 :[第一个端口号] - [最后一个端口号]A range of destination ports: [first port number]-[last port number]
  • 单个目标端口 :[端口号]A single destination port: [port number]

该数据类型字符。The data type is char.

支持的操作包括添加、获取、删除和替换。The supported operations are Add, Get, Delete, and Replace.

*Name*/PriorityValue8021Action*Name*/PriorityValue8021Action

指定要应用于匹配网络流量的 IEEE 802.1p 优先级值。Specifies the IEEE 802.1p priority value to apply to matching network traffic.

有效值为 0-7。Valid values are 0-7.

the 数据类型 is int.The data type is int.

支持的操作包括添加、获取、删除和替换。The supported operations are Add, Get, Delete, and Replace.

*Name*/DSCPAction*Name*/DSCPAction

区分的服务代码点 (DSCP) 值应用于匹配的网络流量。The differentiated services code point (DSCP) value to apply to matching network traffic.

有效值为 0-63。Valid values are 0-63.

the 数据类型 is int.The data type is int.

支持的操作包括添加、获取、删除和替换。The supported operations are Add, Get, Delete, and Replace.

阅读有关 XML DDF 结构的详细信息,以通过以下链接创建此策略:Read more about the XML DDF structure to create this policy by following the links below: