你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SnapshotRecoverySource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the web app that snapshot contents will be retrieved from.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.SnapshotRecoverySourceTypeConverter))]
public class SnapshotRecoverySource : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ISnapshotRecoverySource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.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.Websites.Models.Api20210201.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. |
ToString() |