你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Route Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) | |
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) | |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |