你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DeletedAppRestoreRequest Class

Definition

Details about restoring a deleted app.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.DeletedAppRestoreRequestTypeConverter))]
public class DeletedAppRestoreRequest : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IDeletedAppRestoreRequest, Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.DeletedAppRestoreRequestTypeConverter))>]
type DeletedAppRestoreRequest = class
    interface IDeletedAppRestoreRequest
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class DeletedAppRestoreRequest
Implements IDeletedAppRestoreRequest, IValidates
Inheritance
DeletedAppRestoreRequest
Attributes
Implements

Constructors

DeletedAppRestoreRequest()

Creates an new DeletedAppRestoreRequest instance.

Properties

DeletedSiteId

ARM resource ID of the deleted app. Example: /subscriptions/{subId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}

Id

Resource Id.

Kind

Kind of resource.

Name

Resource Name.

RecoverConfiguration

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

SnapshotTime

Point in time to restore the deleted app from, formatted as a DateTime string. If unspecified, default value is the time that the app was deleted.

Type

Resource type.

UseDrSecondary

If true, the snapshot is retrieved from DRSecondary endpoint.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DeletedAppRestoreRequest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DeletedAppRestoreRequest.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IDeletedAppRestoreRequest.

FromJsonString(String)

Creates a new instance of DeletedAppRestoreRequest, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DeletedAppRestoreRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to