Class ObjectNameFilter
A filter that compares object names to a set of prefixes or patterns to determine if a rule applies to a given object. The filter can contain include glob patterns, exclude glob patterns and inclusion prefixes. The inclusion prefixes property is kept for backward compatibility. It is recommended to use inclusion patterns instead of prefixes. Exclusions take precedence over inclusions.
Inherited Members
Namespace: Oci.ObjectstorageService.Models
Assembly: OCI.DotNetSDK.Objectstorage.dll
Syntax
public class ObjectNameFilter
Properties
ExclusionPatterns
Declaration
[JsonProperty(PropertyName = "exclusionPatterns")]
public List<string> ExclusionPatterns { get; set; }
Property Value
Type | Description |
---|---|
List<string> | An array of glob patterns to match the object names to exclude. An empty array is ignored. Exclusion
patterns take precedence over inclusion patterns.
A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other
than the special pattern characters described below, matches itself.
Glob patterns must be between 1 and 1024 characters.
|
InclusionPatterns
Declaration
[JsonProperty(PropertyName = "inclusionPatterns")]
public List<string> InclusionPatterns { get; set; }
Property Value
Type | Description |
---|---|
List<string> | An array of glob patterns to match the object names to include. An empty array includes all objects in the
bucket. Exclusion patterns take precedence over inclusion patterns.
A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other
than the special pattern characters described below, matches itself.
Glob patterns must be between 1 and 1024 characters.
|
InclusionPrefixes
Declaration
[JsonProperty(PropertyName = "inclusionPrefixes")]
public List<string> InclusionPrefixes { get; set; }
Property Value
Type | Description |
---|---|
List<string> | An array of object name prefixes that the rule will apply to. An empty array means to include all objects. |