次の方法で共有


SnapshotRestoreRequest Class

Definition

Details about app recovery operation.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.SnapshotRestoreRequestTypeConverter))]
public class SnapshotRestoreRequest : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ISnapshotRestoreRequest, Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.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 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.

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.Websites.Models.Api20210201.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.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to