/// <summary> /// Initializes a new instance of the PSPeeringPropertiesDirect class. /// </summary> /// <param name="connections">The set of connections that constitute a /// direct peering.</param> /// <param name="useForPeeringService">The flag that indicates whether /// or not the peering is used for peering service.</param> /// <param name="peerAsn">The reference of the peer ASN.</param> public PSPeeringPropertiesDirect(IList <PSDirectConnection> connections = default(IList <PSDirectConnection>), bool?useForPeeringService = default(bool?), PSSubResource peerAsn = default(PSSubResource)) { Connections = connections; UseForPeeringService = useForPeeringService; PeerAsn = peerAsn; CustomInit(); }
/// <summary> /// Initializes a new instance of the PSPeeringPropertiesExchange /// class. /// </summary> /// <param name="connections">The set of connections that constitute an /// exchange peering.</param> /// <param name="peerAsn">The reference of the peer ASN.</param> public PSPeeringPropertiesExchange(IList <PSExchangeConnection> connections = default(IList <PSExchangeConnection>), PSSubResource peerAsn = default(PSSubResource)) { Connections = connections; PeerAsn = peerAsn; CustomInit(); }