VirtualNetworkGatewayConnectionPropertiesFormatInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayConnectionPropertiesFormatInner

Implements

public final class VirtualNetworkGatewayConnectionPropertiesFormatInner
implements JsonSerializable<VirtualNetworkGatewayConnectionPropertiesFormatInner>

VirtualNetworkGatewayConnection properties.

Constructor Summary

Constructor Description
VirtualNetworkGatewayConnectionPropertiesFormatInner()

Creates an instance of VirtualNetworkGatewayConnectionPropertiesFormatInner class.

Method Summary

Modifier and Type Method and Description
ConnectionAuthenticationType authenticationType()

Get the authenticationType property: Gateway connection authentication type.

String authorizationKey()

Get the authorizationKey property: The authorizationKey.

CertificateAuthentication certificateAuthentication()

Get the certificateAuthentication property: Certificate Authentication information for a certificate based authentication connection.

VirtualNetworkGatewayConnectionMode connectionMode()

Get the connectionMode property: The connection mode for this connection.

VirtualNetworkGatewayConnectionProtocol connectionProtocol()

Get the connectionProtocol property: Connection protocol used for this connection.

VirtualNetworkGatewayConnectionStatus connectionStatus()

Get the connectionStatus property: Virtual Network Gateway connection status.

VirtualNetworkGatewayConnectionType connectionType()

Get the connectionType property: Gateway connection type.

Integer dpdTimeoutSeconds()

Get the dpdTimeoutSeconds property: The dead peer detection timeout of this connection in seconds.

Long egressBytesTransferred()

Get the egressBytesTransferred property: The egress bytes transferred in this connection.

List<SubResource> egressNatRules()

Get the egressNatRules property: List of egress NatRules.

Boolean enableBgp()

Get the enableBgp property: EnableBgp flag.

Boolean enablePrivateLinkFastPath()

Get the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links.

Boolean expressRouteGatewayBypass()

Get the expressRouteGatewayBypass property: Bypass ExpressRoute Gateway for data forwarding.

static VirtualNetworkGatewayConnectionPropertiesFormatInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkGatewayConnectionPropertiesFormatInner from the JsonReader.

List<GatewayCustomBgpIpAddressIpConfiguration> gatewayCustomBgpIpAddresses()

Get the gatewayCustomBgpIpAddresses property: GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.

Long ingressBytesTransferred()

Get the ingressBytesTransferred property: The ingress bytes transferred in this connection.

List<SubResource> ingressNatRules()

Get the ingressNatRules property: List of ingress NatRules.

List<IpsecPolicy> ipsecPolicies()

Get the ipsecPolicies property: The IPSec Policies to be considered by this connection.

LocalNetworkGatewayInner localNetworkGateway2()

Get the localNetworkGateway2 property: The reference to local network gateway resource.

SubResource peer()

Get the peer property: The reference to peerings resource.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the virtual network gateway connection resource.

String resourceGuid()

Get the resourceGuid property: The resource GUID property of the virtual network gateway connection resource.

RoutingConfiguration routingConfiguration()

Get the routingConfiguration property: The routing configuration indicating the associated and propagated route tables for this connection.

Integer routingWeight()

Get the routingWeight property: The routing weight.

String sharedKey()

Get the sharedKey property: The IPSec shared key.

JsonWriter toJson(JsonWriter jsonWriter)
List<TrafficSelectorPolicy> trafficSelectorPolicies()

Get the trafficSelectorPolicies property: The Traffic Selector Policies to be considered by this connection.

List<TunnelConnectionHealth> tunnelConnectionStatus()

Get the tunnelConnectionStatus property: Collection of all tunnels' connection health status.

List<VirtualNetworkGatewayConnectionTunnelProperties> tunnelProperties()

Get the tunnelProperties property: Tunnel properties for virtual network gateway connection.

Boolean useLocalAzureIpAddress()

Get the useLocalAzureIpAddress property: Use private local Azure IP for the connection.

Boolean usePolicyBasedTrafficSelectors()

Get the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors.

void validate()

Validates the instance.

VirtualNetworkGatewayInner virtualNetworkGateway1()

Get the virtualNetworkGateway1 property: The reference to virtual network gateway resource.

VirtualNetworkGatewayInner virtualNetworkGateway2()

Get the virtualNetworkGateway2 property: The reference to virtual network gateway resource.

VirtualNetworkGatewayConnectionPropertiesFormatInner withAuthenticationType(ConnectionAuthenticationType authenticationType)

Set the authenticationType property: Gateway connection authentication type.

VirtualNetworkGatewayConnectionPropertiesFormatInner withAuthorizationKey(String authorizationKey)

Set the authorizationKey property: The authorizationKey.

VirtualNetworkGatewayConnectionPropertiesFormatInner withCertificateAuthentication(CertificateAuthentication certificateAuthentication)

Set the certificateAuthentication property: Certificate Authentication information for a certificate based authentication connection.

VirtualNetworkGatewayConnectionPropertiesFormatInner withConnectionMode(VirtualNetworkGatewayConnectionMode connectionMode)

Set the connectionMode property: The connection mode for this connection.

VirtualNetworkGatewayConnectionPropertiesFormatInner withConnectionProtocol(VirtualNetworkGatewayConnectionProtocol connectionProtocol)

Set the connectionProtocol property: Connection protocol used for this connection.

VirtualNetworkGatewayConnectionPropertiesFormatInner withConnectionType(VirtualNetworkGatewayConnectionType connectionType)

Set the connectionType property: Gateway connection type.

VirtualNetworkGatewayConnectionPropertiesFormatInner withDpdTimeoutSeconds(Integer dpdTimeoutSeconds)

Set the dpdTimeoutSeconds property: The dead peer detection timeout of this connection in seconds.

VirtualNetworkGatewayConnectionPropertiesFormatInner withEgressNatRules(List<SubResource> egressNatRules)

Set the egressNatRules property: List of egress NatRules.

VirtualNetworkGatewayConnectionPropertiesFormatInner withEnableBgp(Boolean enableBgp)

Set the enableBgp property: EnableBgp flag.

VirtualNetworkGatewayConnectionPropertiesFormatInner withEnablePrivateLinkFastPath(Boolean enablePrivateLinkFastPath)

Set the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links.

VirtualNetworkGatewayConnectionPropertiesFormatInner withExpressRouteGatewayBypass(Boolean expressRouteGatewayBypass)

Set the expressRouteGatewayBypass property: Bypass ExpressRoute Gateway for data forwarding.

VirtualNetworkGatewayConnectionPropertiesFormatInner withGatewayCustomBgpIpAddresses(List<GatewayCustomBgpIpAddressIpConfiguration> gatewayCustomBgpIpAddresses)

Set the gatewayCustomBgpIpAddresses property: GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.

VirtualNetworkGatewayConnectionPropertiesFormatInner withIngressNatRules(List<SubResource> ingressNatRules)

Set the ingressNatRules property: List of ingress NatRules.

VirtualNetworkGatewayConnectionPropertiesFormatInner withIpsecPolicies(List<IpsecPolicy> ipsecPolicies)

Set the ipsecPolicies property: The IPSec Policies to be considered by this connection.

VirtualNetworkGatewayConnectionPropertiesFormatInner withLocalNetworkGateway2(LocalNetworkGatewayInner localNetworkGateway2)

Set the localNetworkGateway2 property: The reference to local network gateway resource.

VirtualNetworkGatewayConnectionPropertiesFormatInner withPeer(SubResource peer)

Set the peer property: The reference to peerings resource.

VirtualNetworkGatewayConnectionPropertiesFormatInner withRoutingConfiguration(RoutingConfiguration routingConfiguration)

Set the routingConfiguration property: The routing configuration indicating the associated and propagated route tables for this connection.

VirtualNetworkGatewayConnectionPropertiesFormatInner withRoutingWeight(Integer routingWeight)

Set the routingWeight property: The routing weight.

VirtualNetworkGatewayConnectionPropertiesFormatInner withSharedKey(String sharedKey)

Set the sharedKey property: The IPSec shared key.

VirtualNetworkGatewayConnectionPropertiesFormatInner withTrafficSelectorPolicies(List<TrafficSelectorPolicy> trafficSelectorPolicies)

Set the trafficSelectorPolicies property: The Traffic Selector Policies to be considered by this connection.

VirtualNetworkGatewayConnectionPropertiesFormatInner withTunnelProperties(List<VirtualNetworkGatewayConnectionTunnelProperties> tunnelProperties)

Set the tunnelProperties property: Tunnel properties for virtual network gateway connection.

VirtualNetworkGatewayConnectionPropertiesFormatInner withUseLocalAzureIpAddress(Boolean useLocalAzureIpAddress)

Set the useLocalAzureIpAddress property: Use private local Azure IP for the connection.

VirtualNetworkGatewayConnectionPropertiesFormatInner withUsePolicyBasedTrafficSelectors(Boolean usePolicyBasedTrafficSelectors)

Set the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors.

VirtualNetworkGatewayConnectionPropertiesFormatInner withVirtualNetworkGateway1(VirtualNetworkGatewayInner virtualNetworkGateway1)

Set the virtualNetworkGateway1 property: The reference to virtual network gateway resource.

VirtualNetworkGatewayConnectionPropertiesFormatInner withVirtualNetworkGateway2(VirtualNetworkGatewayInner virtualNetworkGateway2)

Set the virtualNetworkGateway2 property: The reference to virtual network gateway resource.

Methods inherited from java.lang.Object

Constructor Details

VirtualNetworkGatewayConnectionPropertiesFormatInner

public VirtualNetworkGatewayConnectionPropertiesFormatInner()

Creates an instance of VirtualNetworkGatewayConnectionPropertiesFormatInner class.

Method Details

authenticationType

public ConnectionAuthenticationType authenticationType()

Get the authenticationType property: Gateway connection authentication type.

Returns:

the authenticationType value.

authorizationKey

public String authorizationKey()

Get the authorizationKey property: The authorizationKey.

Returns:

the authorizationKey value.

certificateAuthentication

public CertificateAuthentication certificateAuthentication()

Get the certificateAuthentication property: Certificate Authentication information for a certificate based authentication connection.

Returns:

the certificateAuthentication value.

connectionMode

public VirtualNetworkGatewayConnectionMode connectionMode()

Get the connectionMode property: The connection mode for this connection.

Returns:

the connectionMode value.

connectionProtocol

public VirtualNetworkGatewayConnectionProtocol connectionProtocol()

Get the connectionProtocol property: Connection protocol used for this connection.

Returns:

the connectionProtocol value.

connectionStatus

public VirtualNetworkGatewayConnectionStatus connectionStatus()

Get the connectionStatus property: Virtual Network Gateway connection status.

Returns:

the connectionStatus value.

connectionType

public VirtualNetworkGatewayConnectionType connectionType()

Get the connectionType property: Gateway connection type.

Returns:

the connectionType value.

dpdTimeoutSeconds

public Integer dpdTimeoutSeconds()

Get the dpdTimeoutSeconds property: The dead peer detection timeout of this connection in seconds.

Returns:

the dpdTimeoutSeconds value.

egressBytesTransferred

public Long egressBytesTransferred()

Get the egressBytesTransferred property: The egress bytes transferred in this connection.

Returns:

the egressBytesTransferred value.

egressNatRules

public List<SubResource> egressNatRules()

Get the egressNatRules property: List of egress NatRules.

Returns:

the egressNatRules value.

enableBgp

public Boolean enableBgp()

Get the enableBgp property: EnableBgp flag.

Returns:

the enableBgp value.

enablePrivateLinkFastPath

public Boolean enablePrivateLinkFastPath()

Get the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.

Returns:

the enablePrivateLinkFastPath value.

expressRouteGatewayBypass

public Boolean expressRouteGatewayBypass()

Get the expressRouteGatewayBypass property: Bypass ExpressRoute Gateway for data forwarding.

Returns:

the expressRouteGatewayBypass value.

fromJson

public static VirtualNetworkGatewayConnectionPropertiesFormatInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkGatewayConnectionPropertiesFormatInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualNetworkGatewayConnectionPropertiesFormatInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

gatewayCustomBgpIpAddresses

public List<GatewayCustomBgpIpAddressIpConfiguration> gatewayCustomBgpIpAddresses()

Get the gatewayCustomBgpIpAddresses property: GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.

Returns:

the gatewayCustomBgpIpAddresses value.

ingressBytesTransferred

public Long ingressBytesTransferred()

Get the ingressBytesTransferred property: The ingress bytes transferred in this connection.

Returns:

the ingressBytesTransferred value.

ingressNatRules

public List<SubResource> ingressNatRules()

Get the ingressNatRules property: List of ingress NatRules.

Returns:

the ingressNatRules value.

ipsecPolicies

public List<IpsecPolicy> ipsecPolicies()

Get the ipsecPolicies property: The IPSec Policies to be considered by this connection.

Returns:

the ipsecPolicies value.

localNetworkGateway2

public LocalNetworkGatewayInner localNetworkGateway2()

Get the localNetworkGateway2 property: The reference to local network gateway resource.

Returns:

the localNetworkGateway2 value.

peer

public SubResource peer()

Get the peer property: The reference to peerings resource.

Returns:

the peer value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the virtual network gateway connection resource.

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: The resource GUID property of the virtual network gateway connection resource.

Returns:

the resourceGuid value.

routingConfiguration

public RoutingConfiguration routingConfiguration()

Get the routingConfiguration property: The routing configuration indicating the associated and propagated route tables for this connection.

Returns:

the routingConfiguration value.

routingWeight

public Integer routingWeight()

Get the routingWeight property: The routing weight.

Returns:

the routingWeight value.

sharedKey

public String sharedKey()

Get the sharedKey property: The IPSec shared key.

Returns:

the sharedKey value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

trafficSelectorPolicies

public List<TrafficSelectorPolicy> trafficSelectorPolicies()

Get the trafficSelectorPolicies property: The Traffic Selector Policies to be considered by this connection.

Returns:

the trafficSelectorPolicies value.

tunnelConnectionStatus

public List<TunnelConnectionHealth> tunnelConnectionStatus()

Get the tunnelConnectionStatus property: Collection of all tunnels' connection health status.

Returns:

the tunnelConnectionStatus value.

tunnelProperties

public List<VirtualNetworkGatewayConnectionTunnelProperties> tunnelProperties()

Get the tunnelProperties property: Tunnel properties for virtual network gateway connection.

Returns:

the tunnelProperties value.

useLocalAzureIpAddress

public Boolean useLocalAzureIpAddress()

Get the useLocalAzureIpAddress property: Use private local Azure IP for the connection.

Returns:

the useLocalAzureIpAddress value.

usePolicyBasedTrafficSelectors

public Boolean usePolicyBasedTrafficSelectors()

Get the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors.

Returns:

the usePolicyBasedTrafficSelectors value.

validate

public void validate()

Validates the instance.

virtualNetworkGateway1

public VirtualNetworkGatewayInner virtualNetworkGateway1()

Get the virtualNetworkGateway1 property: The reference to virtual network gateway resource.

Returns:

the virtualNetworkGateway1 value.

virtualNetworkGateway2

public VirtualNetworkGatewayInner virtualNetworkGateway2()

Get the virtualNetworkGateway2 property: The reference to virtual network gateway resource.

Returns:

the virtualNetworkGateway2 value.

withAuthenticationType

public VirtualNetworkGatewayConnectionPropertiesFormatInner withAuthenticationType(ConnectionAuthenticationType authenticationType)

Set the authenticationType property: Gateway connection authentication type.

Parameters:

authenticationType - the authenticationType value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withAuthorizationKey

public VirtualNetworkGatewayConnectionPropertiesFormatInner withAuthorizationKey(String authorizationKey)

Set the authorizationKey property: The authorizationKey.

Parameters:

authorizationKey - the authorizationKey value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withCertificateAuthentication

public VirtualNetworkGatewayConnectionPropertiesFormatInner withCertificateAuthentication(CertificateAuthentication certificateAuthentication)

Set the certificateAuthentication property: Certificate Authentication information for a certificate based authentication connection.

Parameters:

certificateAuthentication - the certificateAuthentication value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withConnectionMode

public VirtualNetworkGatewayConnectionPropertiesFormatInner withConnectionMode(VirtualNetworkGatewayConnectionMode connectionMode)

Set the connectionMode property: The connection mode for this connection.

Parameters:

connectionMode - the connectionMode value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withConnectionProtocol

public VirtualNetworkGatewayConnectionPropertiesFormatInner withConnectionProtocol(VirtualNetworkGatewayConnectionProtocol connectionProtocol)

Set the connectionProtocol property: Connection protocol used for this connection.

Parameters:

connectionProtocol - the connectionProtocol value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withConnectionType

public VirtualNetworkGatewayConnectionPropertiesFormatInner withConnectionType(VirtualNetworkGatewayConnectionType connectionType)

Set the connectionType property: Gateway connection type.

Parameters:

connectionType - the connectionType value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withDpdTimeoutSeconds

public VirtualNetworkGatewayConnectionPropertiesFormatInner withDpdTimeoutSeconds(Integer dpdTimeoutSeconds)

Set the dpdTimeoutSeconds property: The dead peer detection timeout of this connection in seconds.

Parameters:

dpdTimeoutSeconds - the dpdTimeoutSeconds value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withEgressNatRules

public VirtualNetworkGatewayConnectionPropertiesFormatInner withEgressNatRules(List<SubResource> egressNatRules)

Set the egressNatRules property: List of egress NatRules.

Parameters:

egressNatRules - the egressNatRules value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withEnableBgp

public VirtualNetworkGatewayConnectionPropertiesFormatInner withEnableBgp(Boolean enableBgp)

Set the enableBgp property: EnableBgp flag.

Parameters:

enableBgp - the enableBgp value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withEnablePrivateLinkFastPath

public VirtualNetworkGatewayConnectionPropertiesFormatInner withEnablePrivateLinkFastPath(Boolean enablePrivateLinkFastPath)

Set the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.

Parameters:

enablePrivateLinkFastPath - the enablePrivateLinkFastPath value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withExpressRouteGatewayBypass

public VirtualNetworkGatewayConnectionPropertiesFormatInner withExpressRouteGatewayBypass(Boolean expressRouteGatewayBypass)

Set the expressRouteGatewayBypass property: Bypass ExpressRoute Gateway for data forwarding.

Parameters:

expressRouteGatewayBypass - the expressRouteGatewayBypass value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withGatewayCustomBgpIpAddresses

public VirtualNetworkGatewayConnectionPropertiesFormatInner withGatewayCustomBgpIpAddresses(List<GatewayCustomBgpIpAddressIpConfiguration> gatewayCustomBgpIpAddresses)

Set the gatewayCustomBgpIpAddresses property: GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.

Parameters:

gatewayCustomBgpIpAddresses - the gatewayCustomBgpIpAddresses value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withIngressNatRules

public VirtualNetworkGatewayConnectionPropertiesFormatInner withIngressNatRules(List<SubResource> ingressNatRules)

Set the ingressNatRules property: List of ingress NatRules.

Parameters:

ingressNatRules - the ingressNatRules value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withIpsecPolicies

public VirtualNetworkGatewayConnectionPropertiesFormatInner withIpsecPolicies(List<IpsecPolicy> ipsecPolicies)

Set the ipsecPolicies property: The IPSec Policies to be considered by this connection.

Parameters:

ipsecPolicies - the ipsecPolicies value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withLocalNetworkGateway2

public VirtualNetworkGatewayConnectionPropertiesFormatInner withLocalNetworkGateway2(LocalNetworkGatewayInner localNetworkGateway2)

Set the localNetworkGateway2 property: The reference to local network gateway resource.

Parameters:

localNetworkGateway2 - the localNetworkGateway2 value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withPeer

public VirtualNetworkGatewayConnectionPropertiesFormatInner withPeer(SubResource peer)

Set the peer property: The reference to peerings resource.

Parameters:

peer - the peer value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withRoutingConfiguration

public VirtualNetworkGatewayConnectionPropertiesFormatInner withRoutingConfiguration(RoutingConfiguration routingConfiguration)

Set the routingConfiguration property: The routing configuration indicating the associated and propagated route tables for this connection.

Parameters:

routingConfiguration - the routingConfiguration value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withRoutingWeight

public VirtualNetworkGatewayConnectionPropertiesFormatInner withRoutingWeight(Integer routingWeight)

Set the routingWeight property: The routing weight.

Parameters:

routingWeight - the routingWeight value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withSharedKey

public VirtualNetworkGatewayConnectionPropertiesFormatInner withSharedKey(String sharedKey)

Set the sharedKey property: The IPSec shared key.

Parameters:

sharedKey - the sharedKey value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withTrafficSelectorPolicies

public VirtualNetworkGatewayConnectionPropertiesFormatInner withTrafficSelectorPolicies(List<TrafficSelectorPolicy> trafficSelectorPolicies)

Set the trafficSelectorPolicies property: The Traffic Selector Policies to be considered by this connection.

Parameters:

trafficSelectorPolicies - the trafficSelectorPolicies value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withTunnelProperties

public VirtualNetworkGatewayConnectionPropertiesFormatInner withTunnelProperties(List<VirtualNetworkGatewayConnectionTunnelProperties> tunnelProperties)

Set the tunnelProperties property: Tunnel properties for virtual network gateway connection.

Parameters:

tunnelProperties - the tunnelProperties value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withUseLocalAzureIpAddress

public VirtualNetworkGatewayConnectionPropertiesFormatInner withUseLocalAzureIpAddress(Boolean useLocalAzureIpAddress)

Set the useLocalAzureIpAddress property: Use private local Azure IP for the connection.

Parameters:

useLocalAzureIpAddress - the useLocalAzureIpAddress value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withUsePolicyBasedTrafficSelectors

public VirtualNetworkGatewayConnectionPropertiesFormatInner withUsePolicyBasedTrafficSelectors(Boolean usePolicyBasedTrafficSelectors)

Set the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors.

Parameters:

usePolicyBasedTrafficSelectors - the usePolicyBasedTrafficSelectors value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withVirtualNetworkGateway1

public VirtualNetworkGatewayConnectionPropertiesFormatInner withVirtualNetworkGateway1(VirtualNetworkGatewayInner virtualNetworkGateway1)

Set the virtualNetworkGateway1 property: The reference to virtual network gateway resource.

Parameters:

virtualNetworkGateway1 - the virtualNetworkGateway1 value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

withVirtualNetworkGateway2

public VirtualNetworkGatewayConnectionPropertiesFormatInner withVirtualNetworkGateway2(VirtualNetworkGatewayInner virtualNetworkGateway2)

Set the virtualNetworkGateway2 property: The reference to virtual network gateway resource.

Parameters:

virtualNetworkGateway2 - the virtualNetworkGateway2 value to set.

Returns:

the VirtualNetworkGatewayConnectionPropertiesFormatInner object itself.

Applies to