Share via


PeeringServicePrefix Class

Definition

The peering service prefix class.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.PeeringServicePrefixTypeConverter))]
public class PeeringServicePrefix : Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.IPeeringServicePrefix, Microsoft.Azure.PowerShell.Cmdlets.Peering.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.PeeringServicePrefixTypeConverter))>]
type PeeringServicePrefix = class
    interface IPeeringServicePrefix
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class PeeringServicePrefix
Implements IPeeringServicePrefix, IValidates
Inheritance
PeeringServicePrefix
Attributes
Implements

Constructors

PeeringServicePrefix()

Creates an new PeeringServicePrefix instance.

Properties

ErrorMessage

The error message for validation state

Event

The list of events for peering service prefix

Id

The ID of the resource.

Key

The peering service prefix key

LearnedType

The prefix learned type

Name

The name of the resource.

Prefix

The prefix from which your traffic originates.

PrefixValidationState

The prefix validation state

ProvisioningState

The provisioning state of the resource.

ResourceGroupName

Gets the resource group name

Type

The type of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PeeringServicePrefix.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PeeringServicePrefix.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Peering.Models.Api20221001.IPeeringServicePrefix.

FromJsonString(String)

Creates a new instance of PeeringServicePrefix, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of PeeringServicePrefix into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to