Package com.azure.compute.batch.models
Class BatchNodeVMExtension
java.lang.Object
com.azure.compute.batch.models.BatchNodeVMExtension
- All Implemented Interfaces:
com.azure.json.JsonSerializable<BatchNodeVMExtension>
public final class BatchNodeVMExtension
extends Object
implements com.azure.json.JsonSerializable<BatchNodeVMExtension>
The configuration for virtual machine extension instance view.
-
Method Summary
Modifier and TypeMethodDescriptionstatic BatchNodeVMExtensionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of BatchNodeVMExtension from the JsonReader.Get the instanceView property: The vm extension instance view.Get the provisioningState property: The provisioning state of the virtual machine extension.Get the vmExtension property: The virtual machine extension.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getProvisioningState
Get the provisioningState property: The provisioning state of the virtual machine extension.- Returns:
- the provisioningState value.
-
getVmExtension
Get the vmExtension property: The virtual machine extension.- Returns:
- the vmExtension value.
-
getInstanceView
Get the instanceView property: The vm extension instance view.- Returns:
- the instanceView value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<BatchNodeVMExtension>- Throws:
IOException
-
fromJson
public static BatchNodeVMExtension fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of BatchNodeVMExtension from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of BatchNodeVMExtension 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 BatchNodeVMExtension.
-