1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getSdmMaskingPolicyDifference
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.DataSafe.getSdmMaskingPolicyDifference

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This data source provides details about a specific Sdm Masking Policy Difference resource in Oracle Cloud Infrastructure Data Safe service.

    Gets the details of the specified SDM Masking policy difference.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSdmMaskingPolicyDifference = oci.DataSafe.getSdmMaskingPolicyDifference({
        sdmMaskingPolicyDifferenceId: testSdmMaskingPolicyDifferenceOciDataSafeSdmMaskingPolicyDifference.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_sdm_masking_policy_difference = oci.DataSafe.get_sdm_masking_policy_difference(sdm_masking_policy_difference_id=test_sdm_masking_policy_difference_oci_data_safe_sdm_masking_policy_difference["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/DataSafe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataSafe.GetSdmMaskingPolicyDifference(ctx, &datasafe.GetSdmMaskingPolicyDifferenceArgs{
    			SdmMaskingPolicyDifferenceId: testSdmMaskingPolicyDifferenceOciDataSafeSdmMaskingPolicyDifference.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testSdmMaskingPolicyDifference = Oci.DataSafe.GetSdmMaskingPolicyDifference.Invoke(new()
        {
            SdmMaskingPolicyDifferenceId = testSdmMaskingPolicyDifferenceOciDataSafeSdmMaskingPolicyDifference.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataSafe.DataSafeFunctions;
    import com.pulumi.oci.DataSafe.inputs.GetSdmMaskingPolicyDifferenceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testSdmMaskingPolicyDifference = DataSafeFunctions.getSdmMaskingPolicyDifference(GetSdmMaskingPolicyDifferenceArgs.builder()
                .sdmMaskingPolicyDifferenceId(testSdmMaskingPolicyDifferenceOciDataSafeSdmMaskingPolicyDifference.id())
                .build());
    
        }
    }
    
    variables:
      testSdmMaskingPolicyDifference:
        fn::invoke:
          Function: oci:DataSafe:getSdmMaskingPolicyDifference
          Arguments:
            sdmMaskingPolicyDifferenceId: ${testSdmMaskingPolicyDifferenceOciDataSafeSdmMaskingPolicyDifference.id}
    

    Using getSdmMaskingPolicyDifference

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSdmMaskingPolicyDifference(args: GetSdmMaskingPolicyDifferenceArgs, opts?: InvokeOptions): Promise<GetSdmMaskingPolicyDifferenceResult>
    function getSdmMaskingPolicyDifferenceOutput(args: GetSdmMaskingPolicyDifferenceOutputArgs, opts?: InvokeOptions): Output<GetSdmMaskingPolicyDifferenceResult>
    def get_sdm_masking_policy_difference(sdm_masking_policy_difference_id: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetSdmMaskingPolicyDifferenceResult
    def get_sdm_masking_policy_difference_output(sdm_masking_policy_difference_id: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetSdmMaskingPolicyDifferenceResult]
    func GetSdmMaskingPolicyDifference(ctx *Context, args *GetSdmMaskingPolicyDifferenceArgs, opts ...InvokeOption) (*GetSdmMaskingPolicyDifferenceResult, error)
    func GetSdmMaskingPolicyDifferenceOutput(ctx *Context, args *GetSdmMaskingPolicyDifferenceOutputArgs, opts ...InvokeOption) GetSdmMaskingPolicyDifferenceResultOutput

    > Note: This function is named GetSdmMaskingPolicyDifference in the Go SDK.

    public static class GetSdmMaskingPolicyDifference 
    {
        public static Task<GetSdmMaskingPolicyDifferenceResult> InvokeAsync(GetSdmMaskingPolicyDifferenceArgs args, InvokeOptions? opts = null)
        public static Output<GetSdmMaskingPolicyDifferenceResult> Invoke(GetSdmMaskingPolicyDifferenceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSdmMaskingPolicyDifferenceResult> getSdmMaskingPolicyDifference(GetSdmMaskingPolicyDifferenceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DataSafe/getSdmMaskingPolicyDifference:getSdmMaskingPolicyDifference
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SdmMaskingPolicyDifferenceId string
    The OCID of the SDM masking policy difference.
    SdmMaskingPolicyDifferenceId string
    The OCID of the SDM masking policy difference.
    sdmMaskingPolicyDifferenceId String
    The OCID of the SDM masking policy difference.
    sdmMaskingPolicyDifferenceId string
    The OCID of the SDM masking policy difference.
    sdm_masking_policy_difference_id str
    The OCID of the SDM masking policy difference.
    sdmMaskingPolicyDifferenceId String
    The OCID of the SDM masking policy difference.

    getSdmMaskingPolicyDifference Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    DifferenceType string
    The type of the SDM masking policy difference. It defines the difference scope. NEW identifies new sensitive columns in the sensitive data model that are not in the masking policy. DELETED identifies columns that are present in the masking policy but have been deleted from the sensitive data model. MODIFIED identifies columns that are present in the sensitive data model as well as the masking policy but some of their attributes have been modified. ALL covers all the above three scenarios and reports new, deleted and modified columns.
    DisplayName string
    The display name of the SDM masking policy difference.
    FreeformTags Dictionary<string, object>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    Id string
    The OCID of the Sensitive data model and masking policy difference resource.
    MaskingPolicyId string
    The OCID of the masking policy associated with the SDM masking policy difference.
    SdmMaskingPolicyDifferenceId string
    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
    The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    DifferenceType string
    The type of the SDM masking policy difference. It defines the difference scope. NEW identifies new sensitive columns in the sensitive data model that are not in the masking policy. DELETED identifies columns that are present in the masking policy but have been deleted from the sensitive data model. MODIFIED identifies columns that are present in the sensitive data model as well as the masking policy but some of their attributes have been modified. ALL covers all the above three scenarios and reports new, deleted and modified columns.
    DisplayName string
    The display name of the SDM masking policy difference.
    FreeformTags map[string]interface{}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    Id string
    The OCID of the Sensitive data model and masking policy difference resource.
    MaskingPolicyId string
    The OCID of the masking policy associated with the SDM masking policy difference.
    SdmMaskingPolicyDifferenceId string
    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
    The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    differenceType String
    The type of the SDM masking policy difference. It defines the difference scope. NEW identifies new sensitive columns in the sensitive data model that are not in the masking policy. DELETED identifies columns that are present in the masking policy but have been deleted from the sensitive data model. MODIFIED identifies columns that are present in the sensitive data model as well as the masking policy but some of their attributes have been modified. ALL covers all the above three scenarios and reports new, deleted and modified columns.
    displayName String
    The display name of the SDM masking policy difference.
    freeformTags Map<String,Object>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    id String
    The OCID of the Sensitive data model and masking policy difference resource.
    maskingPolicyId String
    The OCID of the masking policy associated with the SDM masking policy difference.
    sdmMaskingPolicyDifferenceId String
    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
    The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    differenceType string
    The type of the SDM masking policy difference. It defines the difference scope. NEW identifies new sensitive columns in the sensitive data model that are not in the masking policy. DELETED identifies columns that are present in the masking policy but have been deleted from the sensitive data model. MODIFIED identifies columns that are present in the sensitive data model as well as the masking policy but some of their attributes have been modified. ALL covers all the above three scenarios and reports new, deleted and modified columns.
    displayName string
    The display name of the SDM masking policy difference.
    freeformTags {[key: string]: any}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    id string
    The OCID of the Sensitive data model and masking policy difference resource.
    maskingPolicyId string
    The OCID of the masking policy associated with the SDM masking policy difference.
    sdmMaskingPolicyDifferenceId string
    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
    The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    difference_type str
    The type of the SDM masking policy difference. It defines the difference scope. NEW identifies new sensitive columns in the sensitive data model that are not in the masking policy. DELETED identifies columns that are present in the masking policy but have been deleted from the sensitive data model. MODIFIED identifies columns that are present in the sensitive data model as well as the masking policy but some of their attributes have been modified. ALL covers all the above three scenarios and reports new, deleted and modified columns.
    display_name str
    The display name of the SDM masking policy difference.
    freeform_tags Mapping[str, Any]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    id str
    The OCID of the Sensitive data model and masking policy difference resource.
    masking_policy_id str
    The OCID of the masking policy associated with the SDM masking policy difference.
    sdm_masking_policy_difference_id str
    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
    The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    differenceType String
    The type of the SDM masking policy difference. It defines the difference scope. NEW identifies new sensitive columns in the sensitive data model that are not in the masking policy. DELETED identifies columns that are present in the masking policy but have been deleted from the sensitive data model. MODIFIED identifies columns that are present in the sensitive data model as well as the masking policy but some of their attributes have been modified. ALL covers all the above three scenarios and reports new, deleted and modified columns.
    displayName String
    The display name of the SDM masking policy difference.
    freeformTags Map<Any>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
    id String
    The OCID of the Sensitive data model and masking policy difference resource.
    maskingPolicyId String
    The OCID of the masking policy associated with the SDM masking policy difference.
    sdmMaskingPolicyDifferenceId String
    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.

    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.41.0 published on Wednesday, Jun 19, 2024 by Pulumi