VirtualNetworkApplianceIpConfiguration Class

public final class VirtualNetworkApplianceIpConfiguration
extends SubResource

The virtual network appliance ip configuration.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static VirtualNetworkApplianceIpConfiguration fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkApplianceIpConfiguration from the JsonReader.

String name()

Get the name property: The name of virtual network appliance ip configuration.

Boolean primary()

Get the primary property: Whether the ip configuration is primary or not.

String privateIpAddress()

Get the privateIpAddress property: The private IP address of the IP configuration.

IpVersion privateIpAddressVersion()

Get the privateIpAddressVersion property: Whether the specific IP configuration is IPv4 or IPv6.

IpAllocationMethod privateIpAllocationMethod()

Get the privateIpAllocationMethod property: The private IP address allocation method.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the private link service IP configuration resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The resource type.

void validate()

Validates the instance.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Method Details

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static VirtualNetworkApplianceIpConfiguration fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkApplianceIpConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of virtual network appliance ip configuration.

Returns:

the name value.

primary

public Boolean primary()

Get the primary property: Whether the ip configuration is primary or not.

Returns:

the primary value.

privateIpAddress

public String privateIpAddress()

Get the privateIpAddress property: The private IP address of the IP configuration.

Returns:

the privateIpAddress value.

privateIpAddressVersion

public IpVersion privateIpAddressVersion()

Get the privateIpAddressVersion property: Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.

Returns:

the privateIpAddressVersion value.

privateIpAllocationMethod

public IpAllocationMethod privateIpAllocationMethod()

Get the privateIpAllocationMethod property: The private IP address allocation method.

Returns:

the privateIpAllocationMethod value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the private link service IP configuration resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

VirtualNetworkApplianceIpConfiguration.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to