共用方式為


SnapshotRestoreRequest Class

Definition

Details about app recovery operation.

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

SnapshotRestoreRequest()

Initializes a new instance of SnapshotRestoreRequest.

Properties

CanOverwrite

If <code>true</code> the restore operation can overwrite source app; otherwise, <code>false</code>.

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.

Kind

Kind of resource.

Name

The name of the resource.

(Inherited from ResourceData)
RecoverConfiguration

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

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.

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.

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)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

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