Show / Hide Table of Contents

Class PatternFormatEntry

The Pattern masking format randomly selects values according to pattern to replace the original values.
Rules Max Generated Data Length 30 characters Use '%c' for a random lowercase letter Use '%C' for a random uppercase letter Use '%u[]' for a random character out of all characters enclosed in [] Use '%%' for a '%' Use '%d' for a random digit Use '%nd','%nc', '%nC', or '%nu[]' n random letters or digits or characters enclosed in [], n can be 0-9 only Any other character will be included as it is Examples %3d-%5C will generate 416-JQPCS %3d-%5c will generate 392-dehco %u[$^#] will generate $ %%%3d will generate %704

Inheritance
object
FormatEntry
PatternFormatEntry
Inherited Members
FormatEntry.Description
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class PatternFormatEntry : FormatEntry

Properties

Pattern

Declaration
[Required(ErrorMessage = "Pattern is required.")]
[JsonProperty(PropertyName = "pattern")]
public string Pattern { get; set; }
Property Value
Type Description
string

The pattern that should be used to mask data.

Remarks

Required

In this article
Back to top