1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. SdmMaskingPolicyDifference
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.DataSafe.SdmMaskingPolicyDifference

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 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("test_sdm_masking_policy_difference", {
        compartmentId: compartmentId,
        maskingPolicyId: testMaskingPolicy.id,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        differenceType: sdmMaskingPolicyDifferenceDifferenceType,
        displayName: sdmMaskingPolicyDifferenceDisplayName,
        freeformTags: {
            Department: "Finance",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_sdm_masking_policy_difference = oci.data_safe.SdmMaskingPolicyDifference("test_sdm_masking_policy_difference",
        compartment_id=compartment_id,
        masking_policy_id=test_masking_policy["id"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        difference_type=sdm_masking_policy_difference_difference_type,
        display_name=sdm_masking_policy_difference_display_name,
        freeform_tags={
            "Department": "Finance",
        })
    
    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.NewSdmMaskingPolicyDifference(ctx, "test_sdm_masking_policy_difference", &DataSafe.SdmMaskingPolicyDifferenceArgs{
    			CompartmentId:   pulumi.Any(compartmentId),
    			MaskingPolicyId: pulumi.Any(testMaskingPolicy.Id),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			DifferenceType: pulumi.Any(sdmMaskingPolicyDifferenceDifferenceType),
    			DisplayName:    pulumi.Any(sdmMaskingPolicyDifferenceDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("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("test_sdm_masking_policy_difference", new()
        {
            CompartmentId = compartmentId,
            MaskingPolicyId = testMaskingPolicy.Id,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DifferenceType = sdmMaskingPolicyDifferenceDifferenceType,
            DisplayName = sdmMaskingPolicyDifferenceDisplayName,
            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(compartmentId)
                .maskingPolicyId(testMaskingPolicy.id())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .differenceType(sdmMaskingPolicyDifferenceDifferenceType)
                .displayName(sdmMaskingPolicyDifferenceDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .build());
    
        }
    }
    
    resources:
      testSdmMaskingPolicyDifference:
        type: oci:DataSafe:SdmMaskingPolicyDifference
        name: test_sdm_masking_policy_difference
        properties:
          compartmentId: ${compartmentId}
          maskingPolicyId: ${testMaskingPolicy.id}
          definedTags:
            Operations.CostCenter: '42'
          differenceType: ${sdmMaskingPolicyDifferenceDifferenceType}
          displayName: ${sdmMaskingPolicyDifferenceDisplayName}
          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, str]] = None,
                                   difference_type: Optional[str] = None,
                                   display_name: Optional[str] = None,
                                   freeform_tags: Optional[Mapping[str, str]] = 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.

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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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, string>
    (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, string>
    (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]string
    (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]string
    (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,String>
    (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,String>
    (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]: string}
    (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]: string}
    (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, str]
    (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, str]
    (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>
    (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>
    (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, 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.
    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]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.
    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,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.
    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]: 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.
    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, 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_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<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.
    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, str]] = None,
            difference_type: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            masking_policy_id: Optional[str] = None,
            sensitive_data_model_id: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = 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, string>
    (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, string>
    (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, 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.
    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]string
    (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]string
    (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]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.
    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,String>
    (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,String>
    (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,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.
    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]: string}
    (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]: string}
    (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]: 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.
    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, str]
    (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, str]
    (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, 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_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<String>
    (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>
    (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>
    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 v2.17.0 published on Friday, Nov 15, 2024 by Pulumi