dynatrace.BusinessEventsSecurityContext
Explore with Pulumi AI
Create BusinessEventsSecurityContext Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BusinessEventsSecurityContext(name: string, args: BusinessEventsSecurityContextArgs, opts?: CustomResourceOptions);
@overload
def BusinessEventsSecurityContext(resource_name: str,
args: BusinessEventsSecurityContextArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BusinessEventsSecurityContext(resource_name: str,
opts: Optional[ResourceOptions] = None,
security_context_rule: Optional[BusinessEventsSecurityContextSecurityContextRuleArgs] = None,
insert_after: Optional[str] = None)
func NewBusinessEventsSecurityContext(ctx *Context, name string, args BusinessEventsSecurityContextArgs, opts ...ResourceOption) (*BusinessEventsSecurityContext, error)
public BusinessEventsSecurityContext(string name, BusinessEventsSecurityContextArgs args, CustomResourceOptions? opts = null)
public BusinessEventsSecurityContext(String name, BusinessEventsSecurityContextArgs args)
public BusinessEventsSecurityContext(String name, BusinessEventsSecurityContextArgs args, CustomResourceOptions options)
type: dynatrace:BusinessEventsSecurityContext
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 BusinessEventsSecurityContextArgs
- 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 BusinessEventsSecurityContextArgs
- 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 BusinessEventsSecurityContextArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BusinessEventsSecurityContextArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BusinessEventsSecurityContextArgs
- 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 businessEventsSecurityContextResource = new Dynatrace.BusinessEventsSecurityContext("businessEventsSecurityContextResource", new()
{
SecurityContextRule = new Dynatrace.Inputs.BusinessEventsSecurityContextSecurityContextRuleArgs
{
Query = "string",
RuleName = "string",
ValueSource = "string",
Value = "string",
ValueSourceField = "string",
},
InsertAfter = "string",
});
example, err := dynatrace.NewBusinessEventsSecurityContext(ctx, "businessEventsSecurityContextResource", &dynatrace.BusinessEventsSecurityContextArgs{
SecurityContextRule: &dynatrace.BusinessEventsSecurityContextSecurityContextRuleArgs{
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 businessEventsSecurityContextResource = new BusinessEventsSecurityContext("businessEventsSecurityContextResource", BusinessEventsSecurityContextArgs.builder()
.securityContextRule(BusinessEventsSecurityContextSecurityContextRuleArgs.builder()
.query("string")
.ruleName("string")
.valueSource("string")
.value("string")
.valueSourceField("string")
.build())
.insertAfter("string")
.build());
business_events_security_context_resource = dynatrace.BusinessEventsSecurityContext("businessEventsSecurityContextResource",
security_context_rule={
"query": "string",
"rule_name": "string",
"value_source": "string",
"value": "string",
"value_source_field": "string",
},
insert_after="string")
const businessEventsSecurityContextResource = new dynatrace.BusinessEventsSecurityContext("businessEventsSecurityContextResource", {
securityContextRule: {
query: "string",
ruleName: "string",
valueSource: "string",
value: "string",
valueSourceField: "string",
},
insertAfter: "string",
});
type: dynatrace:BusinessEventsSecurityContext
properties:
insertAfter: string
securityContextRule:
query: string
ruleName: string
value: string
valueSource: string
valueSourceField: string
BusinessEventsSecurityContext 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 BusinessEventsSecurityContext resource accepts the following input properties:
- Security
Context Pulumiverse.Rule Dynatrace. Inputs. Business Events 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 BusinessRule Events 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 BusinessRule Events 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 BusinessRule Events 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_ Businessrule Events 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 BusinessEventsSecurityContext 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 BusinessEventsSecurityContext Resource
Get an existing BusinessEventsSecurityContext 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?: BusinessEventsSecurityContextState, opts?: CustomResourceOptions): BusinessEventsSecurityContext
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
insert_after: Optional[str] = None,
security_context_rule: Optional[BusinessEventsSecurityContextSecurityContextRuleArgs] = None) -> BusinessEventsSecurityContext
func GetBusinessEventsSecurityContext(ctx *Context, name string, id IDInput, state *BusinessEventsSecurityContextState, opts ...ResourceOption) (*BusinessEventsSecurityContext, error)
public static BusinessEventsSecurityContext Get(string name, Input<string> id, BusinessEventsSecurityContextState? state, CustomResourceOptions? opts = null)
public static BusinessEventsSecurityContext get(String name, Output<String> id, BusinessEventsSecurityContextState 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. Business Events 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 BusinessRule Events 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 BusinessRule Events 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 BusinessRule Events 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_ Businessrule Events 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
BusinessEventsSecurityContextSecurityContextRule, BusinessEventsSecurityContextSecurityContextRuleArgs
- 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.