public class VirtualRouterInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
VirtualRouterInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
com.azure.core.management.SubResource |
hostedGateway()
Get the hostedGateway property: The Gateway on which VirtualRouter is hosted.
|
com.azure.core.management.SubResource |
hostedSubnet()
Get the hostedSubnet property: The Subnet on which VirtualRouter is hosted.
|
String |
id()
Get the id property: Resource ID.
|
List<com.azure.core.management.SubResource> |
peerings()
Get the peerings property: List of references to VirtualRouterPeerings.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the resource.
|
void |
validate()
Validates the instance.
|
Long |
virtualRouterAsn()
Get the virtualRouterAsn property: VirtualRouter ASN.
|
List<String> |
virtualRouterIps()
Get the virtualRouterIps property: VirtualRouter IPs.
|
VirtualRouterInner |
withHostedGateway(com.azure.core.management.SubResource hostedGateway)
Set the hostedGateway property: The Gateway on which VirtualRouter is hosted.
|
VirtualRouterInner |
withHostedSubnet(com.azure.core.management.SubResource hostedSubnet)
Set the hostedSubnet property: The Subnet on which VirtualRouter is hosted.
|
VirtualRouterInner |
withId(String id)
Set the id property: Resource ID.
|
VirtualRouterInner |
withVirtualRouterAsn(Long virtualRouterAsn)
Set the virtualRouterAsn property: VirtualRouter ASN.
|
VirtualRouterInner |
withVirtualRouterIps(List<String> virtualRouterIps)
Set the virtualRouterIps property: VirtualRouter IPs.
|
public String etag()
public Long virtualRouterAsn()
public VirtualRouterInner withVirtualRouterAsn(Long virtualRouterAsn)
virtualRouterAsn - the virtualRouterAsn value to set.public List<String> virtualRouterIps()
public VirtualRouterInner withVirtualRouterIps(List<String> virtualRouterIps)
virtualRouterIps - the virtualRouterIps value to set.public com.azure.core.management.SubResource hostedSubnet()
public VirtualRouterInner withHostedSubnet(com.azure.core.management.SubResource hostedSubnet)
hostedSubnet - the hostedSubnet value to set.public com.azure.core.management.SubResource hostedGateway()
public VirtualRouterInner withHostedGateway(com.azure.core.management.SubResource hostedGateway)
hostedGateway - the hostedGateway value to set.public List<com.azure.core.management.SubResource> peerings()
public ProvisioningState provisioningState()
public String id()
id in class com.azure.core.management.ProxyResourcepublic VirtualRouterInner withId(String id)
id - the id value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.