Share via


ManagementPolicySnapShot Class

Definition

Management policy action for snapshot.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ManagementPolicySnapShotTypeConverter))]
public class ManagementPolicySnapShot : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IManagementPolicySnapShot
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ManagementPolicySnapShotTypeConverter))>]
type ManagementPolicySnapShot = class
    interface IManagementPolicySnapShot
    interface IJsonSerializable
Public Class ManagementPolicySnapShot
Implements IManagementPolicySnapShot
Inheritance
ManagementPolicySnapShot
Attributes
Implements

Constructors

ManagementPolicySnapShot()

Creates an new ManagementPolicySnapShot instance.

Properties

DeleteDaysAfterCreationGreaterThan

Value indicating the age in days after creation

DeleteDaysAfterLastTierChangeGreaterThan

Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.

TierToArchiveDaysAfterCreationGreaterThan

Value indicating the age in days after creation

TierToArchiveDaysAfterLastTierChangeGreaterThan

Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.

TierToColdDaysAfterCreationGreaterThan

Value indicating the age in days after creation

TierToColdDaysAfterLastTierChangeGreaterThan

Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.

TierToCoolDaysAfterCreationGreaterThan

Value indicating the age in days after creation

TierToCoolDaysAfterLastTierChangeGreaterThan

Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.

TierToHotDaysAfterCreationGreaterThan

Value indicating the age in days after creation

TierToHotDaysAfterLastTierChangeGreaterThan

Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ManagementPolicySnapShot.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ManagementPolicySnapShot.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IManagementPolicySnapShot.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ManagementPolicySnapShot into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to