你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RestorePointSourceVMOSDisk 类

定义

介绍操作系统磁盘。

public class RestorePointSourceVMOSDisk
type RestorePointSourceVMOSDisk = class
Public Class RestorePointSourceVMOSDisk
继承
RestorePointSourceVMOSDisk

构造函数

RestorePointSourceVMOSDisk()

初始化 RestorePointSourceVMOSDisk 类的新实例。

RestorePointSourceVMOSDisk(String, DiskEncryptionSettings, String, Nullable<CachingTypes>, Nullable<Int32>, ManagedDiskParameters, DiskRestorePointAttributes, Nullable<Boolean>)

初始化 RestorePointSourceVMOSDisk 类的新实例。

属性

Caching

获取缓存类型。 可能的值包括:“None”、“ReadOnly”、“ReadWrite”

DiskRestorePoint

获取或设置包含磁盘还原点属性。

DiskSizeGB

获取磁盘大小(以 GB 为单位)。

EncryptionSettings

获取磁盘加密设置。

ManagedDisk

获取托管磁盘详细信息

Name

获取磁盘名称。

OsType

获取操作系统类型。 可能的值包括:“Windows”、“Linux”

WriteAcceleratorEnabled

如果磁盘已启用写入加速器,则获取显示 true。

方法

Validate()

验证 对象。

适用于