Partager via


ManagementPolicyVersion Class

Definition

Management policy action for blob version.

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

Constructors

ManagementPolicyVersion()

Creates an new ManagementPolicyVersion 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 ManagementPolicyVersion.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ManagementPolicyVersion.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ManagementPolicyVersion into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to