Partager via


DeletedAppRestoreRequest Class

Definition

Details about restoring a deleted app.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.DeletedAppRestoreRequestTypeConverter))]
public class DeletedAppRestoreRequest : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IDeletedAppRestoreRequest, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.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.Functions.Models.Api20231201.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.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to