Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.DataSafe.getLibraryMaskingFormat
Explore with Pulumi AI
This data source provides details about a specific Library Masking Format resource in Oracle Cloud Infrastructure Data Safe service.
Gets the details of the specified library masking format.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testLibraryMaskingFormat = oci.DataSafe.getLibraryMaskingFormat({
libraryMaskingFormatId: testLibraryMaskingFormatOciDataSafeLibraryMaskingFormat.id,
});
import pulumi
import pulumi_oci as oci
test_library_masking_format = oci.DataSafe.get_library_masking_format(library_masking_format_id=test_library_masking_format_oci_data_safe_library_masking_format["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DataSafe.GetLibraryMaskingFormat(ctx, &datasafe.GetLibraryMaskingFormatArgs{
LibraryMaskingFormatId: testLibraryMaskingFormatOciDataSafeLibraryMaskingFormat.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testLibraryMaskingFormat = Oci.DataSafe.GetLibraryMaskingFormat.Invoke(new()
{
LibraryMaskingFormatId = testLibraryMaskingFormatOciDataSafeLibraryMaskingFormat.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.DataSafeFunctions;
import com.pulumi.oci.DataSafe.inputs.GetLibraryMaskingFormatArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testLibraryMaskingFormat = DataSafeFunctions.getLibraryMaskingFormat(GetLibraryMaskingFormatArgs.builder()
.libraryMaskingFormatId(testLibraryMaskingFormatOciDataSafeLibraryMaskingFormat.id())
.build());
}
}
variables:
testLibraryMaskingFormat:
fn::invoke:
Function: oci:DataSafe:getLibraryMaskingFormat
Arguments:
libraryMaskingFormatId: ${testLibraryMaskingFormatOciDataSafeLibraryMaskingFormat.id}
Using getLibraryMaskingFormat
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getLibraryMaskingFormat(args: GetLibraryMaskingFormatArgs, opts?: InvokeOptions): Promise<GetLibraryMaskingFormatResult>
function getLibraryMaskingFormatOutput(args: GetLibraryMaskingFormatOutputArgs, opts?: InvokeOptions): Output<GetLibraryMaskingFormatResult>
def get_library_masking_format(library_masking_format_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLibraryMaskingFormatResult
def get_library_masking_format_output(library_masking_format_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLibraryMaskingFormatResult]
func GetLibraryMaskingFormat(ctx *Context, args *GetLibraryMaskingFormatArgs, opts ...InvokeOption) (*GetLibraryMaskingFormatResult, error)
func GetLibraryMaskingFormatOutput(ctx *Context, args *GetLibraryMaskingFormatOutputArgs, opts ...InvokeOption) GetLibraryMaskingFormatResultOutput
> Note: This function is named GetLibraryMaskingFormat
in the Go SDK.
public static class GetLibraryMaskingFormat
{
public static Task<GetLibraryMaskingFormatResult> InvokeAsync(GetLibraryMaskingFormatArgs args, InvokeOptions? opts = null)
public static Output<GetLibraryMaskingFormatResult> Invoke(GetLibraryMaskingFormatInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLibraryMaskingFormatResult> getLibraryMaskingFormat(GetLibraryMaskingFormatArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DataSafe/getLibraryMaskingFormat:getLibraryMaskingFormat
arguments:
# arguments dictionary
The following arguments are supported:
- Library
Masking stringFormat Id - The OCID of the library masking format.
- Library
Masking stringFormat Id - The OCID of the library masking format.
- library
Masking StringFormat Id - The OCID of the library masking format.
- library
Masking stringFormat Id - The OCID of the library masking format.
- library_
masking_ strformat_ id - The OCID of the library masking format.
- library
Masking StringFormat Id - The OCID of the library masking format.
getLibraryMaskingFormat Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that contains the library masking format.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Description string
- The description of the format entry.
- Display
Name string - The display name of the library masking format.
- Format
Entries List<GetLibrary Masking Format Format Entry> - An array of format entries. The combined output of all the format entries is used for masking.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Id string
- The OCID of the library masking format.
- Library
Masking stringFormat Id - The OCID of the library masking format.
- Sensitive
Type List<string>Ids - An array of OCIDs of the sensitive types compatible with the library masking format.
- Source string
- Specifies whether the library masking format is user-defined or predefined.
- State string
- The current state of the library masking format.
- Time
Created string - The date and time the library masking format was created, in the format defined by RFC3339
- Time
Updated string - The date and time the library masking format was updated, in the format defined by RFC3339
- Compartment
Id string - The OCID of the compartment that contains the library masking format.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Description string
- The description of the format entry.
- Display
Name string - The display name of the library masking format.
- Format
Entries []GetLibrary Masking Format Format Entry - An array of format entries. The combined output of all the format entries is used for masking.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Id string
- The OCID of the library masking format.
- Library
Masking stringFormat Id - The OCID of the library masking format.
- Sensitive
Type []stringIds - An array of OCIDs of the sensitive types compatible with the library masking format.
- Source string
- Specifies whether the library masking format is user-defined or predefined.
- State string
- The current state of the library masking format.
- Time
Created string - The date and time the library masking format was created, in the format defined by RFC3339
- Time
Updated string - The date and time the library masking format was updated, in the format defined by RFC3339
- compartment
Id String - The OCID of the compartment that contains the library masking format.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description String
- The description of the format entry.
- display
Name String - The display name of the library masking format.
- format
Entries List<GetLibrary Masking Format Format Entry> - An array of format entries. The combined output of all the format entries is used for masking.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id String
- The OCID of the library masking format.
- library
Masking StringFormat Id - The OCID of the library masking format.
- sensitive
Type List<String>Ids - An array of OCIDs of the sensitive types compatible with the library masking format.
- source String
- Specifies whether the library masking format is user-defined or predefined.
- state String
- The current state of the library masking format.
- time
Created String - The date and time the library masking format was created, in the format defined by RFC3339
- time
Updated String - The date and time the library masking format was updated, in the format defined by RFC3339
- compartment
Id string - The OCID of the compartment that contains the library masking format.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description string
- The description of the format entry.
- display
Name string - The display name of the library masking format.
- format
Entries GetLibrary Masking Format Format Entry[] - An array of format entries. The combined output of all the format entries is used for masking.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id string
- The OCID of the library masking format.
- library
Masking stringFormat Id - The OCID of the library masking format.
- sensitive
Type string[]Ids - An array of OCIDs of the sensitive types compatible with the library masking format.
- source string
- Specifies whether the library masking format is user-defined or predefined.
- state string
- The current state of the library masking format.
- time
Created string - The date and time the library masking format was created, in the format defined by RFC3339
- time
Updated string - The date and time the library masking format was updated, in the format defined by RFC3339
- compartment_
id str - The OCID of the compartment that contains the library masking format.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description str
- The description of the format entry.
- display_
name str - The display name of the library masking format.
- format_
entries Sequence[datasafe.Get Library Masking Format Format Entry] - An array of format entries. The combined output of all the format entries is used for masking.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id str
- The OCID of the library masking format.
- library_
masking_ strformat_ id - The OCID of the library masking format.
- sensitive_
type_ Sequence[str]ids - An array of OCIDs of the sensitive types compatible with the library masking format.
- source str
- Specifies whether the library masking format is user-defined or predefined.
- state str
- The current state of the library masking format.
- time_
created str - The date and time the library masking format was created, in the format defined by RFC3339
- time_
updated str - The date and time the library masking format was updated, in the format defined by RFC3339
- compartment
Id String - The OCID of the compartment that contains the library masking format.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description String
- The description of the format entry.
- display
Name String - The display name of the library masking format.
- format
Entries List<Property Map> - An array of format entries. The combined output of all the format entries is used for masking.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id String
- The OCID of the library masking format.
- library
Masking StringFormat Id - The OCID of the library masking format.
- sensitive
Type List<String>Ids - An array of OCIDs of the sensitive types compatible with the library masking format.
- source String
- Specifies whether the library masking format is user-defined or predefined.
- state String
- The current state of the library masking format.
- time
Created String - The date and time the library masking format was created, in the format defined by RFC3339
- time
Updated String - The date and time the library masking format was updated, in the format defined by RFC3339
Supporting Types
GetLibraryMaskingFormatFormatEntry
- Column
Name string - The name of the substitution column.
- Description string
- The description of the format entry.
- End
Date string - The upper bound of the range within which all the original column values fall. The end date must be greater than or equal to the start date.
- End
Length int - The maximum number of characters the generated strings should have. It can be any integer greater than zero, but it must be greater than or equal to the start length.
- End
Value double - The upper bound of the range within which random decimal numbers should be generated. It must be greater than or equal to the start value. It supports input of double type.
- Fixed
Number double - The constant number to be used for masking.
- Fixed
String string - The constant string to be used for masking.
- Grouping
Columns List<string> - One or more reference columns to be used to group column values so that they can be shuffled within their own group. The grouping columns and the column to be masked must belong to the same table.
- Length int
- The number of characters that should be there in the substring. It should be an integer and greater than zero.
- Library
Masking stringFormat Id - The OCID of the library masking format.
- Pattern string
- The pattern that should be used to mask data.
- Post
Processing stringFunction - The post processing function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- Random
Lists List<string> - A comma-separated list of values to be used to replace column values. The list can be of strings, numbers, or dates. The data type of each value in the list must be compatible with the data type of the column. The number of entries in the list cannot be more than 999.
- Regular
Expression string - The regular expression to be used for masking. For data with characters in the ASCII character set, providing a regular expression is optional. However, it is required if the data contains multi-byte characters. If not provided, an error is returned when a multi-byte character is found.
- Replace
With string - The value that should be used to replace the data matching the regular expression. It can be a fixed string, fixed number, null value, or SQL expression.
- Schema
Name string - The name of the schema that contains the substitution column.
- Sql
Expression string - The SQL expression to be used to generate the masked values. It can consist of one or more values, operators, and SQL functions that evaluate to a value. It can also contain substitution columns from the same table. Specify the substitution columns within percent (%) symbols.
- Start
Date string - The lower bound of the range within which all the original column values fall. The start date must be less than or equal to the end date.
- Start
Length int - The minimum number of characters the generated strings should have. It can be any integer greater than zero, but it must be less than or equal to the end length.
- Start
Position int - The starting position in the original string from where the substring should be extracted. It can be either a positive or a negative integer. If It's negative, the counting starts from the end of the string.
- Start
Value double - The lower bound of the range within which random decimal numbers should be generated. It must be less than or equal to the end value. It supports input of double type.
- Table
Name string - The name of the table that contains the substitution column.
- Type string
- The type of the format entry.
- User
Defined stringFunction - The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- Column
Name string - The name of the substitution column.
- Description string
- The description of the format entry.
- End
Date string - The upper bound of the range within which all the original column values fall. The end date must be greater than or equal to the start date.
- End
Length int - The maximum number of characters the generated strings should have. It can be any integer greater than zero, but it must be greater than or equal to the start length.
- End
Value float64 - The upper bound of the range within which random decimal numbers should be generated. It must be greater than or equal to the start value. It supports input of double type.
- Fixed
Number float64 - The constant number to be used for masking.
- Fixed
String string - The constant string to be used for masking.
- Grouping
Columns []string - One or more reference columns to be used to group column values so that they can be shuffled within their own group. The grouping columns and the column to be masked must belong to the same table.
- Length int
- The number of characters that should be there in the substring. It should be an integer and greater than zero.
- Library
Masking stringFormat Id - The OCID of the library masking format.
- Pattern string
- The pattern that should be used to mask data.
- Post
Processing stringFunction - The post processing function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- Random
Lists []string - A comma-separated list of values to be used to replace column values. The list can be of strings, numbers, or dates. The data type of each value in the list must be compatible with the data type of the column. The number of entries in the list cannot be more than 999.
- Regular
Expression string - The regular expression to be used for masking. For data with characters in the ASCII character set, providing a regular expression is optional. However, it is required if the data contains multi-byte characters. If not provided, an error is returned when a multi-byte character is found.
- Replace
With string - The value that should be used to replace the data matching the regular expression. It can be a fixed string, fixed number, null value, or SQL expression.
- Schema
Name string - The name of the schema that contains the substitution column.
- Sql
Expression string - The SQL expression to be used to generate the masked values. It can consist of one or more values, operators, and SQL functions that evaluate to a value. It can also contain substitution columns from the same table. Specify the substitution columns within percent (%) symbols.
- Start
Date string - The lower bound of the range within which all the original column values fall. The start date must be less than or equal to the end date.
- Start
Length int - The minimum number of characters the generated strings should have. It can be any integer greater than zero, but it must be less than or equal to the end length.
- Start
Position int - The starting position in the original string from where the substring should be extracted. It can be either a positive or a negative integer. If It's negative, the counting starts from the end of the string.
- Start
Value float64 - The lower bound of the range within which random decimal numbers should be generated. It must be less than or equal to the end value. It supports input of double type.
- Table
Name string - The name of the table that contains the substitution column.
- Type string
- The type of the format entry.
- User
Defined stringFunction - The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- column
Name String - The name of the substitution column.
- description String
- The description of the format entry.
- end
Date String - The upper bound of the range within which all the original column values fall. The end date must be greater than or equal to the start date.
- end
Length Integer - The maximum number of characters the generated strings should have. It can be any integer greater than zero, but it must be greater than or equal to the start length.
- end
Value Double - The upper bound of the range within which random decimal numbers should be generated. It must be greater than or equal to the start value. It supports input of double type.
- fixed
Number Double - The constant number to be used for masking.
- fixed
String String - The constant string to be used for masking.
- grouping
Columns List<String> - One or more reference columns to be used to group column values so that they can be shuffled within their own group. The grouping columns and the column to be masked must belong to the same table.
- length Integer
- The number of characters that should be there in the substring. It should be an integer and greater than zero.
- library
Masking StringFormat Id - The OCID of the library masking format.
- pattern String
- The pattern that should be used to mask data.
- post
Processing StringFunction - The post processing function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- random
Lists List<String> - A comma-separated list of values to be used to replace column values. The list can be of strings, numbers, or dates. The data type of each value in the list must be compatible with the data type of the column. The number of entries in the list cannot be more than 999.
- regular
Expression String - The regular expression to be used for masking. For data with characters in the ASCII character set, providing a regular expression is optional. However, it is required if the data contains multi-byte characters. If not provided, an error is returned when a multi-byte character is found.
- replace
With String - The value that should be used to replace the data matching the regular expression. It can be a fixed string, fixed number, null value, or SQL expression.
- schema
Name String - The name of the schema that contains the substitution column.
- sql
Expression String - The SQL expression to be used to generate the masked values. It can consist of one or more values, operators, and SQL functions that evaluate to a value. It can also contain substitution columns from the same table. Specify the substitution columns within percent (%) symbols.
- start
Date String - The lower bound of the range within which all the original column values fall. The start date must be less than or equal to the end date.
- start
Length Integer - The minimum number of characters the generated strings should have. It can be any integer greater than zero, but it must be less than or equal to the end length.
- start
Position Integer - The starting position in the original string from where the substring should be extracted. It can be either a positive or a negative integer. If It's negative, the counting starts from the end of the string.
- start
Value Double - The lower bound of the range within which random decimal numbers should be generated. It must be less than or equal to the end value. It supports input of double type.
- table
Name String - The name of the table that contains the substitution column.
- type String
- The type of the format entry.
- user
Defined StringFunction - The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- column
Name string - The name of the substitution column.
- description string
- The description of the format entry.
- end
Date string - The upper bound of the range within which all the original column values fall. The end date must be greater than or equal to the start date.
- end
Length number - The maximum number of characters the generated strings should have. It can be any integer greater than zero, but it must be greater than or equal to the start length.
- end
Value number - The upper bound of the range within which random decimal numbers should be generated. It must be greater than or equal to the start value. It supports input of double type.
- fixed
Number number - The constant number to be used for masking.
- fixed
String string - The constant string to be used for masking.
- grouping
Columns string[] - One or more reference columns to be used to group column values so that they can be shuffled within their own group. The grouping columns and the column to be masked must belong to the same table.
- length number
- The number of characters that should be there in the substring. It should be an integer and greater than zero.
- library
Masking stringFormat Id - The OCID of the library masking format.
- pattern string
- The pattern that should be used to mask data.
- post
Processing stringFunction - The post processing function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- random
Lists string[] - A comma-separated list of values to be used to replace column values. The list can be of strings, numbers, or dates. The data type of each value in the list must be compatible with the data type of the column. The number of entries in the list cannot be more than 999.
- regular
Expression string - The regular expression to be used for masking. For data with characters in the ASCII character set, providing a regular expression is optional. However, it is required if the data contains multi-byte characters. If not provided, an error is returned when a multi-byte character is found.
- replace
With string - The value that should be used to replace the data matching the regular expression. It can be a fixed string, fixed number, null value, or SQL expression.
- schema
Name string - The name of the schema that contains the substitution column.
- sql
Expression string - The SQL expression to be used to generate the masked values. It can consist of one or more values, operators, and SQL functions that evaluate to a value. It can also contain substitution columns from the same table. Specify the substitution columns within percent (%) symbols.
- start
Date string - The lower bound of the range within which all the original column values fall. The start date must be less than or equal to the end date.
- start
Length number - The minimum number of characters the generated strings should have. It can be any integer greater than zero, but it must be less than or equal to the end length.
- start
Position number - The starting position in the original string from where the substring should be extracted. It can be either a positive or a negative integer. If It's negative, the counting starts from the end of the string.
- start
Value number - The lower bound of the range within which random decimal numbers should be generated. It must be less than or equal to the end value. It supports input of double type.
- table
Name string - The name of the table that contains the substitution column.
- type string
- The type of the format entry.
- user
Defined stringFunction - The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- column_
name str - The name of the substitution column.
- description str
- The description of the format entry.
- end_
date str - The upper bound of the range within which all the original column values fall. The end date must be greater than or equal to the start date.
- end_
length int - The maximum number of characters the generated strings should have. It can be any integer greater than zero, but it must be greater than or equal to the start length.
- end_
value float - The upper bound of the range within which random decimal numbers should be generated. It must be greater than or equal to the start value. It supports input of double type.
- fixed_
number float - The constant number to be used for masking.
- fixed_
string str - The constant string to be used for masking.
- grouping_
columns Sequence[str] - One or more reference columns to be used to group column values so that they can be shuffled within their own group. The grouping columns and the column to be masked must belong to the same table.
- length int
- The number of characters that should be there in the substring. It should be an integer and greater than zero.
- library_
masking_ strformat_ id - The OCID of the library masking format.
- pattern str
- The pattern that should be used to mask data.
- post_
processing_ strfunction - The post processing function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- random_
lists Sequence[str] - A comma-separated list of values to be used to replace column values. The list can be of strings, numbers, or dates. The data type of each value in the list must be compatible with the data type of the column. The number of entries in the list cannot be more than 999.
- regular_
expression str - The regular expression to be used for masking. For data with characters in the ASCII character set, providing a regular expression is optional. However, it is required if the data contains multi-byte characters. If not provided, an error is returned when a multi-byte character is found.
- replace_
with str - The value that should be used to replace the data matching the regular expression. It can be a fixed string, fixed number, null value, or SQL expression.
- schema_
name str - The name of the schema that contains the substitution column.
- sql_
expression str - The SQL expression to be used to generate the masked values. It can consist of one or more values, operators, and SQL functions that evaluate to a value. It can also contain substitution columns from the same table. Specify the substitution columns within percent (%) symbols.
- start_
date str - The lower bound of the range within which all the original column values fall. The start date must be less than or equal to the end date.
- start_
length int - The minimum number of characters the generated strings should have. It can be any integer greater than zero, but it must be less than or equal to the end length.
- start_
position int - The starting position in the original string from where the substring should be extracted. It can be either a positive or a negative integer. If It's negative, the counting starts from the end of the string.
- start_
value float - The lower bound of the range within which random decimal numbers should be generated. It must be less than or equal to the end value. It supports input of double type.
- table_
name str - The name of the table that contains the substitution column.
- type str
- The type of the format entry.
- user_
defined_ strfunction - The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- column
Name String - The name of the substitution column.
- description String
- The description of the format entry.
- end
Date String - The upper bound of the range within which all the original column values fall. The end date must be greater than or equal to the start date.
- end
Length Number - The maximum number of characters the generated strings should have. It can be any integer greater than zero, but it must be greater than or equal to the start length.
- end
Value Number - The upper bound of the range within which random decimal numbers should be generated. It must be greater than or equal to the start value. It supports input of double type.
- fixed
Number Number - The constant number to be used for masking.
- fixed
String String - The constant string to be used for masking.
- grouping
Columns List<String> - One or more reference columns to be used to group column values so that they can be shuffled within their own group. The grouping columns and the column to be masked must belong to the same table.
- length Number
- The number of characters that should be there in the substring. It should be an integer and greater than zero.
- library
Masking StringFormat Id - The OCID of the library masking format.
- pattern String
- The pattern that should be used to mask data.
- post
Processing StringFunction - The post processing function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
- random
Lists List<String> - A comma-separated list of values to be used to replace column values. The list can be of strings, numbers, or dates. The data type of each value in the list must be compatible with the data type of the column. The number of entries in the list cannot be more than 999.
- regular
Expression String - The regular expression to be used for masking. For data with characters in the ASCII character set, providing a regular expression is optional. However, it is required if the data contains multi-byte characters. If not provided, an error is returned when a multi-byte character is found.
- replace
With String - The value that should be used to replace the data matching the regular expression. It can be a fixed string, fixed number, null value, or SQL expression.
- schema
Name String - The name of the schema that contains the substitution column.
- sql
Expression String - The SQL expression to be used to generate the masked values. It can consist of one or more values, operators, and SQL functions that evaluate to a value. It can also contain substitution columns from the same table. Specify the substitution columns within percent (%) symbols.
- start
Date String - The lower bound of the range within which all the original column values fall. The start date must be less than or equal to the end date.
- start
Length Number - The minimum number of characters the generated strings should have. It can be any integer greater than zero, but it must be less than or equal to the end length.
- start
Position Number - The starting position in the original string from where the substring should be extracted. It can be either a positive or a negative integer. If It's negative, the counting starts from the end of the string.
- start
Value Number - The lower bound of the range within which random decimal numbers should be generated. It must be less than or equal to the end value. It supports input of double type.
- table
Name String - The name of the table that contains the substitution column.
- type String
- The type of the format entry.
- user
Defined StringFunction - The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.