Class DataDisk
- java.lang.Object
-
- org.jclouds.azurecompute.arm.domain.DataDisk
-
- All Implemented Interfaces:
Provisionable
public abstract class DataDisk extends Object implements Provisionable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataDisk.Builder
static class
DataDisk.CachingTypes
static class
DataDisk.DiskCreateOptionTypes
-
Constructor Summary
Constructors Constructor Description DataDisk()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static DataDisk.Builder
builder()
abstract DataDisk.CachingTypes
caching()
The caching type.static DataDisk
create(String name, String diskSizeGB, Integer lun, VHD vhd, VHD image, String createOption, String caching, ManagedDiskParameters managedDiskParamenters, String provisioningState)
abstract DataDisk.DiskCreateOptionTypes
createOption()
The create option of the data diskabstract String
diskSizeGB()
The size of the data diskabstract VHD
image()
The source user image virtual hard disk.abstract Integer
lun()
The lun value of the data diskabstract ManagedDiskParameters
managedDiskParameters()
The managed disk parameters.abstract String
name()
The name of the data diskabstract String
provisioningState()
abstract DataDisk.Builder
toBuilder()
abstract VHD
vhd()
The vhd of the data disk
-
-
-
Method Detail
-
image
@Nullable public abstract VHD image()
The source user image virtual hard disk. This virtual hard disk will be copied before using it to attach to the virtual machine. If SourceImage is provided, the destination virtual hard disk must not exist.
-
createOption
public abstract DataDisk.DiskCreateOptionTypes createOption()
The create option of the data disk
-
caching
@Nullable public abstract DataDisk.CachingTypes caching()
The caching type. Possible values include: 'None', 'ReadOnly', 'ReadWrite'.
-
managedDiskParameters
@Nullable public abstract ManagedDiskParameters managedDiskParameters()
The managed disk parameters.
-
provisioningState
@Nullable public abstract String provisioningState()
- Specified by:
provisioningState
in interfaceProvisionable
-
create
public static DataDisk create(String name, String diskSizeGB, Integer lun, VHD vhd, VHD image, String createOption, String caching, ManagedDiskParameters managedDiskParamenters, String provisioningState)
-
toBuilder
public abstract DataDisk.Builder toBuilder()
-
builder
public static DataDisk.Builder builder()
-
-