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.8.0.0 (2.8.0)
Syntax
public class LifecycleRule : IEquatable<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(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodEquals(LifecycleRule)
Determines whether the specified LifecycleRule is equal to the current LifecycleRule.
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 propertyAbortMultipartUpload
Gets or sets the abort multipart upload.
Public propertyCreatedBeforeDate
Gets or sets the created before date.
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
Public propertyTransitions
Gets or sets the transition.
Top
See Also