Udostępnij za pośrednictwem


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.Storage.Models.ManagementPolicyDefinitionTypeConverter))]
public class ManagementPolicyDefinition : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IManagementPolicyDefinition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.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

Action

An object that defines the action set.

FilterBlobIndexMatch

An array of blob index tag based filters, there can be at most 10 tag filters

FilterBlobType

An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.

FilterPrefixMatch

An array of strings for prefixes to be match.

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.Storage.Models.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.

ToString()

Applies to