Share via


DeletedAppRestoreContent Class

Definition

Details about restoring a deleted app.

public class DeletedAppRestoreContent : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.DeletedAppRestoreContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.DeletedAppRestoreContent>
type DeletedAppRestoreContent = class
    inherit ResourceData
    interface IJsonModel<DeletedAppRestoreContent>
    interface IPersistableModel<DeletedAppRestoreContent>
Public Class DeletedAppRestoreContent
Inherits ResourceData
Implements IJsonModel(Of DeletedAppRestoreContent), IPersistableModel(Of DeletedAppRestoreContent)
Inheritance
DeletedAppRestoreContent
Implements

Constructors

DeletedAppRestoreContent()

Initializes a new instance of DeletedAppRestoreContent.

Properties

DeletedSiteId

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

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Kind

Kind of resource.

Name

The name of the resource.

(Inherited from ResourceData)
RecoverConfiguration

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

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
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.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
UseDRSecondary

If true, the snapshot is retrieved from DRSecondary endpoint.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DeletedAppRestoreContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DeletedAppRestoreContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DeletedAppRestoreContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DeletedAppRestoreContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DeletedAppRestoreContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to