VirtualNetworkGatewayConnectionPropertiesFormatInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. VirtualNetworkGatewayConnectionPropertiesFormatInner
- com.
Implements
public final class VirtualNetworkGatewayConnectionPropertiesFormatInner
implements JsonSerializable<VirtualNetworkGatewayConnectionPropertiesFormatInner>
VirtualNetworkGatewayConnection properties.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualNetworkGatewayConnectionPropertiesFormatInner() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Connection |
authenticationType()
Get the authentication |
| String |
authorizationKey()
Get the authorization |
|
Certificate |
certificateAuthentication()
Get the certificate |
|
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 |
| Boolean |
expressRouteGatewayBypass()
Get the express |
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
|
List<Gateway |
gatewayCustomBgpIpAddresses()
Get the gateway |
| Long |
ingressBytesTransferred()
Get the ingress |
|
List<Sub |
ingressNatRules()
Get the ingress |
|
List<Ipsec |
ipsecPolicies()
Get the ipsec |
|
Local |
localNetworkGateway2()
Get the local |
|
Sub |
peer()
Get the peer property: The reference to peerings resource. |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
resourceGuid()
Get the resource |
|
Routing |
routingConfiguration()
Get the routing |
| 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 |
|
List<Virtual |
tunnelProperties()
Get the tunnel |
| 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 |
withAuthenticationType(ConnectionAuthenticationType authenticationType)
Set the authentication |
|
Virtual |
withAuthorizationKey(String authorizationKey)
Set the authorization |
|
Virtual |
withCertificateAuthentication(CertificateAuthentication certificateAuthentication)
Set the certificate |
|
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 |
withIngressNatRules(List<SubResource> ingressNatRules)
Set the ingress |
|
Virtual |
withIpsecPolicies(List<IpsecPolicy> ipsecPolicies)
Set the ipsec |
|
Virtual |
withLocalNetworkGateway2(LocalNetworkGatewayInner localNetworkGateway2)
Set the local |
|
Virtual |
withPeer(SubResource peer)
Set the peer property: The reference to peerings resource. |
|
Virtual |
withRoutingConfiguration(RoutingConfiguration routingConfiguration)
Set the routing |
|
Virtual |
withRoutingWeight(Integer routingWeight)
Set the routing |
|
Virtual |
withSharedKey(String sharedKey)
Set the shared |
|
Virtual |
withTrafficSelectorPolicies(List<TrafficSelectorPolicy> trafficSelectorPolicies)
Set the traffic |
|
Virtual |
withTunnelProperties(List<VirtualNetworkGatewayConnectionTunnelProperties> tunnelProperties)
Set the tunnel |
|
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 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:
authorizationKey
public String authorizationKey()
Get the authorizationKey property: The authorizationKey.
Returns:
certificateAuthentication
public CertificateAuthentication certificateAuthentication()
Get the certificateAuthentication property: Certificate Authentication information for a certificate based authentication connection.
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<SubResource> egressNatRules()
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:
expressRouteGatewayBypass
public Boolean expressRouteGatewayBypass()
Get the expressRouteGatewayBypass property: Bypass ExpressRoute Gateway for data forwarding.
Returns:
fromJson
public static VirtualNetworkGatewayConnectionPropertiesFormatInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualNetworkGatewayConnectionPropertiesFormatInner from the JsonReader.
Parameters:
Returns:
Throws:
gatewayCustomBgpIpAddresses
public List<GatewayCustomBgpIpAddressIpConfiguration> gatewayCustomBgpIpAddresses()
Get the gatewayCustomBgpIpAddresses property: GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.
Returns:
ingressBytesTransferred
public Long ingressBytesTransferred()
Get the ingressBytesTransferred property: The ingress bytes transferred in this connection.
Returns:
ingressNatRules
public List<SubResource> ingressNatRules()
Get the ingressNatRules property: List of ingress NatRules.
Returns:
ipsecPolicies
public List<IpsecPolicy> ipsecPolicies()
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:
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:
routingConfiguration
public RoutingConfiguration routingConfiguration()
Get the routingConfiguration property: The routing configuration indicating the associated and propagated route tables for this connection.
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
trafficSelectorPolicies
public List<TrafficSelectorPolicy> trafficSelectorPolicies()
Get the trafficSelectorPolicies property: The Traffic Selector Policies to be considered by this connection.
Returns:
tunnelConnectionStatus
public List<TunnelConnectionHealth> tunnelConnectionStatus()
Get the tunnelConnectionStatus property: Collection of all tunnels' connection health status.
Returns:
tunnelProperties
public List<VirtualNetworkGatewayConnectionTunnelProperties> tunnelProperties()
Get the tunnelProperties property: Tunnel properties for virtual network gateway connection.
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:
withAuthenticationType
public VirtualNetworkGatewayConnectionPropertiesFormatInner withAuthenticationType(ConnectionAuthenticationType authenticationType)
Set the authenticationType property: Gateway connection authentication type.
Parameters:
Returns:
withAuthorizationKey
public VirtualNetworkGatewayConnectionPropertiesFormatInner withAuthorizationKey(String authorizationKey)
Set the authorizationKey property: The authorizationKey.
Parameters:
Returns:
withCertificateAuthentication
public VirtualNetworkGatewayConnectionPropertiesFormatInner withCertificateAuthentication(CertificateAuthentication certificateAuthentication)
Set the certificateAuthentication property: Certificate Authentication information for a certificate based authentication connection.
Parameters:
Returns:
withConnectionMode
public VirtualNetworkGatewayConnectionPropertiesFormatInner withConnectionMode(VirtualNetworkGatewayConnectionMode connectionMode)
Set the connectionMode property: The connection mode for this connection.
Parameters:
Returns:
withConnectionProtocol
public VirtualNetworkGatewayConnectionPropertiesFormatInner withConnectionProtocol(VirtualNetworkGatewayConnectionProtocol connectionProtocol)
Set the connectionProtocol property: Connection protocol used for this connection.
Parameters:
Returns:
withConnectionType
public VirtualNetworkGatewayConnectionPropertiesFormatInner withConnectionType(VirtualNetworkGatewayConnectionType connectionType)
Set the connectionType property: Gateway connection type.
Parameters:
Returns:
withDpdTimeoutSeconds
public VirtualNetworkGatewayConnectionPropertiesFormatInner withDpdTimeoutSeconds(Integer dpdTimeoutSeconds)
Set the dpdTimeoutSeconds property: The dead peer detection timeout of this connection in seconds.
Parameters:
Returns:
withEgressNatRules
public VirtualNetworkGatewayConnectionPropertiesFormatInner withEgressNatRules(List<SubResource> egressNatRules)
Set the egressNatRules property: List of egress NatRules.
Parameters:
Returns:
withEnableBgp
public VirtualNetworkGatewayConnectionPropertiesFormatInner withEnableBgp(Boolean enableBgp)
Set the enableBgp property: EnableBgp flag.
Parameters:
Returns:
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:
Returns:
withExpressRouteGatewayBypass
public VirtualNetworkGatewayConnectionPropertiesFormatInner withExpressRouteGatewayBypass(Boolean expressRouteGatewayBypass)
Set the expressRouteGatewayBypass property: Bypass ExpressRoute Gateway for data forwarding.
Parameters:
Returns:
withGatewayCustomBgpIpAddresses
public VirtualNetworkGatewayConnectionPropertiesFormatInner withGatewayCustomBgpIpAddresses(List<GatewayCustomBgpIpAddressIpConfiguration> gatewayCustomBgpIpAddresses)
Set the gatewayCustomBgpIpAddresses property: GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.
Parameters:
Returns:
withIngressNatRules
public VirtualNetworkGatewayConnectionPropertiesFormatInner withIngressNatRules(List<SubResource> ingressNatRules)
Set the ingressNatRules property: List of ingress NatRules.
Parameters:
Returns:
withIpsecPolicies
public VirtualNetworkGatewayConnectionPropertiesFormatInner withIpsecPolicies(List<IpsecPolicy> ipsecPolicies)
Set the ipsecPolicies property: The IPSec Policies to be considered by this connection.
Parameters:
Returns:
withLocalNetworkGateway2
public VirtualNetworkGatewayConnectionPropertiesFormatInner withLocalNetworkGateway2(LocalNetworkGatewayInner localNetworkGateway2)
Set the localNetworkGateway2 property: The reference to local network gateway resource.
Parameters:
Returns:
withPeer
public VirtualNetworkGatewayConnectionPropertiesFormatInner withPeer(SubResource peer)
Set the peer property: The reference to peerings resource.
Parameters:
Returns:
withRoutingConfiguration
public VirtualNetworkGatewayConnectionPropertiesFormatInner withRoutingConfiguration(RoutingConfiguration routingConfiguration)
Set the routingConfiguration property: The routing configuration indicating the associated and propagated route tables for this connection.
Parameters:
Returns:
withRoutingWeight
public VirtualNetworkGatewayConnectionPropertiesFormatInner withRoutingWeight(Integer routingWeight)
Set the routingWeight property: The routing weight.
Parameters:
Returns:
withSharedKey
public VirtualNetworkGatewayConnectionPropertiesFormatInner withSharedKey(String sharedKey)
Set the sharedKey property: The IPSec shared key.
Parameters:
Returns:
withTrafficSelectorPolicies
public VirtualNetworkGatewayConnectionPropertiesFormatInner withTrafficSelectorPolicies(List<TrafficSelectorPolicy> trafficSelectorPolicies)
Set the trafficSelectorPolicies property: The Traffic Selector Policies to be considered by this connection.
Parameters:
Returns:
withTunnelProperties
public VirtualNetworkGatewayConnectionPropertiesFormatInner withTunnelProperties(List<VirtualNetworkGatewayConnectionTunnelProperties> tunnelProperties)
Set the tunnelProperties property: Tunnel properties for virtual network gateway connection.
Parameters:
Returns:
withUseLocalAzureIpAddress
public VirtualNetworkGatewayConnectionPropertiesFormatInner withUseLocalAzureIpAddress(Boolean useLocalAzureIpAddress)
Set the useLocalAzureIpAddress property: Use private local Azure IP for the connection.
Parameters:
Returns:
withUsePolicyBasedTrafficSelectors
public VirtualNetworkGatewayConnectionPropertiesFormatInner withUsePolicyBasedTrafficSelectors(Boolean usePolicyBasedTrafficSelectors)
Set the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors.
Parameters:
Returns:
withVirtualNetworkGateway1
public VirtualNetworkGatewayConnectionPropertiesFormatInner withVirtualNetworkGateway1(VirtualNetworkGatewayInner virtualNetworkGateway1)
Set the virtualNetworkGateway1 property: The reference to virtual network gateway resource.
Parameters:
Returns:
withVirtualNetworkGateway2
public VirtualNetworkGatewayConnectionPropertiesFormatInner withVirtualNetworkGateway2(VirtualNetworkGatewayInner virtualNetworkGateway2)
Set the virtualNetworkGateway2 property: The reference to virtual network gateway resource.
Parameters:
Returns: