Dela via


ArmNetworkModelFactory.VirtualRouterPeeringData Method

Definition

Initializes a new instance of VirtualRouterPeeringData.

public static Azure.ResourceManager.Network.VirtualRouterPeeringData VirtualRouterPeeringData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, long? peerAsn = default, string peerIP = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member VirtualRouterPeeringData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Nullable<int64> * string * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.VirtualRouterPeeringData
Public Shared Function VirtualRouterPeeringData (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 peerAsn As Nullable(Of Long) = Nothing, Optional peerIP As String = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As VirtualRouterPeeringData

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.

peerAsn
Nullable<Int64>

Peer ASN.

peerIP
String

Peer IP.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the resource.

Returns

A new VirtualRouterPeeringData instance for mocking.

Applies to