VirtualDiskController Class

  • java.lang.Object
    • com.azure.resourcemanager.vmwarecloudsimple.models.VirtualDiskController

Implements

public final class VirtualDiskController
implements JsonSerializable<VirtualDiskController>

Virtual disk controller model.

Constructor Summary

Constructor Description
VirtualDiskController()

Creates an instance of VirtualDiskController class.

Method Summary

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

Reads an instance of VirtualDiskController from the JsonReader.

String id()

Get the id property: Controller's id.

String name()

Get the name property: The display name of Controller.

String subType()

Get the subType property: dik controller subtype (VMWARE_PARAVIRTUAL, BUS_PARALLEL, LSI_PARALLEL, LSI_SAS).

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: disk controller type (SCSI).

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

VirtualDiskController

public VirtualDiskController()

Creates an instance of VirtualDiskController class.

Method Details

fromJson

public static VirtualDiskController fromJson(JsonReader jsonReader)

Reads an instance of VirtualDiskController from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Controller's id.

Returns:

the id value.

name

public String name()

Get the name property: The display name of Controller.

Returns:

the name value.

subType

public String subType()

Get the subType property: dik controller subtype (VMWARE_PARAVIRTUAL, BUS_PARALLEL, LSI_PARALLEL, LSI_SAS).

Returns:

the subType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: disk controller type (SCSI).

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to