Oracle Cloud Infrastructure v2.27.0 published on Thursday, Mar 20, 2025 by Pulumi
oci.DataSafe.getSdmMaskingPolicyDifference
Explore with Pulumi AI
This data source provides details about a specific Sdm Masking Policy Difference resource in Oracle Cloud Infrastructure Data Safe service.
Gets the details of the specified SDM Masking policy difference.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSdmMaskingPolicyDifference = oci.DataSafe.getSdmMaskingPolicyDifference({
    sdmMaskingPolicyDifferenceId: testSdmMaskingPolicyDifferenceOciDataSafeSdmMaskingPolicyDifference.id,
});
import pulumi
import pulumi_oci as oci
test_sdm_masking_policy_difference = oci.DataSafe.get_sdm_masking_policy_difference(sdm_masking_policy_difference_id=test_sdm_masking_policy_difference_oci_data_safe_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.GetSdmMaskingPolicyDifference(ctx, &datasafe.GetSdmMaskingPolicyDifferenceArgs{
			SdmMaskingPolicyDifferenceId: testSdmMaskingPolicyDifferenceOciDataSafeSdmMaskingPolicyDifference.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 testSdmMaskingPolicyDifference = Oci.DataSafe.GetSdmMaskingPolicyDifference.Invoke(new()
    {
        SdmMaskingPolicyDifferenceId = testSdmMaskingPolicyDifferenceOciDataSafeSdmMaskingPolicyDifference.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.GetSdmMaskingPolicyDifferenceArgs;
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 testSdmMaskingPolicyDifference = DataSafeFunctions.getSdmMaskingPolicyDifference(GetSdmMaskingPolicyDifferenceArgs.builder()
            .sdmMaskingPolicyDifferenceId(testSdmMaskingPolicyDifferenceOciDataSafeSdmMaskingPolicyDifference.id())
            .build());
    }
}
variables:
  testSdmMaskingPolicyDifference:
    fn::invoke:
      function: oci:DataSafe:getSdmMaskingPolicyDifference
      arguments:
        sdmMaskingPolicyDifferenceId: ${testSdmMaskingPolicyDifferenceOciDataSafeSdmMaskingPolicyDifference.id}
Using getSdmMaskingPolicyDifference
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 getSdmMaskingPolicyDifference(args: GetSdmMaskingPolicyDifferenceArgs, opts?: InvokeOptions): Promise<GetSdmMaskingPolicyDifferenceResult>
function getSdmMaskingPolicyDifferenceOutput(args: GetSdmMaskingPolicyDifferenceOutputArgs, opts?: InvokeOptions): Output<GetSdmMaskingPolicyDifferenceResult>def get_sdm_masking_policy_difference(sdm_masking_policy_difference_id: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetSdmMaskingPolicyDifferenceResult
def get_sdm_masking_policy_difference_output(sdm_masking_policy_difference_id: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetSdmMaskingPolicyDifferenceResult]func GetSdmMaskingPolicyDifference(ctx *Context, args *GetSdmMaskingPolicyDifferenceArgs, opts ...InvokeOption) (*GetSdmMaskingPolicyDifferenceResult, error)
func GetSdmMaskingPolicyDifferenceOutput(ctx *Context, args *GetSdmMaskingPolicyDifferenceOutputArgs, opts ...InvokeOption) GetSdmMaskingPolicyDifferenceResultOutput> Note: This function is named GetSdmMaskingPolicyDifference in the Go SDK.
public static class GetSdmMaskingPolicyDifference 
{
    public static Task<GetSdmMaskingPolicyDifferenceResult> InvokeAsync(GetSdmMaskingPolicyDifferenceArgs args, InvokeOptions? opts = null)
    public static Output<GetSdmMaskingPolicyDifferenceResult> Invoke(GetSdmMaskingPolicyDifferenceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSdmMaskingPolicyDifferenceResult> getSdmMaskingPolicyDifference(GetSdmMaskingPolicyDifferenceArgs args, InvokeOptions options)
public static Output<GetSdmMaskingPolicyDifferenceResult> getSdmMaskingPolicyDifference(GetSdmMaskingPolicyDifferenceArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DataSafe/getSdmMaskingPolicyDifference:getSdmMaskingPolicyDifference
  arguments:
    # arguments dictionaryThe following arguments are supported:
- SdmMasking stringPolicy Difference Id 
- The OCID of the SDM masking policy difference.
- SdmMasking stringPolicy Difference Id 
- The OCID of the SDM masking policy difference.
- sdmMasking StringPolicy Difference Id 
- The OCID of the SDM masking policy difference.
- sdmMasking stringPolicy Difference Id 
- The OCID of the SDM masking policy difference.
- sdm_masking_ strpolicy_ difference_ id 
- The OCID of the SDM masking policy difference.
- sdmMasking StringPolicy Difference Id 
- The OCID of the SDM masking policy difference.
getSdmMaskingPolicyDifference Result
The following output properties are available:
- CompartmentId string
- The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
- DifferenceType string
- The type of the SDM masking policy difference. It defines the difference scope. NEW identifies new sensitive columns in the sensitive data model that are not in the masking policy. DELETED identifies columns that are present in the masking policy but have been deleted from the sensitive data model. MODIFIED identifies columns that are present in the sensitive data model as well as the masking policy but some of their attributes have been modified. ALL covers all the above three scenarios and reports new, deleted and modified columns.
- DisplayName string
- The display name of the SDM masking policy difference.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
- Id string
- The OCID of the Sensitive data model and masking policy difference resource.
- MaskingPolicy stringId 
- The OCID of the masking policy associated with the SDM masking policy difference.
- SdmMasking stringPolicy Difference Id 
- SensitiveData stringModel Id 
- The OCID of the sensitive data model associated with the SDM masking policy difference.
- State string
- The current state of the SDM masking policy difference.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The date and time the SDM masking policy difference was created, in the format defined by RFC3339.
- TimeCreation stringStarted 
- The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
- CompartmentId string
- The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
- DifferenceType string
- The type of the SDM masking policy difference. It defines the difference scope. NEW identifies new sensitive columns in the sensitive data model that are not in the masking policy. DELETED identifies columns that are present in the masking policy but have been deleted from the sensitive data model. MODIFIED identifies columns that are present in the sensitive data model as well as the masking policy but some of their attributes have been modified. ALL covers all the above three scenarios and reports new, deleted and modified columns.
- DisplayName string
- The display name of the SDM masking policy difference.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
- Id string
- The OCID of the Sensitive data model and masking policy difference resource.
- MaskingPolicy stringId 
- The OCID of the masking policy associated with the SDM masking policy difference.
- SdmMasking stringPolicy Difference Id 
- SensitiveData stringModel Id 
- The OCID of the sensitive data model associated with the SDM masking policy difference.
- State string
- The current state of the SDM masking policy difference.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
- TimeCreated string
- The date and time the SDM masking policy difference was created, in the format defined by RFC3339.
- TimeCreation stringStarted 
- The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
- compartmentId String
- The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
- differenceType String
- The type of the SDM masking policy difference. It defines the difference scope. NEW identifies new sensitive columns in the sensitive data model that are not in the masking policy. DELETED identifies columns that are present in the masking policy but have been deleted from the sensitive data model. MODIFIED identifies columns that are present in the sensitive data model as well as the masking policy but some of their attributes have been modified. ALL covers all the above three scenarios and reports new, deleted and modified columns.
- displayName String
- The display name of the SDM masking policy difference.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
- id String
- The OCID of the Sensitive data model and masking policy difference resource.
- maskingPolicy StringId 
- The OCID of the masking policy associated with the SDM masking policy difference.
- sdmMasking StringPolicy Difference Id 
- sensitiveData StringModel Id 
- The OCID of the sensitive data model associated with the SDM masking policy difference.
- state String
- The current state of the SDM masking policy difference.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The date and time the SDM masking policy difference was created, in the format defined by RFC3339.
- timeCreation StringStarted 
- The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
- compartmentId string
- The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
- differenceType string
- The type of the SDM masking policy difference. It defines the difference scope. NEW identifies new sensitive columns in the sensitive data model that are not in the masking policy. DELETED identifies columns that are present in the masking policy but have been deleted from the sensitive data model. MODIFIED identifies columns that are present in the sensitive data model as well as the masking policy but some of their attributes have been modified. ALL covers all the above three scenarios and reports new, deleted and modified columns.
- displayName string
- The display name of the SDM masking policy difference.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
- id string
- The OCID of the Sensitive data model and masking policy difference resource.
- maskingPolicy stringId 
- The OCID of the masking policy associated with the SDM masking policy difference.
- sdmMasking stringPolicy Difference Id 
- sensitiveData stringModel Id 
- The OCID of the sensitive data model associated with the SDM masking policy difference.
- state string
- The current state of the SDM masking policy difference.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated string
- The date and time the SDM masking policy difference was created, in the format defined by RFC3339.
- timeCreation stringStarted 
- The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
- compartment_id str
- The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
- difference_type str
- The type of the SDM masking policy difference. It defines the difference scope. NEW identifies new sensitive columns in the sensitive data model that are not in the masking policy. DELETED identifies columns that are present in the masking policy but have been deleted from the sensitive data model. MODIFIED identifies columns that are present in the sensitive data model as well as the masking policy but some of their attributes have been modified. ALL covers all the above three scenarios and reports new, deleted and modified columns.
- display_name str
- The display name of the SDM masking policy difference.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
- id str
- The OCID of the Sensitive data model and masking policy difference resource.
- masking_policy_ strid 
- The OCID of the masking policy associated with the SDM masking policy difference.
- sdm_masking_ strpolicy_ difference_ id 
- sensitive_data_ strmodel_ id 
- The OCID of the sensitive data model associated with the SDM masking policy difference.
- state str
- The current state of the SDM masking policy difference.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
- time_created str
- The date and time the SDM masking policy difference was created, in the format defined by RFC3339.
- time_creation_ strstarted 
- The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
- compartmentId String
- The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
- differenceType String
- The type of the SDM masking policy difference. It defines the difference scope. NEW identifies new sensitive columns in the sensitive data model that are not in the masking policy. DELETED identifies columns that are present in the masking policy but have been deleted from the sensitive data model. MODIFIED identifies columns that are present in the sensitive data model as well as the masking policy but some of their attributes have been modified. ALL covers all the above three scenarios and reports new, deleted and modified columns.
- displayName String
- The display name of the SDM masking policy difference.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
- id String
- The OCID of the Sensitive data model and masking policy difference resource.
- maskingPolicy StringId 
- The OCID of the masking policy associated with the SDM masking policy difference.
- sdmMasking StringPolicy Difference Id 
- sensitiveData StringModel Id 
- The OCID of the sensitive data model associated with the SDM masking policy difference.
- state String
- The current state of the SDM masking policy difference.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
- timeCreated String
- The date and time the SDM masking policy difference was created, in the format defined by RFC3339.
- timeCreation StringStarted 
- The date and time the SDM masking policy difference creation started, 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.