public class VnetRouteInner extends ProxyOnlyResource
| Constructor and Description |
|---|
VnetRouteInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
endAddress()
Get the endAddress property: The ending address for this route.
|
RouteType |
routeType()
Get the routeType property: The type of route this is: DEFAULT - By default, every app has routes to the local
address ranges specified by RFC1918 INHERITED - Routes inherited from the real Virtual Network routes STATIC -
Static route set on the app only
|
String |
startAddress()
Get the startAddress property: The starting address for this route.
|
void |
validate()
Validates the instance.
|
VnetRouteInner |
withEndAddress(String endAddress)
Set the endAddress property: The ending address for this route.
|
VnetRouteInner |
withKind(String kind)
Set the kind property: Kind of resource.
|
VnetRouteInner |
withRouteType(RouteType routeType)
Set the routeType property: The type of route this is: DEFAULT - By default, every app has routes to the local
address ranges specified by RFC1918 INHERITED - Routes inherited from the real Virtual Network routes STATIC -
Static route set on the app only
|
VnetRouteInner |
withStartAddress(String startAddress)
Set the startAddress property: The starting address for this route.
|
kindpublic String startAddress()
public VnetRouteInner withStartAddress(String startAddress)
startAddress - the startAddress value to set.public String endAddress()
public VnetRouteInner withEndAddress(String endAddress)
endAddress - the endAddress value to set.public RouteType routeType()
These values will be used for syncing an app's routes with those from a Virtual Network.
public VnetRouteInner withRouteType(RouteType routeType)
These values will be used for syncing an app's routes with those from a Virtual Network.
routeType - the routeType value to set.public VnetRouteInner withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.