Compartir a través de


ArmNetworkModelFactory.RouteData Método

Definición

Inicializa una nueva instancia de RouteData.

public static Azure.ResourceManager.Network.RouteData RouteData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, string addressPrefix = default, Azure.ResourceManager.Network.Models.RouteNextHopType? nextHopType = default, string nextHopIPAddress = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, bool? hasBgpOverride = default);
static member RouteData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * string * Nullable<Azure.ResourceManager.Network.Models.RouteNextHopType> * string * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<bool> -> Azure.ResourceManager.Network.RouteData
Public Shared Function RouteData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional addressPrefix As String = Nothing, Optional nextHopType As Nullable(Of RouteNextHopType) = Nothing, Optional nextHopIPAddress As String = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional hasBgpOverride As Nullable(Of Boolean) = Nothing) As RouteData

Parámetros

id
ResourceIdentifier

Identificador del recurso.

name
String

Nombre del recurso.

resourceType
Nullable<ResourceType>

Tipo de recurso.

etag
Nullable<ETag>

Cadena de solo lectura única que cambia cada vez que se actualiza el recurso.

addressPrefix
String

CIDR de destino al que se aplica la ruta.

nextHopType
Nullable<RouteNextHopType>

El tipo de salto de Azure al que debe enviarse el paquete.

nextHopIPAddress
String

Los paquetes de direcciones IP se deben reenviar. Los valores del próximo salto solo se permiten en rutas en las que el tipo de próximo salto es VirtualAppliance.

provisioningState
Nullable<NetworkProvisioningState>

Estado de aprovisionamiento del recurso de ruta.

hasBgpOverride
Nullable<Boolean>

Valor que indica si esta ruta invalida las rutas BGP superpuestas independientemente de LPM.

Devoluciones

RouteData Nueva instancia de para simular.

Se aplica a