Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.DataSafe.getSdmMaskingPolicyDifferenceDifferenceColumn
Explore with Pulumi AI
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: sdmMaskingPolicyDifferenceDifferenceColumnDifferenceColumnKey,
    sdmMaskingPolicyDifferenceId: testSdmMaskingPolicyDifference.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=sdm_masking_policy_difference_difference_column_difference_column_key,
    sdm_masking_policy_difference_id=test_sdm_masking_policy_difference["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.GetSdmMaskingPolicyDifferenceDifferenceColumn(ctx, &datasafe.GetSdmMaskingPolicyDifferenceDifferenceColumnArgs{
			DifferenceColumnKey:          sdmMaskingPolicyDifferenceDifferenceColumnDifferenceColumnKey,
			SdmMaskingPolicyDifferenceId: testSdmMaskingPolicyDifference.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 = sdmMaskingPolicyDifferenceDifferenceColumnDifferenceColumnKey,
        SdmMaskingPolicyDifferenceId = testSdmMaskingPolicyDifference.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(sdmMaskingPolicyDifferenceDifferenceColumnDifferenceColumnKey)
            .sdmMaskingPolicyDifferenceId(testSdmMaskingPolicyDifference.id())
            .build());
    }
}
variables:
  testSdmMaskingPolicyDifferenceDifferenceColumn:
    fn::invoke:
      function: oci:DataSafe:getSdmMaskingPolicyDifferenceDifferenceColumn
      arguments:
        differenceColumnKey: ${sdmMaskingPolicyDifferenceDifferenceColumnDifferenceColumnKey}
        sdmMaskingPolicyDifferenceId: ${testSdmMaskingPolicyDifference.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)
public static Output<GetSdmMaskingPolicyDifferenceDifferenceColumnResult> getSdmMaskingPolicyDifferenceDifferenceColumn(GetSdmMaskingPolicyDifferenceDifferenceColumnArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DataSafe/getSdmMaskingPolicyDifferenceDifferenceColumn:getSdmMaskingPolicyDifferenceDifferenceColumn
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DifferenceColumn stringKey 
- The unique key that identifies the difference column.
- SdmMasking stringPolicy Difference Id 
- The OCID of the SDM masking policy difference.
- DifferenceColumn stringKey 
- The unique key that identifies the difference column.
- SdmMasking stringPolicy Difference Id 
- The OCID of the SDM masking policy difference.
- differenceColumn StringKey 
- The unique key that identifies the difference column.
- sdmMasking StringPolicy Difference Id 
- The OCID of the SDM masking policy difference.
- differenceColumn stringKey 
- The unique key that identifies the difference column.
- sdmMasking stringPolicy Difference Id 
- The OCID of the SDM masking policy difference.
- difference_column_ strkey 
- The unique key that identifies the difference column.
- sdm_masking_ strpolicy_ difference_ id 
- The OCID of the SDM masking policy difference.
- differenceColumn StringKey 
- The unique key that identifies the difference column.
- sdmMasking StringPolicy Difference Id 
- The OCID of the SDM masking policy difference.
getSdmMaskingPolicyDifferenceDifferenceColumn Result
The following output properties are available:
- ColumnName string
- The name of the difference column.
- DifferenceColumn stringKey 
- 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.
- SdmMasking stringPolicy Difference Id 
- SensitiveColumnkey string
- The unique key that identifies the sensitive column represented by the SDM masking policy difference column.
- SensitiveType stringId 
- 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.
- TimeLast stringSynced 
- 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.
- DifferenceColumn stringKey 
- 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.
- SdmMasking stringPolicy Difference Id 
- SensitiveColumnkey string
- The unique key that identifies the sensitive column represented by the SDM masking policy difference column.
- SensitiveType stringId 
- 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.
- TimeLast stringSynced 
- 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.
- differenceColumn StringKey 
- 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.
- sdmMasking StringPolicy Difference Id 
- sensitiveColumnkey String
- The unique key that identifies the sensitive column represented by the SDM masking policy difference column.
- sensitiveType StringId 
- 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.
- timeLast StringSynced 
- 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.
- differenceColumn stringKey 
- 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.
- sdmMasking stringPolicy Difference Id 
- sensitiveColumnkey string
- The unique key that identifies the sensitive column represented by the SDM masking policy difference column.
- sensitiveType stringId 
- 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.
- timeLast stringSynced 
- 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_ strkey 
- 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_ strpolicy_ difference_ id 
- sensitive_columnkey str
- The unique key that identifies the sensitive column represented by the SDM masking policy difference column.
- sensitive_type_ strid 
- 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_ strsynced 
- 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.
- differenceColumn StringKey 
- 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.
- sdmMasking StringPolicy Difference Id 
- sensitiveColumnkey String
- The unique key that identifies the sensitive column represented by the SDM masking policy difference column.
- sensitiveType StringId 
- 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.
- timeLast StringSynced 
- 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 ociTerraform Provider.