Snapshot Class

Definition

The snapshot resource.

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

Constructors

Name Description
Snapshot()

Creates an new Snapshot instance.

Properties

Name Description
CompositionType

The composition type describes how the key-values within the snapshot are composed. The 'key' composition type ensures there are no two key-values containing the same key. The 'key_label' composition type ensures there are no two key-values containing the same key and label.

Created

The time that the snapshot was created.

Etag

A value representing the current state of the snapshot.

Expire

The time that the snapshot will expire.

Filter

A list of filters used to filter the key-values included in the snapshot.

Id

The resource ID.

ItemsCount

The amount of key-values in the snapshot.

Name

The name of the snapshot.

ProvisioningState

The provisioning state of the snapshot.

ResourceGroupName

Gets the resource group name

RetentionPeriod

The amount of time, in seconds, that a snapshot will remain in the archived state before expiring. This property is only writable during the creation of a snapshot. If not specified, the default lifetime of key-value revisions will be used.

Size

The size in bytes of the snapshot.

Status

The current status of the snapshot.

Tag

The tags of the snapshot. NOTE: These are data plane tags, not Azure Resource Manager (ARM) tags.

Type

The type of the resource.

Methods

Name Description
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.AppConfiguration.Models.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.

ToString()

Applies to