NetworkVirtualApplianceInstanceIdsInner Class

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

Implements

public final class NetworkVirtualApplianceInstanceIdsInner
implements JsonSerializable<NetworkVirtualApplianceInstanceIdsInner>

Specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances.

Constructor Summary

Constructor Description
NetworkVirtualApplianceInstanceIdsInner()

Creates an instance of NetworkVirtualApplianceInstanceIdsInner class.

Method Summary

Modifier and Type Method and Description
static NetworkVirtualApplianceInstanceIdsInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkVirtualApplianceInstanceIdsInner from the JsonReader.

List<String> instanceIds()

Get the instanceIds property: The network virtual appliance instance ids.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NetworkVirtualApplianceInstanceIdsInner withInstanceIds(List<String> instanceIds)

Set the instanceIds property: The network virtual appliance instance ids.

Methods inherited from java.lang.Object

Constructor Details

NetworkVirtualApplianceInstanceIdsInner

public NetworkVirtualApplianceInstanceIdsInner()

Creates an instance of NetworkVirtualApplianceInstanceIdsInner class.

Method Details

fromJson

public static NetworkVirtualApplianceInstanceIdsInner fromJson(JsonReader jsonReader)

Reads an instance of NetworkVirtualApplianceInstanceIdsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

instanceIds

public List instanceIds()

Get the instanceIds property: The network virtual appliance instance ids. Omitting the network virtual appliance instance ids will result in the operation being performed on all virtual machines belonging to the network virtual appliance.

Returns:

the instanceIds value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withInstanceIds

public NetworkVirtualApplianceInstanceIdsInner withInstanceIds(List instanceIds)

Set the instanceIds property: The network virtual appliance instance ids. Omitting the network virtual appliance instance ids will result in the operation being performed on all virtual machines belonging to the network virtual appliance.

Parameters:

instanceIds - the instanceIds value to set.

Returns:

the NetworkVirtualApplianceInstanceIdsInner object itself.

Applies to