次の方法で共有


VirtualMachineScaleSetDataDisk Class

  • java.lang.Object
    • com.microsoft.azure.management.compute.VirtualMachineScaleSetDataDisk

public class VirtualMachineScaleSetDataDisk

Describes a virtual machine scale set data disk.

Method Summary

Modifier and Type Method and Description
CachingTypes caching()

Get the caching value.

DiskCreateOptionTypes createOption()

Get the createOption value.

Integer diskSizeGB()

Get the diskSizeGB value.

int lun()

Get the lun value.

VirtualMachineScaleSetManagedDiskParameters managedDisk()

Get the managedDisk value.

String name()

Get the name value.

VirtualMachineScaleSetDataDisk withCaching(CachingTypes caching)

Set the caching value.

VirtualMachineScaleSetDataDisk withCreateOption(DiskCreateOptionTypes createOption)

Set the createOption value.

VirtualMachineScaleSetDataDisk withDiskSizeGB(Integer diskSizeGB)

Set the diskSizeGB value.

VirtualMachineScaleSetDataDisk withLun(int lun)

Set the lun value.

VirtualMachineScaleSetDataDisk withManagedDisk(VirtualMachineScaleSetManagedDiskParameters managedDisk)

Set the managedDisk value.

VirtualMachineScaleSetDataDisk withName(String name)

Set the name value.

Method Details

caching

public CachingTypes caching()

Get the caching value.

Returns:

the caching value

createOption

public DiskCreateOptionTypes createOption()

Get the createOption value.

Returns:

the createOption value

diskSizeGB

public Integer diskSizeGB()

Get the diskSizeGB value.

Returns:

the diskSizeGB value

lun

public int lun()

Get the lun value.

Returns:

the lun value

managedDisk

public VirtualMachineScaleSetManagedDiskParameters managedDisk()

Get the managedDisk value.

Returns:

the managedDisk value

name

public String name()

Get the name value.

Returns:

the name value

withCaching

public VirtualMachineScaleSetDataDisk withCaching(CachingTypes caching)

Set the caching value.

Parameters:

caching - the caching value to set

Returns:

the VirtualMachineScaleSetDataDisk object itself.

withCreateOption

public VirtualMachineScaleSetDataDisk withCreateOption(DiskCreateOptionTypes createOption)

Set the createOption value.

Parameters:

createOption - the createOption value to set

Returns:

the VirtualMachineScaleSetDataDisk object itself.

withDiskSizeGB

public VirtualMachineScaleSetDataDisk withDiskSizeGB(Integer diskSizeGB)

Set the diskSizeGB value.

Parameters:

diskSizeGB - the diskSizeGB value to set

Returns:

the VirtualMachineScaleSetDataDisk object itself.

withLun

public VirtualMachineScaleSetDataDisk withLun(int lun)

Set the lun value.

Parameters:

lun - the lun value to set

Returns:

the VirtualMachineScaleSetDataDisk object itself.

withManagedDisk

public VirtualMachineScaleSetDataDisk withManagedDisk(VirtualMachineScaleSetManagedDiskParameters managedDisk)

Set the managedDisk value.

Parameters:

managedDisk - the managedDisk value to set

Returns:

the VirtualMachineScaleSetDataDisk object itself.

withName

public VirtualMachineScaleSetDataDisk withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the VirtualMachineScaleSetDataDisk object itself.

Applies to