共用方式為


Route Class

Definition

Route resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Route : Microsoft.Azure.Management.Network.Models.SubResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Route = class
    inherit SubResource
Public Class Route
Inherits SubResource
Inheritance
Attributes

Constructors

Route()

Initializes a new instance of the Route class.

Route(String, String, String, String, String, Nullable<Boolean>, String, String, String)

Initializes a new instance of the Route class.

Properties

AddressPrefix

Gets or sets the destination CIDR to which the route applies.

Etag

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

HasBgpOverride

Gets or sets a value indicating whether this route overrides overlapping BGP routes regardless of LPM.

Id

Gets or sets resource ID.

(Inherited from SubResource)
Name

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

NextHopIpAddress

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

NextHopType

Gets or sets the type of Azure hop the packet should be sent to. Possible values include: 'VirtualNetworkGateway', 'VnetLocal', 'Internet', 'VirtualAppliance', 'None'

ProvisioningState

Gets the provisioning state of the route resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

Type

Gets or sets the type of the resource.

Methods

Validate()

Validate the object.

Applies to