public class VirtualMachineScaleSetOSDisk extends Object
| Constructor and Description |
|---|
VirtualMachineScaleSetOSDisk() |
| Modifier and Type | Method and Description |
|---|---|
CachingTypes |
caching()
Get the caching value.
|
DiskCreateOptionTypes |
createOption()
Get the createOption value.
|
VirtualHardDisk |
image()
Get the image 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 |
withName(String name)
Set the name value.
|
VirtualMachineScaleSetOSDisk |
withOsType(OperatingSystemTypes osType)
Set the osType value.
|
VirtualMachineScaleSetOSDisk |
withVhdContainers(List<String> vhdContainers)
Set the vhdContainers value.
|
public String name()
public VirtualMachineScaleSetOSDisk withName(String name)
name - the name value to setpublic CachingTypes caching()
public VirtualMachineScaleSetOSDisk withCaching(CachingTypes caching)
caching - the caching value to setpublic DiskCreateOptionTypes createOption()
public VirtualMachineScaleSetOSDisk withCreateOption(DiskCreateOptionTypes createOption)
createOption - the createOption value to setpublic OperatingSystemTypes osType()
public VirtualMachineScaleSetOSDisk withOsType(OperatingSystemTypes osType)
osType - the osType value to setpublic VirtualHardDisk image()
public VirtualMachineScaleSetOSDisk withImage(VirtualHardDisk image)
image - the image value to setpublic List<String> vhdContainers()
public VirtualMachineScaleSetOSDisk withVhdContainers(List<String> vhdContainers)
vhdContainers - the vhdContainers value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/