1. Packages
  2. Dynatrace
  3. API Docs
  4. LogSecurityContext
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

dynatrace.LogSecurityContext

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse

    Create LogSecurityContext Resource

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

    Constructor syntax

    new LogSecurityContext(name: string, args: LogSecurityContextArgs, opts?: CustomResourceOptions);
    @overload
    def LogSecurityContext(resource_name: str,
                           args: LogSecurityContextArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def LogSecurityContext(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           security_context_rule: Optional[LogSecurityContextSecurityContextRuleArgs] = None,
                           insert_after: Optional[str] = None)
    func NewLogSecurityContext(ctx *Context, name string, args LogSecurityContextArgs, opts ...ResourceOption) (*LogSecurityContext, error)
    public LogSecurityContext(string name, LogSecurityContextArgs args, CustomResourceOptions? opts = null)
    public LogSecurityContext(String name, LogSecurityContextArgs args)
    public LogSecurityContext(String name, LogSecurityContextArgs args, CustomResourceOptions options)
    
    type: dynatrace:LogSecurityContext
    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 LogSecurityContextArgs
    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 LogSecurityContextArgs
    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 LogSecurityContextArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LogSecurityContextArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LogSecurityContextArgs
    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 logSecurityContextResource = new Dynatrace.LogSecurityContext("logSecurityContextResource", new()
    {
        SecurityContextRule = new Dynatrace.Inputs.LogSecurityContextSecurityContextRuleArgs
        {
            Query = "string",
            RuleName = "string",
            ValueSource = "string",
            Value = "string",
            ValueSourceField = "string",
        },
        InsertAfter = "string",
    });
    
    example, err := dynatrace.NewLogSecurityContext(ctx, "logSecurityContextResource", &dynatrace.LogSecurityContextArgs{
    	SecurityContextRule: &dynatrace.LogSecurityContextSecurityContextRuleArgs{
    		Query:            pulumi.String("string"),
    		RuleName:         pulumi.String("string"),
    		ValueSource:      pulumi.String("string"),
    		Value:            pulumi.String("string"),
    		ValueSourceField: pulumi.String("string"),
    	},
    	InsertAfter: pulumi.String("string"),
    })
    
    var logSecurityContextResource = new LogSecurityContext("logSecurityContextResource", LogSecurityContextArgs.builder()
        .securityContextRule(LogSecurityContextSecurityContextRuleArgs.builder()
            .query("string")
            .ruleName("string")
            .valueSource("string")
            .value("string")
            .valueSourceField("string")
            .build())
        .insertAfter("string")
        .build());
    
    log_security_context_resource = dynatrace.LogSecurityContext("logSecurityContextResource",
        security_context_rule=dynatrace.LogSecurityContextSecurityContextRuleArgs(
            query="string",
            rule_name="string",
            value_source="string",
            value="string",
            value_source_field="string",
        ),
        insert_after="string")
    
    const logSecurityContextResource = new dynatrace.LogSecurityContext("logSecurityContextResource", {
        securityContextRule: {
            query: "string",
            ruleName: "string",
            valueSource: "string",
            value: "string",
            valueSourceField: "string",
        },
        insertAfter: "string",
    });
    
    type: dynatrace:LogSecurityContext
    properties:
        insertAfter: string
        securityContextRule:
            query: string
            ruleName: string
            value: string
            valueSource: string
            valueSourceField: string
    

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

    SecurityContextRule Pulumiverse.Dynatrace.Inputs.LogSecurityContextSecurityContextRule
    no documentation available
    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
    SecurityContextRule LogSecurityContextSecurityContextRuleArgs
    no documentation available
    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
    securityContextRule LogSecurityContextSecurityContextRule
    no documentation available
    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
    securityContextRule LogSecurityContextSecurityContextRule
    no documentation available
    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
    security_context_rule LogSecurityContextSecurityContextRuleArgs
    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
    securityContextRule Property Map
    no documentation available
    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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the LogSecurityContext 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 LogSecurityContext Resource

    Get an existing LogSecurityContext 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?: LogSecurityContextState, opts?: CustomResourceOptions): LogSecurityContext
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            insert_after: Optional[str] = None,
            security_context_rule: Optional[LogSecurityContextSecurityContextRuleArgs] = None) -> LogSecurityContext
    func GetLogSecurityContext(ctx *Context, name string, id IDInput, state *LogSecurityContextState, opts ...ResourceOption) (*LogSecurityContext, error)
    public static LogSecurityContext Get(string name, Input<string> id, LogSecurityContextState? state, CustomResourceOptions? opts = null)
    public static LogSecurityContext get(String name, Output<String> id, LogSecurityContextState 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:
    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
    SecurityContextRule Pulumiverse.Dynatrace.Inputs.LogSecurityContextSecurityContextRule
    no documentation available
    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
    SecurityContextRule LogSecurityContextSecurityContextRuleArgs
    no documentation available
    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
    securityContextRule LogSecurityContextSecurityContextRule
    no documentation available
    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
    securityContextRule LogSecurityContextSecurityContextRule
    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
    security_context_rule LogSecurityContextSecurityContextRuleArgs
    no documentation available
    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
    securityContextRule Property Map
    no documentation available

    Supporting Types

    LogSecurityContextSecurityContextRule, LogSecurityContextSecurityContextRuleArgs

    Query string
    Matcher
    RuleName string
    Rule name
    ValueSource string
    Possible Values: FIELD, LITERAL
    Value string
    Literal value to be set
    ValueSourceField string
    Name of field used to copy value
    Query string
    Matcher
    RuleName string
    Rule name
    ValueSource string
    Possible Values: FIELD, LITERAL
    Value string
    Literal value to be set
    ValueSourceField string
    Name of field used to copy value
    query String
    Matcher
    ruleName String
    Rule name
    valueSource String
    Possible Values: FIELD, LITERAL
    value String
    Literal value to be set
    valueSourceField String
    Name of field used to copy value
    query string
    Matcher
    ruleName string
    Rule name
    valueSource string
    Possible Values: FIELD, LITERAL
    value string
    Literal value to be set
    valueSourceField string
    Name of field used to copy value
    query str
    Matcher
    rule_name str
    Rule name
    value_source str
    Possible Values: FIELD, LITERAL
    value str
    Literal value to be set
    value_source_field str
    Name of field used to copy value
    query String
    Matcher
    ruleName String
    Rule name
    valueSource String
    Possible Values: FIELD, LITERAL
    value String
    Literal value to be set
    valueSourceField String
    Name of field used to copy value

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.10.0 published on Friday, Jun 7, 2024 by Pulumiverse