Share via


ArmPeeringModelFactory.PeeringServicePrefixData Method

Definition

Initializes a new instance of PeeringServicePrefixData.

public static Azure.ResourceManager.Peering.PeeringServicePrefixData PeeringServicePrefixData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string prefix = default, Azure.ResourceManager.Peering.Models.PeeringPrefixValidationState? prefixValidationState = default, Azure.ResourceManager.Peering.Models.PeeringLearnedType? learnedType = default, string errorMessage = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Peering.Models.PeeringServicePrefixEvent> events = default, string peeringServicePrefixKey = default, Azure.ResourceManager.Peering.Models.PeeringProvisioningState? provisioningState = default);
static member PeeringServicePrefixData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.Peering.Models.PeeringPrefixValidationState> * Nullable<Azure.ResourceManager.Peering.Models.PeeringLearnedType> * string * seq<Azure.ResourceManager.Peering.Models.PeeringServicePrefixEvent> * string * Nullable<Azure.ResourceManager.Peering.Models.PeeringProvisioningState> -> Azure.ResourceManager.Peering.PeeringServicePrefixData
Public Shared Function PeeringServicePrefixData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional prefix As String = Nothing, Optional prefixValidationState As Nullable(Of PeeringPrefixValidationState) = Nothing, Optional learnedType As Nullable(Of PeeringLearnedType) = Nothing, Optional errorMessage As String = Nothing, Optional events As IEnumerable(Of PeeringServicePrefixEvent) = Nothing, Optional peeringServicePrefixKey As String = Nothing, Optional provisioningState As Nullable(Of PeeringProvisioningState) = Nothing) As PeeringServicePrefixData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

prefix
String

The prefix from which your traffic originates.

prefixValidationState
Nullable<PeeringPrefixValidationState>

The prefix validation state.

learnedType
Nullable<PeeringLearnedType>

The prefix learned type.

errorMessage
String

The error message for validation state.

events
IEnumerable<PeeringServicePrefixEvent>

The list of events for peering service prefix.

peeringServicePrefixKey
String

The peering service prefix key.

provisioningState
Nullable<PeeringProvisioningState>

The provisioning state of the resource.

Returns

A new PeeringServicePrefixData instance for mocking.

Applies to