Compartir vía


VirtualMachineScaleSetOSDisk Class

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

public class VirtualMachineScaleSetOSDisk

Describes a virtual machine scale set operating system disk.

Method Summary

Modifier and Type Method and Description
CachingTypes caching()

Get the caching value.

DiskCreateOptionTypes createOption()

Get the createOption value.

VirtualHardDisk image()

Get the image value.

VirtualMachineScaleSetManagedDiskParameters managedDisk()

Get the managedDisk value.

String name()

Get the name value.

OperatingSystemTypes osType()

Get the osType value.

List<String> vhdContainers()

Get the vhdContainers value.

VirtualMachineScaleSetOSDisk withCaching(CachingTypes caching)

Set the caching value.

VirtualMachineScaleSetOSDisk withCreateOption(DiskCreateOptionTypes createOption)

Set the createOption value.

VirtualMachineScaleSetOSDisk withImage(VirtualHardDisk image)

Set the image value.

VirtualMachineScaleSetOSDisk withManagedDisk(VirtualMachineScaleSetManagedDiskParameters managedDisk)

Set the managedDisk value.

VirtualMachineScaleSetOSDisk withName(String name)

Set the name value.

VirtualMachineScaleSetOSDisk withOsType(OperatingSystemTypes osType)

Set the osType value.

VirtualMachineScaleSetOSDisk withVhdContainers(List<String> vhdContainers)

Set the vhdContainers 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

image

public VirtualHardDisk image()

Get the image value.

Returns:

the image 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

osType

public OperatingSystemTypes osType()

Get the osType value.

Returns:

the osType value

vhdContainers

public List vhdContainers()

Get the vhdContainers value.

Returns:

the vhdContainers value

withCaching

public VirtualMachineScaleSetOSDisk withCaching(CachingTypes caching)

Set the caching value.

Parameters:

caching - the caching value to set

Returns:

the VirtualMachineScaleSetOSDisk object itself.

withCreateOption

public VirtualMachineScaleSetOSDisk withCreateOption(DiskCreateOptionTypes createOption)

Set the createOption value.

Parameters:

createOption - the createOption value to set

Returns:

the VirtualMachineScaleSetOSDisk object itself.

withImage

public VirtualMachineScaleSetOSDisk withImage(VirtualHardDisk image)

Set the image value.

Parameters:

image - the image value to set

Returns:

the VirtualMachineScaleSetOSDisk object itself.

withManagedDisk

public VirtualMachineScaleSetOSDisk withManagedDisk(VirtualMachineScaleSetManagedDiskParameters managedDisk)

Set the managedDisk value.

Parameters:

managedDisk - the managedDisk value to set

Returns:

the VirtualMachineScaleSetOSDisk object itself.

withName

public VirtualMachineScaleSetOSDisk withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the VirtualMachineScaleSetOSDisk object itself.

withOsType

public VirtualMachineScaleSetOSDisk withOsType(OperatingSystemTypes osType)

Set the osType value.

Parameters:

osType - the osType value to set

Returns:

the VirtualMachineScaleSetOSDisk object itself.

withVhdContainers

public VirtualMachineScaleSetOSDisk withVhdContainers(List vhdContainers)

Set the vhdContainers value.

Parameters:

vhdContainers - the vhdContainers value to set

Returns:

the VirtualMachineScaleSetOSDisk object itself.

Applies to