oci.DataSafe.getCompatibleFormatsForDataType
Explore with Pulumi AI
This data source provides details about a specific Compatible Formats For Data Type resource in Oracle Cloud Infrastructure Data Safe service.
Gets a list of basic masking formats compatible with the supported data types. The data types are grouped into the following categories - Character - Includes CHAR, NCHAR, VARCHAR2, and NVARCHAR2 Numeric - Includes NUMBER, FLOAT, RAW, BINARY_FLOAT, and BINARY_DOUBLE Date - Includes DATE and TIMESTAMP LOB - Includes BLOB, CLOB, and NCLOB All - Includes all the supported data types
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testCompatibleFormatsForDataType = oci.DataSafe.getCompatibleFormatsForDataType({});
import pulumi
import pulumi_oci as oci
test_compatible_formats_for_data_type = oci.DataSafe.get_compatible_formats_for_data_type()
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/DataSafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DataSafe.GetCompatibleFormatsForDataType(ctx, nil, 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 testCompatibleFormatsForDataType = Oci.DataSafe.GetCompatibleFormatsForDataType.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.DataSafeFunctions;
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 testCompatibleFormatsForDataType = DataSafeFunctions.getCompatibleFormatsForDataType();
}
}
variables:
testCompatibleFormatsForDataType:
fn::invoke:
Function: oci:DataSafe:getCompatibleFormatsForDataType
Arguments: {}
Using getCompatibleFormatsForDataType
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 getCompatibleFormatsForDataType(opts?: InvokeOptions): Promise<GetCompatibleFormatsForDataTypeResult>
function getCompatibleFormatsForDataTypeOutput(opts?: InvokeOptions): Output<GetCompatibleFormatsForDataTypeResult>
def get_compatible_formats_for_data_type(opts: Optional[InvokeOptions] = None) -> GetCompatibleFormatsForDataTypeResult
def get_compatible_formats_for_data_type_output(opts: Optional[InvokeOptions] = None) -> Output[GetCompatibleFormatsForDataTypeResult]
func GetCompatibleFormatsForDataType(ctx *Context, opts ...InvokeOption) (*GetCompatibleFormatsForDataTypeResult, error)
func GetCompatibleFormatsForDataTypeOutput(ctx *Context, opts ...InvokeOption) GetCompatibleFormatsForDataTypeResultOutput
> Note: This function is named GetCompatibleFormatsForDataType
in the Go SDK.
public static class GetCompatibleFormatsForDataType
{
public static Task<GetCompatibleFormatsForDataTypeResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetCompatibleFormatsForDataTypeResult> Invoke(InvokeOptions? opts = null)
}
public static CompletableFuture<GetCompatibleFormatsForDataTypeResult> getCompatibleFormatsForDataType(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DataSafe/getCompatibleFormatsForDataType:getCompatibleFormatsForDataType
arguments:
# arguments dictionary
getCompatibleFormatsForDataType Result
The following output properties are available:
- Formats
For List<GetData Types Compatible Formats For Data Type Formats For Data Type> - An array of lists of basic masking formats compatible with the supported data types.
- Id string
- The provider-assigned unique ID for this managed resource.
- Formats
For []GetData Types Compatible Formats For Data Type Formats For Data Type - An array of lists of basic masking formats compatible with the supported data types.
- Id string
- The provider-assigned unique ID for this managed resource.
- formats
For List<GetData Types Compatible Formats For Data Type Formats For Data Type> - An array of lists of basic masking formats compatible with the supported data types.
- id String
- The provider-assigned unique ID for this managed resource.
- formats
For GetData Types Compatible Formats For Data Type Formats For Data Type[] - An array of lists of basic masking formats compatible with the supported data types.
- id string
- The provider-assigned unique ID for this managed resource.
- formats_
for_ Sequence[datasafe.data_ types Get Compatible Formats For Data Type Formats For Data Type] - An array of lists of basic masking formats compatible with the supported data types.
- id str
- The provider-assigned unique ID for this managed resource.
- formats
For List<Property Map>Data Types - An array of lists of basic masking formats compatible with the supported data types.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GetCompatibleFormatsForDataTypeFormatsForDataType
- Data
Type string - The data type category, which can be one of the following - Character - Includes CHAR, NCHAR, VARCHAR2, and NVARCHAR2 Numeric - Includes NUMBER, FLOAT, RAW, BINARY_FLOAT, and BINARY_DOUBLE Date - Includes DATE and TIMESTAMP LOB - Includes BLOB, CLOB, and NCLOB All - Includes all the supported data types
- Masking
Formats List<GetCompatible Formats For Data Type Formats For Data Type Masking Format> - An array of the basic masking formats compatible with the data type category.
- Data
Type string - The data type category, which can be one of the following - Character - Includes CHAR, NCHAR, VARCHAR2, and NVARCHAR2 Numeric - Includes NUMBER, FLOAT, RAW, BINARY_FLOAT, and BINARY_DOUBLE Date - Includes DATE and TIMESTAMP LOB - Includes BLOB, CLOB, and NCLOB All - Includes all the supported data types
- Masking
Formats []GetCompatible Formats For Data Type Formats For Data Type Masking Format - An array of the basic masking formats compatible with the data type category.
- data
Type String - The data type category, which can be one of the following - Character - Includes CHAR, NCHAR, VARCHAR2, and NVARCHAR2 Numeric - Includes NUMBER, FLOAT, RAW, BINARY_FLOAT, and BINARY_DOUBLE Date - Includes DATE and TIMESTAMP LOB - Includes BLOB, CLOB, and NCLOB All - Includes all the supported data types
- masking
Formats List<GetCompatible Formats For Data Type Formats For Data Type Masking Format> - An array of the basic masking formats compatible with the data type category.
- data
Type string - The data type category, which can be one of the following - Character - Includes CHAR, NCHAR, VARCHAR2, and NVARCHAR2 Numeric - Includes NUMBER, FLOAT, RAW, BINARY_FLOAT, and BINARY_DOUBLE Date - Includes DATE and TIMESTAMP LOB - Includes BLOB, CLOB, and NCLOB All - Includes all the supported data types
- masking
Formats GetCompatible Formats For Data Type Formats For Data Type Masking Format[] - An array of the basic masking formats compatible with the data type category.
- data_
type str - The data type category, which can be one of the following - Character - Includes CHAR, NCHAR, VARCHAR2, and NVARCHAR2 Numeric - Includes NUMBER, FLOAT, RAW, BINARY_FLOAT, and BINARY_DOUBLE Date - Includes DATE and TIMESTAMP LOB - Includes BLOB, CLOB, and NCLOB All - Includes all the supported data types
- masking_
formats Sequence[datasafe.Get Compatible Formats For Data Type Formats For Data Type Masking Format] - An array of the basic masking formats compatible with the data type category.
- data
Type String - The data type category, which can be one of the following - Character - Includes CHAR, NCHAR, VARCHAR2, and NVARCHAR2 Numeric - Includes NUMBER, FLOAT, RAW, BINARY_FLOAT, and BINARY_DOUBLE Date - Includes DATE and TIMESTAMP LOB - Includes BLOB, CLOB, and NCLOB All - Includes all the supported data types
- masking
Formats List<Property Map> - An array of the basic masking formats compatible with the data type category.
GetCompatibleFormatsForDataTypeFormatsForDataTypeMaskingFormat
- Description string
- The description of the masking format.
- Id string
- The OCID of the masking format.
- Name string
- The name of the masking format.
- Description string
- The description of the masking format.
- Id string
- The OCID of the masking format.
- Name string
- The name of the masking format.
- description String
- The description of the masking format.
- id String
- The OCID of the masking format.
- name String
- The name of the masking format.
- description string
- The description of the masking format.
- id string
- The OCID of the masking format.
- name string
- The name of the masking format.
- description str
- The description of the masking format.
- id str
- The OCID of the masking format.
- name str
- The name of the masking format.
- description String
- The description of the masking format.
- id String
- The OCID of the masking format.
- name String
- The name of the masking format.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.