public class VpnSiteLinkConnectionInner
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
VpnSiteLinkConnectionInner() |
| 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.
|
Long |
egressBytesTransferred()
Get the egressBytesTransferred property: Egress bytes transferred.
|
Boolean |
enableBgp()
Get the enableBgp property: EnableBgp flag.
|
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 site link connection resource.
|
Integer |
routingWeight()
Get the routingWeight property: Routing weight for vpn connection.
|
String |
sharedKey()
Get the sharedKey property: SharedKey for the vpn connection.
|
String |
type()
Get the type property: Resource type.
|
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.
|
com.azure.core.management.SubResource |
vpnSiteLink()
Get the vpnSiteLink property: Id of the connected vpn site link.
|
VpnSiteLinkConnectionInner |
withConnectionBandwidth(Integer connectionBandwidth)
Set the connectionBandwidth property: Expected bandwidth in MBPS.
|
VpnSiteLinkConnectionInner |
withEnableBgp(Boolean enableBgp)
Set the enableBgp property: EnableBgp flag.
|
VpnSiteLinkConnectionInner |
withEnableRateLimiting(Boolean enableRateLimiting)
Set the enableRateLimiting property: EnableBgp flag.
|
VpnSiteLinkConnectionInner |
withIpsecPolicies(List<IpsecPolicy> ipsecPolicies)
Set the ipsecPolicies property: The IPSec Policies to be considered by this connection.
|
VpnSiteLinkConnectionInner |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group.
|
VpnSiteLinkConnectionInner |
withRoutingWeight(Integer routingWeight)
Set the routingWeight property: Routing weight for vpn connection.
|
VpnSiteLinkConnectionInner |
withSharedKey(String sharedKey)
Set the sharedKey property: SharedKey for the vpn connection.
|
VpnSiteLinkConnectionInner |
withUseLocalAzureIpAddress(Boolean useLocalAzureIpAddress)
Set the useLocalAzureIpAddress property: Use local azure ip to initiate connection.
|
VpnSiteLinkConnectionInner |
withUsePolicyBasedTrafficSelectors(Boolean usePolicyBasedTrafficSelectors)
Set the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors.
|
VpnSiteLinkConnectionInner |
withVpnConnectionProtocolType(VirtualNetworkGatewayConnectionProtocol vpnConnectionProtocolType)
Set the vpnConnectionProtocolType property: Connection protocol used for this connection.
|
VpnSiteLinkConnectionInner |
withVpnSiteLink(com.azure.core.management.SubResource vpnSiteLink)
Set the vpnSiteLink property: Id of the connected vpn site link.
|
public String name()
public VpnSiteLinkConnectionInner withName(String name)
name - the name value to set.public String etag()
public String type()
public com.azure.core.management.SubResource vpnSiteLink()
public VpnSiteLinkConnectionInner withVpnSiteLink(com.azure.core.management.SubResource vpnSiteLink)
vpnSiteLink - the vpnSiteLink value to set.public Integer routingWeight()
public VpnSiteLinkConnectionInner withRoutingWeight(Integer routingWeight)
routingWeight - the routingWeight value to set.public VpnConnectionStatus connectionStatus()
public VirtualNetworkGatewayConnectionProtocol vpnConnectionProtocolType()
public VpnSiteLinkConnectionInner withVpnConnectionProtocolType(VirtualNetworkGatewayConnectionProtocol vpnConnectionProtocolType)
vpnConnectionProtocolType - the vpnConnectionProtocolType value to set.public Long ingressBytesTransferred()
public Long egressBytesTransferred()
public Integer connectionBandwidth()
public VpnSiteLinkConnectionInner withConnectionBandwidth(Integer connectionBandwidth)
connectionBandwidth - the connectionBandwidth value to set.public String sharedKey()
public VpnSiteLinkConnectionInner withSharedKey(String sharedKey)
sharedKey - the sharedKey value to set.public Boolean enableBgp()
public VpnSiteLinkConnectionInner withEnableBgp(Boolean enableBgp)
enableBgp - the enableBgp value to set.public Boolean usePolicyBasedTrafficSelectors()
public VpnSiteLinkConnectionInner withUsePolicyBasedTrafficSelectors(Boolean usePolicyBasedTrafficSelectors)
usePolicyBasedTrafficSelectors - the usePolicyBasedTrafficSelectors value to set.public List<IpsecPolicy> ipsecPolicies()
public VpnSiteLinkConnectionInner withIpsecPolicies(List<IpsecPolicy> ipsecPolicies)
ipsecPolicies - the ipsecPolicies value to set.public Boolean enableRateLimiting()
public VpnSiteLinkConnectionInner withEnableRateLimiting(Boolean enableRateLimiting)
enableRateLimiting - the enableRateLimiting value to set.public Boolean useLocalAzureIpAddress()
public VpnSiteLinkConnectionInner withUseLocalAzureIpAddress(Boolean useLocalAzureIpAddress)
useLocalAzureIpAddress - the useLocalAzureIpAddress value to set.public ProvisioningState provisioningState()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.