Share via


Route Class

Definition

Route resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.RouteTypeConverter))]
public class Route : Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IRoute, Microsoft.Azure.PowerShell.Cmdlets.CloudService.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.RouteTypeConverter))>]
type Route = class
    interface IRoute
    interface IJsonSerializable
    interface ISubResourceAutoGenerated
    interface IValidates
Public Class Route
Implements IRoute, IValidates
Inheritance
Route
Attributes
Implements

Constructors

Route()

Creates an new Route instance.

Properties

AddressPrefix

The destination CIDR to which the route applies.

Etag

A unique read-only string that changes whenever the resource is updated.

HasBgpOverride

A value indicating whether this route overrides overlapping BGP routes regardless of LPM.

Id

Resource ID.

Name

The name of the resource that is unique within a resource group. This name can be used to access the resource.

NextHopIPAddress

The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.

NextHopType

The type of Azure hop the packet should be sent to.

ProvisioningState

The provisioning state of the route resource.

Type

The type of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Route.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Route.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.IRoute.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Route into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to