NetworkVirtualApplianceConnectionInner Class

public final class NetworkVirtualApplianceConnectionInner
extends SubResource

NetworkVirtualApplianceConnection resource.

Constructor Summary

Constructor Description
NetworkVirtualApplianceConnectionInner()

Creates an instance of NetworkVirtualApplianceConnectionInner class.

Method Summary

Modifier and Type Method and Description
Long asn()

Get the asn property: Network Virtual Appliance ASN.

List<String> bgpPeerAddress()

Get the bgpPeerAddress property: List of bgpPeerAddresses for the NVA instances.

Boolean enableInternetSecurity()

Get the enableInternetSecurity property: Enable internet security.

static NetworkVirtualApplianceConnectionInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkVirtualApplianceConnectionInner from the JsonReader.

String name()

Get the name property: The name of the resource.

String namePropertiesName()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the NetworkVirtualApplianceConnection resource.

RoutingConfiguration routingConfiguration()

Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.

JsonWriter toJson(JsonWriter jsonWriter)
Long tunnelIdentifier()

Get the tunnelIdentifier property: Unique identifier for the connection.

void validate()

Validates the instance.

NetworkVirtualApplianceConnectionInner withAsn(Long asn)

Set the asn property: Network Virtual Appliance ASN.

NetworkVirtualApplianceConnectionInner withBgpPeerAddress(List<String> bgpPeerAddress)

Set the bgpPeerAddress property: List of bgpPeerAddresses for the NVA instances.

NetworkVirtualApplianceConnectionInner withEnableInternetSecurity(Boolean enableInternetSecurity)

Set the enableInternetSecurity property: Enable internet security.

NetworkVirtualApplianceConnectionInner withId(String id)
NetworkVirtualApplianceConnectionInner withName(String name)

Set the name property: The name of the resource.

NetworkVirtualApplianceConnectionInner withNamePropertiesName(String name)

Set the name property: The name of the resource.

NetworkVirtualApplianceConnectionInner withRoutingConfiguration(RoutingConfiguration routingConfiguration)

Set the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.

NetworkVirtualApplianceConnectionInner withTunnelIdentifier(Long tunnelIdentifier)

Set the tunnelIdentifier property: Unique identifier for the connection.

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:

the asn value.

bgpPeerAddress

public List bgpPeerAddress()

Get the bgpPeerAddress property: List of bgpPeerAddresses for the NVA instances.

Returns:

the bgpPeerAddress value.

enableInternetSecurity

public Boolean enableInternetSecurity()

Get the enableInternetSecurity property: Enable internet security.

Returns:

the enableInternetSecurity value.

fromJson

public static NetworkVirtualApplianceConnectionInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkVirtualApplianceConnectionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NetworkVirtualApplianceConnectionInner 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 NetworkVirtualApplianceConnectionInner.

name

public String name()

Get the name property: The name of the resource.

Returns:

the name value.

namePropertiesName

public String namePropertiesName()

Get the name property: The name of the resource.

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the NetworkVirtualApplianceConnection resource.

Returns:

the provisioningState value.

routingConfiguration

public RoutingConfiguration routingConfiguration()

Get the routingConfiguration property: The Routing Configuration indicating the associated and propagated route tables on this connection.

Returns:

the routingConfiguration value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

NetworkVirtualApplianceConnectionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

tunnelIdentifier

public Long tunnelIdentifier()

Get the tunnelIdentifier property: Unique identifier for the connection.

Returns:

the tunnelIdentifier value.

validate

public void validate()

Validates the instance.

withAsn

public NetworkVirtualApplianceConnectionInner withAsn(Long asn)

Set the asn property: Network Virtual Appliance ASN.

Parameters:

asn - the asn value to set.

Returns:

the NetworkVirtualApplianceConnectionInner object itself.

withBgpPeerAddress

public NetworkVirtualApplianceConnectionInner withBgpPeerAddress(List bgpPeerAddress)

Set the bgpPeerAddress property: List of bgpPeerAddresses for the NVA instances.

Parameters:

bgpPeerAddress - the bgpPeerAddress value to set.

Returns:

the NetworkVirtualApplianceConnectionInner object itself.

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.

withId

public NetworkVirtualApplianceConnectionInner withId(String id)

Overrides:

NetworkVirtualApplianceConnectionInner.withId(String id)

Parameters:

id

withName

public NetworkVirtualApplianceConnectionInner withName(String name)

Set the name property: The name of the resource.

Parameters:

name - the name value to set.

Returns:

the NetworkVirtualApplianceConnectionInner object itself.

withNamePropertiesName

public NetworkVirtualApplianceConnectionInner withNamePropertiesName(String name)

Set the name property: The name of the resource.

Parameters:

name - the name value to set.

Returns:

the NetworkVirtualApplianceConnectionInner object itself.

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.

withTunnelIdentifier

public NetworkVirtualApplianceConnectionInner withTunnelIdentifier(Long tunnelIdentifier)

Set the tunnelIdentifier property: Unique identifier for the connection.

Parameters:

tunnelIdentifier - the tunnelIdentifier value to set.

Returns:

the NetworkVirtualApplianceConnectionInner object itself.

Applies to