InterconnectBlockInstanceView Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.InterconnectBlockInstanceView

Implements

public final class InterconnectBlockInstanceView
implements JsonSerializable<InterconnectBlockInstanceView>

The instance view of an Interconnect Block.

Method Summary

Modifier and Type Method and Description
Integer currentCapacity()

Get the currentCapacity property: The current capacity allocated for this Interconnect Block.

static InterconnectBlockInstanceView fromJson(JsonReader jsonReader)

Reads an instance of InterconnectBlockInstanceView from the JsonReader.

List<InstanceViewStatus> statuses()

Get the statuses property: The resource status information.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

currentCapacity

public Integer currentCapacity()

Get the currentCapacity property: The current capacity allocated for this Interconnect Block.

Returns:

the currentCapacity value.

fromJson

public static InterconnectBlockInstanceView fromJson(JsonReader jsonReader)

Reads an instance of InterconnectBlockInstanceView from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

statuses

public List<InstanceViewStatus> statuses()

Get the statuses property: The resource status information.

Returns:

the statuses value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to