Table of Contents

Class BucketLockPolicy

Namespace
Cloudflare.NET.Accounts.Models
Assembly
Cloudflare.NET.dll

Represents the bucket lock policy containing all lock rules for a bucket.

public record BucketLockPolicy : IEquatable<BucketLockPolicy>
Inheritance
BucketLockPolicy
Implements
Inherited Members

Constructors

BucketLockPolicy(IReadOnlyList<BucketLockRule>)

Represents the bucket lock policy containing all lock rules for a bucket.

public BucketLockPolicy(IReadOnlyList<BucketLockRule> Rules)

Parameters

Rules IReadOnlyList<BucketLockRule>

The list of lock rules applied to the bucket. Maximum of 1000 rules. If multiple rules apply to the same prefix or object key, the strictest (longest) retention takes precedence.

Properties

Rules

The list of lock rules applied to the bucket. Maximum of 1000 rules. If multiple rules apply to the same prefix or object key, the strictest (longest) retention takes precedence.

[JsonPropertyName("rules")]
public IReadOnlyList<BucketLockRule> Rules { get; init; }

Property Value

IReadOnlyList<BucketLockRule>