Share via


ArmPeeringModelFactory.PeerAsnData Method

Definition

Initializes a new instance of PeerAsnData.

public static Azure.ResourceManager.Peering.PeerAsnData PeerAsnData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, int? peerAsn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Peering.Models.PeerAsnContactDetail> peerContactDetail = default, string peerName = default, Azure.ResourceManager.Peering.Models.PeerAsnValidationState? validationState = default, string errorMessage = default);
static member PeerAsnData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<int> * seq<Azure.ResourceManager.Peering.Models.PeerAsnContactDetail> * string * Nullable<Azure.ResourceManager.Peering.Models.PeerAsnValidationState> * string -> Azure.ResourceManager.Peering.PeerAsnData
Public Shared Function PeerAsnData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional peerAsn As Nullable(Of Integer) = Nothing, Optional peerContactDetail As IEnumerable(Of PeerAsnContactDetail) = Nothing, Optional peerName As String = Nothing, Optional validationState As Nullable(Of PeerAsnValidationState) = Nothing, Optional errorMessage As String = Nothing) As PeerAsnData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

peerAsn
Nullable<Int32>

The Autonomous System Number (ASN) of the peer.

peerContactDetail
IEnumerable<PeerAsnContactDetail>

The contact details of the peer.

peerName
String

The name of the peer.

validationState
Nullable<PeerAsnValidationState>

The validation state of the ASN associated with the peer.

errorMessage
String

The error message for the validation state.

Returns

A new PeerAsnData instance for mocking.

Applies to