共用方式為


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.

public class ManagementPolicyFilter : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.Models.ManagementPolicyFilter>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.Models.ManagementPolicyFilter>
public class ManagementPolicyFilter
type ManagementPolicyFilter = class
    interface IJsonModel<ManagementPolicyFilter>
    interface IPersistableModel<ManagementPolicyFilter>
type ManagementPolicyFilter = class
Public Class ManagementPolicyFilter
Implements IJsonModel(Of ManagementPolicyFilter), IPersistableModel(Of ManagementPolicyFilter)
Public Class ManagementPolicyFilter
Inheritance
ManagementPolicyFilter
Implements

Constructors

ManagementPolicyFilter(IEnumerable<String>)

Initializes a new instance of ManagementPolicyFilter.

Properties

BlobIndexMatch

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

BlobTypes

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.

Explicit Interface Implementations

IJsonModel<ManagementPolicyFilter>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ManagementPolicyFilter>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagementPolicyFilter>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagementPolicyFilter>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ManagementPolicyFilter>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to