Share via


StaticRoutesConfig Class

Definition

Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.

public class StaticRoutesConfig : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.Models.StaticRoutesConfig>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.Models.StaticRoutesConfig>
public class StaticRoutesConfig
type StaticRoutesConfig = class
    interface IJsonModel<StaticRoutesConfig>
    interface IPersistableModel<StaticRoutesConfig>
type StaticRoutesConfig = class
Public Class StaticRoutesConfig
Implements IJsonModel(Of StaticRoutesConfig), IPersistableModel(Of StaticRoutesConfig)
Public Class StaticRoutesConfig
Inheritance
StaticRoutesConfig
Implements

Constructors

StaticRoutesConfig()

Initializes a new instance of StaticRoutesConfig.

Properties

PropagateStaticRoutes

Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.

VnetLocalRouteOverrideCriteria

Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.

Explicit Interface Implementations

IJsonModel<StaticRoutesConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<StaticRoutesConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StaticRoutesConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StaticRoutesConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<StaticRoutesConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to