VpnConnectionInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. VpnConnectionInner
- com.
- com.
public final class VpnConnectionInner
extends SubResource
VpnConnection Resource.
Constructor Summary
Constructor | Description |
---|---|
VpnConnectionInner() |
Creates an instance of Vpn |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
connectionBandwidth()
Get the connection |
Vpn |
connectionStatus()
Get the connection |
Integer |
dpdTimeoutSeconds()
Get the dpd |
Long |
egressBytesTransferred()
Get the egress |
Boolean |
enableBgp()
Get the enable |
Boolean |
enableInternetSecurity()
Get the enable |
Boolean |
enableRateLimiting()
Get the enable |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
static
Vpn |
fromJson(JsonReader jsonReader)
Reads an instance of Vpn |
Long |
ingressBytesTransferred()
Get the ingress |
List<Ipsec |
ipsecPolicies()
Get the ipsec |
String |
name()
Get the name property: The name of the resource that is unique within a resource group. |
Provisioning |
provisioningState()
Get the provisioning |
Sub |
remoteVpnSite()
Get the remote |
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 |
Boolean |
useLocalAzureIpAddress()
Get the use |
Boolean |
usePolicyBasedTrafficSelectors()
Get the use |
void |
validate()
Validates the instance. |
Virtual |
vpnConnectionProtocolType()
Get the vpn |
List<Vpn |
vpnLinkConnections()
Get the vpn |
Vpn |
withConnectionBandwidth(Integer connectionBandwidth)
Set the connection |
Vpn |
withDpdTimeoutSeconds(Integer dpdTimeoutSeconds)
Set the dpd |
Vpn |
withEnableBgp(Boolean enableBgp)
Set the enable |
Vpn |
withEnableInternetSecurity(Boolean enableInternetSecurity)
Set the enable |
Vpn |
withEnableRateLimiting(Boolean enableRateLimiting)
Set the enable |
Vpn |
withId(String id) |
Vpn |
withIpsecPolicies(List<IpsecPolicy> ipsecPolicies)
Set the ipsec |
Vpn |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group. |
Vpn |
withRemoteVpnSite(SubResource remoteVpnSite)
Set the remote |
Vpn |
withRoutingConfiguration(RoutingConfiguration routingConfiguration)
Set the routing |
Vpn |
withRoutingWeight(Integer routingWeight)
Set the routing |
Vpn |
withSharedKey(String sharedKey)
Set the shared |
Vpn |
withTrafficSelectorPolicies(List<TrafficSelectorPolicy> trafficSelectorPolicies)
Set the traffic |
Vpn |
withUseLocalAzureIpAddress(Boolean useLocalAzureIpAddress)
Set the use |
Vpn |
withUsePolicyBasedTrafficSelectors(Boolean usePolicyBasedTrafficSelectors)
Set the use |
Vpn |
withVpnConnectionProtocolType(VirtualNetworkGatewayConnectionProtocol vpnConnectionProtocolType)
Set the vpn |
Vpn |
withVpnLinkConnections(List<VpnSiteLinkConnectionInner> vpnLinkConnections)
Set the vpn |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
VpnConnectionInner
public VpnConnectionInner()
Creates an instance of VpnConnectionInner class.
Method Details
connectionBandwidth
public Integer connectionBandwidth()
Get the connectionBandwidth property: Expected bandwidth in MBPS.
Returns:
connectionStatus
public VpnConnectionStatus connectionStatus()
Get the connectionStatus property: The connection status.
Returns:
dpdTimeoutSeconds
public Integer dpdTimeoutSeconds()
Get the dpdTimeoutSeconds property: DPD timeout in seconds for vpn connection.
Returns:
egressBytesTransferred
public Long egressBytesTransferred()
Get the egressBytesTransferred property: Egress bytes transferred.
Returns:
enableBgp
public Boolean enableBgp()
Get the enableBgp property: EnableBgp flag.
Returns:
enableInternetSecurity
public Boolean enableInternetSecurity()
Get the enableInternetSecurity property: Enable internet security.
Returns:
enableRateLimiting
public Boolean enableRateLimiting()
Get the enableRateLimiting property: EnableBgp flag.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static VpnConnectionInner fromJson(JsonReader jsonReader)
Reads an instance of VpnConnectionInner from the JsonReader.
Parameters:
Returns:
Throws:
ingressBytesTransferred
public Long ingressBytesTransferred()
Get the ingressBytesTransferred property: Ingress bytes transferred.
Returns:
ipsecPolicies
public List
Get the ipsecPolicies property: The IPSec Policies to be considered by this connection.
Returns:
name
public String name()
Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the VPN connection resource.
Returns:
remoteVpnSite
public SubResource remoteVpnSite()
Get the remoteVpnSite property: Id of the connected vpn site.
Returns:
routingConfiguration
public RoutingConfiguration routingConfiguration()
Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.
Returns:
routingWeight
public Integer routingWeight()
Get the routingWeight property: Routing weight for vpn connection.
Returns:
sharedKey
public String sharedKey()
Get the sharedKey property: SharedKey for the vpn connection.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VpnConnectionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
trafficSelectorPolicies
public List
Get the trafficSelectorPolicies property: The Traffic Selector Policies to be considered by this connection.
Returns:
useLocalAzureIpAddress
public Boolean useLocalAzureIpAddress()
Get the useLocalAzureIpAddress property: Use local azure ip to initiate connection.
Returns:
usePolicyBasedTrafficSelectors
public Boolean usePolicyBasedTrafficSelectors()
Get the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors.
Returns:
validate
public void validate()
Validates the instance.
vpnConnectionProtocolType
public VirtualNetworkGatewayConnectionProtocol vpnConnectionProtocolType()
Get the vpnConnectionProtocolType property: Connection protocol used for this connection.
Returns:
vpnLinkConnections
public List
Get the vpnLinkConnections property: List of all vpn site link connections to the gateway.
Returns:
withConnectionBandwidth
public VpnConnectionInner withConnectionBandwidth(Integer connectionBandwidth)
Set the connectionBandwidth property: Expected bandwidth in MBPS.
Parameters:
Returns:
withDpdTimeoutSeconds
public VpnConnectionInner withDpdTimeoutSeconds(Integer dpdTimeoutSeconds)
Set the dpdTimeoutSeconds property: DPD timeout in seconds for vpn connection.
Parameters:
Returns:
withEnableBgp
public VpnConnectionInner withEnableBgp(Boolean enableBgp)
Set the enableBgp property: EnableBgp flag.
Parameters:
Returns:
withEnableInternetSecurity
public VpnConnectionInner withEnableInternetSecurity(Boolean enableInternetSecurity)
Set the enableInternetSecurity property: Enable internet security.
Parameters:
Returns:
withEnableRateLimiting
public VpnConnectionInner withEnableRateLimiting(Boolean enableRateLimiting)
Set the enableRateLimiting property: EnableBgp flag.
Parameters:
Returns:
withId
public VpnConnectionInner withId(String id)
Overrides:
VpnConnectionInner.withId(String id)Parameters:
withIpsecPolicies
public VpnConnectionInner withIpsecPolicies(List
Set the ipsecPolicies property: The IPSec Policies to be considered by this connection.
Parameters:
Returns:
withName
public VpnConnectionInner withName(String name)
Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.
Parameters:
Returns:
withRemoteVpnSite
public VpnConnectionInner withRemoteVpnSite(SubResource remoteVpnSite)
Set the remoteVpnSite property: Id of the connected vpn site.
Parameters:
Returns:
withRoutingConfiguration
public VpnConnectionInner withRoutingConfiguration(RoutingConfiguration routingConfiguration)
Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.
Parameters:
Returns:
withRoutingWeight
public VpnConnectionInner withRoutingWeight(Integer routingWeight)
Set the routingWeight property: Routing weight for vpn connection.
Parameters:
Returns:
withSharedKey
public VpnConnectionInner withSharedKey(String sharedKey)
Set the sharedKey property: SharedKey for the vpn connection.
Parameters:
Returns:
withTrafficSelectorPolicies
public VpnConnectionInner withTrafficSelectorPolicies(List
Set the trafficSelectorPolicies property: The Traffic Selector Policies to be considered by this connection.
Parameters:
Returns:
withUseLocalAzureIpAddress
public VpnConnectionInner withUseLocalAzureIpAddress(Boolean useLocalAzureIpAddress)
Set the useLocalAzureIpAddress property: Use local azure ip to initiate connection.
Parameters:
Returns:
withUsePolicyBasedTrafficSelectors
public VpnConnectionInner withUsePolicyBasedTrafficSelectors(Boolean usePolicyBasedTrafficSelectors)
Set the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors.
Parameters:
Returns:
withVpnConnectionProtocolType
public VpnConnectionInner withVpnConnectionProtocolType(VirtualNetworkGatewayConnectionProtocol vpnConnectionProtocolType)
Set the vpnConnectionProtocolType property: Connection protocol used for this connection.
Parameters:
Returns:
withVpnLinkConnections
public VpnConnectionInner withVpnLinkConnections(List
Set the vpnLinkConnections property: List of all vpn site link connections to the gateway.
Parameters:
Returns:
Applies to
Azure SDK for Java