SnapshotRestoreRequest Class

Definition

Details about app recovery operation. Serialized Name: SnapshotRestoreRequest

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

Constructors

Name Description
SnapshotRestoreRequest()

Initializes a new instance of SnapshotRestoreRequest.

Properties

Name Description
CanOverwrite

If <code>true</code> the restore operation can overwrite source app; otherwise, <code>false</code>. Serialized Name: SnapshotRestoreRequest.properties.overwrite

Id

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

(Inherited from ResourceData)
IgnoreConflictingHostNames

If true, custom hostname conflicts will be ignored when recovering to a target web app. This setting is only necessary when RecoverConfiguration is enabled. Serialized Name: SnapshotRestoreRequest.properties.ignoreConflictingHostNames

Kind

Kind of resource. Serialized Name: ProxyOnlyResource.kind

Name

The name of the resource.

(Inherited from ResourceData)
RecoverConfiguration

If true, site configuration, in addition to content, will be reverted. Serialized Name: SnapshotRestoreRequest.properties.recoverConfiguration

RecoverySource

Optional. Specifies the web app that snapshot contents will be retrieved from. If empty, the targeted web app will be used as the source. Serialized Name: SnapshotRestoreRequest.properties.recoverySource

ResourceType

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

(Inherited from ResourceData)
SnapshotTime

Point in time in which the app restore should be done, formatted as a DateTime string. Serialized Name: SnapshotRestoreRequest.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: SnapshotRestoreRequest.properties.useDRSecondary

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<SnapshotRestoreRequest>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SnapshotRestoreRequest>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SnapshotRestoreRequest>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SnapshotRestoreRequest>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SnapshotRestoreRequest>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to