Partager via


VnetRoute Class

Definition

Virtual Network route contract used to pass routing information for a Virtual Network.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.VnetRouteTypeConverter))]
public class VnetRoute : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IVnetRoute, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.VnetRouteTypeConverter))>]
type VnetRoute = class
    interface IVnetRoute
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class VnetRoute
Implements IValidates, IVnetRoute
Inheritance
VnetRoute
Attributes
Implements

Constructors

VnetRoute()

Creates an new VnetRoute instance.

Properties

EndAddress

The ending address for this route. If the start address is specified in CIDR notation, this must be omitted.

Id

Resource Id.

Kind

Kind of resource.

Name

Resource Name.

RouteType

The type of route this is: DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918 INHERITED - Routes inherited from the real Virtual Network routes STATIC - Static route set on the app only These values will be used for syncing an app's routes with those from a Virtual Network.

StartAddress

The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified.

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VnetRoute.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VnetRoute.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IVnetRoute.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of VnetRoute into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to