public class VirtualNetworkGatewayInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
VirtualNetworkGatewayInner() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
active()
Get the active property: ActiveActive flag.
|
BgpSettings |
bgpSettings()
Get the bgpSettings property: Virtual network gateway's BGP speaker settings.
|
AddressSpace |
customRoutes()
Get the customRoutes property: The reference to the address space resource which represents the custom routes
address space specified by the customer for virtual network gateway and VpnClient.
|
Boolean |
enableBgp()
Get the enableBgp property: Whether BGP is enabled for this virtual network gateway or not.
|
Boolean |
enableDnsForwarding()
Get the enableDnsForwarding property: Whether dns forwarding is enabled or not.
|
Boolean |
enablePrivateIpAddress()
Get the enablePrivateIpAddress property: Whether private IP needs to be enabled on this gateway for connections
or not.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
com.azure.core.management.SubResource |
gatewayDefaultSite()
Get the gatewayDefaultSite property: The reference to the LocalNetworkGateway resource which represents local
network site having default routes.
|
VirtualNetworkGatewayType |
gatewayType()
Get the gatewayType property: The type of this virtual network gateway.
|
String |
id()
Get the id property: Resource ID.
|
String |
inboundDnsForwardingEndpoint()
Get the inboundDnsForwardingEndpoint property: The IP address allocated by the gateway to which dns requests can
be sent.
|
List<VirtualNetworkGatewayIpConfigurationInner> |
ipConfigurations()
Get the ipConfigurations property: IP configurations for virtual network gateway.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the virtual network gateway resource.
|
String |
resourceGuid()
Get the resourceGuid property: The resource GUID property of the virtual network gateway resource.
|
VirtualNetworkGatewaySku |
sku()
Get the sku property: The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected
for Virtual network gateway.
|
void |
validate()
Validates the instance.
|
VpnClientConfiguration |
vpnClientConfiguration()
Get the vpnClientConfiguration property: The reference to the VpnClientConfiguration resource which represents
the P2S VpnClient configurations.
|
VpnGatewayGeneration |
vpnGatewayGeneration()
Get the vpnGatewayGeneration property: The generation for this VirtualNetworkGateway.
|
VpnType |
vpnType()
Get the vpnType property: The type of this virtual network gateway.
|
VirtualNetworkGatewayInner |
withActive(Boolean active)
Set the active property: ActiveActive flag.
|
VirtualNetworkGatewayInner |
withBgpSettings(BgpSettings bgpSettings)
Set the bgpSettings property: Virtual network gateway's BGP speaker settings.
|
VirtualNetworkGatewayInner |
withCustomRoutes(AddressSpace customRoutes)
Set the customRoutes property: The reference to the address space resource which represents the custom routes
address space specified by the customer for virtual network gateway and VpnClient.
|
VirtualNetworkGatewayInner |
withEnableBgp(Boolean enableBgp)
Set the enableBgp property: Whether BGP is enabled for this virtual network gateway or not.
|
VirtualNetworkGatewayInner |
withEnableDnsForwarding(Boolean enableDnsForwarding)
Set the enableDnsForwarding property: Whether dns forwarding is enabled or not.
|
VirtualNetworkGatewayInner |
withEnablePrivateIpAddress(Boolean enablePrivateIpAddress)
Set the enablePrivateIpAddress property: Whether private IP needs to be enabled on this gateway for connections
or not.
|
VirtualNetworkGatewayInner |
withGatewayDefaultSite(com.azure.core.management.SubResource gatewayDefaultSite)
Set the gatewayDefaultSite property: The reference to the LocalNetworkGateway resource which represents local
network site having default routes.
|
VirtualNetworkGatewayInner |
withGatewayType(VirtualNetworkGatewayType gatewayType)
Set the gatewayType property: The type of this virtual network gateway.
|
VirtualNetworkGatewayInner |
withId(String id)
Set the id property: Resource ID.
|
VirtualNetworkGatewayInner |
withIpConfigurations(List<VirtualNetworkGatewayIpConfigurationInner> ipConfigurations)
Set the ipConfigurations property: IP configurations for virtual network gateway.
|
VirtualNetworkGatewayInner |
withSku(VirtualNetworkGatewaySku sku)
Set the sku property: The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected
for Virtual network gateway.
|
VirtualNetworkGatewayInner |
withVpnClientConfiguration(VpnClientConfiguration vpnClientConfiguration)
Set the vpnClientConfiguration property: The reference to the VpnClientConfiguration resource which represents
the P2S VpnClient configurations.
|
VirtualNetworkGatewayInner |
withVpnGatewayGeneration(VpnGatewayGeneration vpnGatewayGeneration)
Set the vpnGatewayGeneration property: The generation for this VirtualNetworkGateway.
|
VirtualNetworkGatewayInner |
withVpnType(VpnType vpnType)
Set the vpnType property: The type of this virtual network gateway.
|
public String etag()
public List<VirtualNetworkGatewayIpConfigurationInner> ipConfigurations()
public VirtualNetworkGatewayInner withIpConfigurations(List<VirtualNetworkGatewayIpConfigurationInner> ipConfigurations)
ipConfigurations - the ipConfigurations value to set.public VirtualNetworkGatewayType gatewayType()
public VirtualNetworkGatewayInner withGatewayType(VirtualNetworkGatewayType gatewayType)
gatewayType - the gatewayType value to set.public VpnType vpnType()
public VirtualNetworkGatewayInner withVpnType(VpnType vpnType)
vpnType - the vpnType value to set.public VpnGatewayGeneration vpnGatewayGeneration()
public VirtualNetworkGatewayInner withVpnGatewayGeneration(VpnGatewayGeneration vpnGatewayGeneration)
vpnGatewayGeneration - the vpnGatewayGeneration value to set.public Boolean enableBgp()
public VirtualNetworkGatewayInner withEnableBgp(Boolean enableBgp)
enableBgp - the enableBgp value to set.public Boolean enablePrivateIpAddress()
public VirtualNetworkGatewayInner withEnablePrivateIpAddress(Boolean enablePrivateIpAddress)
enablePrivateIpAddress - the enablePrivateIpAddress value to set.public Boolean active()
public VirtualNetworkGatewayInner withActive(Boolean active)
active - the active value to set.public com.azure.core.management.SubResource gatewayDefaultSite()
public VirtualNetworkGatewayInner withGatewayDefaultSite(com.azure.core.management.SubResource gatewayDefaultSite)
gatewayDefaultSite - the gatewayDefaultSite value to set.public VirtualNetworkGatewaySku sku()
public VirtualNetworkGatewayInner withSku(VirtualNetworkGatewaySku sku)
sku - the sku value to set.public VpnClientConfiguration vpnClientConfiguration()
public VirtualNetworkGatewayInner withVpnClientConfiguration(VpnClientConfiguration vpnClientConfiguration)
vpnClientConfiguration - the vpnClientConfiguration value to set.public BgpSettings bgpSettings()
public VirtualNetworkGatewayInner withBgpSettings(BgpSettings bgpSettings)
bgpSettings - the bgpSettings value to set.public AddressSpace customRoutes()
public VirtualNetworkGatewayInner withCustomRoutes(AddressSpace customRoutes)
customRoutes - the customRoutes value to set.public String resourceGuid()
public ProvisioningState provisioningState()
public Boolean enableDnsForwarding()
public VirtualNetworkGatewayInner withEnableDnsForwarding(Boolean enableDnsForwarding)
enableDnsForwarding - the enableDnsForwarding value to set.public String inboundDnsForwardingEndpoint()
public String id()
id in class com.azure.core.management.ProxyResourcepublic VirtualNetworkGatewayInner 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.