StorageProfileUpdate Class

  • java.lang.Object
    • com.azure.resourcemanager.scvmm.models.StorageProfileUpdate

Implements

public final class StorageProfileUpdate
implements JsonSerializable<StorageProfileUpdate>

Defines the resource update properties.

Constructor Summary

Constructor Description
StorageProfileUpdate()

Creates an instance of StorageProfileUpdate class.

Method Summary

Modifier and Type Method and Description
List<VirtualDiskUpdate> disks()

Get the disks property: Gets or sets the list of virtual disks associated with the virtual machine.

static StorageProfileUpdate fromJson(JsonReader jsonReader)

Reads an instance of StorageProfileUpdate from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

StorageProfileUpdate withDisks(List<VirtualDiskUpdate> disks)

Set the disks property: Gets or sets the list of virtual disks associated with the virtual machine.

Methods inherited from java.lang.Object

Constructor Details

StorageProfileUpdate

public StorageProfileUpdate()

Creates an instance of StorageProfileUpdate class.

Method Details

disks

public List<VirtualDiskUpdate> disks()

Get the disks property: Gets or sets the list of virtual disks associated with the virtual machine.

Returns:

the disks value.

fromJson

public static StorageProfileUpdate fromJson(JsonReader jsonReader)

Reads an instance of StorageProfileUpdate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDisks

public StorageProfileUpdate withDisks(List<VirtualDiskUpdate> disks)

Set the disks property: Gets or sets the list of virtual disks associated with the virtual machine.

Parameters:

disks - the disks value to set.

Returns:

the StorageProfileUpdate object itself.

Applies to