VirtualNetworkGatewayConnectionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. VirtualNetworkGatewayConnectionInner
- com.
- com.
- com.
public final class VirtualNetworkGatewayConnectionInner
extends Resource
A common class for general resource information.
Constructor Summary
Constructor | Description |
---|---|
VirtualNetworkGatewayConnectionInner() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
authorizationKey()
Get the authorization |
Virtual |
connectionMode()
Get the connection |
Virtual |
connectionProtocol()
Get the connection |
Virtual |
connectionStatus()
Get the connection |
Virtual |
connectionType()
Get the connection |
Integer |
dpdTimeoutSeconds()
Get the dpd |
Long |
egressBytesTransferred()
Get the egress |
List<Sub |
egressNatRules()
Get the egress |
Boolean |
enableBgp()
Get the enable |
Boolean |
enablePrivateLinkFastPath()
Get the enable |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
Boolean |
expressRouteGatewayBypass()
Get the express |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
List<Gateway |
gatewayCustomBgpIpAddresses()
Get the gateway |
String |
id()
Get the id property: Resource ID. |
Long |
ingressBytesTransferred()
Get the ingress |
List<Sub |
ingressNatRules()
Get the ingress |
List<Ipsec |
ipsecPolicies()
Get the ipsec |
Local |
localNetworkGateway2()
Get the local |
String |
name()
Get the name property: The name of the resource. |
Sub |
peer()
Get the peer property: The reference to peerings resource. |
Provisioning |
provisioningState()
Get the provisioning |
String |
resourceGuid()
Get the resource |
Integer |
routingWeight()
Get the routing |
String |
sharedKey()
Get the shared |
Json |
toJson(JsonWriter jsonWriter) |
List<Traffic |
trafficSelectorPolicies()
Get the traffic |
List<Tunnel |
tunnelConnectionStatus()
Get the tunnel |
String |
type()
Get the type property: The type of the resource. |
Boolean |
useLocalAzureIpAddress()
Get the use |
Boolean |
usePolicyBasedTrafficSelectors()
Get the use |
void |
validate()
Validates the instance. |
Virtual |
virtualNetworkGateway1()
Get the virtual |
Virtual |
virtualNetworkGateway2()
Get the virtual |
Virtual |
withAuthorizationKey(String authorizationKey)
Set the authorization |
Virtual |
withConnectionMode(VirtualNetworkGatewayConnectionMode connectionMode)
Set the connection |
Virtual |
withConnectionProtocol(VirtualNetworkGatewayConnectionProtocol connectionProtocol)
Set the connection |
Virtual |
withConnectionType(VirtualNetworkGatewayConnectionType connectionType)
Set the connection |
Virtual |
withDpdTimeoutSeconds(Integer dpdTimeoutSeconds)
Set the dpd |
Virtual |
withEgressNatRules(List<SubResource> egressNatRules)
Set the egress |
Virtual |
withEnableBgp(Boolean enableBgp)
Set the enable |
Virtual |
withEnablePrivateLinkFastPath(Boolean enablePrivateLinkFastPath)
Set the enable |
Virtual |
withExpressRouteGatewayBypass(Boolean expressRouteGatewayBypass)
Set the express |
Virtual |
withGatewayCustomBgpIpAddresses(List<GatewayCustomBgpIpAddressIpConfiguration> gatewayCustomBgpIpAddresses)
Set the gateway |
Virtual |
withId(String id)
Set the id property: Resource ID. |
Virtual |
withIngressNatRules(List<SubResource> ingressNatRules)
Set the ingress |
Virtual |
withIpsecPolicies(List<IpsecPolicy> ipsecPolicies)
Set the ipsec |
Virtual |
withLocalNetworkGateway2(LocalNetworkGatewayInner localNetworkGateway2)
Set the local |
Virtual |
withLocation(String location) |
Virtual |
withPeer(SubResource peer)
Set the peer property: The reference to peerings resource. |
Virtual |
withRoutingWeight(Integer routingWeight)
Set the routing |
Virtual |
withSharedKey(String sharedKey)
Set the shared |
Virtual |
withTags(Map<String,String> tags) |
Virtual |
withTrafficSelectorPolicies(List<TrafficSelectorPolicy> trafficSelectorPolicies)
Set the traffic |
Virtual |
withUseLocalAzureIpAddress(Boolean useLocalAzureIpAddress)
Set the use |
Virtual |
withUsePolicyBasedTrafficSelectors(Boolean usePolicyBasedTrafficSelectors)
Set the use |
Virtual |
withVirtualNetworkGateway1(VirtualNetworkGatewayInner virtualNetworkGateway1)
Set the virtual |
Virtual |
withVirtualNetworkGateway2(VirtualNetworkGatewayInner virtualNetworkGateway2)
Set the virtual |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
VirtualNetworkGatewayConnectionInner
public VirtualNetworkGatewayConnectionInner()
Creates an instance of VirtualNetworkGatewayConnectionInner class.
Method Details
authorizationKey
public String authorizationKey()
Get the authorizationKey property: The authorizationKey.
Returns:
connectionMode
public VirtualNetworkGatewayConnectionMode connectionMode()
Get the connectionMode property: The connection mode for this connection.
Returns:
connectionProtocol
public VirtualNetworkGatewayConnectionProtocol connectionProtocol()
Get the connectionProtocol property: Connection protocol used for this connection.
Returns:
connectionStatus
public VirtualNetworkGatewayConnectionStatus connectionStatus()
Get the connectionStatus property: Virtual Network Gateway connection status.
Returns:
connectionType
public VirtualNetworkGatewayConnectionType connectionType()
Get the connectionType property: Gateway connection type.
Returns:
dpdTimeoutSeconds
public Integer dpdTimeoutSeconds()
Get the dpdTimeoutSeconds property: The dead peer detection timeout of this connection in seconds.
Returns:
egressBytesTransferred
public Long egressBytesTransferred()
Get the egressBytesTransferred property: The egress bytes transferred in this connection.
Returns:
egressNatRules
public List
Get the egressNatRules property: List of egress NatRules.
Returns:
enableBgp
public Boolean enableBgp()
Get the enableBgp property: EnableBgp flag.
Returns:
enablePrivateLinkFastPath
public Boolean enablePrivateLinkFastPath()
Get the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
expressRouteGatewayBypass
public Boolean expressRouteGatewayBypass()
Get the expressRouteGatewayBypass property: Bypass ExpressRoute Gateway for data forwarding.
Returns:
fromJson
public static VirtualNetworkGatewayConnectionInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualNetworkGatewayConnectionInner from the JsonReader.
Parameters:
Returns:
Throws:
gatewayCustomBgpIpAddresses
public List
Get the gatewayCustomBgpIpAddresses property: GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.
Returns:
id
public String id()
Get the id property: Resource ID.
Overrides:
VirtualNetworkGatewayConnectionInner.id()Returns:
ingressBytesTransferred
public Long ingressBytesTransferred()
Get the ingressBytesTransferred property: The ingress bytes transferred in this connection.
Returns:
ingressNatRules
public List
Get the ingressNatRules property: List of ingress NatRules.
Returns:
ipsecPolicies
public List
Get the ipsecPolicies property: The IPSec Policies to be considered by this connection.
Returns:
localNetworkGateway2
public LocalNetworkGatewayInner localNetworkGateway2()
Get the localNetworkGateway2 property: The reference to local network gateway resource.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
VirtualNetworkGatewayConnectionInner.name()Returns:
peer
public SubResource peer()
Get the peer property: The reference to peerings resource.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the virtual network gateway connection resource.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the virtual network gateway connection resource.
Returns:
routingWeight
public Integer routingWeight()
Get the routingWeight property: The routing weight.
Returns:
sharedKey
public String sharedKey()
Get the sharedKey property: The IPSec shared key.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VirtualNetworkGatewayConnectionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
trafficSelectorPolicies
public List
Get the trafficSelectorPolicies property: The Traffic Selector Policies to be considered by this connection.
Returns:
tunnelConnectionStatus
public List
Get the tunnelConnectionStatus property: Collection of all tunnels' connection health status.
Returns:
type
public String type()
Get the type property: The type of the resource.
Overrides:
VirtualNetworkGatewayConnectionInner.type()Returns:
useLocalAzureIpAddress
public Boolean useLocalAzureIpAddress()
Get the useLocalAzureIpAddress property: Use private local Azure IP for the connection.
Returns:
usePolicyBasedTrafficSelectors
public Boolean usePolicyBasedTrafficSelectors()
Get the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors.
Returns:
validate
public void validate()
Validates the instance.
virtualNetworkGateway1
public VirtualNetworkGatewayInner virtualNetworkGateway1()
Get the virtualNetworkGateway1 property: The reference to virtual network gateway resource.
Returns:
virtualNetworkGateway2
public VirtualNetworkGatewayInner virtualNetworkGateway2()
Get the virtualNetworkGateway2 property: The reference to virtual network gateway resource.
Returns:
withAuthorizationKey
public VirtualNetworkGatewayConnectionInner withAuthorizationKey(String authorizationKey)
Set the authorizationKey property: The authorizationKey.
Parameters:
Returns:
withConnectionMode
public VirtualNetworkGatewayConnectionInner withConnectionMode(VirtualNetworkGatewayConnectionMode connectionMode)
Set the connectionMode property: The connection mode for this connection.
Parameters:
Returns:
withConnectionProtocol
public VirtualNetworkGatewayConnectionInner withConnectionProtocol(VirtualNetworkGatewayConnectionProtocol connectionProtocol)
Set the connectionProtocol property: Connection protocol used for this connection.
Parameters:
Returns:
withConnectionType
public VirtualNetworkGatewayConnectionInner withConnectionType(VirtualNetworkGatewayConnectionType connectionType)
Set the connectionType property: Gateway connection type.
Parameters:
Returns:
withDpdTimeoutSeconds
public VirtualNetworkGatewayConnectionInner withDpdTimeoutSeconds(Integer dpdTimeoutSeconds)
Set the dpdTimeoutSeconds property: The dead peer detection timeout of this connection in seconds.
Parameters:
Returns:
withEgressNatRules
public VirtualNetworkGatewayConnectionInner withEgressNatRules(List
Set the egressNatRules property: List of egress NatRules.
Parameters:
Returns:
withEnableBgp
public VirtualNetworkGatewayConnectionInner withEnableBgp(Boolean enableBgp)
Set the enableBgp property: EnableBgp flag.
Parameters:
Returns:
withEnablePrivateLinkFastPath
public VirtualNetworkGatewayConnectionInner withEnablePrivateLinkFastPath(Boolean enablePrivateLinkFastPath)
Set the enablePrivateLinkFastPath property: Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
Parameters:
Returns:
withExpressRouteGatewayBypass
public VirtualNetworkGatewayConnectionInner withExpressRouteGatewayBypass(Boolean expressRouteGatewayBypass)
Set the expressRouteGatewayBypass property: Bypass ExpressRoute Gateway for data forwarding.
Parameters:
Returns:
withGatewayCustomBgpIpAddresses
public VirtualNetworkGatewayConnectionInner withGatewayCustomBgpIpAddresses(List
Set the gatewayCustomBgpIpAddresses property: GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.
Parameters:
Returns:
withId
public VirtualNetworkGatewayConnectionInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withIngressNatRules
public VirtualNetworkGatewayConnectionInner withIngressNatRules(List
Set the ingressNatRules property: List of ingress NatRules.
Parameters:
Returns:
withIpsecPolicies
public VirtualNetworkGatewayConnectionInner withIpsecPolicies(List
Set the ipsecPolicies property: The IPSec Policies to be considered by this connection.
Parameters:
Returns:
withLocalNetworkGateway2
public VirtualNetworkGatewayConnectionInner withLocalNetworkGateway2(LocalNetworkGatewayInner localNetworkGateway2)
Set the localNetworkGateway2 property: The reference to local network gateway resource.
Parameters:
Returns:
withLocation
public VirtualNetworkGatewayConnectionInner withLocation(String location)
Overrides:
VirtualNetworkGatewayConnectionInner.withLocation(String location)Parameters:
withPeer
public VirtualNetworkGatewayConnectionInner withPeer(SubResource peer)
Set the peer property: The reference to peerings resource.
Parameters:
Returns:
withRoutingWeight
public VirtualNetworkGatewayConnectionInner withRoutingWeight(Integer routingWeight)
Set the routingWeight property: The routing weight.
Parameters:
Returns:
withSharedKey
public VirtualNetworkGatewayConnectionInner withSharedKey(String sharedKey)
Set the sharedKey property: The IPSec shared key.
Parameters:
Returns:
withTags
public VirtualNetworkGatewayConnectionInner withTags(Map
Overrides:
VirtualNetworkGatewayConnectionInner.withTags(Map<String,String> tags)Parameters:
withTrafficSelectorPolicies
public VirtualNetworkGatewayConnectionInner withTrafficSelectorPolicies(List
Set the trafficSelectorPolicies property: The Traffic Selector Policies to be considered by this connection.
Parameters:
Returns:
withUseLocalAzureIpAddress
public VirtualNetworkGatewayConnectionInner withUseLocalAzureIpAddress(Boolean useLocalAzureIpAddress)
Set the useLocalAzureIpAddress property: Use private local Azure IP for the connection.
Parameters:
Returns:
withUsePolicyBasedTrafficSelectors
public VirtualNetworkGatewayConnectionInner withUsePolicyBasedTrafficSelectors(Boolean usePolicyBasedTrafficSelectors)
Set the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors.
Parameters:
Returns:
withVirtualNetworkGateway1
public VirtualNetworkGatewayConnectionInner withVirtualNetworkGateway1(VirtualNetworkGatewayInner virtualNetworkGateway1)
Set the virtualNetworkGateway1 property: The reference to virtual network gateway resource.
Parameters:
Returns:
withVirtualNetworkGateway2
public VirtualNetworkGatewayConnectionInner withVirtualNetworkGateway2(VirtualNetworkGatewayInner virtualNetworkGateway2)
Set the virtualNetworkGateway2 property: The reference to virtual network gateway resource.
Parameters:
Returns:
Applies to
Azure SDK for Java