dynatrace.BusinessEventsProcessing
Explore with Pulumi AI
Create BusinessEventsProcessing Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BusinessEventsProcessing(name: string, args: BusinessEventsProcessingArgs, opts?: CustomResourceOptions);
@overload
def BusinessEventsProcessing(resource_name: str,
args: BusinessEventsProcessingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BusinessEventsProcessing(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
matcher: Optional[str] = None,
rule_name: Optional[str] = None,
rule_testing: Optional[BusinessEventsProcessingRuleTestingArgs] = None,
script: Optional[str] = None,
insert_after: Optional[str] = None,
transformation_fields: Optional[BusinessEventsProcessingTransformationFieldsArgs] = None)
func NewBusinessEventsProcessing(ctx *Context, name string, args BusinessEventsProcessingArgs, opts ...ResourceOption) (*BusinessEventsProcessing, error)
public BusinessEventsProcessing(string name, BusinessEventsProcessingArgs args, CustomResourceOptions? opts = null)
public BusinessEventsProcessing(String name, BusinessEventsProcessingArgs args)
public BusinessEventsProcessing(String name, BusinessEventsProcessingArgs args, CustomResourceOptions options)
type: dynatrace:BusinessEventsProcessing
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 BusinessEventsProcessingArgs
- 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 BusinessEventsProcessingArgs
- 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 BusinessEventsProcessingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BusinessEventsProcessingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BusinessEventsProcessingArgs
- 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 businessEventsProcessingResource = new Dynatrace.BusinessEventsProcessing("businessEventsProcessingResource", new()
{
Enabled = false,
Matcher = "string",
RuleName = "string",
RuleTesting = new Dynatrace.Inputs.BusinessEventsProcessingRuleTestingArgs
{
SampleEvent = "string",
},
Script = "string",
InsertAfter = "string",
TransformationFields = new Dynatrace.Inputs.BusinessEventsProcessingTransformationFieldsArgs
{
TransformationFields = new[]
{
new Dynatrace.Inputs.BusinessEventsProcessingTransformationFieldsTransformationFieldArgs
{
Array = false,
Name = "string",
Optional = false,
Readonly = false,
Type = "string",
},
},
},
});
example, err := dynatrace.NewBusinessEventsProcessing(ctx, "businessEventsProcessingResource", &dynatrace.BusinessEventsProcessingArgs{
Enabled: pulumi.Bool(false),
Matcher: pulumi.String("string"),
RuleName: pulumi.String("string"),
RuleTesting: &dynatrace.BusinessEventsProcessingRuleTestingArgs{
SampleEvent: pulumi.String("string"),
},
Script: pulumi.String("string"),
InsertAfter: pulumi.String("string"),
TransformationFields: &dynatrace.BusinessEventsProcessingTransformationFieldsArgs{
TransformationFields: dynatrace.BusinessEventsProcessingTransformationFieldsTransformationFieldArray{
&dynatrace.BusinessEventsProcessingTransformationFieldsTransformationFieldArgs{
Array: pulumi.Bool(false),
Name: pulumi.String("string"),
Optional: pulumi.Bool(false),
Readonly: pulumi.Bool(false),
Type: pulumi.String("string"),
},
},
},
})
var businessEventsProcessingResource = new BusinessEventsProcessing("businessEventsProcessingResource", BusinessEventsProcessingArgs.builder()
.enabled(false)
.matcher("string")
.ruleName("string")
.ruleTesting(BusinessEventsProcessingRuleTestingArgs.builder()
.sampleEvent("string")
.build())
.script("string")
.insertAfter("string")
.transformationFields(BusinessEventsProcessingTransformationFieldsArgs.builder()
.transformationFields(BusinessEventsProcessingTransformationFieldsTransformationFieldArgs.builder()
.array(false)
.name("string")
.optional(false)
.readonly(false)
.type("string")
.build())
.build())
.build());
business_events_processing_resource = dynatrace.BusinessEventsProcessing("businessEventsProcessingResource",
enabled=False,
matcher="string",
rule_name="string",
rule_testing={
"sample_event": "string",
},
script="string",
insert_after="string",
transformation_fields={
"transformation_fields": [{
"array": False,
"name": "string",
"optional": False,
"readonly": False,
"type": "string",
}],
})
const businessEventsProcessingResource = new dynatrace.BusinessEventsProcessing("businessEventsProcessingResource", {
enabled: false,
matcher: "string",
ruleName: "string",
ruleTesting: {
sampleEvent: "string",
},
script: "string",
insertAfter: "string",
transformationFields: {
transformationFields: [{
array: false,
name: "string",
optional: false,
readonly: false,
type: "string",
}],
},
});
type: dynatrace:BusinessEventsProcessing
properties:
enabled: false
insertAfter: string
matcher: string
ruleName: string
ruleTesting:
sampleEvent: string
script: string
transformationFields:
transformationFields:
- array: false
name: string
optional: false
readonly: false
type: string
BusinessEventsProcessing 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 BusinessEventsProcessing resource accepts the following input properties:
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Matcher string
- See our documentation
- Rule
Name string - Rule name
- Rule
Testing Pulumiverse.Dynatrace. Inputs. Business Events Processing Rule Testing Rule testing ### 1. Paste an event sample
- Script string
- See our documentation
- 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
- Transformation
Fields Pulumiverse.Dynatrace. Inputs. Business Events Processing Transformation Fields - Transformation fields
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Matcher string
- See our documentation
- Rule
Name string - Rule name
- Rule
Testing BusinessEvents Processing Rule Testing Args Rule testing ### 1. Paste an event sample
- Script string
- See our documentation
- 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
- Transformation
Fields BusinessEvents Processing Transformation Fields Args - Transformation fields
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - matcher String
- See our documentation
- rule
Name String - Rule name
- rule
Testing BusinessEvents Processing Rule Testing Rule testing ### 1. Paste an event sample
- script String
- See our documentation
- 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
- transformation
Fields BusinessEvents Processing Transformation Fields - Transformation fields
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - matcher string
- See our documentation
- rule
Name string - Rule name
- rule
Testing BusinessEvents Processing Rule Testing Rule testing ### 1. Paste an event sample
- script string
- See our documentation
- 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
- transformation
Fields BusinessEvents Processing Transformation Fields - Transformation fields
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - matcher str
- See our documentation
- rule_
name str - Rule name
- rule_
testing BusinessEvents Processing Rule Testing Args Rule testing ### 1. Paste an event sample
- script str
- See our documentation
- 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
- transformation_
fields BusinessEvents Processing Transformation Fields Args - Transformation fields
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - matcher String
- See our documentation
- rule
Name String - Rule name
- rule
Testing Property Map Rule testing ### 1. Paste an event sample
- script String
- See our documentation
- 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
- transformation
Fields Property Map - Transformation fields
Outputs
All input properties are implicitly available as output properties. Additionally, the BusinessEventsProcessing 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 BusinessEventsProcessing Resource
Get an existing BusinessEventsProcessing 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?: BusinessEventsProcessingState, opts?: CustomResourceOptions): BusinessEventsProcessing
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
insert_after: Optional[str] = None,
matcher: Optional[str] = None,
rule_name: Optional[str] = None,
rule_testing: Optional[BusinessEventsProcessingRuleTestingArgs] = None,
script: Optional[str] = None,
transformation_fields: Optional[BusinessEventsProcessingTransformationFieldsArgs] = None) -> BusinessEventsProcessing
func GetBusinessEventsProcessing(ctx *Context, name string, id IDInput, state *BusinessEventsProcessingState, opts ...ResourceOption) (*BusinessEventsProcessing, error)
public static BusinessEventsProcessing Get(string name, Input<string> id, BusinessEventsProcessingState? state, CustomResourceOptions? opts = null)
public static BusinessEventsProcessing get(String name, Output<String> id, BusinessEventsProcessingState 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
- Matcher string
- See our documentation
- Rule
Name string - Rule name
- Rule
Testing Pulumiverse.Dynatrace. Inputs. Business Events Processing Rule Testing Rule testing ### 1. Paste an event sample
- Script string
- See our documentation
- Transformation
Fields Pulumiverse.Dynatrace. Inputs. Business Events Processing Transformation Fields - Transformation fields
- 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
- Matcher string
- See our documentation
- Rule
Name string - Rule name
- Rule
Testing BusinessEvents Processing Rule Testing Args Rule testing ### 1. Paste an event sample
- Script string
- See our documentation
- Transformation
Fields BusinessEvents Processing Transformation Fields Args - Transformation fields
- 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
- matcher String
- See our documentation
- rule
Name String - Rule name
- rule
Testing BusinessEvents Processing Rule Testing Rule testing ### 1. Paste an event sample
- script String
- See our documentation
- transformation
Fields BusinessEvents Processing Transformation Fields - Transformation fields
- 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
- matcher string
- See our documentation
- rule
Name string - Rule name
- rule
Testing BusinessEvents Processing Rule Testing Rule testing ### 1. Paste an event sample
- script string
- See our documentation
- transformation
Fields BusinessEvents Processing Transformation Fields - Transformation fields
- 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
- matcher str
- See our documentation
- rule_
name str - Rule name
- rule_
testing BusinessEvents Processing Rule Testing Args Rule testing ### 1. Paste an event sample
- script str
- See our documentation
- transformation_
fields BusinessEvents Processing Transformation Fields Args - Transformation fields
- 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
- matcher String
- See our documentation
- rule
Name String - Rule name
- rule
Testing Property Map Rule testing ### 1. Paste an event sample
- script String
- See our documentation
- transformation
Fields Property Map - Transformation fields
Supporting Types
BusinessEventsProcessingRuleTesting, BusinessEventsProcessingRuleTestingArgs
- Sample
Event string - Sample event to use for the test run. Only JSON format is supported.
- Sample
Event string - Sample event to use for the test run. Only JSON format is supported.
- sample
Event String - Sample event to use for the test run. Only JSON format is supported.
- sample
Event string - Sample event to use for the test run. Only JSON format is supported.
- sample_
event str - Sample event to use for the test run. Only JSON format is supported.
- sample
Event String - Sample event to use for the test run. Only JSON format is supported.
BusinessEventsProcessingTransformationFields, BusinessEventsProcessingTransformationFieldsArgs
BusinessEventsProcessingTransformationFieldsTransformationField, BusinessEventsProcessingTransformationFieldsTransformationFieldArgs
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.