Share via


ISnapshotRestoreRequest Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.SnapshotRestoreRequestTypeConverter))]
public interface ISnapshotRestoreRequest : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IProxyOnlyResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.SnapshotRestoreRequestTypeConverter))>]
type ISnapshotRestoreRequest = interface
    interface IJsonSerializable
    interface IProxyOnlyResource
Public Interface ISnapshotRestoreRequest
Implements IProxyOnlyResource
Derived
Attributes
Implements

Properties

Id

Resource Id.

(Inherited from IProxyOnlyResource)
IgnoreConflictingHostName

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

Kind of resource.

(Inherited from IProxyOnlyResource)
Name

Resource Name.

(Inherited from IProxyOnlyResource)
Overwrite

If true the restore operation can overwrite source app; otherwise, false.

RecoverConfiguration

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

RecoverySourceId

ARM resource ID of the source app. /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.

RecoverySourceLocation

Geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS

SnapshotTime

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

Type

Resource type.

(Inherited from IProxyOnlyResource)
UseDrSecondary

If true, the snapshot is retrieved from DRSecondary endpoint.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to