ArmPeeringModelFactory.PeeringData Method

Definition

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.DirectPeeringProperties direct = default, Azure.ResourceManager.Peering.Models.ExchangePeeringProperties exchange = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Peering.Models.PeeringConnectivityProbe> connectivityProbes = default, string peeringLocation = default, Azure.ResourceManager.Peering.Models.PeeringProvisioningState? provisioningState = default, Azure.ResourceManager.Peering.Models.PeeringSku sku = default, Azure.ResourceManager.Peering.Models.PeeringKind kind = 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.DirectPeeringProperties * Azure.ResourceManager.Peering.Models.ExchangePeeringProperties * seq<Azure.ResourceManager.Peering.Models.PeeringConnectivityProbe> * string * Nullable<Azure.ResourceManager.Peering.Models.PeeringProvisioningState> * Azure.ResourceManager.Peering.Models.PeeringSku * Azure.ResourceManager.Peering.Models.PeeringKind -> 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 direct As DirectPeeringProperties = Nothing, Optional exchange As ExchangePeeringProperties = Nothing, Optional connectivityProbes As IEnumerable(Of PeeringConnectivityProbe) = Nothing, Optional peeringLocation As String = Nothing, Optional provisioningState As Nullable(Of PeeringProvisioningState) = Nothing, Optional sku As PeeringSku = Nothing, Optional kind As PeeringKind = Nothing) As PeeringData

Parameters

id
ResourceIdentifier

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.

tags
IDictionary<String,String>

Resource tags.

location
AzureLocation

The geo-location where the resource lives.

direct
DirectPeeringProperties

The properties that define a direct peering.

exchange
ExchangePeeringProperties

The properties that define an exchange peering.

connectivityProbes
IEnumerable<PeeringConnectivityProbe>

The connectivity probes associated with the peering.

peeringLocation
String

The location of the peering.

provisioningState
Nullable<PeeringProvisioningState>

The provisioning state of the resource.

sku
PeeringSku

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

kind
PeeringKind

The kind of the peering.

Returns

A new PeeringData instance for mocking.

Applies to