Click or drag to resize
LifecycleRule Class
Lifecycle rule definition class, which represents one rule of Lifecycle
Inheritance Hierarchy
SystemObject
  Aliyun.OSSLifecycleRule

Namespace: Aliyun.OSS
Assembly: Aliyun.OSS (in Aliyun.OSS.dll) Version: 2.5.4.0 (2.5.4)
Syntax
public class LifecycleRule

The LifecycleRule type exposes the following members.

Constructors
  NameDescription
Public methodLifecycleRule
Initializes a new instance of the LifecycleRule class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyExpirationTime
The expiration time.
Public propertyExpriationDays
The expiration days.
Public propertyID
Gets or sets the rule Id
Public propertyPrefix
Gets or sets the prefix of the files the rule applied to. If it's null, then the rule is applied to the whole bucket.
Public propertyStatus
The rule status
Top
See Also