Partager via


IManagementPolicyRule Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ManagementPolicyRuleTypeConverter))]
public interface IManagementPolicyRule : Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ManagementPolicyRuleTypeConverter))>]
type IManagementPolicyRule = interface
    interface IJsonSerializable
Public Interface IManagementPolicyRule
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

DefinitionAction

An object that defines the action set.

Enabled

Rule is enabled if set to true.

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.

Name

A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy.

Type

The valid value is Lifecycle

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to