你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualMachine.DefinitionStages.WithOSDiskSettings Interface
public interface WithOSDiskSettings
The stage of a virtual machine definition allowing to specify OS disk configurations.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
withOSDiskCaching(CachingTypes cachingType)
Specifies the caching type for the OS disk. |
Virtual |
withOSDiskEncryptionSettings(DiskEncryptionSettings settings)
Specifies the encryption settings for the OS Disk. |
Virtual |
withOSDiskName(String name)
Specifies the name for the OS Disk. |
Virtual |
withOSDiskSizeInGB(int size)
Specifies the size of the OSDisk in GB. |
Virtual |
withOSDiskSizeInGB(Integer size)
Specifies the size of the OSDisk in GB. |
Method Details
withOSDiskCaching
public WithCreate withOSDiskCaching(CachingTypes cachingType)
Specifies the caching type for the OS disk.
Parameters:
Returns:
withOSDiskEncryptionSettings
public WithCreate withOSDiskEncryptionSettings(DiskEncryptionSettings settings)
Specifies the encryption settings for the OS Disk.
Parameters:
Returns:
withOSDiskName
public WithCreate withOSDiskName(String name)
Specifies the name for the OS Disk.
Parameters:
Returns:
withOSDiskSizeInGB
public WithCreate withOSDiskSizeInGB(int size)
Specifies the size of the OSDisk in GB.
Parameters:
Returns:
withOSDiskSizeInGB
public WithCreate withOSDiskSizeInGB(Integer size)
Specifies the size of the OSDisk in GB.
Parameters:
Returns: