你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DevBoxSnapshot Class

Definition

A DevBox snapshot

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20250401Preview.DevBoxSnapshotTypeConverter))]
public class DevBoxSnapshot : Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20250401Preview.IDevBoxSnapshot
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20250401Preview.DevBoxSnapshotTypeConverter))>]
type DevBoxSnapshot = class
    interface IDevBoxSnapshot
    interface IJsonSerializable
Public Class DevBoxSnapshot
Implements IDevBoxSnapshot
Inheritance
DevBoxSnapshot
Attributes
Implements

Constructors

Name Description
DevBoxSnapshot()

Creates an new DevBoxSnapshot instance.

Properties

Name Description
CreatedTime

The datetime that the snapshot was created, in RFC3339 format.

ExpirationTime

The datetime when the snapshot expires, will only be shown for a manual snapshot, in RFC3339 format.

SnapshotId

The id of the snapshot. Should be treated as opaque string.

SnapshotType

The type of the snapshot indicates whether it is manual or automatic.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DevBoxSnapshot.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DevBoxSnapshot.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20250401Preview.IDevBoxSnapshot.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DevBoxSnapshot into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to