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

RestorePoint 构造函数

定义

重载

RestorePoint()

初始化 RestorePoint 类的新实例。

RestorePoint(String, String, String, IList<ApiEntityReference>, RestorePointSourceMetadata, String, String, Nullable<DateTime>, ApiEntityReference, RestorePointInstanceView)

初始化 RestorePoint 类的新实例。

RestorePoint()

初始化 RestorePoint 类的新实例。

public RestorePoint ();
Public Sub New ()

适用于

RestorePoint(String, String, String, IList<ApiEntityReference>, RestorePointSourceMetadata, String, String, Nullable<DateTime>, ApiEntityReference, RestorePointInstanceView)

初始化 RestorePoint 类的新实例。

public RestorePoint (string id = default, string name = default, string type = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ApiEntityReference> excludeDisks = default, Microsoft.Azure.Management.Compute.Models.RestorePointSourceMetadata sourceMetadata = default, string provisioningState = default, string consistencyMode = default, DateTime? timeCreated = default, Microsoft.Azure.Management.Compute.Models.ApiEntityReference sourceRestorePoint = default, Microsoft.Azure.Management.Compute.Models.RestorePointInstanceView instanceView = default);
new Microsoft.Azure.Management.Compute.Models.RestorePoint : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ApiEntityReference> * Microsoft.Azure.Management.Compute.Models.RestorePointSourceMetadata * string * string * Nullable<DateTime> * Microsoft.Azure.Management.Compute.Models.ApiEntityReference * Microsoft.Azure.Management.Compute.Models.RestorePointInstanceView -> Microsoft.Azure.Management.Compute.Models.RestorePoint
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional excludeDisks As IList(Of ApiEntityReference) = Nothing, Optional sourceMetadata As RestorePointSourceMetadata = Nothing, Optional provisioningState As String = Nothing, Optional consistencyMode As String = Nothing, Optional timeCreated As Nullable(Of DateTime) = Nothing, Optional sourceRestorePoint As ApiEntityReference = Nothing, Optional instanceView As RestorePointInstanceView = Nothing)

参数

id
String

资源 ID

name
String

资源名称

type
String

资源类型

excludeDisks
IList<ApiEntityReference>

客户希望从还原点中排除的磁盘资源 ID 的列表。 如果未指定磁盘,则将包含所有磁盘。

sourceMetadata
RestorePointSourceMetadata

获取在创建还原点时捕获的 VM 的详细信息。

provisioningState
String

获取还原点的预配状态。

consistencyMode
String

RestorePoint 的 ConsistencyMode。 可以在创建还原点时在输入中指定。 目前,仅接受 CrashConsistent 作为有效输入。 有关更多详细信息,请参阅 https://aka.ms/RestorePoints。 可能的值包括:“CrashConsistent”、“FileSystemConsistent”、“ApplicationConsistent”

timeCreated
Nullable<DateTime>

获取还原点的创建时间。

sourceRestorePoint
ApiEntityReference

需要从中创建副本的源还原点的资源 ID。

instanceView
RestorePointInstanceView

还原点实例视图。

适用于