Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the ExchangeConnection class.
 /// </summary>
 /// <param name="peeringDBFacilityId">The PeeringDB.com ID of the
 /// facility at which the connection has to be set up.</param>
 /// <param name="connectionState">The state of the connection. Possible
 /// values include: 'None', 'PendingApproval', 'Approved',
 /// 'ProvisioningStarted', 'ProvisioningFailed',
 /// 'ProvisioningCompleted', 'Validating', 'Active'</param>
 /// <param name="bgpSession">The BGP session associated with the
 /// connection.</param>
 public ExchangeConnection(int?peeringDBFacilityId = default(int?), string connectionState = default(string), BgpSession bgpSession = default(BgpSession))
 {
     PeeringDBFacilityId = peeringDBFacilityId;
     ConnectionState     = connectionState;
     BgpSession          = bgpSession;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ExchangeConnection class.
 /// </summary>
 /// <param name="peeringDBFacilityId">The PeeringDB.com ID of the
 /// facility at which the connection has to be set up.</param>
 /// <param name="connectionState">The state of the connection. Possible
 /// values include: 'None', 'PendingApproval', 'Approved',
 /// 'ProvisioningStarted', 'ProvisioningFailed',
 /// 'ProvisioningCompleted', 'Validating', 'Active'</param>
 /// <param name="bgpSession">The BGP session associated with the
 /// connection.</param>
 /// <param name="connectionIdentifier">The unique identifier (GUID) for
 /// the connection.</param>
 /// <param name="errorMessage">The error message related to the
 /// connection state, if any.</param>
 public ExchangeConnection(int?peeringDBFacilityId = default(int?), string connectionState = default(string), BgpSession bgpSession = default(BgpSession), string connectionIdentifier = default(string), string errorMessage = default(string))
 {
     PeeringDBFacilityId  = peeringDBFacilityId;
     ConnectionState      = connectionState;
     BgpSession           = bgpSession;
     ConnectionIdentifier = connectionIdentifier;
     ErrorMessage         = errorMessage;
     CustomInit();
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the DirectConnection class.
 /// </summary>
 /// <param name="bandwidthInMbps">The bandwidth of the
 /// connection.</param>
 /// <param name="provisionedBandwidthInMbps">The bandwidth that is
 /// actually provisioned.</param>
 /// <param name="peeringDBFacilityId">The PeeringDB.com ID of the
 /// facility at which the connection has to be set up.</param>
 /// <param name="connectionState">The state of the connection. Possible
 /// values include: 'None', 'PendingApproval', 'Approved',
 /// 'ProvisioningStarted', 'ProvisioningFailed',
 /// 'ProvisioningCompleted', 'Validating', 'Active'</param>
 /// <param name="bgpSession">The BGP session associated with the
 /// connection.</param>
 public DirectConnection(int?bandwidthInMbps = default(int?), int?provisionedBandwidthInMbps = default(int?), int?peeringDBFacilityId = default(int?), string connectionState = default(string), BgpSession bgpSession = default(BgpSession))
 {
     BandwidthInMbps            = bandwidthInMbps;
     ProvisionedBandwidthInMbps = provisionedBandwidthInMbps;
     PeeringDBFacilityId        = peeringDBFacilityId;
     ConnectionState            = connectionState;
     BgpSession = bgpSession;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the DirectConnection class.
 /// </summary>
 /// <param name="bandwidthInMbps">The bandwidth of the
 /// connection.</param>
 /// <param name="provisionedBandwidthInMbps">The bandwidth that is
 /// actually provisioned.</param>
 /// <param name="sessionAddressProvider">The field indicating if
 /// Microsoft provides session ip addresses. Possible values include:
 /// 'Microsoft', 'Peer'</param>
 /// <param name="useForPeeringService">The flag that indicates whether
 /// or not the connection is used for peering service.</param>
 /// <param name="peeringDBFacilityId">The PeeringDB.com ID of the
 /// facility at which the connection has to be set up.</param>
 /// <param name="connectionState">The state of the connection. Possible
 /// values include: 'None', 'PendingApproval', 'Approved',
 /// 'ProvisioningStarted', 'ProvisioningFailed',
 /// 'ProvisioningCompleted', 'Validating', 'Active'</param>
 /// <param name="bgpSession">The BGP session associated with the
 /// connection.</param>
 /// <param name="connectionIdentifier">The unique identifier (GUID) for
 /// the connection.</param>
 public DirectConnection(int?bandwidthInMbps = default(int?), int?provisionedBandwidthInMbps = default(int?), string sessionAddressProvider = default(string), bool?useForPeeringService = default(bool?), int?peeringDBFacilityId = default(int?), string connectionState = default(string), BgpSession bgpSession = default(BgpSession), string connectionIdentifier = default(string))
 {
     BandwidthInMbps            = bandwidthInMbps;
     ProvisionedBandwidthInMbps = provisionedBandwidthInMbps;
     SessionAddressProvider     = sessionAddressProvider;
     UseForPeeringService       = useForPeeringService;
     PeeringDBFacilityId        = peeringDBFacilityId;
     ConnectionState            = connectionState;
     BgpSession           = bgpSession;
     ConnectionIdentifier = connectionIdentifier;
     CustomInit();
 }