Class NetworkVirtualApplianceConnectionInner
java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.network.fluent.models.NetworkVirtualApplianceConnectionInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.SubResource>
public final class NetworkVirtualApplianceConnectionInner
extends com.azure.core.management.SubResource
NetworkVirtualApplianceConnection resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of NetworkVirtualApplianceConnectionInner class. -
Method Summary
Modifier and TypeMethodDescriptionasn()Get the asn property: Network Virtual Appliance ASN.Get the bgpPeerAddress property: List of bgpPeerAddresses for the NVA instances.Get the enableInternetSecurity property: Enable internet security.name()Get the name property: The name of the resource.Get the name property: The name of the resource.Get the provisioningState property: The provisioning state of the NetworkVirtualApplianceConnection resource.Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.Get the tunnelIdentifier property: Unique identifier for the connection.voidvalidate()Validates the instance.Set the asn property: Network Virtual Appliance ASN.withBgpPeerAddress(List<String> bgpPeerAddress) Set the bgpPeerAddress property: List of bgpPeerAddresses for the NVA instances.withEnableInternetSecurity(Boolean enableInternetSecurity) Set the enableInternetSecurity property: Enable internet security.Set the name property: The name of the resource.withNamePropertiesName(String name) Set the name property: The name of the resource.withRoutingConfiguration(RoutingConfiguration routingConfiguration) Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.withTunnelIdentifier(Long tunnelIdentifier) Set the tunnelIdentifier property: Unique identifier for the connection.Methods inherited from class com.azure.core.management.SubResource
fromJson, id, toJson
-
Constructor Details
-
NetworkVirtualApplianceConnectionInner
public NetworkVirtualApplianceConnectionInner()Creates an instance of NetworkVirtualApplianceConnectionInner class.
-
-
Method Details
-
name
Get the name property: The name of the resource.- Returns:
- the name value.
-
withName
Set the name property: The name of the resource.- Parameters:
name- the name value to set.- Returns:
- the NetworkVirtualApplianceConnectionInner object itself.
-
withId
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
namePropertiesName
Get the name property: The name of the resource.- Returns:
- the name value.
-
withNamePropertiesName
Set the name property: The name of the resource.- Parameters:
name- the name value to set.- Returns:
- the NetworkVirtualApplianceConnectionInner object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the NetworkVirtualApplianceConnection resource.- Returns:
- the provisioningState value.
-
asn
Get the asn property: Network Virtual Appliance ASN.- Returns:
- the asn value.
-
withAsn
Set the asn property: Network Virtual Appliance ASN.- Parameters:
asn- the asn value to set.- Returns:
- the NetworkVirtualApplianceConnectionInner object itself.
-
tunnelIdentifier
Get the tunnelIdentifier property: Unique identifier for the connection.- Returns:
- the tunnelIdentifier value.
-
withTunnelIdentifier
Set the tunnelIdentifier property: Unique identifier for the connection.- Parameters:
tunnelIdentifier- the tunnelIdentifier value to set.- Returns:
- the NetworkVirtualApplianceConnectionInner object itself.
-
bgpPeerAddress
Get the bgpPeerAddress property: List of bgpPeerAddresses for the NVA instances.- Returns:
- the bgpPeerAddress value.
-
withBgpPeerAddress
Set the bgpPeerAddress property: List of bgpPeerAddresses for the NVA instances.- Parameters:
bgpPeerAddress- the bgpPeerAddress value to set.- Returns:
- the NetworkVirtualApplianceConnectionInner object itself.
-
enableInternetSecurity
Get the enableInternetSecurity property: Enable internet security.- Returns:
- the enableInternetSecurity value.
-
withEnableInternetSecurity
public NetworkVirtualApplianceConnectionInner withEnableInternetSecurity(Boolean enableInternetSecurity) Set the enableInternetSecurity property: Enable internet security.- Parameters:
enableInternetSecurity- the enableInternetSecurity value to set.- Returns:
- the NetworkVirtualApplianceConnectionInner object itself.
-
routingConfiguration
Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.- Returns:
- the routingConfiguration value.
-
withRoutingConfiguration
public NetworkVirtualApplianceConnectionInner withRoutingConfiguration(RoutingConfiguration routingConfiguration) Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.- Parameters:
routingConfiguration- the routingConfiguration value to set.- Returns:
- the NetworkVirtualApplianceConnectionInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-