Sdílet prostřednictvím


ArmNetworkModelFactory.ExpressRouteCrossConnectionPeeringData Method

Definition

Initializes a new instance of ExpressRouteCrossConnectionPeeringData.

public static Azure.ResourceManager.Network.ExpressRouteCrossConnectionPeeringData ExpressRouteCrossConnectionPeeringData (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.NetworkProvisioningState? provisioningState = default, string gatewayManagerETag = default, string lastModifiedBy = default, Azure.ResourceManager.Network.Models.IPv6ExpressRouteCircuitPeeringConfig ipv6PeeringConfig = default);
static member ExpressRouteCrossConnectionPeeringData : 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 * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * string * string * Azure.ResourceManager.Network.Models.IPv6ExpressRouteCircuitPeeringConfig -> Azure.ResourceManager.Network.ExpressRouteCrossConnectionPeeringData
Public Shared Function ExpressRouteCrossConnectionPeeringData (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 provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional gatewayManagerETag As String = Nothing, Optional lastModifiedBy As String = Nothing, Optional ipv6PeeringConfig As IPv6ExpressRouteCircuitPeeringConfig = Nothing) As ExpressRouteCrossConnectionPeeringData

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.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the express route cross connection peering resource.

gatewayManagerETag
String

The GatewayManager Etag.

lastModifiedBy
String

Who was the last to modify the peering.

ipv6PeeringConfig
IPv6ExpressRouteCircuitPeeringConfig

The IPv6 peering configuration.

Returns

A new ExpressRouteCrossConnectionPeeringData instance for mocking.

Applies to