Sdílet prostřednictvím


ArmNetworkModelFactory.ExpressRouteCircuitPeeringData Method

Definition

Initializes a new instance of ExpressRouteCircuitPeeringData.

public static Azure.ResourceManager.Network.ExpressRouteCircuitPeeringData ExpressRouteCircuitPeeringData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, Azure.ResourceManager.Network.Models.ExpressRoutePeeringType? peeringType = default, Azure.ResourceManager.Network.Models.ExpressRoutePeeringState? state = default, int? azureASN = default, long? peerASN = default, string primaryPeerAddressPrefix = default, string secondaryPeerAddressPrefix = default, string primaryAzurePort = default, string secondaryAzurePort = default, string sharedKey = default, int? vlanId = default, Azure.ResourceManager.Network.Models.ExpressRouteCircuitPeeringConfig microsoftPeeringConfig = default, Azure.ResourceManager.Network.Models.ExpressRouteCircuitStats stats = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, string gatewayManagerETag = default, string lastModifiedBy = default, Azure.Core.ResourceIdentifier routeFilterId = default, Azure.ResourceManager.Network.Models.IPv6ExpressRouteCircuitPeeringConfig ipv6PeeringConfig = default, Azure.Core.ResourceIdentifier expressRouteConnectionId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.ExpressRouteCircuitConnectionData> connections = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.PeerExpressRouteCircuitConnectionData> peeredConnections = default);
static member ExpressRouteCircuitPeeringData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Nullable<Azure.ResourceManager.Network.Models.ExpressRoutePeeringType> * Nullable<Azure.ResourceManager.Network.Models.ExpressRoutePeeringState> * Nullable<int> * Nullable<int64> * string * string * string * string * string * Nullable<int> * Azure.ResourceManager.Network.Models.ExpressRouteCircuitPeeringConfig * Azure.ResourceManager.Network.Models.ExpressRouteCircuitStats * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * string * string * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Network.Models.IPv6ExpressRouteCircuitPeeringConfig * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Network.ExpressRouteCircuitConnectionData> * seq<Azure.ResourceManager.Network.PeerExpressRouteCircuitConnectionData> -> Azure.ResourceManager.Network.ExpressRouteCircuitPeeringData
Public Shared Function ExpressRouteCircuitPeeringData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional peeringType As Nullable(Of ExpressRoutePeeringType) = Nothing, Optional state As Nullable(Of ExpressRoutePeeringState) = Nothing, Optional azureASN As Nullable(Of Integer) = Nothing, Optional peerASN As Nullable(Of Long) = Nothing, Optional primaryPeerAddressPrefix As String = Nothing, Optional secondaryPeerAddressPrefix As String = Nothing, Optional primaryAzurePort As String = Nothing, Optional secondaryAzurePort As String = Nothing, Optional sharedKey As String = Nothing, Optional vlanId As Nullable(Of Integer) = Nothing, Optional microsoftPeeringConfig As ExpressRouteCircuitPeeringConfig = Nothing, Optional stats As ExpressRouteCircuitStats = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional gatewayManagerETag As String = Nothing, Optional lastModifiedBy As String = Nothing, Optional routeFilterId As ResourceIdentifier = Nothing, Optional ipv6PeeringConfig As IPv6ExpressRouteCircuitPeeringConfig = Nothing, Optional expressRouteConnectionId As ResourceIdentifier = Nothing, Optional connections As IEnumerable(Of ExpressRouteCircuitConnectionData) = Nothing, Optional peeredConnections As IEnumerable(Of PeerExpressRouteCircuitConnectionData) = Nothing) As ExpressRouteCircuitPeeringData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

etag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

peeringType
Nullable<ExpressRoutePeeringType>

The peering type.

state
Nullable<ExpressRoutePeeringState>

The peering state.

azureASN
Nullable<Int32>

The Azure ASN.

peerASN
Nullable<Int64>

The peer ASN.

primaryPeerAddressPrefix
String

The primary address prefix.

secondaryPeerAddressPrefix
String

The secondary address prefix.

primaryAzurePort
String

The primary port.

secondaryAzurePort
String

The secondary port.

sharedKey
String

The shared key.

vlanId
Nullable<Int32>

The VLAN ID.

microsoftPeeringConfig
ExpressRouteCircuitPeeringConfig

The Microsoft peering configuration.

stats
ExpressRouteCircuitStats

The peering stats of express route circuit.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the express route circuit peering resource.

gatewayManagerETag
String

The GatewayManager Etag.

lastModifiedBy
String

Who was the last to modify the peering.

routeFilterId
ResourceIdentifier

The reference to the RouteFilter resource.

ipv6PeeringConfig
IPv6ExpressRouteCircuitPeeringConfig

The IPv6 peering configuration.

expressRouteConnectionId
ResourceIdentifier

The ExpressRoute connection.

connections
IEnumerable<ExpressRouteCircuitConnectionData>

The list of circuit connections associated with Azure Private Peering for this circuit.

peeredConnections
IEnumerable<PeerExpressRouteCircuitConnectionData>

The list of peered circuit connections associated with Azure Private Peering for this circuit.

Returns

A new ExpressRouteCircuitPeeringData instance for mocking.

Applies to