SubgroupNodeAvailabilityEntry Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.SubgroupNodeAvailabilityEntry

Implements

public final class SubgroupNodeAvailabilityEntry
implements JsonSerializable<SubgroupNodeAvailabilityEntry>

Represents the node availability information for a single subgroup.

Method Summary

Modifier and Type Method and Description
Integer count()

Get the count property: The total node count for the subgroup.

static SubgroupNodeAvailabilityEntry fromJson(JsonReader jsonReader)

Reads an instance of SubgroupNodeAvailabilityEntry from the JsonReader.

Integer inServiceNodeCount()

Get the inServiceNodeCount property: The number of nodes that are in service.

String internalSubgroupId()

Get the internalSubgroupId property: The unique identifier of the subgroup.

Integer inUseNodeCount()

Get the inUseNodeCount property: The number of nodes that are currently in use.

String name()

Get the name property: The subgroup name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

count

public Integer count()

Get the count property: The total node count for the subgroup.

Returns:

the count value.

fromJson

public static SubgroupNodeAvailabilityEntry fromJson(JsonReader jsonReader)

Reads an instance of SubgroupNodeAvailabilityEntry from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

inServiceNodeCount

public Integer inServiceNodeCount()

Get the inServiceNodeCount property: The number of nodes that are in service.

Returns:

the inServiceNodeCount value.

internalSubgroupId

public String internalSubgroupId()

Get the internalSubgroupId property: The unique identifier of the subgroup.

Returns:

the internalSubgroupId value.

inUseNodeCount

public Integer inUseNodeCount()

Get the inUseNodeCount property: The number of nodes that are currently in use.

Returns:

the inUseNodeCount value.

name

public String name()

Get the name property: The subgroup name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to