VirtualMachineCustomImage.DefinitionStages.WithOSDiskSettings Interface
public interface WithOSDiskSettings
The stage of an image definition allowing to specify configurations for the OS disk when it is created from the image's OS disk image.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
withOSDiskCaching(CachingTypes cachingType)
Specifies the caching type for OS disk. |
Virtual |
withOSDiskSizeInGB(int diskSizeGB)
Specifies the size in GB for OS disk. |
Method Details
withOSDiskCaching
public WithCreateAndDataDiskImageOSDiskSettings withOSDiskCaching(CachingTypes cachingType)
Specifies the caching type for OS disk.
Parameters:
cachingType
- the disk caching type
Returns:
the next stage of the definition
withOSDiskSizeInGB
public WithCreateAndDataDiskImageOSDiskSettings withOSDiskSizeInGB(int diskSizeGB)
Specifies the size in GB for OS disk.
Parameters:
diskSizeGB
- the disk size in GB
Returns:
the next stage of the definition
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Java