Class VirtualMachineScaleSetListResult
java.lang.Object
com.azure.resourcemanager.compute.models.VirtualMachineScaleSetListResult
- All Implemented Interfaces:
com.azure.json.JsonSerializable<VirtualMachineScaleSetListResult>
public final class VirtualMachineScaleSetListResult
extends Object
implements com.azure.json.JsonSerializable<VirtualMachineScaleSetListResult>
The List Virtual Machine operation response.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VirtualMachineScaleSetListResult class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VirtualMachineScaleSetListResult from the JsonReader.nextLink()Get the nextLink property: The uri to fetch the next page of Virtual Machine Scale Sets.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.value()Get the value property: The list of virtual machine scale sets.withNextLink(String nextLink) Set the nextLink property: The uri to fetch the next page of Virtual Machine Scale Sets.withValue(List<VirtualMachineScaleSetInner> value) Set the value property: The list of virtual machine scale sets.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
VirtualMachineScaleSetListResult
public VirtualMachineScaleSetListResult()Creates an instance of VirtualMachineScaleSetListResult class.
-
-
Method Details
-
value
Get the value property: The list of virtual machine scale sets.- Returns:
- the value value.
-
withValue
Set the value property: The list of virtual machine scale sets.- Parameters:
value- the value value to set.- Returns:
- the VirtualMachineScaleSetListResult object itself.
-
nextLink
Get the nextLink property: The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of VMSS.- Returns:
- the nextLink value.
-
withNextLink
Set the nextLink property: The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of VMSS.- Parameters:
nextLink- the nextLink value to set.- Returns:
- the VirtualMachineScaleSetListResult object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<VirtualMachineScaleSetListResult>- Throws:
IOException
-
fromJson
public static VirtualMachineScaleSetListResult fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VirtualMachineScaleSetListResult from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of VirtualMachineScaleSetListResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the VirtualMachineScaleSetListResult.
-