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.
|
List<VpnGatewayIpConfiguration> |
ipConfigurations()
Get the ipConfigurations property: List of all IPs configured on the gateway.
|
Boolean |
isRoutingPreferenceInternet()
Get the isRoutingPreferenceInternet property: Enable Routing Preference property for the Public IP Interface of
the VpnGateway.
|
List<VpnGatewayNatRuleInner> |
natRules()
Get the natRules property: List of all the nat Rules associated with the gateway.
|
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 |
withIsRoutingPreferenceInternet(Boolean isRoutingPreferenceInternet)
Set the isRoutingPreferenceInternet property: Enable Routing Preference property for the Public IP Interface of
the VpnGateway.
|
VpnGatewayInner |
withLocation(String location) |
VpnGatewayInner |
withNatRules(List<VpnGatewayNatRuleInner> natRules)
Set the natRules property: List of all the nat Rules associated with the gateway.
|
VpnGatewayInner |
withTags(Map<String,String> tags) |
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 List<VpnGatewayIpConfiguration> ipConfigurations()
public Boolean isRoutingPreferenceInternet()
public VpnGatewayInner withIsRoutingPreferenceInternet(Boolean isRoutingPreferenceInternet)
isRoutingPreferenceInternet - the isRoutingPreferenceInternet value to set.public List<VpnGatewayNatRuleInner> natRules()
public VpnGatewayInner withNatRules(List<VpnGatewayNatRuleInner> natRules)
natRules - the natRules 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 VpnGatewayInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic VpnGatewayInner withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.