VpnSiteLinkConnectionInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. SubResourceModel - com.
azure. resourcemanager. network. fluent. models. VpnSiteLinkConnectionInner
- com.
- com.
- com.
public final class VpnSiteLinkConnectionInner
extends SubResourceModel
VpnSiteLinkConnection Resource.
Constructor Summary
| Constructor | Description |
|---|---|
| VpnSiteLinkConnectionInner() |
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 |
|
List<Sub |
egressNatRules()
Get the egress |
| Boolean |
enableBgp()
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<Sub |
ingressNatRules()
Get the ingress |
|
List<Ipsec |
ipsecPolicies()
Get the ipsec |
|
Provisioning |
provisioningState()
Get the provisioning |
| Integer |
routingWeight()
Get the routing |
| String |
sharedKey()
Get the shared |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Resource type. |
| Boolean |
useLocalAzureIpAddress()
Get the use |
| Boolean |
usePolicyBasedTrafficSelectors()
Get the use |
| void |
validate()
Validates the instance. |
|
Virtual |
vpnConnectionProtocolType()
Get the vpn |
|
List<Gateway |
vpnGatewayCustomBgpAddresses()
Get the vpn |
|
Vpn |
vpnLinkConnectionMode()
Get the vpn |
|
Sub |
vpnSiteLink()
Get the vpn |
|
Vpn |
withConnectionBandwidth(Integer connectionBandwidth)
Set the connection |
|
Vpn |
withDpdTimeoutSeconds(Integer dpdTimeoutSeconds)
Set the dpd |
|
Vpn |
withEgressNatRules(List<SubResource> egressNatRules)
Set the egress |
|
Vpn |
withEnableBgp(Boolean enableBgp)
Set the enable |
|
Vpn |
withEnableRateLimiting(Boolean enableRateLimiting)
Set the enable |
|
Vpn |
withId(String id) |
|
Vpn |
withIngressNatRules(List<SubResource> ingressNatRules)
Set the ingress |
|
Vpn |
withIpsecPolicies(List<IpsecPolicy> ipsecPolicies)
Set the ipsec |
|
Vpn |
withName(String name)
Set the name property: Name of the resource. |
|
Vpn |
withRoutingWeight(Integer routingWeight)
Set the routing |
|
Vpn |
withSharedKey(String sharedKey)
Set the shared |
|
Vpn |
withUseLocalAzureIpAddress(Boolean useLocalAzureIpAddress)
Set the use |
|
Vpn |
withUsePolicyBasedTrafficSelectors(Boolean usePolicyBasedTrafficSelectors)
Set the use |
|
Vpn |
withVpnConnectionProtocolType(VirtualNetworkGatewayConnectionProtocol vpnConnectionProtocolType)
Set the vpn |
|
Vpn |
withVpnGatewayCustomBgpAddresses(List<GatewayCustomBgpIpAddressIpConfiguration> vpnGatewayCustomBgpAddresses)
Set the vpn |
|
Vpn |
withVpnLinkConnectionMode(VpnLinkConnectionMode vpnLinkConnectionMode)
Set the vpn |
|
Vpn |
withVpnSiteLink(SubResource vpnSiteLink)
Set the vpn |
Methods inherited from SubResource
Methods inherited from SubResourceModel
Methods inherited from java.lang.Object
Constructor Details
VpnSiteLinkConnectionInner
public VpnSiteLinkConnectionInner()
Creates an instance of VpnSiteLinkConnectionInner 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: Dead Peer Detection timeout in seconds for VpnLink connection.
Returns:
egressBytesTransferred
public Long egressBytesTransferred()
Get the egressBytesTransferred property: Egress bytes transferred.
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:
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 VpnSiteLinkConnectionInner fromJson(JsonReader jsonReader)
Reads an instance of VpnSiteLinkConnectionInner from the JsonReader.
Parameters:
Returns:
Throws:
ingressBytesTransferred
public Long ingressBytesTransferred()
Get the ingressBytesTransferred property: Ingress bytes transferred.
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:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the VPN site link connection resource.
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 link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VpnSiteLinkConnectionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Resource type.
Overrides:
VpnSiteLinkConnectionInner.type()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.
Overrides:
VpnSiteLinkConnectionInner.validate()vpnConnectionProtocolType
public VirtualNetworkGatewayConnectionProtocol vpnConnectionProtocolType()
Get the vpnConnectionProtocolType property: Connection protocol used for this connection.
Returns:
vpnGatewayCustomBgpAddresses
public List<GatewayCustomBgpIpAddressIpConfiguration> vpnGatewayCustomBgpAddresses()
Get the vpnGatewayCustomBgpAddresses property: vpnGatewayCustomBgpAddresses used by this connection.
Returns:
vpnLinkConnectionMode
public VpnLinkConnectionMode vpnLinkConnectionMode()
Get the vpnLinkConnectionMode property: Vpn link connection mode.
Returns:
vpnSiteLink
public SubResource vpnSiteLink()
Get the vpnSiteLink property: Id of the connected vpn site link.
Returns:
withConnectionBandwidth
public VpnSiteLinkConnectionInner withConnectionBandwidth(Integer connectionBandwidth)
Set the connectionBandwidth property: Expected bandwidth in MBPS.
Parameters:
Returns:
withDpdTimeoutSeconds
public VpnSiteLinkConnectionInner withDpdTimeoutSeconds(Integer dpdTimeoutSeconds)
Set the dpdTimeoutSeconds property: Dead Peer Detection timeout in seconds for VpnLink connection.
Parameters:
Returns:
withEgressNatRules
public VpnSiteLinkConnectionInner withEgressNatRules(List<SubResource> egressNatRules)
Set the egressNatRules property: List of egress NatRules.
Parameters:
Returns:
withEnableBgp
public VpnSiteLinkConnectionInner withEnableBgp(Boolean enableBgp)
Set the enableBgp property: EnableBgp flag.
Parameters:
Returns:
withEnableRateLimiting
public VpnSiteLinkConnectionInner withEnableRateLimiting(Boolean enableRateLimiting)
Set the enableRateLimiting property: EnableBgp flag.
Parameters:
Returns:
withId
public VpnSiteLinkConnectionInner withId(String id)
Overrides:
VpnSiteLinkConnectionInner.withId(String id)Parameters:
withIngressNatRules
public VpnSiteLinkConnectionInner withIngressNatRules(List<SubResource> ingressNatRules)
Set the ingressNatRules property: List of ingress NatRules.
Parameters:
Returns:
withIpsecPolicies
public VpnSiteLinkConnectionInner withIpsecPolicies(List<IpsecPolicy> ipsecPolicies)
Set the ipsecPolicies property: The IPSec Policies to be considered by this connection.
Parameters:
Returns:
withName
public VpnSiteLinkConnectionInner withName(String name)
Set the name property: Name of the resource.
Overrides:
VpnSiteLinkConnectionInner.withName(String name)Parameters:
withRoutingWeight
public VpnSiteLinkConnectionInner withRoutingWeight(Integer routingWeight)
Set the routingWeight property: Routing weight for vpn connection.
Parameters:
Returns:
withSharedKey
public VpnSiteLinkConnectionInner withSharedKey(String sharedKey)
Set the sharedKey property: SharedKey for the vpn link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.
Parameters:
Returns:
withUseLocalAzureIpAddress
public VpnSiteLinkConnectionInner withUseLocalAzureIpAddress(Boolean useLocalAzureIpAddress)
Set the useLocalAzureIpAddress property: Use local azure ip to initiate connection.
Parameters:
Returns:
withUsePolicyBasedTrafficSelectors
public VpnSiteLinkConnectionInner withUsePolicyBasedTrafficSelectors(Boolean usePolicyBasedTrafficSelectors)
Set the usePolicyBasedTrafficSelectors property: Enable policy-based traffic selectors.
Parameters:
Returns:
withVpnConnectionProtocolType
public VpnSiteLinkConnectionInner withVpnConnectionProtocolType(VirtualNetworkGatewayConnectionProtocol vpnConnectionProtocolType)
Set the vpnConnectionProtocolType property: Connection protocol used for this connection.
Parameters:
Returns:
withVpnGatewayCustomBgpAddresses
public VpnSiteLinkConnectionInner withVpnGatewayCustomBgpAddresses(List<GatewayCustomBgpIpAddressIpConfiguration> vpnGatewayCustomBgpAddresses)
Set the vpnGatewayCustomBgpAddresses property: vpnGatewayCustomBgpAddresses used by this connection.
Parameters:
Returns:
withVpnLinkConnectionMode
public VpnSiteLinkConnectionInner withVpnLinkConnectionMode(VpnLinkConnectionMode vpnLinkConnectionMode)
Set the vpnLinkConnectionMode property: Vpn link connection mode.
Parameters:
Returns:
withVpnSiteLink
public VpnSiteLinkConnectionInner withVpnSiteLink(SubResource vpnSiteLink)
Set the vpnSiteLink property: Id of the connected vpn site link.
Parameters:
Returns: