public class RouteInner
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
RouteInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
addressPrefix()
Get the addressPrefix property: The destination CIDR to which the route applies.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
Boolean |
hasBgpOverride()
Get the hasBgpOverride property: A value indicating whether this route overrides overlapping BGP routes
regardless of LPM.
|
String |
name()
Get the name property: The name of the resource that is unique within a resource group.
|
String |
nextHopIpAddress()
Get the nextHopIpAddress property: The IP address packets should be forwarded to.
|
RouteNextHopType |
nextHopType()
Get the nextHopType property: The type of Azure hop the packet should be sent to.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the route resource.
|
String |
type()
Get the type property: The type of the resource.
|
void |
validate()
Validates the instance.
|
RouteInner |
withAddressPrefix(String addressPrefix)
Set the addressPrefix property: The destination CIDR to which the route applies.
|
RouteInner |
withHasBgpOverride(Boolean hasBgpOverride)
Set the hasBgpOverride property: A value indicating whether this route overrides overlapping BGP routes
regardless of LPM.
|
RouteInner |
withId(String id) |
RouteInner |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group.
|
RouteInner |
withNextHopIpAddress(String nextHopIpAddress)
Set the nextHopIpAddress property: The IP address packets should be forwarded to.
|
RouteInner |
withNextHopType(RouteNextHopType nextHopType)
Set the nextHopType property: The type of Azure hop the packet should be sent to.
|
RouteInner |
withType(String type)
Set the type property: The type of the resource.
|
public String name()
public RouteInner withName(String name)
name - the name value to set.public String etag()
public String type()
public RouteInner withType(String type)
type - the type value to set.public String addressPrefix()
public RouteInner withAddressPrefix(String addressPrefix)
addressPrefix - the addressPrefix value to set.public RouteNextHopType nextHopType()
public RouteInner withNextHopType(RouteNextHopType nextHopType)
nextHopType - the nextHopType value to set.public String nextHopIpAddress()
public RouteInner withNextHopIpAddress(String nextHopIpAddress)
nextHopIpAddress - the nextHopIpAddress value to set.public ProvisioningState provisioningState()
public Boolean hasBgpOverride()
public RouteInner withHasBgpOverride(Boolean hasBgpOverride)
hasBgpOverride - the hasBgpOverride value to set.public RouteInner withId(String id)
withId in class com.azure.core.management.SubResourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.