Freigeben über


SnapshotRestoreRequest Konstruktoren

Definition

Überlädt

SnapshotRestoreRequest()

Initialisiert eine neue instance der SnapshotRestoreRequest-Klasse.

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

Initialisiert eine neue instance der SnapshotRestoreRequest-Klasse.

SnapshotRestoreRequest()

Initialisiert eine neue instance der SnapshotRestoreRequest-Klasse.

public SnapshotRestoreRequest ();
Public Sub New ()

Gilt für:

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

Initialisiert eine neue instance der SnapshotRestoreRequest-Klasse.

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

Parameter

overwrite
Boolean

Wenn <code>true</code> der Wiederherstellungsvorgang die Quell-App überschreiben kann, <andernfalls code>false</code>.

id
String

Ressourcen-ID.

name
String

Ressourcenname.

kind
String

Art der Ressource.

type
String

Der Ressourcentyp.

snapshotTime
String

Zeitpunkt, zu dem die App-Wiederherstellung durchgeführt werden soll, formatiert als DateTime-Zeichenfolge.

recoverySource
SnapshotRecoverySource

Optional. Gibt die Web-App an, aus der Momentaufnahme Inhalte abgerufen werden. Wenn sie leer ist, wird die Ziel-Web-App als Quelle verwendet.

recoverConfiguration
Nullable<Boolean>

Wenn true, wird die Standortkonfiguration zusätzlich zum Inhalt wiederhergestellt.

ignoreConflictingHostNames
Nullable<Boolean>

Wenn true, werden Konflikte mit benutzerdefiniertem Hostnamen beim Wiederherstellen in einer Zielweb-App ignoriert. Diese Einstellung ist nur erforderlich, wenn RecoverConfiguration aktiviert ist.

useDRSecondary
Nullable<Boolean>

Wenn true, wird der Momentaufnahme vom DRSecondary-Endpunkt abgerufen.

Gilt für: