public class VpnGatewayInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
VpnGatewayInner() |
| Modifier and Type | Method and Description |
|---|---|
BgpSettings |
bgpSettings()
Get the bgpSettings property: Local network gateway's BGP speaker settings.
|
List<VpnConnectionInner> |
connections()
Get the connections property: List of all vpn connections to the gateway.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
id()
Get the id property: Resource ID.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the VPN gateway resource.
|
void |
validate()
Validates the instance.
|
com.azure.core.management.SubResource |
virtualHub()
Get the virtualHub property: The VirtualHub to which the gateway belongs.
|
Integer |
vpnGatewayScaleUnit()
Get the vpnGatewayScaleUnit property: The scale unit for this vpn gateway.
|
VpnGatewayInner |
withBgpSettings(BgpSettings bgpSettings)
Set the bgpSettings property: Local network gateway's BGP speaker settings.
|
VpnGatewayInner |
withConnections(List<VpnConnectionInner> connections)
Set the connections property: List of all vpn connections to the gateway.
|
VpnGatewayInner |
withId(String id)
Set the id property: Resource ID.
|
VpnGatewayInner |
withVirtualHub(com.azure.core.management.SubResource virtualHub)
Set the virtualHub property: The VirtualHub to which the gateway belongs.
|
VpnGatewayInner |
withVpnGatewayScaleUnit(Integer vpnGatewayScaleUnit)
Set the vpnGatewayScaleUnit property: The scale unit for this vpn gateway.
|
public String etag()
public com.azure.core.management.SubResource virtualHub()
public VpnGatewayInner withVirtualHub(com.azure.core.management.SubResource virtualHub)
virtualHub - the virtualHub value to set.public List<VpnConnectionInner> connections()
public VpnGatewayInner withConnections(List<VpnConnectionInner> connections)
connections - the connections value to set.public BgpSettings bgpSettings()
public VpnGatewayInner withBgpSettings(BgpSettings bgpSettings)
bgpSettings - the bgpSettings value to set.public ProvisioningState provisioningState()
public Integer vpnGatewayScaleUnit()
public VpnGatewayInner withVpnGatewayScaleUnit(Integer vpnGatewayScaleUnit)
vpnGatewayScaleUnit - the vpnGatewayScaleUnit value to set.public String id()
id in class com.azure.core.management.ProxyResourcepublic VpnGatewayInner 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.