ArmPeeringModelFactory.PeeringData Method

Definition

Initializes a new instance of PeeringData.

public static Azure.ResourceManager.Peering.PeeringData PeeringData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Peering.Models.PeeringSku sku = default, Azure.ResourceManager.Peering.Models.PeeringKind kind = default, Azure.ResourceManager.Peering.Models.DirectPeeringProperties direct = default, Azure.ResourceManager.Peering.Models.ExchangePeeringProperties exchange = default, string peeringLocation = default, Azure.ResourceManager.Peering.Models.PeeringProvisioningState? provisioningState = default);
static member PeeringData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Peering.Models.PeeringSku * Azure.ResourceManager.Peering.Models.PeeringKind * Azure.ResourceManager.Peering.Models.DirectPeeringProperties * Azure.ResourceManager.Peering.Models.ExchangePeeringProperties * string * Nullable<Azure.ResourceManager.Peering.Models.PeeringProvisioningState> -> Azure.ResourceManager.Peering.PeeringData
Public Shared Function PeeringData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional sku As PeeringSku = Nothing, Optional kind As PeeringKind = Nothing, Optional direct As DirectPeeringProperties = Nothing, Optional exchange As ExchangePeeringProperties = Nothing, Optional peeringLocation As String = Nothing, Optional provisioningState As Nullable(Of PeeringProvisioningState) = Nothing) As PeeringData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

sku
PeeringSku

The SKU that defines the tier and kind of the peering.

kind
PeeringKind

The kind of the peering.

direct
DirectPeeringProperties

The properties that define a direct peering.

exchange
ExchangePeeringProperties

The properties that define an exchange peering.

peeringLocation
String

The location of the peering.

provisioningState
Nullable<PeeringProvisioningState>

The provisioning state of the resource.

Returns

A new PeeringData instance for mocking.

Applies to