ArmPeeringModelFactory.PeeringRegisteredPrefixData Method

Definition

Initializes a new instance of PeeringRegisteredPrefixData.

public static Azure.ResourceManager.Peering.PeeringRegisteredPrefixData PeeringRegisteredPrefixData (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, string peeringServicePrefixKey = default, string errorMessage = default, Azure.ResourceManager.Peering.Models.PeeringProvisioningState? provisioningState = default);
static member PeeringRegisteredPrefixData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.Peering.Models.PeeringPrefixValidationState> * string * string * Nullable<Azure.ResourceManager.Peering.Models.PeeringProvisioningState> -> Azure.ResourceManager.Peering.PeeringRegisteredPrefixData
Public Shared Function PeeringRegisteredPrefixData (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 peeringServicePrefixKey As String = Nothing, Optional errorMessage As String = Nothing, Optional provisioningState As Nullable(Of PeeringProvisioningState) = Nothing) As PeeringRegisteredPrefixData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

prefix
String

The customer's prefix from which traffic originates.

prefixValidationState
Nullable<PeeringPrefixValidationState>

The prefix validation state.

peeringServicePrefixKey
String

The peering service prefix key that is to be shared with the customer.

errorMessage
String

The error message associated with the validation state, if any.

provisioningState
Nullable<PeeringProvisioningState>

The provisioning state of the resource.

Returns

A new PeeringRegisteredPrefixData instance for mocking.

Applies to