RouteTableInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. RouteTableInner
- com.
- com.
- com.
public final class RouteTableInner
extends Resource
Route table resource.
Constructor Summary
Constructor | Description |
---|---|
RouteTableInner() |
Creates an instance of Route |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
disableBgpRoutePropagation()
Get the disable |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Route |
fromJson(JsonReader jsonReader)
Reads an instance of Route |
String |
id()
Get the id property: Resource ID. |
String |
name()
Get the name property: The name of the resource. |
Provisioning |
provisioningState()
Get the provisioning |
String |
resourceGuid()
Get the resource |
List<Route |
routes()
Get the routes property: Collection of routes contained within a route table. |
List<Subnet |
subnets()
Get the subnets property: A collection of references to subnets. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Route |
withDisableBgpRoutePropagation(Boolean disableBgpRoutePropagation)
Set the disable |
Route |
withId(String id)
Set the id property: Resource ID. |
Route |
withLocation(String location) |
Route |
withRoutes(List<RouteInner> routes)
Set the routes property: Collection of routes contained within a route table. |
Route |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
RouteTableInner
public RouteTableInner()
Creates an instance of RouteTableInner class.
Method Details
disableBgpRoutePropagation
public Boolean disableBgpRoutePropagation()
Get the disableBgpRoutePropagation property: Whether to disable the routes learned by BGP on that route table. True means disable.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static RouteTableInner fromJson(JsonReader jsonReader)
Reads an instance of RouteTableInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
RouteTableInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
RouteTableInner.name()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the route table resource.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the route table.
Returns:
routes
public List
Get the routes property: Collection of routes contained within a route table.
Returns:
subnets
public List
Get the subnets property: A collection of references to subnets.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RouteTableInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
RouteTableInner.type()Returns:
validate
public void validate()
Validates the instance.
withDisableBgpRoutePropagation
public RouteTableInner withDisableBgpRoutePropagation(Boolean disableBgpRoutePropagation)
Set the disableBgpRoutePropagation property: Whether to disable the routes learned by BGP on that route table. True means disable.
Parameters:
Returns:
withId
public RouteTableInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withLocation
public RouteTableInner withLocation(String location)
Overrides:
RouteTableInner.withLocation(String location)Parameters:
withRoutes
public RouteTableInner withRoutes(List
Set the routes property: Collection of routes contained within a route table.
Parameters:
Returns:
withTags
public RouteTableInner withTags(Map
Overrides:
RouteTableInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java