Partager via


SnapshotRecoverySource Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.SnapshotRecoverySourceTypeConverter))]
public class SnapshotRecoverySource : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ISnapshotRecoverySource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.SnapshotRecoverySourceTypeConverter))>]
type SnapshotRecoverySource = class
    interface ISnapshotRecoverySource
    interface IJsonSerializable
Public Class SnapshotRecoverySource
Implements ISnapshotRecoverySource
Inheritance
SnapshotRecoverySource
Attributes
Implements

Constructors

SnapshotRecoverySource()

Creates an new SnapshotRecoverySource instance.

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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SnapshotRecoverySource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SnapshotRecoverySource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ISnapshotRecoverySource.

FromJsonString(String)

Creates a new instance of SnapshotRecoverySource, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SnapshotRecoverySource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to