ArmPeeringModelFactory.DirectPeeringProperties 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.
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET