oci.DataSafe.SdmMaskingPolicyDifference
Explore with Pulumi AI
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:
- Compartment
Id string - (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
- Masking
Policy stringId 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
- 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"}
- Difference
Type 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.
- Display
Name 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.
- 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"}
- Compartment
Id string - (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
- Masking
Policy stringId 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
- 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"}
- Difference
Type 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.
- Display
Name 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.
- 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"}
- compartment
Id String - (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
- masking
Policy StringId 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
- 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"}
- difference
Type 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.
- display
Name 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.
- 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"}
- compartment
Id string - (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
- masking
Policy stringId 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
- {[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"}
- difference
Type 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.
- display
Name 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.
- {[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_ strid 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
- 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.
- 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"}
- compartment
Id String - (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
- masking
Policy StringId 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
- 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"}
- difference
Type 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.
- display
Name 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.
- 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.
- Sensitive
Data 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"}
- Time
Created string - The date and time the SDM masking policy difference was created, in the format defined by RFC3339.
- Time
Creation stringStarted - 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.
- Sensitive
Data 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"}
- Time
Created string - The date and time the SDM masking policy difference was created, in the format defined by RFC3339.
- Time
Creation stringStarted - 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.
- sensitive
Data 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"}
- time
Created String - The date and time the SDM masking policy difference was created, in the format defined by RFC3339.
- time
Creation StringStarted - 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.
- sensitive
Data 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"}
- time
Created string - The date and time the SDM masking policy difference was created, in the format defined by RFC3339.
- time
Creation stringStarted - 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_ 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.
- id String
- The provider-assigned unique ID for this managed resource.
- sensitive
Data 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"}
- time
Created String - The date and time the SDM masking policy difference was created, in the format defined by RFC3339.
- time
Creation StringStarted - 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.
- Compartment
Id string - (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
- 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"}
- Difference
Type 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.
- Display
Name 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.
- 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"}
- Masking
Policy stringId 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 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"}
- Time
Created string - The date and time the SDM masking policy difference was created, in the format defined by RFC3339.
- Time
Creation stringStarted - The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
- Compartment
Id string - (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
- 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"}
- Difference
Type 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.
- Display
Name 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.
- 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"}
- Masking
Policy stringId 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 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"}
- Time
Created string - The date and time the SDM masking policy difference was created, in the format defined by RFC3339.
- Time
Creation stringStarted - The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
- compartment
Id String - (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
- 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"}
- difference
Type 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.
- display
Name 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.
- 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"}
- masking
Policy StringId 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 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"}
- time
Created String - The date and time the SDM masking policy difference was created, in the format defined by RFC3339.
- time
Creation StringStarted - The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
- compartment
Id string - (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
- {[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"}
- difference
Type 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.
- display
Name 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.
- {[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"}
- masking
Policy stringId 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 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"}
- time
Created string - The date and time the SDM masking policy difference was created, in the format defined by RFC3339.
- time
Creation stringStarted - 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.
- 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.
- 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_ strid 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_ 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.
- compartment
Id String - (Updatable) The OCID of the compartment where the SDM masking policy difference resource should be created.
- 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"}
- difference
Type 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.
- display
Name 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.
- 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"}
- masking
Policy StringId 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 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"}
- time
Created String - The date and time the SDM masking policy difference was created, in the format defined by RFC3339.
- time
Creation StringStarted - 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.