1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getCompatibleFormatsForDataType
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

oci.DataSafe.getCompatibleFormatsForDataType

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi

    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:

    FormatsForDataTypes List<GetCompatibleFormatsForDataTypeFormatsForDataType>
    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.
    FormatsForDataTypes []GetCompatibleFormatsForDataTypeFormatsForDataType
    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.
    formatsForDataTypes List<GetCompatibleFormatsForDataTypeFormatsForDataType>
    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.
    formatsForDataTypes GetCompatibleFormatsForDataTypeFormatsForDataType[]
    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_data_types Sequence[datasafe.GetCompatibleFormatsForDataTypeFormatsForDataType]
    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.
    formatsForDataTypes List<Property Map>
    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<GetCompatibleFormatsForDataTypeFormatsForDataTypeMaskingFormat>
    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 []GetCompatibleFormatsForDataTypeFormatsForDataTypeMaskingFormat
    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<GetCompatibleFormatsForDataTypeFormatsForDataTypeMaskingFormat>
    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 GetCompatibleFormatsForDataTypeFormatsForDataTypeMaskingFormat[]
    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.GetCompatibleFormatsForDataTypeFormatsForDataTypeMaskingFormat]
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.31.0 published on Wednesday, Apr 10, 2024 by Pulumi