Partager via


VnetRouteProperties Class

Definition

VnetRoute resource specific properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.VnetRoutePropertiesTypeConverter))]
public class VnetRouteProperties : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IVnetRouteProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.VnetRoutePropertiesTypeConverter))>]
type VnetRouteProperties = class
    interface IVnetRouteProperties
    interface IJsonSerializable
Public Class VnetRouteProperties
Implements IVnetRouteProperties
Inheritance
VnetRouteProperties
Attributes
Implements

Constructors

VnetRouteProperties()

Creates an new VnetRouteProperties instance.

Properties

EndAddress

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

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VnetRouteProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VnetRouteProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of VnetRouteProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to