Share via


SnapshotRestoreRequest Class

Definition

Details about app recovery operation.

[Microsoft.Rest.Serialization.JsonTransformation]
public class SnapshotRestoreRequest : Microsoft.Azure.Management.AppService.Fluent.Models.ProxyOnlyResourceInner
[<Microsoft.Rest.Serialization.JsonTransformation>]
type SnapshotRestoreRequest = class
    inherit ProxyOnlyResourceInner
Public Class SnapshotRestoreRequest
Inherits ProxyOnlyResourceInner
Inheritance
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

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
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 ProxyOnlyResourceInner)
Location

Resource location

(Inherited from Resource)
Name

Resource name

(Inherited from ProxyResource)
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.

Tags

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)
UseDRSecondary

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

Methods

Validate()

Validate the object.

Applies to