VirtualHubRouteTableV2Inner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. VirtualHubRouteTableV2Inner
- com.
- com.
public final class VirtualHubRouteTableV2Inner
extends SubResource
VirtualHubRouteTableV2 Resource.
Constructor Summary
Constructor | Description |
---|---|
VirtualHubRouteTableV2Inner() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
attachedConnections()
Get the attached |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
String |
name()
Get the name property: The name of the resource that is unique within a resource group. |
Provisioning |
provisioningState()
Get the provisioning |
List<Virtual |
routes()
Get the routes property: List of all routes. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Virtual |
withAttachedConnections(List<String> attachedConnections)
Set the attached |
Virtual |
withId(String id) |
Virtual |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group. |
Virtual |
withRoutes(List<VirtualHubRouteV2> routes)
Set the routes property: List of all routes. |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
VirtualHubRouteTableV2Inner
public VirtualHubRouteTableV2Inner()
Creates an instance of VirtualHubRouteTableV2Inner class.
Method Details
attachedConnections
public List
Get the attachedConnections property: List of all connections attached to this route table v2.
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 VirtualHubRouteTableV2Inner fromJson(JsonReader jsonReader)
Reads an instance of VirtualHubRouteTableV2Inner from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the virtual hub route table v2 resource.
Returns:
routes
public List
Get the routes property: List of all routes.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VirtualHubRouteTableV2Inner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
withAttachedConnections
public VirtualHubRouteTableV2Inner withAttachedConnections(List
Set the attachedConnections property: List of all connections attached to this route table v2.
Parameters:
Returns:
withId
public VirtualHubRouteTableV2Inner withId(String id)
Overrides:
VirtualHubRouteTableV2Inner.withId(String id)Parameters:
withName
public VirtualHubRouteTableV2Inner withName(String name)
Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
Parameters:
Returns:
withRoutes
public VirtualHubRouteTableV2Inner withRoutes(List
Set the routes property: List of all routes.
Parameters:
Returns:
Applies to
Azure SDK for Java