Compartilhar via


ManagementPolicyAction Class

Definition

Actions are applied to the filtered blobs when the execution condition is met.

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

Constructors

ManagementPolicyAction()

Creates an new ManagementPolicyAction instance.

Properties

BaseBlob

The management policy action for base blob

SnapshotDeleteDaysAfterCreationGreaterThan

Value indicating the age in days after creation

SnapshotDeleteDaysAfterLastTierChangeGreaterThan

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.

SnapshotTierToArchiveDaysAfterCreationGreaterThan

Value indicating the age in days after creation

SnapshotTierToArchiveDaysAfterLastTierChangeGreaterThan

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.

SnapshotTierToColdDaysAfterCreationGreaterThan

Value indicating the age in days after creation

SnapshotTierToColdDaysAfterLastTierChangeGreaterThan

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.

SnapshotTierToCoolDaysAfterCreationGreaterThan

Value indicating the age in days after creation

SnapshotTierToCoolDaysAfterLastTierChangeGreaterThan

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.

SnapshotTierToHotDaysAfterCreationGreaterThan

Value indicating the age in days after creation

SnapshotTierToHotDaysAfterLastTierChangeGreaterThan

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.

VersionDeleteDaysAfterCreationGreaterThan

Value indicating the age in days after creation

VersionDeleteDaysAfterLastTierChangeGreaterThan

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.

VersionTierToArchiveDaysAfterCreationGreaterThan

Value indicating the age in days after creation

VersionTierToArchiveDaysAfterLastTierChangeGreaterThan

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.

VersionTierToColdDaysAfterCreationGreaterThan

Value indicating the age in days after creation

VersionTierToColdDaysAfterLastTierChangeGreaterThan

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.

VersionTierToCoolDaysAfterCreationGreaterThan

Value indicating the age in days after creation

VersionTierToCoolDaysAfterLastTierChangeGreaterThan

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.

VersionTierToHotDaysAfterCreationGreaterThan

Value indicating the age in days after creation

VersionTierToHotDaysAfterLastTierChangeGreaterThan

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 ManagementPolicyAction.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ManagementPolicyAction.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ManagementPolicyAction into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to