Sdílet prostřednictvím


SnapshotRestoreRequest Class

Definition

Details about app recovery operation.

[Microsoft.Rest.Serialization.JsonTransformation]
public class SnapshotRestoreRequest : Microsoft.Azure.Management.WebSites.Models.ProxyOnlyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type SnapshotRestoreRequest = class
    inherit ProxyOnlyResource
Public Class SnapshotRestoreRequest
Inherits ProxyOnlyResource
Inheritance
SnapshotRestoreRequest
Attributes

Constructors

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.

Properties

Id

Gets resource Id.

(Inherited from ProxyOnlyResource)
IgnoreConflictingHostNames

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

Kind

Gets or sets kind of resource.

(Inherited from ProxyOnlyResource)
Name

Gets resource Name.

(Inherited from ProxyOnlyResource)
Overwrite

Gets or sets if &lt;code&gt;true&lt;/code&gt; the restore operation can overwrite source app; otherwise, &lt;code&gt;false&lt;/code&gt;.

RecoverConfiguration

Gets or sets if true, site configuration, in addition to content, will be reverted.

RecoverySource

Gets or sets optional. Specifies the web app that snapshot contents will be retrieved from. If empty, the targeted web app will be used as the source.

SnapshotTime

Gets or sets point in time in which the app restore should be done, formatted as a DateTime string.

Type

Gets resource type.

(Inherited from ProxyOnlyResource)
UseDRSecondary

Gets or sets if true, the snapshot is retrieved from DRSecondary endpoint.

Methods

Validate()

Validate the object.

Applies to