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

SnapshotRestoreRequest 构造函数

定义

重载

SnapshotRestoreRequest()

初始化 SnapshotRestoreRequest 类的新实例。

SnapshotRestoreRequest(Boolean, String, String, String, String, String, SnapshotRecoverySource, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)

初始化 SnapshotRestoreRequest 类的新实例。

SnapshotRestoreRequest()

初始化 SnapshotRestoreRequest 类的新实例。

public SnapshotRestoreRequest ();
Public Sub New ()

适用于

SnapshotRestoreRequest(Boolean, String, String, String, String, String, SnapshotRecoverySource, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)

初始化 SnapshotRestoreRequest 类的新实例。

public SnapshotRestoreRequest (bool overwrite, string id = default, string name = default, string type = default, string kind = default, string snapshotTime = default, Microsoft.Azure.Management.AppService.Fluent.Models.SnapshotRecoverySource recoverySource = default, bool? recoverConfiguration = default, bool? ignoreConflictingHostNames = default, bool? useDRSecondary = default);
new Microsoft.Azure.Management.AppService.Fluent.Models.SnapshotRestoreRequest : bool * string * string * string * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.SnapshotRecoverySource * Nullable<bool> * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.Management.AppService.Fluent.Models.SnapshotRestoreRequest
Public Sub New (overwrite As Boolean, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As String = Nothing, Optional snapshotTime As String = Nothing, Optional recoverySource As SnapshotRecoverySource = Nothing, Optional recoverConfiguration As Nullable(Of Boolean) = Nothing, Optional ignoreConflictingHostNames As Nullable(Of Boolean) = Nothing, Optional useDRSecondary As Nullable(Of Boolean) = Nothing)

参数

overwrite
Boolean

如果 <代码>为 true</code> ,则还原操作可以覆盖源应用;否则, <代码>为 false</code>。

id
String
name
String
type
String
kind
String

资源类型。

snapshotTime
String

应用还原应在其中完成的时间点,格式设置为 DateTime 字符串。

recoverySource
SnapshotRecoverySource

可选。 指定将从中检索快照内容的 Web 应用。 如果为空,则目标 Web 应用将用作源。

recoverConfiguration
Nullable<Boolean>

如果为 true,除内容外,还将还原站点配置。

ignoreConflictingHostNames
Nullable<Boolean>

如果为 true,则恢复到目标 Web 应用时将忽略自定义主机名冲突。 仅当启用 RecoverConfiguration 时,才需要此设置。

useDRSecondary
Nullable<Boolean>

如果为 true,则从 DRSecondary 终结点检索快照。

适用于