1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getSdmMaskingPolicyDifferenceDifferenceColumn
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.DataSafe.getSdmMaskingPolicyDifferenceDifferenceColumn

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This data source provides details about a specific Sdm Masking Policy Difference Difference Column resource in Oracle Cloud Infrastructure Data Safe service.

    Gets the details of the specified SDM Masking policy difference column.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSdmMaskingPolicyDifferenceDifferenceColumn = oci.DataSafe.getSdmMaskingPolicyDifferenceDifferenceColumn({
        differenceColumnKey: _var.sdm_masking_policy_difference_difference_column_difference_column_key,
        sdmMaskingPolicyDifferenceId: oci_data_safe_sdm_masking_policy_difference.test_sdm_masking_policy_difference.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_sdm_masking_policy_difference_difference_column = oci.DataSafe.get_sdm_masking_policy_difference_difference_column(difference_column_key=var["sdm_masking_policy_difference_difference_column_difference_column_key"],
        sdm_masking_policy_difference_id=oci_data_safe_sdm_masking_policy_difference["test_sdm_masking_policy_difference"]["id"])
    
    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.GetSdmMaskingPolicyDifferenceDifferenceColumn(ctx, &datasafe.GetSdmMaskingPolicyDifferenceDifferenceColumnArgs{
    			DifferenceColumnKey:          _var.Sdm_masking_policy_difference_difference_column_difference_column_key,
    			SdmMaskingPolicyDifferenceId: oci_data_safe_sdm_masking_policy_difference.Test_sdm_masking_policy_difference.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 testSdmMaskingPolicyDifferenceDifferenceColumn = Oci.DataSafe.GetSdmMaskingPolicyDifferenceDifferenceColumn.Invoke(new()
        {
            DifferenceColumnKey = @var.Sdm_masking_policy_difference_difference_column_difference_column_key,
            SdmMaskingPolicyDifferenceId = oci_data_safe_sdm_masking_policy_difference.Test_sdm_masking_policy_difference.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.GetSdmMaskingPolicyDifferenceDifferenceColumnArgs;
    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 testSdmMaskingPolicyDifferenceDifferenceColumn = DataSafeFunctions.getSdmMaskingPolicyDifferenceDifferenceColumn(GetSdmMaskingPolicyDifferenceDifferenceColumnArgs.builder()
                .differenceColumnKey(var_.sdm_masking_policy_difference_difference_column_difference_column_key())
                .sdmMaskingPolicyDifferenceId(oci_data_safe_sdm_masking_policy_difference.test_sdm_masking_policy_difference().id())
                .build());
    
        }
    }
    
    variables:
      testSdmMaskingPolicyDifferenceDifferenceColumn:
        fn::invoke:
          Function: oci:DataSafe:getSdmMaskingPolicyDifferenceDifferenceColumn
          Arguments:
            differenceColumnKey: ${var.sdm_masking_policy_difference_difference_column_difference_column_key}
            sdmMaskingPolicyDifferenceId: ${oci_data_safe_sdm_masking_policy_difference.test_sdm_masking_policy_difference.id}
    

    Using getSdmMaskingPolicyDifferenceDifferenceColumn

    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 getSdmMaskingPolicyDifferenceDifferenceColumn(args: GetSdmMaskingPolicyDifferenceDifferenceColumnArgs, opts?: InvokeOptions): Promise<GetSdmMaskingPolicyDifferenceDifferenceColumnResult>
    function getSdmMaskingPolicyDifferenceDifferenceColumnOutput(args: GetSdmMaskingPolicyDifferenceDifferenceColumnOutputArgs, opts?: InvokeOptions): Output<GetSdmMaskingPolicyDifferenceDifferenceColumnResult>
    def get_sdm_masking_policy_difference_difference_column(difference_column_key: Optional[str] = None,
                                                            sdm_masking_policy_difference_id: Optional[str] = None,
                                                            opts: Optional[InvokeOptions] = None) -> GetSdmMaskingPolicyDifferenceDifferenceColumnResult
    def get_sdm_masking_policy_difference_difference_column_output(difference_column_key: Optional[pulumi.Input[str]] = None,
                                                            sdm_masking_policy_difference_id: Optional[pulumi.Input[str]] = None,
                                                            opts: Optional[InvokeOptions] = None) -> Output[GetSdmMaskingPolicyDifferenceDifferenceColumnResult]
    func GetSdmMaskingPolicyDifferenceDifferenceColumn(ctx *Context, args *GetSdmMaskingPolicyDifferenceDifferenceColumnArgs, opts ...InvokeOption) (*GetSdmMaskingPolicyDifferenceDifferenceColumnResult, error)
    func GetSdmMaskingPolicyDifferenceDifferenceColumnOutput(ctx *Context, args *GetSdmMaskingPolicyDifferenceDifferenceColumnOutputArgs, opts ...InvokeOption) GetSdmMaskingPolicyDifferenceDifferenceColumnResultOutput

    > Note: This function is named GetSdmMaskingPolicyDifferenceDifferenceColumn in the Go SDK.

    public static class GetSdmMaskingPolicyDifferenceDifferenceColumn 
    {
        public static Task<GetSdmMaskingPolicyDifferenceDifferenceColumnResult> InvokeAsync(GetSdmMaskingPolicyDifferenceDifferenceColumnArgs args, InvokeOptions? opts = null)
        public static Output<GetSdmMaskingPolicyDifferenceDifferenceColumnResult> Invoke(GetSdmMaskingPolicyDifferenceDifferenceColumnInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSdmMaskingPolicyDifferenceDifferenceColumnResult> getSdmMaskingPolicyDifferenceDifferenceColumn(GetSdmMaskingPolicyDifferenceDifferenceColumnArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DataSafe/getSdmMaskingPolicyDifferenceDifferenceColumn:getSdmMaskingPolicyDifferenceDifferenceColumn
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DifferenceColumnKey string
    The unique key that identifies the difference column.
    SdmMaskingPolicyDifferenceId string
    The OCID of the SDM masking policy difference.
    DifferenceColumnKey string
    The unique key that identifies the difference column.
    SdmMaskingPolicyDifferenceId string
    The OCID of the SDM masking policy difference.
    differenceColumnKey String
    The unique key that identifies the difference column.
    sdmMaskingPolicyDifferenceId String
    The OCID of the SDM masking policy difference.
    differenceColumnKey string
    The unique key that identifies the difference column.
    sdmMaskingPolicyDifferenceId string
    The OCID of the SDM masking policy difference.
    difference_column_key str
    The unique key that identifies the difference column.
    sdm_masking_policy_difference_id str
    The OCID of the SDM masking policy difference.
    differenceColumnKey String
    The unique key that identifies the difference column.
    sdmMaskingPolicyDifferenceId String
    The OCID of the SDM masking policy difference.

    getSdmMaskingPolicyDifferenceDifferenceColumn Result

    The following output properties are available:

    ColumnName string
    The name of the difference column.
    DifferenceColumnKey string
    DifferenceType string
    The type of the SDM masking policy difference column. It can be one of the following three types: NEW: A new sensitive column in the sensitive data model that is not in the masking policy. DELETED: A column that is present in the masking policy but has been deleted from the sensitive data model. MODIFIED: A column that is present in the masking policy as well as the sensitive data model but some of its attributes have been modified.
    Id string
    The provider-assigned unique ID for this managed resource.
    Key string
    The unique key that identifies the SDM masking policy difference column.
    MaskingColumnkey string
    The unique key that identifies the masking column represented by the SDM masking policy difference column.
    Object string
    The database object that contains the difference column.
    PlannedAction string
    Specifies how to process the difference column. It's set to SYNC by default. Use the PatchSdmMaskingPolicyDifferenceColumns operation to update this attribute. You can choose one of the following options: SYNC: To sync the difference column and update the masking policy to reflect the changes. NO_SYNC: To not sync the difference column so that it doesn't change the masking policy. After specifying the planned action, you can use the ApplySdmMaskingPolicyDifference operation to automatically process the difference columns.
    SchemaName string
    The database schema that contains the difference column.
    SdmMaskingPolicyDifferenceId string
    SensitiveColumnkey string
    The unique key that identifies the sensitive column represented by the SDM masking policy difference column.
    SensitiveTypeId string
    The OCID of the sensitive type associated with the difference column.
    SyncStatus string
    Indicates if the difference column has been processed. Use GetDifferenceColumn operation to track whether the difference column has already been processed and applied to the masking policy.
    TimeLastSynced string
    The date and time the SDM masking policy difference column was last synced, in the format defined by RFC3339.
    ColumnName string
    The name of the difference column.
    DifferenceColumnKey string
    DifferenceType string
    The type of the SDM masking policy difference column. It can be one of the following three types: NEW: A new sensitive column in the sensitive data model that is not in the masking policy. DELETED: A column that is present in the masking policy but has been deleted from the sensitive data model. MODIFIED: A column that is present in the masking policy as well as the sensitive data model but some of its attributes have been modified.
    Id string
    The provider-assigned unique ID for this managed resource.
    Key string
    The unique key that identifies the SDM masking policy difference column.
    MaskingColumnkey string
    The unique key that identifies the masking column represented by the SDM masking policy difference column.
    Object string
    The database object that contains the difference column.
    PlannedAction string
    Specifies how to process the difference column. It's set to SYNC by default. Use the PatchSdmMaskingPolicyDifferenceColumns operation to update this attribute. You can choose one of the following options: SYNC: To sync the difference column and update the masking policy to reflect the changes. NO_SYNC: To not sync the difference column so that it doesn't change the masking policy. After specifying the planned action, you can use the ApplySdmMaskingPolicyDifference operation to automatically process the difference columns.
    SchemaName string
    The database schema that contains the difference column.
    SdmMaskingPolicyDifferenceId string
    SensitiveColumnkey string
    The unique key that identifies the sensitive column represented by the SDM masking policy difference column.
    SensitiveTypeId string
    The OCID of the sensitive type associated with the difference column.
    SyncStatus string
    Indicates if the difference column has been processed. Use GetDifferenceColumn operation to track whether the difference column has already been processed and applied to the masking policy.
    TimeLastSynced string
    The date and time the SDM masking policy difference column was last synced, in the format defined by RFC3339.
    columnName String
    The name of the difference column.
    differenceColumnKey String
    differenceType String
    The type of the SDM masking policy difference column. It can be one of the following three types: NEW: A new sensitive column in the sensitive data model that is not in the masking policy. DELETED: A column that is present in the masking policy but has been deleted from the sensitive data model. MODIFIED: A column that is present in the masking policy as well as the sensitive data model but some of its attributes have been modified.
    id String
    The provider-assigned unique ID for this managed resource.
    key String
    The unique key that identifies the SDM masking policy difference column.
    maskingColumnkey String
    The unique key that identifies the masking column represented by the SDM masking policy difference column.
    object String
    The database object that contains the difference column.
    plannedAction String
    Specifies how to process the difference column. It's set to SYNC by default. Use the PatchSdmMaskingPolicyDifferenceColumns operation to update this attribute. You can choose one of the following options: SYNC: To sync the difference column and update the masking policy to reflect the changes. NO_SYNC: To not sync the difference column so that it doesn't change the masking policy. After specifying the planned action, you can use the ApplySdmMaskingPolicyDifference operation to automatically process the difference columns.
    schemaName String
    The database schema that contains the difference column.
    sdmMaskingPolicyDifferenceId String
    sensitiveColumnkey String
    The unique key that identifies the sensitive column represented by the SDM masking policy difference column.
    sensitiveTypeId String
    The OCID of the sensitive type associated with the difference column.
    syncStatus String
    Indicates if the difference column has been processed. Use GetDifferenceColumn operation to track whether the difference column has already been processed and applied to the masking policy.
    timeLastSynced String
    The date and time the SDM masking policy difference column was last synced, in the format defined by RFC3339.
    columnName string
    The name of the difference column.
    differenceColumnKey string
    differenceType string
    The type of the SDM masking policy difference column. It can be one of the following three types: NEW: A new sensitive column in the sensitive data model that is not in the masking policy. DELETED: A column that is present in the masking policy but has been deleted from the sensitive data model. MODIFIED: A column that is present in the masking policy as well as the sensitive data model but some of its attributes have been modified.
    id string
    The provider-assigned unique ID for this managed resource.
    key string
    The unique key that identifies the SDM masking policy difference column.
    maskingColumnkey string
    The unique key that identifies the masking column represented by the SDM masking policy difference column.
    object string
    The database object that contains the difference column.
    plannedAction string
    Specifies how to process the difference column. It's set to SYNC by default. Use the PatchSdmMaskingPolicyDifferenceColumns operation to update this attribute. You can choose one of the following options: SYNC: To sync the difference column and update the masking policy to reflect the changes. NO_SYNC: To not sync the difference column so that it doesn't change the masking policy. After specifying the planned action, you can use the ApplySdmMaskingPolicyDifference operation to automatically process the difference columns.
    schemaName string
    The database schema that contains the difference column.
    sdmMaskingPolicyDifferenceId string
    sensitiveColumnkey string
    The unique key that identifies the sensitive column represented by the SDM masking policy difference column.
    sensitiveTypeId string
    The OCID of the sensitive type associated with the difference column.
    syncStatus string
    Indicates if the difference column has been processed. Use GetDifferenceColumn operation to track whether the difference column has already been processed and applied to the masking policy.
    timeLastSynced string
    The date and time the SDM masking policy difference column was last synced, in the format defined by RFC3339.
    column_name str
    The name of the difference column.
    difference_column_key str
    difference_type str
    The type of the SDM masking policy difference column. It can be one of the following three types: NEW: A new sensitive column in the sensitive data model that is not in the masking policy. DELETED: A column that is present in the masking policy but has been deleted from the sensitive data model. MODIFIED: A column that is present in the masking policy as well as the sensitive data model but some of its attributes have been modified.
    id str
    The provider-assigned unique ID for this managed resource.
    key str
    The unique key that identifies the SDM masking policy difference column.
    masking_columnkey str
    The unique key that identifies the masking column represented by the SDM masking policy difference column.
    object str
    The database object that contains the difference column.
    planned_action str
    Specifies how to process the difference column. It's set to SYNC by default. Use the PatchSdmMaskingPolicyDifferenceColumns operation to update this attribute. You can choose one of the following options: SYNC: To sync the difference column and update the masking policy to reflect the changes. NO_SYNC: To not sync the difference column so that it doesn't change the masking policy. After specifying the planned action, you can use the ApplySdmMaskingPolicyDifference operation to automatically process the difference columns.
    schema_name str
    The database schema that contains the difference column.
    sdm_masking_policy_difference_id str
    sensitive_columnkey str
    The unique key that identifies the sensitive column represented by the SDM masking policy difference column.
    sensitive_type_id str
    The OCID of the sensitive type associated with the difference column.
    sync_status str
    Indicates if the difference column has been processed. Use GetDifferenceColumn operation to track whether the difference column has already been processed and applied to the masking policy.
    time_last_synced str
    The date and time the SDM masking policy difference column was last synced, in the format defined by RFC3339.
    columnName String
    The name of the difference column.
    differenceColumnKey String
    differenceType String
    The type of the SDM masking policy difference column. It can be one of the following three types: NEW: A new sensitive column in the sensitive data model that is not in the masking policy. DELETED: A column that is present in the masking policy but has been deleted from the sensitive data model. MODIFIED: A column that is present in the masking policy as well as the sensitive data model but some of its attributes have been modified.
    id String
    The provider-assigned unique ID for this managed resource.
    key String
    The unique key that identifies the SDM masking policy difference column.
    maskingColumnkey String
    The unique key that identifies the masking column represented by the SDM masking policy difference column.
    object String
    The database object that contains the difference column.
    plannedAction String
    Specifies how to process the difference column. It's set to SYNC by default. Use the PatchSdmMaskingPolicyDifferenceColumns operation to update this attribute. You can choose one of the following options: SYNC: To sync the difference column and update the masking policy to reflect the changes. NO_SYNC: To not sync the difference column so that it doesn't change the masking policy. After specifying the planned action, you can use the ApplySdmMaskingPolicyDifference operation to automatically process the difference columns.
    schemaName String
    The database schema that contains the difference column.
    sdmMaskingPolicyDifferenceId String
    sensitiveColumnkey String
    The unique key that identifies the sensitive column represented by the SDM masking policy difference column.
    sensitiveTypeId String
    The OCID of the sensitive type associated with the difference column.
    syncStatus String
    Indicates if the difference column has been processed. Use GetDifferenceColumn operation to track whether the difference column has already been processed and applied to the masking policy.
    timeLastSynced String
    The date and time the SDM masking policy difference column was last synced, in the format defined by RFC3339.

    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.32.0 published on Thursday, Apr 18, 2024 by Pulumi