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/v2/go/oci/datasafe"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datasafe.GetCompatibleFormatsForDataType(ctx, map[string]interface{}{}, 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(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
    }
}
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)
public static Output<GetCompatibleFormatsForDataTypeResult> getCompatibleFormatsForDataType(InvokeOptions options)
fn::invoke:
  function: oci:DataSafe/getCompatibleFormatsForDataType:getCompatibleFormatsForDataType
  arguments:
    # arguments dictionarygetCompatibleFormatsForDataType Result
The following output properties are available:
- FormatsFor 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.
- FormatsFor []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.
- formatsFor 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.
- formatsFor 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[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 str
- The provider-assigned unique ID for this managed resource.
- formatsFor 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         
- DataType 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
- MaskingFormats 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.
- DataType 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
- MaskingFormats []GetCompatible Formats For Data Type Formats For Data Type Masking Format 
- An array of the basic masking formats compatible with the data type category.
- dataType 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
- maskingFormats 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.
- dataType 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
- maskingFormats 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[GetCompatible Formats For Data Type Formats For Data Type Masking Format] 
- An array of the basic masking formats compatible with the data type category.
- dataType 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
- maskingFormats 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 ociTerraform Provider.