StorageProfile Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. StorageProfile
- com.
Implements
public final class StorageProfile
implements JsonSerializable<StorageProfile>
Defines the resource properties.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageProfile() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Virtual |
disks()
Get the disks property: Gets or sets the list of virtual disks associated with the virtual machine. |
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Storage |
withDisks(List<VirtualDisk> 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
StorageProfile
public StorageProfile()
Creates an instance of StorageProfile class.
Method Details
disks
public List<VirtualDisk> disks()
Get the disks property: Gets or sets the list of virtual disks associated with the virtual machine.
Returns:
fromJson
public static StorageProfile fromJson(JsonReader jsonReader)
Reads an instance of StorageProfile from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withDisks
public StorageProfile withDisks(List<VirtualDisk> disks)
Set the disks property: Gets or sets the list of virtual disks associated with the virtual machine.
Parameters:
Returns: