Class VirtualNetworkGatewayConnectionListEntityInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.network.fluent.models.VirtualNetworkGatewayConnectionListEntityInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class VirtualNetworkGatewayConnectionListEntityInner
extends com.azure.core.management.Resource
A common class for general resource information.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VirtualNetworkGatewayConnectionListEntityInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the authorizationKey property: The authorizationKey.Get the connectionMode property: The connection mode for this connection.Get the connectionProtocol property: Connection protocol used for this connection.Get the connectionStatus property: Virtual Network Gateway connection status.Get the connectionType property: Gateway connection type.Get the egressBytesTransferred property: The egress bytes transferred in this connection.Get the enableBgp property: EnableBgp flag.Get the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links.etag()Get the etag property: A unique read-only string that changes whenever the resource is updated.Get the expressRouteGatewayBypass property: Bypass ExpressRoute Gateway for data forwarding.Get the gatewayCustomBgpIpAddresses property: GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.id()Get the id property: Resource ID.Get the ingressBytesTransferred property: The ingress bytes transferred in this connection.Get the ipsecPolicies property: The IPSec Policies to be considered by this connection.Get the localNetworkGateway2 property: The reference to local network gateway resource.com.azure.core.management.SubResourcepeer()Get the peer property: The reference to peerings resource.Get the provisioningState property: The provisioning state of the virtual network gateway connection resource.Get the resourceGuid property: The resource GUID property of the virtual network gateway connection resource.Get the routingWeight property: The routing weight.Get the sharedKey property: The IPSec shared key.Get the trafficSelectorPolicies property: The Traffic Selector Policies to be considered by this connection.Get the tunnelConnectionStatus property: Collection of all tunnels' connection health status.Get the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors.voidvalidate()Validates the instance.Get the virtualNetworkGateway1 property: The reference to virtual network gateway resource.Get the virtualNetworkGateway2 property: The reference to virtual network gateway resource.withAuthorizationKey(String authorizationKey) Set the authorizationKey property: The authorizationKey.withConnectionMode(VirtualNetworkGatewayConnectionMode connectionMode) Set the connectionMode property: The connection mode for this connection.withConnectionProtocol(VirtualNetworkGatewayConnectionProtocol connectionProtocol) Set the connectionProtocol property: Connection protocol used for this connection.withConnectionType(VirtualNetworkGatewayConnectionType connectionType) Set the connectionType property: Gateway connection type.withEnableBgp(Boolean enableBgp) Set the enableBgp property: EnableBgp flag.withEnablePrivateLinkFastPath(Boolean enablePrivateLinkFastPath) Set the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links.withExpressRouteGatewayBypass(Boolean expressRouteGatewayBypass) Set the expressRouteGatewayBypass property: Bypass ExpressRoute Gateway for data forwarding.withGatewayCustomBgpIpAddresses(List<GatewayCustomBgpIpAddressIpConfiguration> gatewayCustomBgpIpAddresses) Set the gatewayCustomBgpIpAddresses property: GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.Set the id property: Resource ID.withIpsecPolicies(List<IpsecPolicy> ipsecPolicies) Set the ipsecPolicies property: The IPSec Policies to be considered by this connection.withLocalNetworkGateway2(VirtualNetworkConnectionGatewayReference localNetworkGateway2) Set the localNetworkGateway2 property: The reference to local network gateway resource.withLocation(String location) withPeer(com.azure.core.management.SubResource peer) Set the peer property: The reference to peerings resource.withRoutingWeight(Integer routingWeight) Set the routingWeight property: The routing weight.withSharedKey(String sharedKey) Set the sharedKey property: The IPSec shared key.withTrafficSelectorPolicies(List<TrafficSelectorPolicy> trafficSelectorPolicies) Set the trafficSelectorPolicies property: The Traffic Selector Policies to be considered by this connection.withUsePolicyBasedTrafficSelectors(Boolean usePolicyBasedTrafficSelectors) Set the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors.withVirtualNetworkGateway1(VirtualNetworkConnectionGatewayReference virtualNetworkGateway1) Set the virtualNetworkGateway1 property: The reference to virtual network gateway resource.withVirtualNetworkGateway2(VirtualNetworkConnectionGatewayReference virtualNetworkGateway2) Set the virtualNetworkGateway2 property: The reference to virtual network gateway resource.Methods inherited from class com.azure.core.management.Resource
fromJson, location, tags, toJsonMethods inherited from class com.azure.core.management.ProxyResource
name, type
-
Constructor Details
-
VirtualNetworkGatewayConnectionListEntityInner
public VirtualNetworkGatewayConnectionListEntityInner()Creates an instance of VirtualNetworkGatewayConnectionListEntityInner class.
-
-
Method Details
-
etag
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
id
Get the id property: Resource ID.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withId
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the VirtualNetworkGatewayConnectionListEntityInner object itself.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
authorizationKey
Get the authorizationKey property: The authorizationKey.- Returns:
- the authorizationKey value.
-
withAuthorizationKey
Set the authorizationKey property: The authorizationKey.- Parameters:
authorizationKey- the authorizationKey value to set.- Returns:
- the VirtualNetworkGatewayConnectionListEntityInner object itself.
-
virtualNetworkGateway1
Get the virtualNetworkGateway1 property: The reference to virtual network gateway resource.- Returns:
- the virtualNetworkGateway1 value.
-
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.
-
virtualNetworkGateway2
Get the virtualNetworkGateway2 property: The reference to virtual network gateway resource.- Returns:
- the virtualNetworkGateway2 value.
-
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.
-
localNetworkGateway2
Get the localNetworkGateway2 property: The reference to local network gateway resource.- Returns:
- the localNetworkGateway2 value.
-
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.
-
connectionType
Get the connectionType property: Gateway connection type.- Returns:
- the connectionType value.
-
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.
-
connectionProtocol
Get the connectionProtocol property: Connection protocol used for this connection.- Returns:
- the connectionProtocol value.
-
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.
-
routingWeight
Get the routingWeight property: The routing weight.- Returns:
- the routingWeight value.
-
withRoutingWeight
Set the routingWeight property: The routing weight.- Parameters:
routingWeight- the routingWeight value to set.- Returns:
- the VirtualNetworkGatewayConnectionListEntityInner object itself.
-
connectionMode
Get the connectionMode property: The connection mode for this connection.- Returns:
- the connectionMode value.
-
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.
-
connectionStatus
Get the connectionStatus property: Virtual Network Gateway connection status.- Returns:
- the connectionStatus value.
-
tunnelConnectionStatus
Get the tunnelConnectionStatus property: Collection of all tunnels' connection health status.- Returns:
- the tunnelConnectionStatus value.
-
egressBytesTransferred
Get the egressBytesTransferred property: The egress bytes transferred in this connection.- Returns:
- the egressBytesTransferred value.
-
ingressBytesTransferred
Get the ingressBytesTransferred property: The ingress bytes transferred in this connection.- Returns:
- the ingressBytesTransferred value.
-
peer
public com.azure.core.management.SubResource peer()Get the peer property: The reference to peerings resource.- Returns:
- the peer value.
-
withPeer
public VirtualNetworkGatewayConnectionListEntityInner withPeer(com.azure.core.management.SubResource peer) Set the peer property: The reference to peerings resource.- Parameters:
peer- the peer value to set.- Returns:
- the VirtualNetworkGatewayConnectionListEntityInner object itself.
-
enableBgp
Get the enableBgp property: EnableBgp flag.- Returns:
- the enableBgp value.
-
withEnableBgp
Set the enableBgp property: EnableBgp flag.- Parameters:
enableBgp- the enableBgp value to set.- Returns:
- the VirtualNetworkGatewayConnectionListEntityInner object itself.
-
gatewayCustomBgpIpAddresses
Get the gatewayCustomBgpIpAddresses property: GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.- Returns:
- the gatewayCustomBgpIpAddresses value.
-
withGatewayCustomBgpIpAddresses
public VirtualNetworkGatewayConnectionListEntityInner 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 VirtualNetworkGatewayConnectionListEntityInner object itself.
-
usePolicyBasedTrafficSelectors
Get the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors.- Returns:
- the usePolicyBasedTrafficSelectors value.
-
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.
-
ipsecPolicies
Get the ipsecPolicies property: The IPSec Policies to be considered by this connection.- Returns:
- the ipsecPolicies value.
-
withIpsecPolicies
public VirtualNetworkGatewayConnectionListEntityInner 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 VirtualNetworkGatewayConnectionListEntityInner object itself.
-
trafficSelectorPolicies
Get the trafficSelectorPolicies property: The Traffic Selector Policies to be considered by this connection.- Returns:
- the trafficSelectorPolicies value.
-
withTrafficSelectorPolicies
public VirtualNetworkGatewayConnectionListEntityInner 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 VirtualNetworkGatewayConnectionListEntityInner object itself.
-
resourceGuid
Get the resourceGuid property: The resource GUID property of the virtual network gateway connection resource.- Returns:
- the resourceGuid value.
-
provisioningState
Get the provisioningState property: The provisioning state of the virtual network gateway connection resource.- Returns:
- the provisioningState value.
-
expressRouteGatewayBypass
Get the expressRouteGatewayBypass property: Bypass ExpressRoute Gateway for data forwarding.- Returns:
- the expressRouteGatewayBypass value.
-
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.
-
enablePrivateLinkFastPath
Get the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.- Returns:
- the enablePrivateLinkFastPath value.
-
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-