ArmPeeringModelFactory.PeerAsnData 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 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
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET