1. Packages
  2. Dynatrace
  3. API Docs
  4. DevobsDataMasking
Dynatrace v0.27.0 published on Friday, Mar 21, 2025 by Pulumiverse

dynatrace.DevobsDataMasking

Explore with Pulumi AI

Create DevobsDataMasking Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DevobsDataMasking(name: string, args: DevobsDataMaskingArgs, opts?: CustomResourceOptions);
@overload
def DevobsDataMasking(resource_name: str,
                      args: DevobsDataMaskingArgs,
                      opts: Optional[ResourceOptions] = None)

@overload
def DevobsDataMasking(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      enabled: Optional[bool] = None,
                      replacement_type: Optional[str] = None,
                      rule_name: Optional[str] = None,
                      rule_type: Optional[str] = None,
                      insert_after: Optional[str] = None,
                      replacement_pattern: Optional[str] = None,
                      rule_regex: Optional[str] = None,
                      rule_var_name: Optional[str] = None)
func NewDevobsDataMasking(ctx *Context, name string, args DevobsDataMaskingArgs, opts ...ResourceOption) (*DevobsDataMasking, error)
public DevobsDataMasking(string name, DevobsDataMaskingArgs args, CustomResourceOptions? opts = null)
public DevobsDataMasking(String name, DevobsDataMaskingArgs args)
public DevobsDataMasking(String name, DevobsDataMaskingArgs args, CustomResourceOptions options)
type: dynatrace:DevobsDataMasking
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DevobsDataMaskingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DevobsDataMaskingArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DevobsDataMaskingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DevobsDataMaskingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DevobsDataMaskingArgs
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 devobsDataMaskingResource = new Dynatrace.DevobsDataMasking("devobsDataMaskingResource", new()
{
    Enabled = false,
    ReplacementType = "string",
    RuleName = "string",
    RuleType = "string",
    InsertAfter = "string",
    ReplacementPattern = "string",
    RuleRegex = "string",
    RuleVarName = "string",
});
Copy
example, err := dynatrace.NewDevobsDataMasking(ctx, "devobsDataMaskingResource", &dynatrace.DevobsDataMaskingArgs{
	Enabled:            pulumi.Bool(false),
	ReplacementType:    pulumi.String("string"),
	RuleName:           pulumi.String("string"),
	RuleType:           pulumi.String("string"),
	InsertAfter:        pulumi.String("string"),
	ReplacementPattern: pulumi.String("string"),
	RuleRegex:          pulumi.String("string"),
	RuleVarName:        pulumi.String("string"),
})
Copy
var devobsDataMaskingResource = new DevobsDataMasking("devobsDataMaskingResource", DevobsDataMaskingArgs.builder()
    .enabled(false)
    .replacementType("string")
    .ruleName("string")
    .ruleType("string")
    .insertAfter("string")
    .replacementPattern("string")
    .ruleRegex("string")
    .ruleVarName("string")
    .build());
Copy
devobs_data_masking_resource = dynatrace.DevobsDataMasking("devobsDataMaskingResource",
    enabled=False,
    replacement_type="string",
    rule_name="string",
    rule_type="string",
    insert_after="string",
    replacement_pattern="string",
    rule_regex="string",
    rule_var_name="string")
Copy
const devobsDataMaskingResource = new dynatrace.DevobsDataMasking("devobsDataMaskingResource", {
    enabled: false,
    replacementType: "string",
    ruleName: "string",
    ruleType: "string",
    insertAfter: "string",
    replacementPattern: "string",
    ruleRegex: "string",
    ruleVarName: "string",
});
Copy
type: dynatrace:DevobsDataMasking
properties:
    enabled: false
    insertAfter: string
    replacementPattern: string
    replacementType: string
    ruleName: string
    ruleRegex: string
    ruleType: string
    ruleVarName: string
Copy

DevobsDataMasking 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 DevobsDataMasking resource accepts the following input properties:

Enabled This property is required. bool
This setting is enabled (true) or disabled (false)
ReplacementType This property is required. string
Possible Values: SHA256, STRING
RuleName This property is required. string
Rule Name
RuleType This property is required. string
Possible Values: REGEX, VAR_NAME
InsertAfter string
Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
ReplacementPattern string
no documentation available
RuleRegex string
no documentation available
RuleVarName string
no documentation available
Enabled This property is required. bool
This setting is enabled (true) or disabled (false)
ReplacementType This property is required. string
Possible Values: SHA256, STRING
RuleName This property is required. string
Rule Name
RuleType This property is required. string
Possible Values: REGEX, VAR_NAME
InsertAfter string
Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
ReplacementPattern string
no documentation available
RuleRegex string
no documentation available
RuleVarName string
no documentation available
enabled This property is required. Boolean
This setting is enabled (true) or disabled (false)
replacementType This property is required. String
Possible Values: SHA256, STRING
ruleName This property is required. String
Rule Name
ruleType This property is required. String
Possible Values: REGEX, VAR_NAME
insertAfter String
Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
replacementPattern String
no documentation available
ruleRegex String
no documentation available
ruleVarName String
no documentation available
enabled This property is required. boolean
This setting is enabled (true) or disabled (false)
replacementType This property is required. string
Possible Values: SHA256, STRING
ruleName This property is required. string
Rule Name
ruleType This property is required. string
Possible Values: REGEX, VAR_NAME
insertAfter string
Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
replacementPattern string
no documentation available
ruleRegex string
no documentation available
ruleVarName string
no documentation available
enabled This property is required. bool
This setting is enabled (true) or disabled (false)
replacement_type This property is required. str
Possible Values: SHA256, STRING
rule_name This property is required. str
Rule Name
rule_type This property is required. str
Possible Values: REGEX, VAR_NAME
insert_after str
Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
replacement_pattern str
no documentation available
rule_regex str
no documentation available
rule_var_name str
no documentation available
enabled This property is required. Boolean
This setting is enabled (true) or disabled (false)
replacementType This property is required. String
Possible Values: SHA256, STRING
ruleName This property is required. String
Rule Name
ruleType This property is required. String
Possible Values: REGEX, VAR_NAME
insertAfter String
Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
replacementPattern String
no documentation available
ruleRegex String
no documentation available
ruleVarName String
no documentation available

Outputs

All input properties are implicitly available as output properties. Additionally, the DevobsDataMasking resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing DevobsDataMasking Resource

Get an existing DevobsDataMasking 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?: DevobsDataMaskingState, opts?: CustomResourceOptions): DevobsDataMasking
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        enabled: Optional[bool] = None,
        insert_after: Optional[str] = None,
        replacement_pattern: Optional[str] = None,
        replacement_type: Optional[str] = None,
        rule_name: Optional[str] = None,
        rule_regex: Optional[str] = None,
        rule_type: Optional[str] = None,
        rule_var_name: Optional[str] = None) -> DevobsDataMasking
func GetDevobsDataMasking(ctx *Context, name string, id IDInput, state *DevobsDataMaskingState, opts ...ResourceOption) (*DevobsDataMasking, error)
public static DevobsDataMasking Get(string name, Input<string> id, DevobsDataMaskingState? state, CustomResourceOptions? opts = null)
public static DevobsDataMasking get(String name, Output<String> id, DevobsDataMaskingState state, CustomResourceOptions options)
resources:  _:    type: dynatrace:DevobsDataMasking    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Enabled bool
This setting is enabled (true) or disabled (false)
InsertAfter string
Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
ReplacementPattern string
no documentation available
ReplacementType string
Possible Values: SHA256, STRING
RuleName string
Rule Name
RuleRegex string
no documentation available
RuleType string
Possible Values: REGEX, VAR_NAME
RuleVarName string
no documentation available
Enabled bool
This setting is enabled (true) or disabled (false)
InsertAfter string
Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
ReplacementPattern string
no documentation available
ReplacementType string
Possible Values: SHA256, STRING
RuleName string
Rule Name
RuleRegex string
no documentation available
RuleType string
Possible Values: REGEX, VAR_NAME
RuleVarName string
no documentation available
enabled Boolean
This setting is enabled (true) or disabled (false)
insertAfter String
Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
replacementPattern String
no documentation available
replacementType String
Possible Values: SHA256, STRING
ruleName String
Rule Name
ruleRegex String
no documentation available
ruleType String
Possible Values: REGEX, VAR_NAME
ruleVarName String
no documentation available
enabled boolean
This setting is enabled (true) or disabled (false)
insertAfter string
Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
replacementPattern string
no documentation available
replacementType string
Possible Values: SHA256, STRING
ruleName string
Rule Name
ruleRegex string
no documentation available
ruleType string
Possible Values: REGEX, VAR_NAME
ruleVarName string
no documentation available
enabled bool
This setting is enabled (true) or disabled (false)
insert_after str
Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
replacement_pattern str
no documentation available
replacement_type str
Possible Values: SHA256, STRING
rule_name str
Rule Name
rule_regex str
no documentation available
rule_type str
Possible Values: REGEX, VAR_NAME
rule_var_name str
no documentation available
enabled Boolean
This setting is enabled (true) or disabled (false)
insertAfter String
Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
replacementPattern String
no documentation available
replacementType String
Possible Values: SHA256, STRING
ruleName String
Rule Name
ruleRegex String
no documentation available
ruleType String
Possible Values: REGEX, VAR_NAME
ruleVarName String
no documentation available

Package Details

Repository
dynatrace pulumiverse/pulumi-dynatrace
License
Apache-2.0
Notes
This Pulumi package is based on the dynatrace Terraform Provider.