dynatrace.LogSensitiveDataMasking
Explore with Pulumi AI
Create LogSensitiveDataMasking Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LogSensitiveDataMasking(name: string, args: LogSensitiveDataMaskingArgs, opts?: CustomResourceOptions);
@overload
def LogSensitiveDataMasking(resource_name: str,
args: LogSensitiveDataMaskingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LogSensitiveDataMasking(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
masking: Optional[LogSensitiveDataMaskingMaskingArgs] = None,
insert_after: Optional[str] = None,
matchers: Optional[LogSensitiveDataMaskingMatchersArgs] = None,
name: Optional[str] = None,
scope: Optional[str] = None)
func NewLogSensitiveDataMasking(ctx *Context, name string, args LogSensitiveDataMaskingArgs, opts ...ResourceOption) (*LogSensitiveDataMasking, error)
public LogSensitiveDataMasking(string name, LogSensitiveDataMaskingArgs args, CustomResourceOptions? opts = null)
public LogSensitiveDataMasking(String name, LogSensitiveDataMaskingArgs args)
public LogSensitiveDataMasking(String name, LogSensitiveDataMaskingArgs args, CustomResourceOptions options)
type: dynatrace:LogSensitiveDataMasking
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 LogSensitiveDataMaskingArgs
- 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 LogSensitiveDataMaskingArgs
- 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 LogSensitiveDataMaskingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LogSensitiveDataMaskingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LogSensitiveDataMaskingArgs
- 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 logSensitiveDataMaskingResource = new Dynatrace.LogSensitiveDataMasking("logSensitiveDataMaskingResource", new()
{
Enabled = false,
Masking = new Dynatrace.Inputs.LogSensitiveDataMaskingMaskingArgs
{
Expression = "string",
Type = "string",
Replacement = "string",
},
InsertAfter = "string",
Matchers = new Dynatrace.Inputs.LogSensitiveDataMaskingMatchersArgs
{
Matchers = new[]
{
new Dynatrace.Inputs.LogSensitiveDataMaskingMatchersMatcherArgs
{
Attribute = "string",
Operator = "string",
Values = new[]
{
"string",
},
},
},
},
Name = "string",
Scope = "string",
});
example, err := dynatrace.NewLogSensitiveDataMasking(ctx, "logSensitiveDataMaskingResource", &dynatrace.LogSensitiveDataMaskingArgs{
Enabled: pulumi.Bool(false),
Masking: &dynatrace.LogSensitiveDataMaskingMaskingArgs{
Expression: pulumi.String("string"),
Type: pulumi.String("string"),
Replacement: pulumi.String("string"),
},
InsertAfter: pulumi.String("string"),
Matchers: &dynatrace.LogSensitiveDataMaskingMatchersArgs{
Matchers: dynatrace.LogSensitiveDataMaskingMatchersMatcherArray{
&dynatrace.LogSensitiveDataMaskingMatchersMatcherArgs{
Attribute: pulumi.String("string"),
Operator: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
Name: pulumi.String("string"),
Scope: pulumi.String("string"),
})
var logSensitiveDataMaskingResource = new LogSensitiveDataMasking("logSensitiveDataMaskingResource", LogSensitiveDataMaskingArgs.builder()
.enabled(false)
.masking(LogSensitiveDataMaskingMaskingArgs.builder()
.expression("string")
.type("string")
.replacement("string")
.build())
.insertAfter("string")
.matchers(LogSensitiveDataMaskingMatchersArgs.builder()
.matchers(LogSensitiveDataMaskingMatchersMatcherArgs.builder()
.attribute("string")
.operator("string")
.values("string")
.build())
.build())
.name("string")
.scope("string")
.build());
log_sensitive_data_masking_resource = dynatrace.LogSensitiveDataMasking("logSensitiveDataMaskingResource",
enabled=False,
masking={
"expression": "string",
"type": "string",
"replacement": "string",
},
insert_after="string",
matchers={
"matchers": [{
"attribute": "string",
"operator": "string",
"values": ["string"],
}],
},
name="string",
scope="string")
const logSensitiveDataMaskingResource = new dynatrace.LogSensitiveDataMasking("logSensitiveDataMaskingResource", {
enabled: false,
masking: {
expression: "string",
type: "string",
replacement: "string",
},
insertAfter: "string",
matchers: {
matchers: [{
attribute: "string",
operator: "string",
values: ["string"],
}],
},
name: "string",
scope: "string",
});
type: dynatrace:LogSensitiveDataMasking
properties:
enabled: false
insertAfter: string
masking:
expression: string
replacement: string
type: string
matchers:
matchers:
- attribute: string
operator: string
values:
- string
name: string
scope: string
LogSensitiveDataMasking 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 LogSensitiveDataMasking resource accepts the following input properties:
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Masking
Pulumiverse.
Dynatrace. Inputs. Log Sensitive Data Masking Masking - no documentation available
- 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
- Matchers
Pulumiverse.
Dynatrace. Inputs. Log Sensitive Data Masking Matchers - no documentation available
- Name string
- Name
- Scope string
- The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Masking
Log
Sensitive Data Masking Masking Args - no documentation available
- 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
- Matchers
Log
Sensitive Data Masking Matchers Args - no documentation available
- Name string
- Name
- Scope string
- The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - masking
Log
Sensitive Data Masking Masking - no documentation available
- 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
- matchers
Log
Sensitive Data Masking Matchers - no documentation available
- name String
- Name
- scope String
- The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - masking
Log
Sensitive Data Masking Masking - no documentation available
- 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
- matchers
Log
Sensitive Data Masking Matchers - no documentation available
- name string
- Name
- scope string
- The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - masking
Log
Sensitive Data Masking Masking Args - no documentation available
- 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
- matchers
Log
Sensitive Data Masking Matchers Args - no documentation available
- name str
- Name
- scope str
- The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - masking Property Map
- no documentation available
- 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
- matchers Property Map
- no documentation available
- name String
- Name
- scope String
- The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
Outputs
All input properties are implicitly available as output properties. Additionally, the LogSensitiveDataMasking 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 LogSensitiveDataMasking Resource
Get an existing LogSensitiveDataMasking 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?: LogSensitiveDataMaskingState, opts?: CustomResourceOptions): LogSensitiveDataMasking
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
insert_after: Optional[str] = None,
masking: Optional[LogSensitiveDataMaskingMaskingArgs] = None,
matchers: Optional[LogSensitiveDataMaskingMatchersArgs] = None,
name: Optional[str] = None,
scope: Optional[str] = None) -> LogSensitiveDataMasking
func GetLogSensitiveDataMasking(ctx *Context, name string, id IDInput, state *LogSensitiveDataMaskingState, opts ...ResourceOption) (*LogSensitiveDataMasking, error)
public static LogSensitiveDataMasking Get(string name, Input<string> id, LogSensitiveDataMaskingState? state, CustomResourceOptions? opts = null)
public static LogSensitiveDataMasking get(String name, Output<String> id, LogSensitiveDataMaskingState 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
- Masking
Pulumiverse.
Dynatrace. Inputs. Log Sensitive Data Masking Masking - no documentation available
- Matchers
Pulumiverse.
Dynatrace. Inputs. Log Sensitive Data Masking Matchers - no documentation available
- Name string
- Name
- Scope string
- The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
- 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
- Masking
Log
Sensitive Data Masking Masking Args - no documentation available
- Matchers
Log
Sensitive Data Masking Matchers Args - no documentation available
- Name string
- Name
- Scope string
- The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
- 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
- masking
Log
Sensitive Data Masking Masking - no documentation available
- matchers
Log
Sensitive Data Masking Matchers - no documentation available
- name String
- Name
- scope String
- The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
- 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
- masking
Log
Sensitive Data Masking Masking - no documentation available
- matchers
Log
Sensitive Data Masking Matchers - no documentation available
- name string
- Name
- scope string
- The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
- 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
- masking
Log
Sensitive Data Masking Masking Args - no documentation available
- matchers
Log
Sensitive Data Masking Matchers Args - no documentation available
- name str
- Name
- scope str
- The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
- 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
- masking Property Map
- no documentation available
- matchers Property Map
- no documentation available
- name String
- Name
- scope String
- The scope of this setting (HOST, KUBERNETESCLUSTER, HOSTGROUP). Omit this property if you want to cover the whole environment.
Supporting Types
LogSensitiveDataMaskingMasking, LogSensitiveDataMaskingMaskingArgs
- Expression string
- Maximum one capture group is allowed. If none was given, the whole expression will be treated as a capture group.
- Type string
- Possible Values:
SHA1
,STRING
- Replacement string
- The string to replace the masked expression with. Irrelevant if
type
isSHA1
.
- Expression string
- Maximum one capture group is allowed. If none was given, the whole expression will be treated as a capture group.
- Type string
- Possible Values:
SHA1
,STRING
- Replacement string
- The string to replace the masked expression with. Irrelevant if
type
isSHA1
.
- expression String
- Maximum one capture group is allowed. If none was given, the whole expression will be treated as a capture group.
- type String
- Possible Values:
SHA1
,STRING
- replacement String
- The string to replace the masked expression with. Irrelevant if
type
isSHA1
.
- expression string
- Maximum one capture group is allowed. If none was given, the whole expression will be treated as a capture group.
- type string
- Possible Values:
SHA1
,STRING
- replacement string
- The string to replace the masked expression with. Irrelevant if
type
isSHA1
.
- expression str
- Maximum one capture group is allowed. If none was given, the whole expression will be treated as a capture group.
- type str
- Possible Values:
SHA1
,STRING
- replacement str
- The string to replace the masked expression with. Irrelevant if
type
isSHA1
.
- expression String
- Maximum one capture group is allowed. If none was given, the whole expression will be treated as a capture group.
- type String
- Possible Values:
SHA1
,STRING
- replacement String
- The string to replace the masked expression with. Irrelevant if
type
isSHA1
.
LogSensitiveDataMaskingMatchers, LogSensitiveDataMaskingMatchersArgs
LogSensitiveDataMaskingMatchersMatcher, LogSensitiveDataMaskingMatchersMatcherArgs
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.