DeletedAppRestoreContent Class

Definition

Details about restoring a deleted app. Serialized Name: DeletedAppRestoreRequest

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

Name Description
DeletedAppRestoreContent()

Initializes a new instance of DeletedAppRestoreContent.

Properties

Name Description
DeletedSiteId

ARM resource ID of the deleted app. Example: /subscriptions/{subId}/providers/Microsoft.Web/deletedSites/{deletedSiteId} Serialized Name: DeletedAppRestoreRequest.properties.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. Serialized Name: ProxyOnlyResource.kind

Name

The name of the resource.

(Inherited from ResourceData)
RecoverConfiguration

If true, deleted site configuration, in addition to content, will be restored. Serialized Name: DeletedAppRestoreRequest.properties.recoverConfiguration

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. Serialized Name: DeletedAppRestoreRequest.properties.snapshotTime

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
UseDRSecondary

If true, the snapshot is retrieved from DRSecondary endpoint. Serialized Name: DeletedAppRestoreRequest.properties.useDRSecondary

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
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