Show / Hide Table of Contents

Class TieringPolicyRule

A path-based tiering policy rule.

Inheritance
object
TieringPolicyRule
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.LustrefilestorageService.Models
Assembly: OCI.DotNetSDK.Lustrefilestorage.dll
Syntax
public class TieringPolicyRule

Properties

Action

Declaration
[Required(ErrorMessage = "Action is required.")]
[JsonProperty(PropertyName = "action")]
[JsonConverter(typeof(ResponseEnumConverter))]
public TieringPolicyRule.ActionEnum? Action { get; set; }
Property Value
Type Description
TieringPolicyRule.ActionEnum?

The action to apply to files whose paths match this rule. ARCHIVE makes matching files eligible to be archived to Object Storage. SKIP excludes matching files from being archived.

Remarks

Required

ArchiveAfterDaysSinceLastAccess

Declaration
[JsonProperty(PropertyName = "archiveAfterDaysSinceLastAccess")]
public int? ArchiveAfterDaysSinceLastAccess { get; set; }
Property Value
Type Description
int?

Required for ARCHIVE rules. Archive files that have not been accessed for this many days. Must not be specified for SKIP rules.

MinSizeInBytes

Declaration
[JsonProperty(PropertyName = "minSizeInBytes")]
public long? MinSizeInBytes { get; set; }
Property Value
Type Description
long?

Optional minimum file size in bytes for an ARCHIVE rule to apply. Must not be specified for SKIP rules.

PathPrefixes

Declaration
[Required(ErrorMessage = "PathPrefixes is required.")]
[JsonProperty(PropertyName = "pathPrefixes")]
public List<string> PathPrefixes { get; set; }
Property Value
Type Description
List<string>

One or more absolute path prefixes in the Lustre file system to which this rule applies. The service preserves the order of path prefixes in responses. Each path prefix can contain up to 4096 characters. Each rule must contain at least one path prefix, and a tiering policy can contain up to 100 path prefixes total across all rules.

Remarks

Required

ReleaseAfterDaysSinceLastAccess

Declaration
[JsonProperty(PropertyName = "releaseAfterDaysSinceLastAccess")]
public int? ReleaseAfterDaysSinceLastAccess { get; set; }
Property Value
Type Description
int?

Required for ARCHIVE rules. Release archived file data from files that have not been accessed for this many days. This value must be greater than archiveAfterDaysSinceLastAccess. Must not be specified for SKIP rules.

In this article
Back to top