NetworkVirtualApplianceConnectionInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. NetworkVirtualApplianceConnectionInner
- com.
- com.
public final class NetworkVirtualApplianceConnectionInner
extends SubResource
NetworkVirtualApplianceConnection resource.
Constructor Summary
Constructor | Description |
---|---|
NetworkVirtualApplianceConnectionInner() |
Creates an instance of Network |
Method Summary
Modifier and Type | Method and Description |
---|---|
Long |
asn()
Get the asn property: Network Virtual Appliance ASN. |
List<String> |
bgpPeerAddress()
Get the bgp |
Boolean |
enableInternetSecurity()
Get the enable |
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
String |
name()
Get the name property: The name of the resource. |
String |
namePropertiesName()
Get the name property: The name of the resource. |
Provisioning |
provisioningState()
Get the provisioning |
Routing |
routingConfiguration()
Get the routing |
Json |
toJson(JsonWriter jsonWriter) |
Long |
tunnelIdentifier()
Get the tunnel |
void |
validate()
Validates the instance. |
Network |
withAsn(Long asn)
Set the asn property: Network Virtual Appliance ASN. |
Network |
withBgpPeerAddress(List<String> bgpPeerAddress)
Set the bgp |
Network |
withEnableInternetSecurity(Boolean enableInternetSecurity)
Set the enable |
Network |
withId(String id) |
Network |
withName(String name)
Set the name property: The name of the resource. |
Network |
withNamePropertiesName(String name)
Set the name property: The name of the resource. |
Network |
withRoutingConfiguration(RoutingConfiguration routingConfiguration)
Set the routing |
Network |
withTunnelIdentifier(Long tunnelIdentifier)
Set the tunnel |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
NetworkVirtualApplianceConnectionInner
public NetworkVirtualApplianceConnectionInner()
Creates an instance of NetworkVirtualApplianceConnectionInner class.
Method Details
asn
public Long asn()
Get the asn property: Network Virtual Appliance ASN.
Returns:
bgpPeerAddress
public List
Get the bgpPeerAddress property: List of bgpPeerAddresses for the NVA instances.
Returns:
enableInternetSecurity
public Boolean enableInternetSecurity()
Get the enableInternetSecurity property: Enable internet security.
Returns:
fromJson
public static NetworkVirtualApplianceConnectionInner fromJson(JsonReader jsonReader)
Reads an instance of NetworkVirtualApplianceConnectionInner from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the resource.
Returns:
namePropertiesName
public String namePropertiesName()
Get the name property: The name of the resource.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the NetworkVirtualApplianceConnection resource.
Returns:
routingConfiguration
public RoutingConfiguration routingConfiguration()
Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
NetworkVirtualApplianceConnectionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
tunnelIdentifier
public Long tunnelIdentifier()
Get the tunnelIdentifier property: Unique identifier for the connection.
Returns:
validate
public void validate()
Validates the instance.
withAsn
public NetworkVirtualApplianceConnectionInner withAsn(Long asn)
Set the asn property: Network Virtual Appliance ASN.
Parameters:
Returns:
withBgpPeerAddress
public NetworkVirtualApplianceConnectionInner withBgpPeerAddress(List
Set the bgpPeerAddress property: List of bgpPeerAddresses for the NVA instances.
Parameters:
Returns:
withEnableInternetSecurity
public NetworkVirtualApplianceConnectionInner withEnableInternetSecurity(Boolean enableInternetSecurity)
Set the enableInternetSecurity property: Enable internet security.
Parameters:
Returns:
withId
public NetworkVirtualApplianceConnectionInner withId(String id)
Overrides:
NetworkVirtualApplianceConnectionInner.withId(String id)Parameters:
withName
public NetworkVirtualApplianceConnectionInner withName(String name)
Set the name property: The name of the resource.
Parameters:
Returns:
withNamePropertiesName
public NetworkVirtualApplianceConnectionInner withNamePropertiesName(String name)
Set the name property: The name of the resource.
Parameters:
Returns:
withRoutingConfiguration
public NetworkVirtualApplianceConnectionInner withRoutingConfiguration(RoutingConfiguration routingConfiguration)
Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.
Parameters:
Returns:
withTunnelIdentifier
public NetworkVirtualApplianceConnectionInner withTunnelIdentifier(Long tunnelIdentifier)
Set the tunnelIdentifier property: Unique identifier for the connection.
Parameters:
Returns:
Applies to
Azure SDK for Java