你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
QosDefinition 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
QosDefinition() |
初始化 QosDefinition 类的新实例。 |
QosDefinition(IList<Nullable<Int32>>, IList<QosIpRange>, IList<QosIpRange>, IList<QosPortRange>, IList<QosPortRange>, String) |
初始化 QosDefinition 类的新实例。 |
QosDefinition()
初始化 QosDefinition 类的新实例。
public QosDefinition ();
Public Sub New ()
适用于
QosDefinition(IList<Nullable<Int32>>, IList<QosIpRange>, IList<QosIpRange>, IList<QosPortRange>, IList<QosPortRange>, String)
初始化 QosDefinition 类的新实例。
public QosDefinition (System.Collections.Generic.IList<int?> markings = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.QosIpRange> sourceIpRanges = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.QosIpRange> destinationIpRanges = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.QosPortRange> sourcePortRanges = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.QosPortRange> destinationPortRanges = default, string protocol = default);
new Microsoft.Azure.Management.Network.Models.QosDefinition : System.Collections.Generic.IList<Nullable<int>> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.QosIpRange> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.QosIpRange> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.QosPortRange> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.QosPortRange> * string -> Microsoft.Azure.Management.Network.Models.QosDefinition
Public Sub New (Optional markings As IList(Of Nullable(Of Integer)) = Nothing, Optional sourceIpRanges As IList(Of QosIpRange) = Nothing, Optional destinationIpRanges As IList(Of QosIpRange) = Nothing, Optional sourcePortRanges As IList(Of QosPortRange) = Nothing, Optional destinationPortRanges As IList(Of QosPortRange) = Nothing, Optional protocol As String = Nothing)
参数
- sourceIpRanges
- IList<QosIpRange>
源 IP 范围。
- destinationIpRanges
- IList<QosIpRange>
目标 IP 范围。
- sourcePortRanges
- IList<QosPortRange>
源端口范围。
- destinationPortRanges
- IList<QosPortRange>
目标端口范围。
- protocol
- String
RNM 支持的协议类型。 可能的值包括:“DoNotUse”、“Icmp”、“Tcp”、“Udp”、“Gre”、“Esp”、“Ah”、“Vxlan”、“All”