SnapshotRecoverySource Class

Definition

Specifies the web app that snapshot contents will be retrieved from.

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

Constructors

SnapshotRecoverySource()

Initializes a new instance of SnapshotRecoverySource.

Properties

Id

ARM resource ID of the source app. /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.

Location

Geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SnapshotRecoverySource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SnapshotRecoverySource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SnapshotRecoverySource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SnapshotRecoverySource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SnapshotRecoverySource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to