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 string
- The unique name of the resource.
- args DevobsDataMaskingArgs
- 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 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 string
- The unique name of the resource.
- args DevobsDataMaskingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DevobsDataMaskingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
var devobsDataMaskingResource = new DevobsDataMasking("devobsDataMaskingResource", DevobsDataMaskingArgs.builder()
.enabled(false)
.replacementType("string")
.ruleName("string")
.ruleType("string")
.insertAfter("string")
.replacementPattern("string")
.ruleRegex("string")
.ruleVarName("string")
.build());
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")
const devobsDataMaskingResource = new dynatrace.DevobsDataMasking("devobsDataMaskingResource", {
enabled: false,
replacementType: "string",
ruleName: "string",
ruleType: "string",
insertAfter: "string",
replacementPattern: "string",
ruleRegex: "string",
ruleVarName: "string",
});
type: dynatrace:DevobsDataMasking
properties:
enabled: false
insertAfter: string
replacementPattern: string
replacementType: string
ruleName: string
ruleRegex: string
ruleType: string
ruleVarName: string
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 bool
- This setting is enabled (
true
) or disabled (false
) - Replacement
Type string - Possible Values:
SHA256
,STRING
- Rule
Name string - Rule Name
- Rule
Type string - Possible Values:
REGEX
,VAR_NAME
- Insert
After 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
- Replacement
Pattern string - no documentation available
- Rule
Regex string - no documentation available
- Rule
Var stringName - no documentation available
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Replacement
Type string - Possible Values:
SHA256
,STRING
- Rule
Name string - Rule Name
- Rule
Type string - Possible Values:
REGEX
,VAR_NAME
- Insert
After 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
- Replacement
Pattern string - no documentation available
- Rule
Regex string - no documentation available
- Rule
Var stringName - no documentation available
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - replacement
Type String - Possible Values:
SHA256
,STRING
- rule
Name String - Rule Name
- rule
Type String - Possible Values:
REGEX
,VAR_NAME
- insert
After 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
- replacement
Pattern String - no documentation available
- rule
Regex String - no documentation available
- rule
Var StringName - no documentation available
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - replacement
Type string - Possible Values:
SHA256
,STRING
- rule
Name string - Rule Name
- rule
Type string - Possible Values:
REGEX
,VAR_NAME
- insert
After 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
- replacement
Pattern string - no documentation available
- rule
Regex string - no documentation available
- rule
Var stringName - no documentation available
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - replacement_
type str - Possible Values:
SHA256
,STRING
- rule_
name str - Rule Name
- rule_
type 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_ strname - no documentation available
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - replacement
Type String - Possible Values:
SHA256
,STRING
- rule
Name String - Rule Name
- rule
Type String - Possible Values:
REGEX
,VAR_NAME
- insert
After 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
- replacement
Pattern String - no documentation available
- rule
Regex String - no documentation available
- rule
Var StringName - 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)
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.
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Insert
After 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
- Replacement
Pattern string - no documentation available
- Replacement
Type string - Possible Values:
SHA256
,STRING
- Rule
Name string - Rule Name
- Rule
Regex string - no documentation available
- Rule
Type string - Possible Values:
REGEX
,VAR_NAME
- Rule
Var stringName - no documentation available
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Insert
After 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
- Replacement
Pattern string - no documentation available
- Replacement
Type string - Possible Values:
SHA256
,STRING
- Rule
Name string - Rule Name
- Rule
Regex string - no documentation available
- Rule
Type string - Possible Values:
REGEX
,VAR_NAME
- Rule
Var stringName - no documentation available
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - insert
After 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
- replacement
Pattern String - no documentation available
- replacement
Type String - Possible Values:
SHA256
,STRING
- rule
Name String - Rule Name
- rule
Regex String - no documentation available
- rule
Type String - Possible Values:
REGEX
,VAR_NAME
- rule
Var StringName - no documentation available
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - insert
After 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
- replacement
Pattern string - no documentation available
- replacement
Type string - Possible Values:
SHA256
,STRING
- rule
Name string - Rule Name
- rule
Regex string - no documentation available
- rule
Type string - Possible Values:
REGEX
,VAR_NAME
- rule
Var stringName - 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_ strname - no documentation available
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - insert
After 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
- replacement
Pattern String - no documentation available
- replacement
Type String - Possible Values:
SHA256
,STRING
- rule
Name String - Rule Name
- rule
Regex String - no documentation available
- rule
Type String - Possible Values:
REGEX
,VAR_NAME
- rule
Var StringName - 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.