ArmPeeringModelFactory.DirectPeeringProperties Method

Definition

Initializes a new instance of DirectPeeringProperties.

public static Azure.ResourceManager.Peering.Models.DirectPeeringProperties DirectPeeringProperties (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Peering.Models.PeeringDirectConnection> connections = default, bool? useForPeeringService = default, Azure.Core.ResourceIdentifier peerAsnId = default, Azure.ResourceManager.Peering.Models.DirectPeeringType? directPeeringType = default);
static member DirectPeeringProperties : seq<Azure.ResourceManager.Peering.Models.PeeringDirectConnection> * Nullable<bool> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Peering.Models.DirectPeeringType> -> Azure.ResourceManager.Peering.Models.DirectPeeringProperties
Public Shared Function DirectPeeringProperties (Optional connections As IEnumerable(Of PeeringDirectConnection) = Nothing, Optional useForPeeringService As Nullable(Of Boolean) = Nothing, Optional peerAsnId As ResourceIdentifier = Nothing, Optional directPeeringType As Nullable(Of DirectPeeringType) = Nothing) As DirectPeeringProperties

Parameters

connections
IEnumerable<PeeringDirectConnection>

The set of connections that constitute a direct peering.

useForPeeringService
Nullable<Boolean>

The flag that indicates whether or not the peering is used for peering service.

peerAsnId
ResourceIdentifier

The reference of the peer ASN.

directPeeringType
Nullable<DirectPeeringType>

The type of direct peering.

Returns

A new DirectPeeringProperties instance for mocking.

Applies to