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
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- 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.