public class DataDisk extends Object
| Constructor and Description |
|---|
DataDisk() |
| Modifier and Type | Method and Description |
|---|---|
CachingTypes |
caching()
Get the caching value.
|
DiskCreateOptionTypes |
createOption()
Get the createOption value.
|
Integer |
diskSizeGB()
Get the diskSizeGB value.
|
VirtualHardDisk |
image()
Get the image value.
|
int |
lun()
Get the lun value.
|
String |
name()
Get the name value.
|
VirtualHardDisk |
vhd()
Get the vhd value.
|
DataDisk |
withCaching(CachingTypes caching)
Set the caching value.
|
DataDisk |
withCreateOption(DiskCreateOptionTypes createOption)
Set the createOption value.
|
DataDisk |
withDiskSizeGB(Integer diskSizeGB)
Set the diskSizeGB value.
|
DataDisk |
withImage(VirtualHardDisk image)
Set the image value.
|
DataDisk |
withLun(int lun)
Set the lun value.
|
DataDisk |
withName(String name)
Set the name value.
|
DataDisk |
withVhd(VirtualHardDisk vhd)
Set the vhd value.
|
public int lun()
public DataDisk withLun(int lun)
lun - the lun value to setpublic String name()
public DataDisk withName(String name)
name - the name value to setpublic VirtualHardDisk vhd()
public DataDisk withVhd(VirtualHardDisk vhd)
vhd - the vhd value to setpublic VirtualHardDisk image()
public DataDisk withImage(VirtualHardDisk image)
image - the image value to setpublic CachingTypes caching()
public DataDisk withCaching(CachingTypes caching)
caching - the caching value to setpublic DiskCreateOptionTypes createOption()
public DataDisk withCreateOption(DiskCreateOptionTypes createOption)
createOption - the createOption value to setpublic Integer diskSizeGB()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/