dynatrace.LogSecurityContext
Explore with Pulumi AI
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={
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The LogSecurityContext resource accepts the following input properties:
- Security
Context Pulumiverse.Rule Dynatrace. Inputs. Log Security Context Security Context Rule - 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
- Security
Context LogRule Security Context Security Context Rule 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
- security
Context LogRule Security Context Security Context Rule - 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
- security
Context LogRule Security Context Security Context Rule - 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
- security_
context_ Logrule Security Context Security Context Rule 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
- security
Context Property MapRule - 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
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.
- 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
- Security
Context Pulumiverse.Rule Dynatrace. Inputs. Log Security Context Security Context Rule - 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
- Security
Context LogRule Security Context Security Context Rule 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
- security
Context LogRule Security Context Security Context Rule - 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
- security
Context LogRule Security Context Security Context Rule - 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_ Logrule Security Context Security Context Rule 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
- security
Context Property MapRule - no documentation available
Supporting Types
LogSecurityContextSecurityContextRule, LogSecurityContextSecurityContextRuleArgs
- Query string
- Matcher
- Rule
Name string - Rule name
- Value
Source string - Possible Values:
FIELD
,LITERAL
- Value string
- Literal value to be set
- Value
Source stringField - Name of field used to copy value
- Query string
- Matcher
- Rule
Name string - Rule name
- Value
Source string - Possible Values:
FIELD
,LITERAL
- Value string
- Literal value to be set
- Value
Source stringField - Name of field used to copy value
- query String
- Matcher
- rule
Name String - Rule name
- value
Source String - Possible Values:
FIELD
,LITERAL
- value String
- Literal value to be set
- value
Source StringField - Name of field used to copy value
- query string
- Matcher
- rule
Name string - Rule name
- value
Source string - Possible Values:
FIELD
,LITERAL
- value string
- Literal value to be set
- value
Source stringField - 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_ strfield - Name of field used to copy value
- query String
- Matcher
- rule
Name String - Rule name
- value
Source String - Possible Values:
FIELD
,LITERAL
- value String
- Literal value to be set
- value
Source StringField - 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.