SnapshotRestoreRequest Constructors

Definition

Overloads

SnapshotRestoreRequest()

Initializes a new instance of the SnapshotRestoreRequest class.

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

Initializes a new instance of the SnapshotRestoreRequest class.

SnapshotRestoreRequest()

Initializes a new instance of the SnapshotRestoreRequest class.

public SnapshotRestoreRequest ();
Public Sub New ()

Applies to

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

Initializes a new instance of the SnapshotRestoreRequest class.

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)

Parameters

overwrite
Boolean

If <code>true</code> the restore operation can overwrite source app; otherwise, <code>false</code>.

id
String

Resource Id.

name
String

Resource Name.

kind
String

Kind of resource.

type
String

Resource type.

snapshotTime
String

Point in time in which the app restore should be done, formatted as a DateTime string.

recoverySource
SnapshotRecoverySource

Optional. Specifies the web app that snapshot contents will be retrieved from. If empty, the targeted web app will be used as the source.

recoverConfiguration
Nullable<Boolean>

If true, site configuration, in addition to content, will be reverted.

ignoreConflictingHostNames
Nullable<Boolean>

If true, custom hostname conflicts will be ignored when recovering to a target web app. This setting is only necessary when RecoverConfiguration is enabled.

useDRSecondary
Nullable<Boolean>

If true, the snapshot is retrieved from DRSecondary endpoint.

Applies to