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

oci.DataSafe.SdmMaskingPolicyDifference

Explore with Pulumi AI

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

    This resource provides the Sdm Masking Policy Difference resource in Oracle Cloud Infrastructure Data Safe service.

    Creates SDM masking policy difference for the specified masking policy. It finds the difference between masking columns of the masking policy and sensitive columns of the SDM. After performing this operation, you can use ListDifferenceColumns to view the difference columns, PatchSdmMaskingPolicyDifferenceColumns to specify the action you want perform on these columns, and then ApplySdmMaskingPolicyDifference to process the difference columns and apply them to the masking policy.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSdmMaskingPolicyDifference = new oci.datasafe.SdmMaskingPolicyDifference("testSdmMaskingPolicyDifference", {
        compartmentId: _var.compartment_id,
        maskingPolicyId: oci_data_safe_masking_policy.test_masking_policy.id,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        differenceType: _var.sdm_masking_policy_difference_difference_type,
        displayName: _var.sdm_masking_policy_difference_display_name,
        freeformTags: {
            Department: "Finance",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_sdm_masking_policy_difference = oci.data_safe.SdmMaskingPolicyDifference("testSdmMaskingPolicyDifference",
        compartment_id=var["compartment_id"],
        masking_policy_id=oci_data_safe_masking_policy["test_masking_policy"]["id"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        difference_type=var["sdm_masking_policy_difference_difference_type"],
        display_name=var["sdm_masking_policy_difference_display_name"],
        freeform_tags={
            "Department": "Finance",
        })
    
    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.NewSdmMaskingPolicyDifference(ctx, "testSdmMaskingPolicyDifference", &DataSafe.SdmMaskingPolicyDifferenceArgs{
    			CompartmentId:   pulumi.Any(_var.Compartment_id),
    			MaskingPolicyId: pulumi.Any(oci_data_safe_masking_policy.Test_masking_policy.Id),
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			DifferenceType: pulumi.Any(_var.Sdm_masking_policy_difference_difference_type),
    			DisplayName:    pulumi.Any(_var.Sdm_masking_policy_difference_display_name),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    		})
    		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 = new Oci.DataSafe.SdmMaskingPolicyDifference("testSdmMaskingPolicyDifference", new()
        {
            CompartmentId = @var.Compartment_id,
            MaskingPolicyId = oci_data_safe_masking_policy.Test_masking_policy.Id,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DifferenceType = @var.Sdm_masking_policy_difference_difference_type,
            DisplayName = @var.Sdm_masking_policy_difference_display_name,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataSafe.SdmMaskingPolicyDifference;
    import com.pulumi.oci.DataSafe.SdmMaskingPolicyDifferenceArgs;
    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) {
            var testSdmMaskingPolicyDifference = new SdmMaskingPolicyDifference("testSdmMaskingPolicyDifference", SdmMaskingPolicyDifferenceArgs.builder()        
                .compartmentId(var_.compartment_id())
                .maskingPolicyId(oci_data_safe_masking_policy.test_masking_policy().id())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .differenceType(var_.sdm_masking_policy_difference_difference_type())
                .displayName(var_.sdm_masking_policy_difference_display_name())
                .freeformTags(Map.of("Department", "Finance"))
                .build());
    
        }
    }
    
    resources:
      testSdmMaskingPolicyDifference:
        type: oci:DataSafe:SdmMaskingPolicyDifference
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          maskingPolicyId: ${oci_data_safe_masking_policy.test_masking_policy.id}
          #Optional
          definedTags:
            Operations.CostCenter: '42'
          differenceType: ${var.sdm_masking_policy_difference_difference_type}
          displayName: ${var.sdm_masking_policy_difference_display_name}
          freeformTags:
            Department: Finance
    

    Create SdmMaskingPolicyDifference Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SdmMaskingPolicyDifference(name: string, args: SdmMaskingPolicyDifferenceArgs, opts?: CustomResourceOptions);
    @overload
    def SdmMaskingPolicyDifference(resource_name: str,
                                   args: SdmMaskingPolicyDifferenceArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def SdmMaskingPolicyDifference(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   compartment_id: Optional[str] = None,
                                   masking_policy_id: Optional[str] = None,
                                   defined_tags: Optional[Mapping[str, Any]] = None,
                                   difference_type: Optional[str] = None,
                                   display_name: Optional[str] = None,
                                   freeform_tags: Optional[Mapping[str, Any]] = None)
    func NewSdmMaskingPolicyDifference(ctx *Context, name string, args SdmMaskingPolicyDifferenceArgs, opts ...ResourceOption) (*SdmMaskingPolicyDifference, error)
    public SdmMaskingPolicyDifference(string name, SdmMaskingPolicyDifferenceArgs args, CustomResourceOptions? opts = null)
    public SdmMaskingPolicyDifference(String name, SdmMaskingPolicyDifferenceArgs args)
    public SdmMaskingPolicyDifference(String name, SdmMaskingPolicyDifferenceArgs args, CustomResourceOptions options)
    
    type: oci:DataSafe:SdmMaskingPolicyDifference
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SdmMaskingPolicyDifferenceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SdmMaskingPolicyDifferenceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SdmMaskingPolicyDifferenceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SdmMaskingPolicyDifferenceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SdmMaskingPolicyDifferenceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var sdmMaskingPolicyDifferenceResource = new Oci.DataSafe.SdmMaskingPolicyDifference("sdmMaskingPolicyDifferenceResource", new()
    {
        CompartmentId = "string",
        MaskingPolicyId = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        DifferenceType = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
    });
    
    example, err := DataSafe.NewSdmMaskingPolicyDifference(ctx, "sdmMaskingPolicyDifferenceResource", &DataSafe.SdmMaskingPolicyDifferenceArgs{
    	CompartmentId:   pulumi.String("string"),
    	MaskingPolicyId: pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	DifferenceType: pulumi.String("string"),
    	DisplayName:    pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    })
    
    var sdmMaskingPolicyDifferenceResource = new SdmMaskingPolicyDifference("sdmMaskingPolicyDifferenceResource", SdmMaskingPolicyDifferenceArgs.builder()        
        .compartmentId("string")
        .maskingPolicyId("string")
        .definedTags(Map.of("string", "any"))
        .differenceType("string")
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .build());
    
    sdm_masking_policy_difference_resource = oci.data_safe.SdmMaskingPolicyDifference("sdmMaskingPolicyDifferenceResource",
        compartment_id="string",
        masking_policy_id="string",
        defined_tags={
            "string": "any",
        },
        difference_type="string",
        display_name="string",
        freeform_tags={
            "string": "any",
        })
    
    const sdmMaskingPolicyDifferenceResource = new oci.datasafe.SdmMaskingPolicyDifference("sdmMaskingPolicyDifferenceResource", {
        compartmentId: "string",
        maskingPolicyId: "string",
        definedTags: {
            string: "any",
        },
        differenceType: "string",
        displayName: "string",
        freeformTags: {
            string: "any",
        },
    });
    
    type: oci:DataSafe:SdmMaskingPolicyDifference
    properties:
        compartmentId: string
        definedTags:
            string: any
        differenceType: string
        displayName: string
        freeformTags:
            string: any
        maskingPolicyId: string
    

    SdmMaskingPolicyDifference Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SdmMaskingPolicyDifference resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
    MaskingPolicyId string

    The OCID of the masking policy. Note that if the masking policy is not associated with an SDM, CreateSdmMaskingPolicyDifference operation won't be allowed.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags Dictionary<string, object>
    (Updatable) 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
    (Updatable) A user-friendly name for the SDM masking policy difference. Does not have to be unique, and it is changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, object>
    (Updatable) 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"}
    CompartmentId string
    (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
    MaskingPolicyId string

    The OCID of the masking policy. Note that if the masking policy is not associated with an SDM, CreateSdmMaskingPolicyDifference operation won't be allowed.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags map[string]interface{}
    (Updatable) 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
    (Updatable) A user-friendly name for the SDM masking policy difference. Does not have to be unique, and it is changeable. Avoid entering confidential information.
    FreeformTags map[string]interface{}
    (Updatable) 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"}
    compartmentId String
    (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
    maskingPolicyId String

    The OCID of the masking policy. Note that if the masking policy is not associated with an SDM, CreateSdmMaskingPolicyDifference operation won't be allowed.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<String,Object>
    (Updatable) 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
    (Updatable) A user-friendly name for the SDM masking policy difference. Does not have to be unique, and it is changeable. Avoid entering confidential information.
    freeformTags Map<String,Object>
    (Updatable) 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"}
    compartmentId string
    (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
    maskingPolicyId string

    The OCID of the masking policy. Note that if the masking policy is not associated with an SDM, CreateSdmMaskingPolicyDifference operation won't be allowed.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags {[key: string]: any}
    (Updatable) 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
    (Updatable) A user-friendly name for the SDM masking policy difference. Does not have to be unique, and it is changeable. Avoid entering confidential information.
    freeformTags {[key: string]: any}
    (Updatable) 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"}
    compartment_id str
    (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
    masking_policy_id str

    The OCID of the masking policy. Note that if the masking policy is not associated with an SDM, CreateSdmMaskingPolicyDifference operation won't be allowed.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    defined_tags Mapping[str, Any]
    (Updatable) 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
    (Updatable) A user-friendly name for the SDM masking policy difference. Does not have to be unique, and it is changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, Any]
    (Updatable) 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"}
    compartmentId String
    (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
    maskingPolicyId String

    The OCID of the masking policy. Note that if the masking policy is not associated with an SDM, CreateSdmMaskingPolicyDifference operation won't be allowed.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<Any>
    (Updatable) 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
    (Updatable) A user-friendly name for the SDM masking policy difference. Does not have to be unique, and it is changeable. Avoid entering confidential information.
    freeformTags Map<Any>
    (Updatable) 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"}

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SdmMaskingPolicyDifference resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    SensitiveDataModelId string
    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.
    SystemTags Dictionary<string, object>
    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.
    TimeCreationStarted string
    The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
    Id string
    The provider-assigned unique ID for this managed resource.
    SensitiveDataModelId string
    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.
    SystemTags map[string]interface{}
    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.
    TimeCreationStarted string
    The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
    id String
    The provider-assigned unique ID for this managed resource.
    sensitiveDataModelId String
    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.
    systemTags Map<String,Object>
    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.
    timeCreationStarted String
    The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
    id string
    The provider-assigned unique ID for this managed resource.
    sensitiveDataModelId string
    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.
    systemTags {[key: string]: any}
    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.
    timeCreationStarted string
    The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
    id str
    The provider-assigned unique ID for this managed resource.
    sensitive_data_model_id str
    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.
    system_tags Mapping[str, Any]
    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_started str
    The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
    id String
    The provider-assigned unique ID for this managed resource.
    sensitiveDataModelId String
    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.
    systemTags Map<Any>
    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.
    timeCreationStarted String
    The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.

    Look up Existing SdmMaskingPolicyDifference Resource

    Get an existing SdmMaskingPolicyDifference resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SdmMaskingPolicyDifferenceState, opts?: CustomResourceOptions): SdmMaskingPolicyDifference
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            difference_type: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            masking_policy_id: Optional[str] = None,
            sensitive_data_model_id: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_created: Optional[str] = None,
            time_creation_started: Optional[str] = None) -> SdmMaskingPolicyDifference
    func GetSdmMaskingPolicyDifference(ctx *Context, name string, id IDInput, state *SdmMaskingPolicyDifferenceState, opts ...ResourceOption) (*SdmMaskingPolicyDifference, error)
    public static SdmMaskingPolicyDifference Get(string name, Input<string> id, SdmMaskingPolicyDifferenceState? state, CustomResourceOptions? opts = null)
    public static SdmMaskingPolicyDifference get(String name, Output<String> id, SdmMaskingPolicyDifferenceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
    DefinedTags Dictionary<string, object>
    (Updatable) 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
    (Updatable) A user-friendly name for the SDM masking policy difference. Does not have to be unique, and it is changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, object>
    (Updatable) 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"}
    MaskingPolicyId string

    The OCID of the masking policy. Note that if the masking policy is not associated with an SDM, CreateSdmMaskingPolicyDifference operation won't be allowed.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    SensitiveDataModelId string
    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.
    SystemTags Dictionary<string, object>
    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.
    TimeCreationStarted string
    The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
    CompartmentId string
    (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
    DefinedTags map[string]interface{}
    (Updatable) 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
    (Updatable) A user-friendly name for the SDM masking policy difference. Does not have to be unique, and it is changeable. Avoid entering confidential information.
    FreeformTags map[string]interface{}
    (Updatable) 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"}
    MaskingPolicyId string

    The OCID of the masking policy. Note that if the masking policy is not associated with an SDM, CreateSdmMaskingPolicyDifference operation won't be allowed.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    SensitiveDataModelId string
    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.
    SystemTags map[string]interface{}
    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.
    TimeCreationStarted string
    The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
    compartmentId String
    (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
    definedTags Map<String,Object>
    (Updatable) 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
    (Updatable) A user-friendly name for the SDM masking policy difference. Does not have to be unique, and it is changeable. Avoid entering confidential information.
    freeformTags Map<String,Object>
    (Updatable) 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"}
    maskingPolicyId String

    The OCID of the masking policy. Note that if the masking policy is not associated with an SDM, CreateSdmMaskingPolicyDifference operation won't be allowed.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    sensitiveDataModelId String
    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.
    systemTags Map<String,Object>
    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.
    timeCreationStarted String
    The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
    compartmentId string
    (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
    definedTags {[key: string]: any}
    (Updatable) 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
    (Updatable) A user-friendly name for the SDM masking policy difference. Does not have to be unique, and it is changeable. Avoid entering confidential information.
    freeformTags {[key: string]: any}
    (Updatable) 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"}
    maskingPolicyId string

    The OCID of the masking policy. Note that if the masking policy is not associated with an SDM, CreateSdmMaskingPolicyDifference operation won't be allowed.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    sensitiveDataModelId string
    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.
    systemTags {[key: string]: any}
    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.
    timeCreationStarted string
    The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
    compartment_id str
    (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
    defined_tags Mapping[str, Any]
    (Updatable) 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
    (Updatable) A user-friendly name for the SDM masking policy difference. Does not have to be unique, and it is changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, Any]
    (Updatable) 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"}
    masking_policy_id str

    The OCID of the masking policy. Note that if the masking policy is not associated with an SDM, CreateSdmMaskingPolicyDifference operation won't be allowed.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    sensitive_data_model_id str
    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.
    system_tags Mapping[str, Any]
    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_started str
    The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
    compartmentId String
    (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
    definedTags Map<Any>
    (Updatable) 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
    (Updatable) A user-friendly name for the SDM masking policy difference. Does not have to be unique, and it is changeable. Avoid entering confidential information.
    freeformTags Map<Any>
    (Updatable) 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"}
    maskingPolicyId String

    The OCID of the masking policy. Note that if the masking policy is not associated with an SDM, CreateSdmMaskingPolicyDifference operation won't be allowed.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    sensitiveDataModelId String
    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.
    systemTags Map<Any>
    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.
    timeCreationStarted String
    The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.

    Import

    SdmMaskingPolicyDifferences can be imported using the id, e.g.

    $ pulumi import oci:DataSafe/sdmMaskingPolicyDifference:SdmMaskingPolicyDifference test_sdm_masking_policy_difference "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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