SnapshotRestoreRequest Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Details about app recovery operation.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SnapshotRestoreRequestTypeConverter))]
public class SnapshotRestoreRequest : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISnapshotRestoreRequest, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SnapshotRestoreRequestTypeConverter))>]
type SnapshotRestoreRequest = class
interface ISnapshotRestoreRequest
interface IJsonSerializable
interface IProxyOnlyResource
interface IValidates
Public Class SnapshotRestoreRequest
Implements ISnapshotRestoreRequest, IValidates
- Inheritance
-
SnapshotRestoreRequest
- Attributes
- Implements
Constructors
SnapshotRestoreRequest() |
Creates an new SnapshotRestoreRequest instance. |
Properties
Id |
Resource Id. |
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. |
Name |
Resource Name. |
Overwrite |
If |
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. |
UseDrSecondary |
If true, the snapshot is retrieved from DRSecondary endpoint. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of SnapshotRestoreRequest. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of SnapshotRestoreRequest. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISnapshotRestoreRequest. |
FromJsonString(String) |
Creates a new instance of SnapshotRestoreRequest, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of SnapshotRestoreRequest into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |