Class NetworkVirtualApplianceConnectionProperties
java.lang.Object
com.azure.resourcemanager.network.fluent.models.NetworkVirtualApplianceConnectionProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<NetworkVirtualApplianceConnectionProperties>
public final class NetworkVirtualApplianceConnectionProperties
extends Object
implements com.azure.json.JsonSerializable<NetworkVirtualApplianceConnectionProperties>
Properties of the NetworkVirtualApplianceConnection subresource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of NetworkVirtualApplianceConnectionProperties 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.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NetworkVirtualApplianceConnectionProperties from the JsonReader.name()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.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) 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.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
NetworkVirtualApplianceConnectionProperties
public NetworkVirtualApplianceConnectionProperties()Creates an instance of NetworkVirtualApplianceConnectionProperties 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 NetworkVirtualApplianceConnectionProperties 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 NetworkVirtualApplianceConnectionProperties 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 NetworkVirtualApplianceConnectionProperties 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 NetworkVirtualApplianceConnectionProperties object itself.
-
enableInternetSecurity
Get the enableInternetSecurity property: Enable internet security.- Returns:
- the enableInternetSecurity value.
-
withEnableInternetSecurity
public NetworkVirtualApplianceConnectionProperties withEnableInternetSecurity(Boolean enableInternetSecurity) Set the enableInternetSecurity property: Enable internet security.- Parameters:
enableInternetSecurity- the enableInternetSecurity value to set.- Returns:
- the NetworkVirtualApplianceConnectionProperties 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 NetworkVirtualApplianceConnectionProperties 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 NetworkVirtualApplianceConnectionProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<NetworkVirtualApplianceConnectionProperties>- Throws:
IOException
-
fromJson
public static NetworkVirtualApplianceConnectionProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of NetworkVirtualApplianceConnectionProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of NetworkVirtualApplianceConnectionProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the NetworkVirtualApplianceConnectionProperties.
-