ArmNetworkModelFactory.DscpQosDefinition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Network.Models.DscpQosDefinition DscpQosDefinition(System.Collections.Generic.IEnumerable<int> markings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.QosIPRange> sourceIpRanges = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.QosIPRange> destinationIpRanges = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.QosPortRange> sourcePortRanges = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.QosPortRange> destinationPortRanges = default, Azure.ResourceManager.Network.Models.ProtocolType? protocol = default);
static member DscpQosDefinition : seq<int> * seq<Azure.ResourceManager.Network.Models.QosIPRange> * seq<Azure.ResourceManager.Network.Models.QosIPRange> * seq<Azure.ResourceManager.Network.Models.QosPortRange> * seq<Azure.ResourceManager.Network.Models.QosPortRange> * Nullable<Azure.ResourceManager.Network.Models.ProtocolType> -> Azure.ResourceManager.Network.Models.DscpQosDefinition
Public Shared Function DscpQosDefinition (Optional markings As IEnumerable(Of Integer) = Nothing, Optional sourceIpRanges As IEnumerable(Of QosIPRange) = Nothing, Optional destinationIpRanges As IEnumerable(Of QosIPRange) = Nothing, Optional sourcePortRanges As IEnumerable(Of QosPortRange) = Nothing, Optional destinationPortRanges As IEnumerable(Of QosPortRange) = Nothing, Optional protocol As Nullable(Of ProtocolType) = Nothing) As DscpQosDefinition
Parameters
- markings
- IEnumerable<Int32>
List of markings to be used in the configuration.
- sourceIpRanges
- IEnumerable<QosIPRange>
Source IP ranges.
- destinationIpRanges
- IEnumerable<QosIPRange>
Destination IP ranges.
- sourcePortRanges
- IEnumerable<QosPortRange>
Sources port ranges.
- destinationPortRanges
- IEnumerable<QosPortRange>
Destination port ranges.
- protocol
- Nullable<ProtocolType>
RNM supported protocol types.
Returns
A new DscpQosDefinition instance for mocking.