oci.CloudGuard.DataMaskRule
Explore with Pulumi AI
This resource provides the Data Mask Rule resource in Oracle Cloud Infrastructure Cloud Guard service.
Creates a new Data Mask Rule Definition
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testDataMaskRule = new Oci.CloudGuard.DataMaskRule("testDataMaskRule", new()
{
CompartmentId = @var.Compartment_id,
DataMaskCategories = @var.Data_mask_rule_data_mask_categories,
DisplayName = @var.Data_mask_rule_display_name,
IamGroupId = oci_identity_group.Test_group.Id,
TargetSelected = new Oci.CloudGuard.Inputs.DataMaskRuleTargetSelectedArgs
{
Kind = @var.Data_mask_rule_target_selected_kind,
Values = @var.Data_mask_rule_target_selected_values,
},
DataMaskRuleStatus = @var.Data_mask_rule_data_mask_rule_status,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
Description = @var.Data_mask_rule_description,
FreeformTags =
{
{ "bar-key", "value" },
},
State = @var.Data_mask_rule_state,
});
});
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/CloudGuard"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := CloudGuard.NewDataMaskRule(ctx, "testDataMaskRule", &CloudGuard.DataMaskRuleArgs{
CompartmentId: pulumi.Any(_var.Compartment_id),
DataMaskCategories: pulumi.Any(_var.Data_mask_rule_data_mask_categories),
DisplayName: pulumi.Any(_var.Data_mask_rule_display_name),
IamGroupId: pulumi.Any(oci_identity_group.Test_group.Id),
TargetSelected: &cloudguard.DataMaskRuleTargetSelectedArgs{
Kind: pulumi.Any(_var.Data_mask_rule_target_selected_kind),
Values: pulumi.Any(_var.Data_mask_rule_target_selected_values),
},
DataMaskRuleStatus: pulumi.Any(_var.Data_mask_rule_data_mask_rule_status),
DefinedTags: pulumi.AnyMap{
"foo-namespace.bar-key": pulumi.Any("value"),
},
Description: pulumi.Any(_var.Data_mask_rule_description),
FreeformTags: pulumi.AnyMap{
"bar-key": pulumi.Any("value"),
},
State: pulumi.Any(_var.Data_mask_rule_state),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.CloudGuard.DataMaskRule;
import com.pulumi.oci.CloudGuard.DataMaskRuleArgs;
import com.pulumi.oci.CloudGuard.inputs.DataMaskRuleTargetSelectedArgs;
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 testDataMaskRule = new DataMaskRule("testDataMaskRule", DataMaskRuleArgs.builder()
.compartmentId(var_.compartment_id())
.dataMaskCategories(var_.data_mask_rule_data_mask_categories())
.displayName(var_.data_mask_rule_display_name())
.iamGroupId(oci_identity_group.test_group().id())
.targetSelected(DataMaskRuleTargetSelectedArgs.builder()
.kind(var_.data_mask_rule_target_selected_kind())
.values(var_.data_mask_rule_target_selected_values())
.build())
.dataMaskRuleStatus(var_.data_mask_rule_data_mask_rule_status())
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.description(var_.data_mask_rule_description())
.freeformTags(Map.of("bar-key", "value"))
.state(var_.data_mask_rule_state())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_data_mask_rule = oci.cloud_guard.DataMaskRule("testDataMaskRule",
compartment_id=var["compartment_id"],
data_mask_categories=var["data_mask_rule_data_mask_categories"],
display_name=var["data_mask_rule_display_name"],
iam_group_id=oci_identity_group["test_group"]["id"],
target_selected=oci.cloud_guard.DataMaskRuleTargetSelectedArgs(
kind=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
values=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
),
data_mask_rule_status=var["data_mask_rule_data_mask_rule_status"],
defined_tags={
"foo-namespace.bar-key": "value",
},
description=var["data_mask_rule_description"],
freeform_tags={
"bar-key": "value",
},
state=var["data_mask_rule_state"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDataMaskRule = new oci.cloudguard.DataMaskRule("testDataMaskRule", {
compartmentId: _var.compartment_id,
dataMaskCategories: _var.data_mask_rule_data_mask_categories,
displayName: _var.data_mask_rule_display_name,
iamGroupId: oci_identity_group.test_group.id,
targetSelected: {
kind: _var.data_mask_rule_target_selected_kind,
values: _var.data_mask_rule_target_selected_values,
},
dataMaskRuleStatus: _var.data_mask_rule_data_mask_rule_status,
definedTags: {
"foo-namespace.bar-key": "value",
},
description: _var.data_mask_rule_description,
freeformTags: {
"bar-key": "value",
},
state: _var.data_mask_rule_state,
});
resources:
testDataMaskRule:
type: oci:CloudGuard:DataMaskRule
properties:
#Required
compartmentId: ${var.compartment_id}
dataMaskCategories: ${var.data_mask_rule_data_mask_categories}
displayName: ${var.data_mask_rule_display_name}
iamGroupId: ${oci_identity_group.test_group.id}
targetSelected:
kind: ${var.data_mask_rule_target_selected_kind}
values: ${var.data_mask_rule_target_selected_values}
#Optional
dataMaskRuleStatus: ${var.data_mask_rule_data_mask_rule_status}
definedTags:
foo-namespace.bar-key: value
description: ${var.data_mask_rule_description}
freeformTags:
bar-key: value
state: ${var.data_mask_rule_state}
Create DataMaskRule Resource
new DataMaskRule(name: string, args: DataMaskRuleArgs, opts?: CustomResourceOptions);
@overload
def DataMaskRule(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
data_mask_categories: Optional[Sequence[str]] = None,
data_mask_rule_status: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
iam_group_id: Optional[str] = None,
state: Optional[str] = None,
target_selected: Optional[_cloudguard.DataMaskRuleTargetSelectedArgs] = None)
@overload
def DataMaskRule(resource_name: str,
args: DataMaskRuleArgs,
opts: Optional[ResourceOptions] = None)
func NewDataMaskRule(ctx *Context, name string, args DataMaskRuleArgs, opts ...ResourceOption) (*DataMaskRule, error)
public DataMaskRule(string name, DataMaskRuleArgs args, CustomResourceOptions? opts = null)
public DataMaskRule(String name, DataMaskRuleArgs args)
public DataMaskRule(String name, DataMaskRuleArgs args, CustomResourceOptions options)
type: oci:CloudGuard:DataMaskRule
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DataMaskRuleArgs
- 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 DataMaskRuleArgs
- 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 DataMaskRuleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DataMaskRuleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DataMaskRuleArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DataMaskRule Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The DataMaskRule resource accepts the following input properties:
- Compartment
Id string (Updatable) Compartment Identifier where the resource is created
- Data
Mask List<string>Categories (Updatable) Data Mask Categories
- Display
Name string (Updatable) Data mask rule name.
Avoid entering confidential information.
- Iam
Group stringId (Updatable) IAM Group id associated with the data mask rule
- Target
Selected DataMask Rule Target Selected Args (Updatable) Target Selection eg select ALL or select on basis of TargetResourceTypes or TargetIds.
- Data
Mask stringRule Status (Updatable) The status of the dataMaskRule.
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
The data mask rule description. Avoid entering confidential information.
- Dictionary<string, object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- State string
The current state of the DataMaskRule.
- Compartment
Id string (Updatable) Compartment Identifier where the resource is created
- Data
Mask []stringCategories (Updatable) Data Mask Categories
- Display
Name string (Updatable) Data mask rule name.
Avoid entering confidential information.
- Iam
Group stringId (Updatable) IAM Group id associated with the data mask rule
- Target
Selected DataMask Rule Target Selected Args (Updatable) Target Selection eg select ALL or select on basis of TargetResourceTypes or TargetIds.
- Data
Mask stringRule Status (Updatable) The status of the dataMaskRule.
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
The data mask rule description. Avoid entering confidential information.
- map[string]interface{}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- State string
The current state of the DataMaskRule.
- compartment
Id String (Updatable) Compartment Identifier where the resource is created
- data
Mask List<String>Categories (Updatable) Data Mask Categories
- display
Name String (Updatable) Data mask rule name.
Avoid entering confidential information.
- iam
Group StringId (Updatable) IAM Group id associated with the data mask rule
- target
Selected DataMask Rule Target Selected Args (Updatable) Target Selection eg select ALL or select on basis of TargetResourceTypes or TargetIds.
- data
Mask StringRule Status (Updatable) The status of the dataMaskRule.
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
The data mask rule description. Avoid entering confidential information.
- Map<String,Object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- state String
The current state of the DataMaskRule.
- compartment
Id string (Updatable) Compartment Identifier where the resource is created
- data
Mask string[]Categories (Updatable) Data Mask Categories
- display
Name string (Updatable) Data mask rule name.
Avoid entering confidential information.
- iam
Group stringId (Updatable) IAM Group id associated with the data mask rule
- target
Selected DataMask Rule Target Selected Args (Updatable) Target Selection eg select ALL or select on basis of TargetResourceTypes or TargetIds.
- data
Mask stringRule Status (Updatable) The status of the dataMaskRule.
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
The data mask rule description. Avoid entering confidential information.
- {[key: string]: any}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- state string
The current state of the DataMaskRule.
- compartment_
id str (Updatable) Compartment Identifier where the resource is created
- data_
mask_ Sequence[str]categories (Updatable) Data Mask Categories
- display_
name str (Updatable) Data mask rule name.
Avoid entering confidential information.
- iam_
group_ strid (Updatable) IAM Group id associated with the data mask rule
- target_
selected DataMask Rule Target Selected Args (Updatable) Target Selection eg select ALL or select on basis of TargetResourceTypes or TargetIds.
- data_
mask_ strrule_ status (Updatable) The status of the dataMaskRule.
- Mapping[str, Any]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
The data mask rule description. Avoid entering confidential information.
- Mapping[str, Any]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- state str
The current state of the DataMaskRule.
- compartment
Id String (Updatable) Compartment Identifier where the resource is created
- data
Mask List<String>Categories (Updatable) Data Mask Categories
- display
Name String (Updatable) Data mask rule name.
Avoid entering confidential information.
- iam
Group StringId (Updatable) IAM Group id associated with the data mask rule
- target
Selected Property Map (Updatable) Target Selection eg select ALL or select on basis of TargetResourceTypes or TargetIds.
- data
Mask StringRule Status (Updatable) The status of the dataMaskRule.
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
The data mask rule description. Avoid entering confidential information.
- Map<Any>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- state String
The current state of the DataMaskRule.
Outputs
All input properties are implicitly available as output properties. Additionally, the DataMaskRule resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Lifecyle
Details string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Dictionary<string, object>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The date and time the target was created. Format defined by RFC3339.
- Time
Updated string The date and time the target was updated. Format defined by RFC3339.
- Id string
The provider-assigned unique ID for this managed resource.
- Lifecyle
Details string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- map[string]interface{}
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string The date and time the target was created. Format defined by RFC3339.
- Time
Updated string The date and time the target was updated. Format defined by RFC3339.
- id String
The provider-assigned unique ID for this managed resource.
- lifecyle
Details String A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Map<String,Object>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The date and time the target was created. Format defined by RFC3339.
- time
Updated String The date and time the target was updated. Format defined by RFC3339.
- id string
The provider-assigned unique ID for this managed resource.
- lifecyle
Details string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- {[key: string]: any}
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string The date and time the target was created. Format defined by RFC3339.
- time
Updated string The date and time the target was updated. Format defined by RFC3339.
- id str
The provider-assigned unique ID for this managed resource.
- lifecyle_
details str A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Mapping[str, Any]
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str The date and time the target was created. Format defined by RFC3339.
- time_
updated str The date and time the target was updated. Format defined by RFC3339.
- id String
The provider-assigned unique ID for this managed resource.
- lifecyle
Details String A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Map<Any>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String The date and time the target was created. Format defined by RFC3339.
- time
Updated String The date and time the target was updated. Format defined by RFC3339.
Look up Existing DataMaskRule Resource
Get an existing DataMaskRule 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?: DataMaskRuleState, opts?: CustomResourceOptions): DataMaskRule
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
data_mask_categories: Optional[Sequence[str]] = None,
data_mask_rule_status: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
iam_group_id: Optional[str] = None,
lifecyle_details: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, Any]] = None,
target_selected: Optional[_cloudguard.DataMaskRuleTargetSelectedArgs] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> DataMaskRule
func GetDataMaskRule(ctx *Context, name string, id IDInput, state *DataMaskRuleState, opts ...ResourceOption) (*DataMaskRule, error)
public static DataMaskRule Get(string name, Input<string> id, DataMaskRuleState? state, CustomResourceOptions? opts = null)
public static DataMaskRule get(String name, Output<String> id, DataMaskRuleState 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) Compartment Identifier where the resource is created
- Data
Mask List<string>Categories (Updatable) Data Mask Categories
- Data
Mask stringRule Status (Updatable) The status of the dataMaskRule.
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
The data mask rule description. Avoid entering confidential information.
- Display
Name string (Updatable) Data mask rule name.
Avoid entering confidential information.
- Dictionary<string, object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- Iam
Group stringId (Updatable) IAM Group id associated with the data mask rule
- Lifecyle
Details string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- State string
The current state of the DataMaskRule.
- Dictionary<string, object>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Target
Selected DataMask Rule Target Selected Args (Updatable) Target Selection eg select ALL or select on basis of TargetResourceTypes or TargetIds.
- Time
Created string The date and time the target was created. Format defined by RFC3339.
- Time
Updated string The date and time the target was updated. Format defined by RFC3339.
- Compartment
Id string (Updatable) Compartment Identifier where the resource is created
- Data
Mask []stringCategories (Updatable) Data Mask Categories
- Data
Mask stringRule Status (Updatable) The status of the dataMaskRule.
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- Description string
The data mask rule description. Avoid entering confidential information.
- Display
Name string (Updatable) Data mask rule name.
Avoid entering confidential information.
- map[string]interface{}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- Iam
Group stringId (Updatable) IAM Group id associated with the data mask rule
- Lifecyle
Details string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- State string
The current state of the DataMaskRule.
- map[string]interface{}
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Target
Selected DataMask Rule Target Selected Args (Updatable) Target Selection eg select ALL or select on basis of TargetResourceTypes or TargetIds.
- Time
Created string The date and time the target was created. Format defined by RFC3339.
- Time
Updated string The date and time the target was updated. Format defined by RFC3339.
- compartment
Id String (Updatable) Compartment Identifier where the resource is created
- data
Mask List<String>Categories (Updatable) Data Mask Categories
- data
Mask StringRule Status (Updatable) The status of the dataMaskRule.
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
The data mask rule description. Avoid entering confidential information.
- display
Name String (Updatable) Data mask rule name.
Avoid entering confidential information.
- Map<String,Object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- iam
Group StringId (Updatable) IAM Group id associated with the data mask rule
- lifecyle
Details String A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- state String
The current state of the DataMaskRule.
- Map<String,Object>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target
Selected DataMask Rule Target Selected Args (Updatable) Target Selection eg select ALL or select on basis of TargetResourceTypes or TargetIds.
- time
Created String The date and time the target was created. Format defined by RFC3339.
- time
Updated String The date and time the target was updated. Format defined by RFC3339.
- compartment
Id string (Updatable) Compartment Identifier where the resource is created
- data
Mask string[]Categories (Updatable) Data Mask Categories
- data
Mask stringRule Status (Updatable) The status of the dataMaskRule.
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description string
The data mask rule description. Avoid entering confidential information.
- display
Name string (Updatable) Data mask rule name.
Avoid entering confidential information.
- {[key: string]: any}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- iam
Group stringId (Updatable) IAM Group id associated with the data mask rule
- lifecyle
Details string A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- state string
The current state of the DataMaskRule.
- {[key: string]: any}
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target
Selected DataMask Rule Target Selected Args (Updatable) Target Selection eg select ALL or select on basis of TargetResourceTypes or TargetIds.
- time
Created string The date and time the target was created. Format defined by RFC3339.
- time
Updated string The date and time the target was updated. Format defined by RFC3339.
- compartment_
id str (Updatable) Compartment Identifier where the resource is created
- data_
mask_ Sequence[str]categories (Updatable) Data Mask Categories
- data_
mask_ strrule_ status (Updatable) The status of the dataMaskRule.
- Mapping[str, Any]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description str
The data mask rule description. Avoid entering confidential information.
- display_
name str (Updatable) Data mask rule name.
Avoid entering confidential information.
- Mapping[str, Any]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- iam_
group_ strid (Updatable) IAM Group id associated with the data mask rule
- lifecyle_
details str A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- state str
The current state of the DataMaskRule.
- Mapping[str, Any]
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target_
selected DataMask Rule Target Selected Args (Updatable) Target Selection eg select ALL or select on basis of TargetResourceTypes or TargetIds.
- time_
created str The date and time the target was created. Format defined by RFC3339.
- time_
updated str The date and time the target was updated. Format defined by RFC3339.
- compartment
Id String (Updatable) Compartment Identifier where the resource is created
- data
Mask List<String>Categories (Updatable) Data Mask Categories
- data
Mask StringRule Status (Updatable) The status of the dataMaskRule.
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"}
- description String
The data mask rule description. Avoid entering confidential information.
- display
Name String (Updatable) Data mask rule name.
Avoid entering confidential information.
- Map<Any>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
Avoid entering confidential information.
- iam
Group StringId (Updatable) IAM Group id associated with the data mask rule
- lifecyle
Details String A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- state String
The current state of the DataMaskRule.
- Map<Any>
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target
Selected Property Map (Updatable) Target Selection eg select ALL or select on basis of TargetResourceTypes or TargetIds.
- time
Created String The date and time the target was created. Format defined by RFC3339.
- time
Updated String The date and time the target was updated. Format defined by RFC3339.
Supporting Types
DataMaskRuleTargetSelected
Import
DataMaskRules can be imported using the id
, e.g.
$ pulumi import oci:CloudGuard/dataMaskRule:DataMaskRule test_data_mask_rule "id"
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.