Share via


ManagementPolicyDefinition Class

Definition

An object that defines the Lifecycle rule. Each definition is made up with a filters set and an actions set.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.ManagementPolicyDefinitionTypeConverter))]
public class ManagementPolicyDefinition : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IManagementPolicyDefinition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.ManagementPolicyDefinitionTypeConverter))>]
type ManagementPolicyDefinition = class
    interface IManagementPolicyDefinition
    interface IJsonSerializable
Public Class ManagementPolicyDefinition
Implements IManagementPolicyDefinition
Inheritance
ManagementPolicyDefinition
Attributes
Implements

Constructors

ManagementPolicyDefinition()

Creates an new ManagementPolicyDefinition instance.

Properties

DeleteDaysAfterCreationGreaterThan

Value indicating the age in days after creation

DeleteDaysAfterModificationGreaterThan

Value indicating the age in days after last modification

FilterBlobType

An array of predefined enum values. Only blockBlob is supported.

FilterPrefixMatch

An array of strings for prefixes to be match.

TierToArchiveDaysAfterModificationGreaterThan

Value indicating the age in days after last modification

TierToCoolDaysAfterModificationGreaterThan

Value indicating the age in days after last modification

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ManagementPolicyDefinition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ManagementPolicyDefinition.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IManagementPolicyDefinition.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ManagementPolicyDefinition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to