Class VirtualMachineScaleSetListSkusResult
java.lang.Object
com.azure.resourcemanager.compute.models.VirtualMachineScaleSetListSkusResult
- All Implemented Interfaces:
com.azure.json.JsonSerializable<VirtualMachineScaleSetListSkusResult>
public final class VirtualMachineScaleSetListSkusResult
extends Object
implements com.azure.json.JsonSerializable<VirtualMachineScaleSetListSkusResult>
The Virtual Machine Scale Set List Skus operation response.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VirtualMachineScaleSetListSkusResult class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VirtualMachineScaleSetListSkusResult from the JsonReader.nextLink()Get the nextLink property: The uri to fetch the next page of Virtual Machine Scale Set Skus.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.value()Get the value property: The list of skus available for the virtual machine scale set.withNextLink(String nextLink) Set the nextLink property: The uri to fetch the next page of Virtual Machine Scale Set Skus.Set the value property: The list of skus available for the virtual machine scale set.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
-
VirtualMachineScaleSetListSkusResult
public VirtualMachineScaleSetListSkusResult()Creates an instance of VirtualMachineScaleSetListSkusResult class.
-
-
Method Details
-
value
Get the value property: The list of skus available for the virtual machine scale set.- Returns:
- the value value.
-
withValue
Set the value property: The list of skus available for the virtual machine scale set.- Parameters:
value- the value value to set.- Returns:
- the VirtualMachineScaleSetListSkusResult object itself.
-
nextLink
Get the nextLink property: The uri to fetch the next page of Virtual Machine Scale Set Skus. Call ListNext() with this to fetch the next page of VMSS Skus.- Returns:
- the nextLink value.
-
withNextLink
Set the nextLink property: The uri to fetch the next page of Virtual Machine Scale Set Skus. Call ListNext() with this to fetch the next page of VMSS Skus.- Parameters:
nextLink- the nextLink value to set.- Returns:
- the VirtualMachineScaleSetListSkusResult 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<VirtualMachineScaleSetListSkusResult>- Throws:
IOException
-
fromJson
public static VirtualMachineScaleSetListSkusResult fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VirtualMachineScaleSetListSkusResult from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of VirtualMachineScaleSetListSkusResult 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 VirtualMachineScaleSetListSkusResult.
-