Share via


BatchNodeVMExtension Class

  • java.lang.Object
    • com.azure.compute.batch.models.BatchNodeVMExtension

Implements

public final class BatchNodeVMExtension
implements JsonSerializable<BatchNodeVMExtension>

The configuration for virtual machine extension instance view.

Method Summary

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

Reads an instance of BatchNodeVMExtension from the JsonReader.

VMExtensionInstanceView getInstanceView()

Get the instanceView property: The vm extension instance view.

String getProvisioningState()

Get the provisioningState property: The provisioning state of the virtual machine extension.

VMExtension getVmExtension()

Get the vmExtension property: The virtual machine extension.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static BatchNodeVMExtension fromJson(JsonReader jsonReader)

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.

getInstanceView

public VMExtensionInstanceView getInstanceView()

Get the instanceView property: The vm extension instance view.

Returns:

the instanceView value.

getProvisioningState

public String getProvisioningState()

Get the provisioningState property: The provisioning state of the virtual machine extension.

Returns:

the provisioningState value.

getVmExtension

public VMExtension getVmExtension()

Get the vmExtension property: The virtual machine extension.

Returns:

the vmExtension value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to