共用方式為


RouteInner Class

Definition

Route resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class RouteInner : Microsoft.Azure.Management.ResourceManager.Fluent.SubResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type RouteInner = class
    inherit SubResource
Public Class RouteInner
Inherits SubResource
Inheritance
RouteInner
Attributes

Constructors

RouteInner()

Initializes a new instance of the RouteInner class.

RouteInner(RouteNextHopType, String, String, String, ProvisioningState, String, String)

Initializes a new instance of the RouteInner 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.

Id

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'

Methods

Validate()

Validate the object.

Applies to