StaticRoutesConfig Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. StaticRoutesConfig
- com.
Implements
public final class StaticRoutesConfig
implements JsonSerializable<StaticRoutesConfig>
Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.
Constructor Summary
Constructor | Description |
---|---|
StaticRoutesConfig() |
Creates an instance of Static |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Static |
fromJson(JsonReader jsonReader)
Reads an instance of Static |
Boolean |
propagateStaticRoutes()
Get the propagate |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Vnet |
vnetLocalRouteOverrideCriteria()
Get the vnet |
Static |
withVnetLocalRouteOverrideCriteria(VnetLocalRouteOverrideCriteria vnetLocalRouteOverrideCriteria)
Set the vnet |
Methods inherited from java.lang.Object
Constructor Details
StaticRoutesConfig
public StaticRoutesConfig()
Creates an instance of StaticRoutesConfig class.
Method Details
fromJson
public static StaticRoutesConfig fromJson(JsonReader jsonReader)
Reads an instance of StaticRoutesConfig from the JsonReader.
Parameters:
Returns:
Throws:
propagateStaticRoutes
public Boolean propagateStaticRoutes()
Get the propagateStaticRoutes property: Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
Returns:
toJson
validate
public void validate()
Validates the instance.
vnetLocalRouteOverrideCriteria
public VnetLocalRouteOverrideCriteria vnetLocalRouteOverrideCriteria()
Get the vnetLocalRouteOverrideCriteria property: Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
Returns:
withVnetLocalRouteOverrideCriteria
public StaticRoutesConfig withVnetLocalRouteOverrideCriteria(VnetLocalRouteOverrideCriteria vnetLocalRouteOverrideCriteria)
Set the vnetLocalRouteOverrideCriteria property: Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
Parameters:
Returns:
Applies to
Azure SDK for Java