다음을 통해 공유


IPolicyRule Interface

Definition

An immutable client-side representation of a rule in an Azure Management Policy.

public interface IPolicyRule : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Storage.Fluent.Models.ManagementPolicyRule>
type IPolicyRule = interface
    interface IBeta
    interface IHasInner<ManagementPolicyRule>
Public Interface IPolicyRule
Implements IBeta, IHasInner(Of ManagementPolicyRule)
Derived
Implements

Properties

ActionsOnBaseBlob

Gets an object describing the actions to take on the filtered base blobs in this rule.

ActionsOnSnapShot

Gets an object describing the actions to take on the filtered snapshot in this rule.

BlobTypesToFilterFor

Gets an unmodifiable list of the blob types this rule will apply for.

DaysAfterBaseBlobModificationUntilArchiving

Gets the number of days after a filtered base blob is last modified when the tier to archive action is enacted.

DaysAfterBaseBlobModificationUntilCooling

Gets the number of days after a filtered base blob is last modified when the tier to cool action is enacted.

DaysAfterBaseBlobModificationUntilDeleting

Gets the number of days after a filtered base blob is last modified when the delete action is enacted.

DaysAfterSnapShotCreationUntilDeleting

Gets the number of days after a filtered snapshot is created when the delete action is enacted.

DeleteActionOnBaseBlobEnabled

Gets whether there is a delete action specified for the filtered base blobs in this rule.

DeleteActionOnSnapShotEnabled

Gets whether there is a delete action specified for the filtered snapshots in this rule.

Inner (Inherited from IHasInner<T>)
Name

Gets the name of the rule.

PrefixesToFilterFor

Gets an unmodifiable list of the prefixes of the blob types this rule will apply for.

TierToArchiveActionOnBaseBlobEnabled

Gets whether there is a tier to archive action specified for the filtered base blobs in this rule.

TierToCoolActionOnBaseBlobEnabled

Gets whether there is a tier to cool action specified for the filtered base blobs in this rule.

Type

Gets the type of the rule.

Applies to