Partager via


ManagementPolicyFilter Class

Definition

Filters limit rule actions to a subset of blobs within the storage account. If multiple filters are defined, a logical AND is performed on all filters.

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

Constructors

ManagementPolicyFilter()

Creates an new ManagementPolicyFilter instance.

Properties

BlobIndexMatch

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

BlobType

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

PrefixMatch

An array of strings for prefixes to be match.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ManagementPolicyFilter.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ManagementPolicyFilter.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ManagementPolicyFilter into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to