PoolAssociationInner Class

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

Implements

public final class PoolAssociationInner
implements JsonSerializable<PoolAssociationInner>

IpamPool association information.

Method Summary

Modifier and Type Method and Description
List<String> addressPrefixes()

Get the addressPrefixes property: List of assigned IP address prefixes in the IpamPool of the associated resource.

OffsetDateTime createdAt()

Get the createdAt property: Creation time of the association.

String description()

Get the description property: The description property.

static PoolAssociationInner fromJson(JsonReader jsonReader)

Reads an instance of PoolAssociationInner from the JsonReader.

String numberOfReservedIPAddresses()

Get the numberOfReservedIPAddresses property: Total number of reserved IP addresses of the association.

String poolId()

Get the poolId property: IpamPool id for which the resource is associated to.

OffsetDateTime reservationExpiresAt()

Get the reservationExpiresAt property: Expire time for IP addresses reserved.

List<String> reservedPrefixes()

Get the reservedPrefixes property: List of reserved IP address prefixes in the IpamPool of the associated resource.

String resourceId()

Get the resourceId property: Resource id of the associated Azure resource.

JsonWriter toJson(JsonWriter jsonWriter)
String totalNumberOfIPAddresses()

Get the totalNumberOfIPAddresses property: Total number of assigned IP addresses of the association.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

addressPrefixes

public List<String> addressPrefixes()

Get the addressPrefixes property: List of assigned IP address prefixes in the IpamPool of the associated resource.

Returns:

the addressPrefixes value.

createdAt

public OffsetDateTime createdAt()

Get the createdAt property: Creation time of the association.

Returns:

the createdAt value.

description

public String description()

Get the description property: The description property.

Returns:

the description value.

fromJson

public static PoolAssociationInner fromJson(JsonReader jsonReader)

Reads an instance of PoolAssociationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PoolAssociationInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

numberOfReservedIPAddresses

public String numberOfReservedIPAddresses()

Get the numberOfReservedIPAddresses property: Total number of reserved IP addresses of the association.

Returns:

the numberOfReservedIPAddresses value.

poolId

public String poolId()

Get the poolId property: IpamPool id for which the resource is associated to.

Returns:

the poolId value.

reservationExpiresAt

public OffsetDateTime reservationExpiresAt()

Get the reservationExpiresAt property: Expire time for IP addresses reserved.

Returns:

the reservationExpiresAt value.

reservedPrefixes

public List<String> reservedPrefixes()

Get the reservedPrefixes property: List of reserved IP address prefixes in the IpamPool of the associated resource.

Returns:

the reservedPrefixes value.

resourceId

public String resourceId()

Get the resourceId property: Resource id of the associated Azure resource.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

totalNumberOfIPAddresses

public String totalNumberOfIPAddresses()

Get the totalNumberOfIPAddresses property: Total number of assigned IP addresses of the association.

Returns:

the totalNumberOfIPAddresses value.

validate

public void validate()

Validates the instance.

Applies to