Partager via


ArmPeeringModelFactory.PeerAsnData Méthode

Définition

Initialise une nouvelle instance de 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

Paramètres

name
String

Nom.

resourceType
ResourceType

ResourceType.

systemData
SystemData

SystemData.

peerAsn
Nullable<Int32>

Numéro de système autonome (ASN) de l’homologue.

peerContactDetail
IEnumerable<PeerAsnContactDetail>

Coordonnées de l’homologue.

peerName
String

Nom de l’homologue.

validationState
Nullable<PeerAsnValidationState>

État de validation de l’ASN associé à l’homologue.

errorMessage
String

Message d’erreur pour l’état de validation.

Retours

Une nouvelle PeerAsnData instance de moqueries.

S’applique à