VirtualNetworkGatewayConnectionListEntityInner Class

public final class VirtualNetworkGatewayConnectionListEntityInner
extends Resource

A common class for general resource information.

Constructor Summary

Constructor Description
VirtualNetworkGatewayConnectionListEntityInner()

Creates an instance of VirtualNetworkGatewayConnectionListEntityInner class.

Method Summary

Modifier and Type Method and Description
String authorizationKey()

Get the authorizationKey property: The authorizationKey.

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.

Long egressBytesTransferred()

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

Boolean enableBgp()

Get the enableBgp property: EnableBgp flag.

Boolean enablePrivateLinkFastPath()

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

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Boolean expressRouteGatewayBypass()

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

List<GatewayCustomBgpIpAddressIpConfiguration> gatewayCustomBgpIpAddresses()

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

String id()

Get the id property: Resource ID.

Long ingressBytesTransferred()

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

List<IpsecPolicy> ipsecPolicies()

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

VirtualNetworkConnectionGatewayReference 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.

Integer routingWeight()

Get the routingWeight property: The routing weight.

String sharedKey()

Get the sharedKey property: The IPSec shared key.

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.

Boolean usePolicyBasedTrafficSelectors()

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

void validate()

Validates the instance.

VirtualNetworkConnectionGatewayReference virtualNetworkGateway1()

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

VirtualNetworkConnectionGatewayReference virtualNetworkGateway2()

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

VirtualNetworkGatewayConnectionListEntityInner withAuthorizationKey(String authorizationKey)

Set the authorizationKey property: The authorizationKey.

VirtualNetworkGatewayConnectionListEntityInner withConnectionMode(VirtualNetworkGatewayConnectionMode connectionMode)

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

VirtualNetworkGatewayConnectionListEntityInner withConnectionProtocol(VirtualNetworkGatewayConnectionProtocol connectionProtocol)

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

VirtualNetworkGatewayConnectionListEntityInner withConnectionType(VirtualNetworkGatewayConnectionType connectionType)

Set the connectionType property: Gateway connection type.

VirtualNetworkGatewayConnectionListEntityInner withEnableBgp(Boolean enableBgp)

Set the enableBgp property: EnableBgp flag.

VirtualNetworkGatewayConnectionListEntityInner withEnablePrivateLinkFastPath(Boolean enablePrivateLinkFastPath)

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

VirtualNetworkGatewayConnectionListEntityInner withExpressRouteGatewayBypass(Boolean expressRouteGatewayBypass)

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

VirtualNetworkGatewayConnectionListEntityInner withGatewayCustomBgpIpAddresses(List<GatewayCustomBgpIpAddressIpConfiguration> gatewayCustomBgpIpAddresses)

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

VirtualNetworkGatewayConnectionListEntityInner withId(String id)

Set the id property: Resource ID.

VirtualNetworkGatewayConnectionListEntityInner withIpsecPolicies(List<IpsecPolicy> ipsecPolicies)

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

VirtualNetworkGatewayConnectionListEntityInner withLocalNetworkGateway2(VirtualNetworkConnectionGatewayReference localNetworkGateway2)

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

VirtualNetworkGatewayConnectionListEntityInner withLocation(String location)
VirtualNetworkGatewayConnectionListEntityInner withPeer(SubResource peer)

Set the peer property: The reference to peerings resource.

VirtualNetworkGatewayConnectionListEntityInner withRoutingWeight(Integer routingWeight)

Set the routingWeight property: The routing weight.

VirtualNetworkGatewayConnectionListEntityInner withSharedKey(String sharedKey)

Set the sharedKey property: The IPSec shared key.

VirtualNetworkGatewayConnectionListEntityInner withTags(Map<String,String> tags)
VirtualNetworkGatewayConnectionListEntityInner withTrafficSelectorPolicies(List<TrafficSelectorPolicy> trafficSelectorPolicies)

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

VirtualNetworkGatewayConnectionListEntityInner withUsePolicyBasedTrafficSelectors(Boolean usePolicyBasedTrafficSelectors)

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

VirtualNetworkGatewayConnectionListEntityInner withVirtualNetworkGateway1(VirtualNetworkConnectionGatewayReference virtualNetworkGateway1)

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

VirtualNetworkGatewayConnectionListEntityInner withVirtualNetworkGateway2(VirtualNetworkConnectionGatewayReference virtualNetworkGateway2)

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

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

VirtualNetworkGatewayConnectionListEntityInner

public VirtualNetworkGatewayConnectionListEntityInner()

Creates an instance of VirtualNetworkGatewayConnectionListEntityInner class.

Method Details

authorizationKey

public String authorizationKey()

Get the authorizationKey property: The authorizationKey.

Returns:

the authorizationKey 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.

egressBytesTransferred

public Long egressBytesTransferred()

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

Returns:

the egressBytesTransferred 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.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

expressRouteGatewayBypass

public Boolean expressRouteGatewayBypass()

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

Returns:

the expressRouteGatewayBypass value.

gatewayCustomBgpIpAddresses

public List gatewayCustomBgpIpAddresses()

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

Returns:

the gatewayCustomBgpIpAddresses value.

id

public String id()

Get the id property: Resource ID.

Overrides:

VirtualNetworkGatewayConnectionListEntityInner.id()

Returns:

the id value.

ingressBytesTransferred

public Long ingressBytesTransferred()

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

Returns:

the ingressBytesTransferred value.

ipsecPolicies

public List ipsecPolicies()

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

Returns:

the ipsecPolicies value.

localNetworkGateway2

public VirtualNetworkConnectionGatewayReference 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.

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.

trafficSelectorPolicies

public List trafficSelectorPolicies()

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

Returns:

the trafficSelectorPolicies value.

tunnelConnectionStatus

public List tunnelConnectionStatus()

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

Returns:

the tunnelConnectionStatus 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 VirtualNetworkConnectionGatewayReference virtualNetworkGateway1()

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

Returns:

the virtualNetworkGateway1 value.

virtualNetworkGateway2

public VirtualNetworkConnectionGatewayReference virtualNetworkGateway2()

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

Returns:

the virtualNetworkGateway2 value.

withAuthorizationKey

public VirtualNetworkGatewayConnectionListEntityInner withAuthorizationKey(String authorizationKey)

Set the authorizationKey property: The authorizationKey.

Parameters:

authorizationKey - the authorizationKey value to set.

Returns:

the VirtualNetworkGatewayConnectionListEntityInner object itself.

withConnectionMode

public VirtualNetworkGatewayConnectionListEntityInner withConnectionMode(VirtualNetworkGatewayConnectionMode connectionMode)

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

Parameters:

connectionMode - the connectionMode value to set.

Returns:

the VirtualNetworkGatewayConnectionListEntityInner object itself.

withConnectionProtocol

public VirtualNetworkGatewayConnectionListEntityInner withConnectionProtocol(VirtualNetworkGatewayConnectionProtocol connectionProtocol)

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

Parameters:

connectionProtocol - the connectionProtocol value to set.

Returns:

the VirtualNetworkGatewayConnectionListEntityInner object itself.

withConnectionType

public VirtualNetworkGatewayConnectionListEntityInner withConnectionType(VirtualNetworkGatewayConnectionType connectionType)

Set the connectionType property: Gateway connection type.

Parameters:

connectionType - the connectionType value to set.

Returns:

the VirtualNetworkGatewayConnectionListEntityInner object itself.

withEnableBgp

public VirtualNetworkGatewayConnectionListEntityInner withEnableBgp(Boolean enableBgp)

Set the enableBgp property: EnableBgp flag.

Parameters:

enableBgp - the enableBgp value to set.

Returns:

the VirtualNetworkGatewayConnectionListEntityInner object itself.

withEnablePrivateLinkFastPath

public VirtualNetworkGatewayConnectionListEntityInner 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 VirtualNetworkGatewayConnectionListEntityInner object itself.

withExpressRouteGatewayBypass

public VirtualNetworkGatewayConnectionListEntityInner withExpressRouteGatewayBypass(Boolean expressRouteGatewayBypass)

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

Parameters:

expressRouteGatewayBypass - the expressRouteGatewayBypass value to set.

Returns:

the VirtualNetworkGatewayConnectionListEntityInner object itself.

withGatewayCustomBgpIpAddresses

public VirtualNetworkGatewayConnectionListEntityInner withGatewayCustomBgpIpAddresses(List gatewayCustomBgpIpAddresses)

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

Parameters:

gatewayCustomBgpIpAddresses - the gatewayCustomBgpIpAddresses value to set.

Returns:

the VirtualNetworkGatewayConnectionListEntityInner object itself.

withId

public VirtualNetworkGatewayConnectionListEntityInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the VirtualNetworkGatewayConnectionListEntityInner object itself.

withIpsecPolicies

public VirtualNetworkGatewayConnectionListEntityInner withIpsecPolicies(List ipsecPolicies)

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

Parameters:

ipsecPolicies - the ipsecPolicies value to set.

Returns:

the VirtualNetworkGatewayConnectionListEntityInner object itself.

withLocalNetworkGateway2

public VirtualNetworkGatewayConnectionListEntityInner withLocalNetworkGateway2(VirtualNetworkConnectionGatewayReference localNetworkGateway2)

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

Parameters:

localNetworkGateway2 - the localNetworkGateway2 value to set.

Returns:

the VirtualNetworkGatewayConnectionListEntityInner object itself.

withLocation

public VirtualNetworkGatewayConnectionListEntityInner withLocation(String location)

Overrides:

VirtualNetworkGatewayConnectionListEntityInner.withLocation(String location)

Parameters:

location

withPeer

public VirtualNetworkGatewayConnectionListEntityInner withPeer(SubResource peer)

Set the peer property: The reference to peerings resource.

Parameters:

peer - the peer value to set.

Returns:

the VirtualNetworkGatewayConnectionListEntityInner object itself.

withRoutingWeight

public VirtualNetworkGatewayConnectionListEntityInner withRoutingWeight(Integer routingWeight)

Set the routingWeight property: The routing weight.

Parameters:

routingWeight - the routingWeight value to set.

Returns:

the VirtualNetworkGatewayConnectionListEntityInner object itself.

withSharedKey

public VirtualNetworkGatewayConnectionListEntityInner withSharedKey(String sharedKey)

Set the sharedKey property: The IPSec shared key.

Parameters:

sharedKey - the sharedKey value to set.

Returns:

the VirtualNetworkGatewayConnectionListEntityInner object itself.

withTags

public VirtualNetworkGatewayConnectionListEntityInner withTags(Map tags)

Overrides:

VirtualNetworkGatewayConnectionListEntityInner.withTags(Map<String,String> tags)

Parameters:

tags

withTrafficSelectorPolicies

public VirtualNetworkGatewayConnectionListEntityInner withTrafficSelectorPolicies(List trafficSelectorPolicies)

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

Parameters:

trafficSelectorPolicies - the trafficSelectorPolicies value to set.

Returns:

the VirtualNetworkGatewayConnectionListEntityInner object itself.

withUsePolicyBasedTrafficSelectors

public VirtualNetworkGatewayConnectionListEntityInner withUsePolicyBasedTrafficSelectors(Boolean usePolicyBasedTrafficSelectors)

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

Parameters:

usePolicyBasedTrafficSelectors - the usePolicyBasedTrafficSelectors value to set.

Returns:

the VirtualNetworkGatewayConnectionListEntityInner object itself.

withVirtualNetworkGateway1

public VirtualNetworkGatewayConnectionListEntityInner withVirtualNetworkGateway1(VirtualNetworkConnectionGatewayReference virtualNetworkGateway1)

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

Parameters:

virtualNetworkGateway1 - the virtualNetworkGateway1 value to set.

Returns:

the VirtualNetworkGatewayConnectionListEntityInner object itself.

withVirtualNetworkGateway2

public VirtualNetworkGatewayConnectionListEntityInner withVirtualNetworkGateway2(VirtualNetworkConnectionGatewayReference virtualNetworkGateway2)

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

Parameters:

virtualNetworkGateway2 - the virtualNetworkGateway2 value to set.

Returns:

the VirtualNetworkGatewayConnectionListEntityInner object itself.

Applies to