ArmPeeringModelFactory.PeeringDirectConnection 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 PeeringDirectConnection.
public static Azure.ResourceManager.Peering.Models.PeeringDirectConnection PeeringDirectConnection (int? bandwidthInMbps = default, int? provisionedBandwidthInMbps = default, Azure.ResourceManager.Peering.Models.PeeringSessionAddressProvider? sessionAddressProvider = default, bool? useForPeeringService = default, string microsoftTrackingId = default, int? peeringDBFacilityId = default, Azure.ResourceManager.Peering.Models.PeeringConnectionState? connectionState = default, Azure.ResourceManager.Peering.Models.PeeringBgpSession bgpSession = default, string connectionIdentifier = default, string errorMessage = default);
static member PeeringDirectConnection : Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.Peering.Models.PeeringSessionAddressProvider> * Nullable<bool> * string * Nullable<int> * Nullable<Azure.ResourceManager.Peering.Models.PeeringConnectionState> * Azure.ResourceManager.Peering.Models.PeeringBgpSession * string * string -> Azure.ResourceManager.Peering.Models.PeeringDirectConnection
Public Shared Function PeeringDirectConnection (Optional bandwidthInMbps As Nullable(Of Integer) = Nothing, Optional provisionedBandwidthInMbps As Nullable(Of Integer) = Nothing, Optional sessionAddressProvider As Nullable(Of PeeringSessionAddressProvider) = Nothing, Optional useForPeeringService As Nullable(Of Boolean) = Nothing, Optional microsoftTrackingId As String = Nothing, Optional peeringDBFacilityId As Nullable(Of Integer) = Nothing, Optional connectionState As Nullable(Of PeeringConnectionState) = Nothing, Optional bgpSession As PeeringBgpSession = Nothing, Optional connectionIdentifier As String = Nothing, Optional errorMessage As String = Nothing) As PeeringDirectConnection
Parameters
- sessionAddressProvider
- Nullable<PeeringSessionAddressProvider>
The field indicating if Microsoft provides session ip addresses.
The flag that indicates whether or not the connection is used for peering service.
- microsoftTrackingId
- String
The ID used within Microsoft's peering provisioning system to track the connection.
The PeeringDB.com ID of the facility at which the connection has to be set up.
- connectionState
- Nullable<PeeringConnectionState>
The state of the connection.
- bgpSession
- PeeringBgpSession
The BGP session associated with the connection.
- connectionIdentifier
- String
The unique identifier (GUID) for the connection.
- errorMessage
- String
The error message related to the connection state, if any.
Returns
A new PeeringDirectConnection instance for mocking.
Applies to
Azure SDK for .NET