Partager via


Snapshot Class

Definition

A snapshot of an app.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.SnapshotTypeConverter))]
public class Snapshot : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ISnapshot, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.SnapshotTypeConverter))>]
type Snapshot = class
    interface ISnapshot
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class Snapshot
Implements ISnapshot, IValidates
Inheritance
Snapshot
Attributes
Implements

Constructors

Snapshot()

Creates an new Snapshot instance.

Properties

Id

Resource Id.

Kind

Kind of resource.

Name

Resource Name.

Time

The time the snapshot was taken.

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Snapshot.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Snapshot.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Snapshot into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to