ArmNetworkModelFactory.DscpConfigurationData Method

Definition

Initializes a new instance of DscpConfigurationData.

public static Azure.ResourceManager.Network.DscpConfigurationData DscpConfigurationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ETag? etag = default, 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, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.DscpQosDefinition> qosDefinitionCollection = default, string qosCollectionId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.NetworkInterfaceData> associatedNetworkInterfaces = default, Guid? resourceGuid = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member DscpConfigurationData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * 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> * seq<Azure.ResourceManager.Network.Models.DscpQosDefinition> * string * seq<Azure.ResourceManager.Network.NetworkInterfaceData> * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.DscpConfigurationData
Public Shared Function DscpConfigurationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, 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, Optional qosDefinitionCollection As IEnumerable(Of DscpQosDefinition) = Nothing, Optional qosCollectionId As String = Nothing, Optional associatedNetworkInterfaces As IEnumerable(Of NetworkInterfaceData) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As DscpConfigurationData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

etag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

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.

qosDefinitionCollection
IEnumerable<DscpQosDefinition>

QoS object definitions.

qosCollectionId
String

Qos Collection ID generated by RNM.

associatedNetworkInterfaces
IEnumerable<NetworkInterfaceData>

Associated Network Interfaces to the DSCP Configuration.

resourceGuid
Nullable<Guid>

The resource GUID property of the DSCP Configuration resource.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the DSCP Configuration resource.

Returns

A new DscpConfigurationData instance for mocking.

Applies to