Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.DataSafe.getSdmMaskingPolicyDifference
Explore with Pulumi AI
This data source provides details about a specific Sdm Masking Policy Difference resource in Oracle Cloud Infrastructure Data Safe service.
Gets the details of the specified SDM Masking policy difference.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSdmMaskingPolicyDifference = oci.DataSafe.getSdmMaskingPolicyDifference({
sdmMaskingPolicyDifferenceId: testSdmMaskingPolicyDifferenceOciDataSafeSdmMaskingPolicyDifference.id,
});
import pulumi
import pulumi_oci as oci
test_sdm_masking_policy_difference = oci.DataSafe.get_sdm_masking_policy_difference(sdm_masking_policy_difference_id=test_sdm_masking_policy_difference_oci_data_safe_sdm_masking_policy_difference["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DataSafe.GetSdmMaskingPolicyDifference(ctx, &datasafe.GetSdmMaskingPolicyDifferenceArgs{
SdmMaskingPolicyDifferenceId: testSdmMaskingPolicyDifferenceOciDataSafeSdmMaskingPolicyDifference.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testSdmMaskingPolicyDifference = Oci.DataSafe.GetSdmMaskingPolicyDifference.Invoke(new()
{
SdmMaskingPolicyDifferenceId = testSdmMaskingPolicyDifferenceOciDataSafeSdmMaskingPolicyDifference.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.DataSafeFunctions;
import com.pulumi.oci.DataSafe.inputs.GetSdmMaskingPolicyDifferenceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testSdmMaskingPolicyDifference = DataSafeFunctions.getSdmMaskingPolicyDifference(GetSdmMaskingPolicyDifferenceArgs.builder()
.sdmMaskingPolicyDifferenceId(testSdmMaskingPolicyDifferenceOciDataSafeSdmMaskingPolicyDifference.id())
.build());
}
}
variables:
testSdmMaskingPolicyDifference:
fn::invoke:
Function: oci:DataSafe:getSdmMaskingPolicyDifference
Arguments:
sdmMaskingPolicyDifferenceId: ${testSdmMaskingPolicyDifferenceOciDataSafeSdmMaskingPolicyDifference.id}
Using getSdmMaskingPolicyDifference
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSdmMaskingPolicyDifference(args: GetSdmMaskingPolicyDifferenceArgs, opts?: InvokeOptions): Promise<GetSdmMaskingPolicyDifferenceResult>
function getSdmMaskingPolicyDifferenceOutput(args: GetSdmMaskingPolicyDifferenceOutputArgs, opts?: InvokeOptions): Output<GetSdmMaskingPolicyDifferenceResult>
def get_sdm_masking_policy_difference(sdm_masking_policy_difference_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSdmMaskingPolicyDifferenceResult
def get_sdm_masking_policy_difference_output(sdm_masking_policy_difference_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSdmMaskingPolicyDifferenceResult]
func GetSdmMaskingPolicyDifference(ctx *Context, args *GetSdmMaskingPolicyDifferenceArgs, opts ...InvokeOption) (*GetSdmMaskingPolicyDifferenceResult, error)
func GetSdmMaskingPolicyDifferenceOutput(ctx *Context, args *GetSdmMaskingPolicyDifferenceOutputArgs, opts ...InvokeOption) GetSdmMaskingPolicyDifferenceResultOutput
> Note: This function is named GetSdmMaskingPolicyDifference
in the Go SDK.
public static class GetSdmMaskingPolicyDifference
{
public static Task<GetSdmMaskingPolicyDifferenceResult> InvokeAsync(GetSdmMaskingPolicyDifferenceArgs args, InvokeOptions? opts = null)
public static Output<GetSdmMaskingPolicyDifferenceResult> Invoke(GetSdmMaskingPolicyDifferenceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSdmMaskingPolicyDifferenceResult> getSdmMaskingPolicyDifference(GetSdmMaskingPolicyDifferenceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DataSafe/getSdmMaskingPolicyDifference:getSdmMaskingPolicyDifference
arguments:
# arguments dictionary
The following arguments are supported:
- Sdm
Masking stringPolicy Difference Id - The OCID of the SDM masking policy difference.
- Sdm
Masking stringPolicy Difference Id - The OCID of the SDM masking policy difference.
- sdm
Masking StringPolicy Difference Id - The OCID of the SDM masking policy difference.
- sdm
Masking stringPolicy Difference Id - The OCID of the SDM masking policy difference.
- sdm_
masking_ strpolicy_ difference_ id - The OCID of the SDM masking policy difference.
- sdm
Masking StringPolicy Difference Id - The OCID of the SDM masking policy difference.
getSdmMaskingPolicyDifference Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- 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 - The display name of the SDM masking policy difference.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Id string
- The OCID of the Sensitive data model and masking policy difference resource.
- Masking
Policy stringId - The OCID of the masking policy associated with the SDM masking policy difference.
- Sdm
Masking stringPolicy Difference Id - 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 - The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- 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 - The display name of the SDM masking policy difference.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Id string
- The OCID of the Sensitive data model and masking policy difference resource.
- Masking
Policy stringId - The OCID of the masking policy associated with the SDM masking policy difference.
- Sdm
Masking stringPolicy Difference Id - 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 - The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- 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 - The display name of the SDM masking policy difference.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id String
- The OCID of the Sensitive data model and masking policy difference resource.
- masking
Policy StringId - The OCID of the masking policy associated with the SDM masking policy difference.
- sdm
Masking StringPolicy Difference Id - 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 - The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- 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 - The display name of the SDM masking policy difference.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id string
- The OCID of the Sensitive data model and masking policy difference resource.
- masking
Policy stringId - The OCID of the masking policy associated with the SDM masking policy difference.
- sdm
Masking stringPolicy Difference Id - 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 - The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- difference_
type str - The type of the SDM masking policy difference. It defines the difference scope. NEW identifies new sensitive columns in the sensitive data model that are not in the masking policy. DELETED identifies columns that are present in the masking policy but have been deleted from the sensitive data model. MODIFIED identifies columns that are present in the sensitive data model as well as the masking policy but some of their attributes have been modified. ALL covers all the above three scenarios and reports new, deleted and modified columns.
- display_
name str - The display name of the SDM masking policy difference.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id str
- The OCID of the Sensitive data model and masking policy difference resource.
- masking_
policy_ strid - The OCID of the masking policy associated with the SDM masking policy difference.
- sdm_
masking_ strpolicy_ difference_ id - sensitive_
data_ strmodel_ id - The OCID of the sensitive data model associated with the SDM masking policy difference.
- state str
- The current state of the SDM masking policy difference.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The date and time the SDM masking policy difference was created, in the format defined by RFC3339.
- time_
creation_ strstarted - The date and time the SDM masking policy difference creation started, in the format defined by RFC3339.
- compartment
Id String - The OCID of the compartment that contains the Sensitive data model and masking policy difference resource.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- 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 - The display name of the SDM masking policy difference.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id String
- The OCID of the Sensitive data model and masking policy difference resource.
- masking
Policy StringId - The OCID of the masking policy associated with the SDM masking policy difference.
- sdm
Masking StringPolicy Difference Id - 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.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.