IpAddressAvailabilityResultInner Class

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

Implements

public final class IpAddressAvailabilityResultInner
implements JsonSerializable<IpAddressAvailabilityResultInner>

Response for CheckIPAddressAvailability API service call.

Method Summary

Modifier and Type Method and Description
Boolean available()

Get the available property: Private IP address availability.

List<String> availableIpAddresses()

Get the availableIpAddresses property: Contains other available private IP addresses if the asked for address is taken.

static IpAddressAvailabilityResultInner fromJson(JsonReader jsonReader)

Reads an instance of IpAddressAvailabilityResultInner from the JsonReader.

Boolean isPlatformReserved()

Get the isPlatformReserved property: Private IP address platform reserved.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

available

public Boolean available()

Get the available property: Private IP address availability.

Returns:

the available value.

availableIpAddresses

public List<String> availableIpAddresses()

Get the availableIpAddresses property: Contains other available private IP addresses if the asked for address is taken.

Returns:

the availableIpAddresses value.

fromJson

public static IpAddressAvailabilityResultInner fromJson(JsonReader jsonReader)

Reads an instance of IpAddressAvailabilityResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

isPlatformReserved

public Boolean isPlatformReserved()

Get the isPlatformReserved property: Private IP address platform reserved.

Returns:

the isPlatformReserved value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to