Partager via


VirtualMachineScaleSetInstanceViewInner Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.fluent.models.VirtualMachineScaleSetInstanceViewInner

Implements

public final class VirtualMachineScaleSetInstanceViewInner
implements JsonSerializable<VirtualMachineScaleSetInstanceViewInner>

The instance view of a virtual machine scale set.

Constructor Summary

Constructor Description
VirtualMachineScaleSetInstanceViewInner()

Creates an instance of VirtualMachineScaleSetInstanceViewInner class.

Method Summary

Modifier and Type Method and Description
List<VirtualMachineScaleSetVMExtensionsSummary> extensions()

Get the extensions property: The extensions information.

static VirtualMachineScaleSetInstanceViewInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineScaleSetInstanceViewInner from the JsonReader.

List<OrchestrationServiceSummary> orchestrationServices()

Get the orchestrationServices property: The orchestration services information.

List<InstanceViewStatus> statuses()

Get the statuses property: The resource status information.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VirtualMachineScaleSetInstanceViewStatusesSummary virtualMachine()

Get the virtualMachine property: The instance view status summary for the virtual machine scale set.

VirtualMachineScaleSetInstanceViewInner withStatuses(List<InstanceViewStatus> statuses)

Set the statuses property: The resource status information.

Methods inherited from java.lang.Object

Constructor Details

VirtualMachineScaleSetInstanceViewInner

public VirtualMachineScaleSetInstanceViewInner()

Creates an instance of VirtualMachineScaleSetInstanceViewInner class.

Method Details

extensions

public List extensions()

Get the extensions property: The extensions information.

Returns:

the extensions value.

fromJson

public static VirtualMachineScaleSetInstanceViewInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineScaleSetInstanceViewInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

orchestrationServices

public List orchestrationServices()

Get the orchestrationServices property: The orchestration services information.

Returns:

the orchestrationServices value.

statuses

public List statuses()

Get the statuses property: The resource status information.

Returns:

the statuses value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

virtualMachine

public VirtualMachineScaleSetInstanceViewStatusesSummary virtualMachine()

Get the virtualMachine property: The instance view status summary for the virtual machine scale set.

Returns:

the virtualMachine value.

withStatuses

public VirtualMachineScaleSetInstanceViewInner withStatuses(List statuses)

Set the statuses property: The resource status information.

Parameters:

statuses - the statuses value to set.

Returns:

the VirtualMachineScaleSetInstanceViewInner object itself.

Applies to