public class VpnConnectionInner
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
VpnConnectionInner() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
connectionBandwidth()
Get the connectionBandwidth property: Expected bandwidth in MBPS.
|
VpnConnectionStatus |
connectionStatus()
Get the connectionStatus property: The connection status.
|
Integer |
dpdTimeoutSeconds()
Get the dpdTimeoutSeconds property: The dead peer detection timeout for a vpn connection in seconds.
|
Long |
egressBytesTransferred()
Get the egressBytesTransferred property: Egress bytes transferred.
|
Boolean |
enableBgp()
Get the enableBgp property: EnableBgp flag.
|
Boolean |
enableInternetSecurity()
Get the enableInternetSecurity property: Enable internet security.
|
Boolean |
enableRateLimiting()
Get the enableRateLimiting property: EnableBgp flag.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
Long |
ingressBytesTransferred()
Get the ingressBytesTransferred property: Ingress bytes transferred.
|
List<IpsecPolicy> |
ipsecPolicies()
Get the ipsecPolicies property: The IPSec Policies to be considered by this connection.
|
String |
name()
Get the name property: The name of the resource that is unique within a resource group.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the VPN connection resource.
|
com.azure.core.management.SubResource |
remoteVpnSite()
Get the remoteVpnSite property: Id of the connected vpn site.
|
RoutingConfiguration |
routingConfiguration()
Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route
tables on this connection.
|
Integer |
routingWeight()
Get the routingWeight property: Routing weight for vpn connection.
|
String |
sharedKey()
Get the sharedKey property: SharedKey for the vpn connection.
|
Boolean |
useLocalAzureIpAddress()
Get the useLocalAzureIpAddress property: Use local azure ip to initiate connection.
|
Boolean |
usePolicyBasedTrafficSelectors()
Get the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors.
|
void |
validate()
Validates the instance.
|
VirtualNetworkGatewayConnectionProtocol |
vpnConnectionProtocolType()
Get the vpnConnectionProtocolType property: Connection protocol used for this connection.
|
List<VpnSiteLinkConnectionInner> |
vpnLinkConnections()
Get the vpnLinkConnections property: List of all vpn site link connections to the gateway.
|
VpnConnectionInner |
withConnectionBandwidth(Integer connectionBandwidth)
Set the connectionBandwidth property: Expected bandwidth in MBPS.
|
VpnConnectionInner |
withDpdTimeoutSeconds(Integer dpdTimeoutSeconds)
Set the dpdTimeoutSeconds property: The dead peer detection timeout for a vpn connection in seconds.
|
VpnConnectionInner |
withEnableBgp(Boolean enableBgp)
Set the enableBgp property: EnableBgp flag.
|
VpnConnectionInner |
withEnableInternetSecurity(Boolean enableInternetSecurity)
Set the enableInternetSecurity property: Enable internet security.
|
VpnConnectionInner |
withEnableRateLimiting(Boolean enableRateLimiting)
Set the enableRateLimiting property: EnableBgp flag.
|
VpnConnectionInner |
withIpsecPolicies(List<IpsecPolicy> ipsecPolicies)
Set the ipsecPolicies property: The IPSec Policies to be considered by this connection.
|
VpnConnectionInner |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group.
|
VpnConnectionInner |
withRemoteVpnSite(com.azure.core.management.SubResource remoteVpnSite)
Set the remoteVpnSite property: Id of the connected vpn site.
|
VpnConnectionInner |
withRoutingConfiguration(RoutingConfiguration routingConfiguration)
Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route
tables on this connection.
|
VpnConnectionInner |
withRoutingWeight(Integer routingWeight)
Set the routingWeight property: Routing weight for vpn connection.
|
VpnConnectionInner |
withSharedKey(String sharedKey)
Set the sharedKey property: SharedKey for the vpn connection.
|
VpnConnectionInner |
withUseLocalAzureIpAddress(Boolean useLocalAzureIpAddress)
Set the useLocalAzureIpAddress property: Use local azure ip to initiate connection.
|
VpnConnectionInner |
withUsePolicyBasedTrafficSelectors(Boolean usePolicyBasedTrafficSelectors)
Set the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors.
|
VpnConnectionInner |
withVpnConnectionProtocolType(VirtualNetworkGatewayConnectionProtocol vpnConnectionProtocolType)
Set the vpnConnectionProtocolType property: Connection protocol used for this connection.
|
VpnConnectionInner |
withVpnLinkConnections(List<VpnSiteLinkConnectionInner> vpnLinkConnections)
Set the vpnLinkConnections property: List of all vpn site link connections to the gateway.
|
public String name()
public VpnConnectionInner withName(String name)
name - the name value to set.public String etag()
public com.azure.core.management.SubResource remoteVpnSite()
public VpnConnectionInner withRemoteVpnSite(com.azure.core.management.SubResource remoteVpnSite)
remoteVpnSite - the remoteVpnSite value to set.public Integer routingWeight()
public VpnConnectionInner withRoutingWeight(Integer routingWeight)
routingWeight - the routingWeight value to set.public Integer dpdTimeoutSeconds()
public VpnConnectionInner withDpdTimeoutSeconds(Integer dpdTimeoutSeconds)
dpdTimeoutSeconds - the dpdTimeoutSeconds value to set.public VpnConnectionStatus connectionStatus()
public VirtualNetworkGatewayConnectionProtocol vpnConnectionProtocolType()
public VpnConnectionInner withVpnConnectionProtocolType(VirtualNetworkGatewayConnectionProtocol vpnConnectionProtocolType)
vpnConnectionProtocolType - the vpnConnectionProtocolType value to set.public Long ingressBytesTransferred()
public Long egressBytesTransferred()
public Integer connectionBandwidth()
public VpnConnectionInner withConnectionBandwidth(Integer connectionBandwidth)
connectionBandwidth - the connectionBandwidth value to set.public String sharedKey()
public VpnConnectionInner withSharedKey(String sharedKey)
sharedKey - the sharedKey value to set.public Boolean enableBgp()
public VpnConnectionInner withEnableBgp(Boolean enableBgp)
enableBgp - the enableBgp value to set.public Boolean usePolicyBasedTrafficSelectors()
public VpnConnectionInner withUsePolicyBasedTrafficSelectors(Boolean usePolicyBasedTrafficSelectors)
usePolicyBasedTrafficSelectors - the usePolicyBasedTrafficSelectors value to set.public List<IpsecPolicy> ipsecPolicies()
public VpnConnectionInner withIpsecPolicies(List<IpsecPolicy> ipsecPolicies)
ipsecPolicies - the ipsecPolicies value to set.public Boolean enableRateLimiting()
public VpnConnectionInner withEnableRateLimiting(Boolean enableRateLimiting)
enableRateLimiting - the enableRateLimiting value to set.public Boolean enableInternetSecurity()
public VpnConnectionInner withEnableInternetSecurity(Boolean enableInternetSecurity)
enableInternetSecurity - the enableInternetSecurity value to set.public Boolean useLocalAzureIpAddress()
public VpnConnectionInner withUseLocalAzureIpAddress(Boolean useLocalAzureIpAddress)
useLocalAzureIpAddress - the useLocalAzureIpAddress value to set.public ProvisioningState provisioningState()
public List<VpnSiteLinkConnectionInner> vpnLinkConnections()
public VpnConnectionInner withVpnLinkConnections(List<VpnSiteLinkConnectionInner> vpnLinkConnections)
vpnLinkConnections - the vpnLinkConnections value to set.public RoutingConfiguration routingConfiguration()
public VpnConnectionInner withRoutingConfiguration(RoutingConfiguration routingConfiguration)
routingConfiguration - the routingConfiguration value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.