次の方法で共有


VirtualMachineScaleSetUpdateOSDisk Class

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

public class VirtualMachineScaleSetUpdateOSDisk

Describes virtual machine scale set operating system disk Update Object. This should be used for Updating VMSS OS Disk.

Method Summary

Modifier and Type Method and Description
CachingTypes caching()

Get the caching value.

VirtualHardDisk image()

Get the image value.

VirtualMachineScaleSetManagedDiskParameters managedDisk()

Get the managedDisk value.

List<String> vhdContainers()

Get the vhdContainers value.

VirtualMachineScaleSetUpdateOSDisk withCaching(CachingTypes caching)

Set the caching value.

VirtualMachineScaleSetUpdateOSDisk withImage(VirtualHardDisk image)

Set the image value.

VirtualMachineScaleSetUpdateOSDisk withManagedDisk(VirtualMachineScaleSetManagedDiskParameters managedDisk)

Set the managedDisk value.

VirtualMachineScaleSetUpdateOSDisk withVhdContainers(List<String> vhdContainers)

Set the vhdContainers value.

Method Details

caching

public CachingTypes caching()

Get the caching value.

Returns:

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

vhdContainers

public List vhdContainers()

Get the vhdContainers value.

Returns:

the vhdContainers value

withCaching

public VirtualMachineScaleSetUpdateOSDisk withCaching(CachingTypes caching)

Set the caching value.

Parameters:

caching - the caching value to set

Returns:

the VirtualMachineScaleSetUpdateOSDisk object itself.

withImage

public VirtualMachineScaleSetUpdateOSDisk withImage(VirtualHardDisk image)

Set the image value.

Parameters:

image - the image value to set

Returns:

the VirtualMachineScaleSetUpdateOSDisk object itself.

withManagedDisk

public VirtualMachineScaleSetUpdateOSDisk withManagedDisk(VirtualMachineScaleSetManagedDiskParameters managedDisk)

Set the managedDisk value.

Parameters:

managedDisk - the managedDisk value to set

Returns:

the VirtualMachineScaleSetUpdateOSDisk object itself.

withVhdContainers

public VirtualMachineScaleSetUpdateOSDisk withVhdContainers(List vhdContainers)

Set the vhdContainers value.

Parameters:

vhdContainers - the vhdContainers value to set

Returns:

the VirtualMachineScaleSetUpdateOSDisk object itself.

Applies to