VirtualNetworkTapPropertiesFormatInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.VirtualNetworkTapPropertiesFormatInner

Implements

public final class VirtualNetworkTapPropertiesFormatInner
implements JsonSerializable<VirtualNetworkTapPropertiesFormatInner>

Virtual Network Tap properties.

Constructor Summary

Constructor Description
VirtualNetworkTapPropertiesFormatInner()

Creates an instance of VirtualNetworkTapPropertiesFormatInner class.

Method Summary

Modifier and Type Method and Description
FrontendIpConfigurationInner destinationLoadBalancerFrontEndIPConfiguration()

Get the destinationLoadBalancerFrontEndIPConfiguration property: The reference to the private IP address on the internal Load Balancer that will receive the tap.

NetworkInterfaceIpConfigurationInner destinationNetworkInterfaceIPConfiguration()

Get the destinationNetworkInterfaceIPConfiguration property: The reference to the private IP Address of the collector nic that will receive the tap.

Integer destinationPort()

Get the destinationPort property: The VXLAN destination port that will receive the tapped traffic.

static VirtualNetworkTapPropertiesFormatInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkTapPropertiesFormatInner from the JsonReader.

List<NetworkInterfaceTapConfigurationInner> networkInterfaceTapConfigurations()

Get the networkInterfaceTapConfigurations property: Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the virtual network tap resource.

String resourceGuid()

Get the resourceGuid property: The resource GUID property of the virtual network tap resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VirtualNetworkTapPropertiesFormatInner withDestinationLoadBalancerFrontEndIPConfiguration(FrontendIpConfigurationInner destinationLoadBalancerFrontEndIPConfiguration)

Set the destinationLoadBalancerFrontEndIPConfiguration property: The reference to the private IP address on the internal Load Balancer that will receive the tap.

VirtualNetworkTapPropertiesFormatInner withDestinationNetworkInterfaceIPConfiguration(NetworkInterfaceIpConfigurationInner destinationNetworkInterfaceIPConfiguration)

Set the destinationNetworkInterfaceIPConfiguration property: The reference to the private IP Address of the collector nic that will receive the tap.

VirtualNetworkTapPropertiesFormatInner withDestinationPort(Integer destinationPort)

Set the destinationPort property: The VXLAN destination port that will receive the tapped traffic.

Methods inherited from java.lang.Object

Constructor Details

VirtualNetworkTapPropertiesFormatInner

public VirtualNetworkTapPropertiesFormatInner()

Creates an instance of VirtualNetworkTapPropertiesFormatInner class.

Method Details

destinationLoadBalancerFrontEndIPConfiguration

public FrontendIpConfigurationInner destinationLoadBalancerFrontEndIPConfiguration()

Get the destinationLoadBalancerFrontEndIPConfiguration property: The reference to the private IP address on the internal Load Balancer that will receive the tap.

Returns:

the destinationLoadBalancerFrontEndIPConfiguration value.

destinationNetworkInterfaceIPConfiguration

public NetworkInterfaceIpConfigurationInner destinationNetworkInterfaceIPConfiguration()

Get the destinationNetworkInterfaceIPConfiguration property: The reference to the private IP Address of the collector nic that will receive the tap.

Returns:

the destinationNetworkInterfaceIPConfiguration value.

destinationPort

public Integer destinationPort()

Get the destinationPort property: The VXLAN destination port that will receive the tapped traffic.

Returns:

the destinationPort value.

fromJson

public static VirtualNetworkTapPropertiesFormatInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkTapPropertiesFormatInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

networkInterfaceTapConfigurations

public List<NetworkInterfaceTapConfigurationInner> networkInterfaceTapConfigurations()

Get the networkInterfaceTapConfigurations property: Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.

Returns:

the networkInterfaceTapConfigurations value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the virtual network tap resource.

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: The resource GUID property of the virtual network tap resource.

Returns:

the resourceGuid value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDestinationLoadBalancerFrontEndIPConfiguration

public VirtualNetworkTapPropertiesFormatInner withDestinationLoadBalancerFrontEndIPConfiguration(FrontendIpConfigurationInner destinationLoadBalancerFrontEndIPConfiguration)

Set the destinationLoadBalancerFrontEndIPConfiguration property: The reference to the private IP address on the internal Load Balancer that will receive the tap.

Parameters:

destinationLoadBalancerFrontEndIPConfiguration - the destinationLoadBalancerFrontEndIPConfiguration value to set.

Returns:

the VirtualNetworkTapPropertiesFormatInner object itself.

withDestinationNetworkInterfaceIPConfiguration

public VirtualNetworkTapPropertiesFormatInner withDestinationNetworkInterfaceIPConfiguration(NetworkInterfaceIpConfigurationInner destinationNetworkInterfaceIPConfiguration)

Set the destinationNetworkInterfaceIPConfiguration property: The reference to the private IP Address of the collector nic that will receive the tap.

Parameters:

destinationNetworkInterfaceIPConfiguration - the destinationNetworkInterfaceIPConfiguration value to set.

Returns:

the VirtualNetworkTapPropertiesFormatInner object itself.

withDestinationPort

public VirtualNetworkTapPropertiesFormatInner withDestinationPort(Integer destinationPort)

Set the destinationPort property: The VXLAN destination port that will receive the tapped traffic.

Parameters:

destinationPort - the destinationPort value to set.

Returns:

the VirtualNetworkTapPropertiesFormatInner object itself.

Applies to