1. Packages
  2. Dynatrace
  3. API Docs
  4. LogSensitiveDataMasking
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

dynatrace.LogSensitiveDataMasking

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

    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,
                                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.

    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",
        },
        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"),
    	},
    	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())
        .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=dynatrace.LogSensitiveDataMaskingMaskingArgs(
            expression="string",
            type="string",
            replacement="string",
        ),
        matchers=dynatrace.LogSensitiveDataMaskingMatchersArgs(
            matchers=[dynatrace.LogSensitiveDataMaskingMatchersMatcherArgs(
                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",
        },
        matchers: {
            matchers: [{
                attribute: "string",
                operator: "string",
                values: ["string"],
            }],
        },
        name: "string",
        scope: "string",
    });
    
    type: dynatrace:LogSensitiveDataMasking
    properties:
        enabled: false
        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

    The LogSensitiveDataMasking resource accepts the following input properties:

    Enabled bool
    This setting is enabled (true) or disabled (false)
    Masking Lbrlabs.PulumiPackage.Dynatrace.Inputs.LogSensitiveDataMaskingMasking
    no documentation available
    Matchers Lbrlabs.PulumiPackage.Dynatrace.Inputs.LogSensitiveDataMaskingMatchers
    no documentation available
    Name string
    Name
    Scope string
    The scope of this setting (HOST-########, HOST_GROUP-########). Omit this property if you want to cover the whole environment.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Masking LogSensitiveDataMaskingMaskingArgs
    no documentation available
    Matchers LogSensitiveDataMaskingMatchersArgs
    no documentation available
    Name string
    Name
    Scope string
    The scope of this setting (HOST-########, HOST_GROUP-########). Omit this property if you want to cover the whole environment.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    masking LogSensitiveDataMaskingMasking
    no documentation available
    matchers LogSensitiveDataMaskingMatchers
    no documentation available
    name String
    Name
    scope String
    The scope of this setting (HOST-########, HOST_GROUP-########). Omit this property if you want to cover the whole environment.
    enabled boolean
    This setting is enabled (true) or disabled (false)
    masking LogSensitiveDataMaskingMasking
    no documentation available
    matchers LogSensitiveDataMaskingMatchers
    no documentation available
    name string
    Name
    scope string
    The scope of this setting (HOST-########, HOST_GROUP-########). Omit this property if you want to cover the whole environment.
    enabled bool
    This setting is enabled (true) or disabled (false)
    masking LogSensitiveDataMaskingMaskingArgs
    no documentation available
    matchers LogSensitiveDataMaskingMatchersArgs
    no documentation available
    name str
    Name
    scope str
    The scope of this setting (HOST-########, HOST_GROUP-########). 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
    matchers Property Map
    no documentation available
    name String
    Name
    scope String
    The scope of this setting (HOST-########, HOST_GROUP-########). 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,
            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.
    The following state arguments are supported:
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Masking Lbrlabs.PulumiPackage.Dynatrace.Inputs.LogSensitiveDataMaskingMasking
    no documentation available
    Matchers Lbrlabs.PulumiPackage.Dynatrace.Inputs.LogSensitiveDataMaskingMatchers
    no documentation available
    Name string
    Name
    Scope string
    The scope of this setting (HOST-########, HOST_GROUP-########). Omit this property if you want to cover the whole environment.
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Masking LogSensitiveDataMaskingMaskingArgs
    no documentation available
    Matchers LogSensitiveDataMaskingMatchersArgs
    no documentation available
    Name string
    Name
    Scope string
    The scope of this setting (HOST-########, HOST_GROUP-########). Omit this property if you want to cover the whole environment.
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    masking LogSensitiveDataMaskingMasking
    no documentation available
    matchers LogSensitiveDataMaskingMatchers
    no documentation available
    name String
    Name
    scope String
    The scope of this setting (HOST-########, HOST_GROUP-########). Omit this property if you want to cover the whole environment.
    enabled boolean
    This setting is enabled (true) or disabled (false)
    masking LogSensitiveDataMaskingMasking
    no documentation available
    matchers LogSensitiveDataMaskingMatchers
    no documentation available
    name string
    Name
    scope string
    The scope of this setting (HOST-########, HOST_GROUP-########). Omit this property if you want to cover the whole environment.
    enabled bool
    This setting is enabled (true) or disabled (false)
    masking LogSensitiveDataMaskingMaskingArgs
    no documentation available
    matchers LogSensitiveDataMaskingMatchersArgs
    no documentation available
    name str
    Name
    scope str
    The scope of this setting (HOST-########, HOST_GROUP-########). 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
    matchers Property Map
    no documentation available
    name String
    Name
    scope String
    The scope of this setting (HOST-########, HOST_GROUP-########). 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 is SHA1.
    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 is SHA1.
    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 is SHA1.
    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 is SHA1.
    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 is SHA1.
    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 is SHA1.

    LogSensitiveDataMaskingMatchers, LogSensitiveDataMaskingMatchersArgs

    LogSensitiveDataMaskingMatchersMatcher, LogSensitiveDataMaskingMatchersMatcherArgs

    Attribute string
    Operator string
    Values List<string>
    Attribute string
    Operator string
    Values []string
    attribute String
    operator String
    values List<String>
    attribute string
    operator string
    values string[]
    attribute str
    operator str
    values Sequence[str]
    attribute String
    operator String
    values List<String>

    Package Details

    Repository
    dynatrace lbrlabs/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs