1. Packages
  2. Dynatrace
  3. API Docs
  4. BusinessEventsProcessing
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

dynatrace.BusinessEventsProcessing

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

    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
    RuleName string
    Rule name
    RuleTesting Pulumiverse.Dynatrace.Inputs.BusinessEventsProcessingRuleTesting

    Rule testing ### 1. Paste an event sample

    Script string
    See our documentation
    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
    TransformationFields Pulumiverse.Dynatrace.Inputs.BusinessEventsProcessingTransformationFields
    Transformation fields
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Matcher string
    See our documentation
    RuleName string
    Rule name
    RuleTesting BusinessEventsProcessingRuleTestingArgs

    Rule testing ### 1. Paste an event sample

    Script string
    See our documentation
    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
    TransformationFields BusinessEventsProcessingTransformationFieldsArgs
    Transformation fields
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    matcher String
    See our documentation
    ruleName String
    Rule name
    ruleTesting BusinessEventsProcessingRuleTesting

    Rule testing ### 1. Paste an event sample

    script String
    See our documentation
    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
    transformationFields BusinessEventsProcessingTransformationFields
    Transformation fields
    enabled boolean
    This setting is enabled (true) or disabled (false)
    matcher string
    See our documentation
    ruleName string
    Rule name
    ruleTesting BusinessEventsProcessingRuleTesting

    Rule testing ### 1. Paste an event sample

    script string
    See our documentation
    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
    transformationFields BusinessEventsProcessingTransformationFields
    Transformation fields
    enabled bool
    This setting is enabled (true) or disabled (false)
    matcher str
    See our documentation
    rule_name str
    Rule name
    rule_testing BusinessEventsProcessingRuleTestingArgs

    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 BusinessEventsProcessingTransformationFieldsArgs
    Transformation fields
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    matcher String
    See our documentation
    ruleName String
    Rule name
    ruleTesting Property Map

    Rule testing ### 1. Paste an event sample

    script String
    See our documentation
    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
    transformationFields 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.
    The following state arguments are supported:
    Enabled bool
    This setting is enabled (true) or disabled (false)
    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
    Matcher string
    See our documentation
    RuleName string
    Rule name
    RuleTesting Pulumiverse.Dynatrace.Inputs.BusinessEventsProcessingRuleTesting

    Rule testing ### 1. Paste an event sample

    Script string
    See our documentation
    TransformationFields Pulumiverse.Dynatrace.Inputs.BusinessEventsProcessingTransformationFields
    Transformation fields
    Enabled bool
    This setting is enabled (true) or disabled (false)
    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
    Matcher string
    See our documentation
    RuleName string
    Rule name
    RuleTesting BusinessEventsProcessingRuleTestingArgs

    Rule testing ### 1. Paste an event sample

    Script string
    See our documentation
    TransformationFields BusinessEventsProcessingTransformationFieldsArgs
    Transformation fields
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    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
    matcher String
    See our documentation
    ruleName String
    Rule name
    ruleTesting BusinessEventsProcessingRuleTesting

    Rule testing ### 1. Paste an event sample

    script String
    See our documentation
    transformationFields BusinessEventsProcessingTransformationFields
    Transformation fields
    enabled boolean
    This setting is enabled (true) or disabled (false)
    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
    matcher string
    See our documentation
    ruleName string
    Rule name
    ruleTesting BusinessEventsProcessingRuleTesting

    Rule testing ### 1. Paste an event sample

    script string
    See our documentation
    transformationFields BusinessEventsProcessingTransformationFields
    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 BusinessEventsProcessingRuleTestingArgs

    Rule testing ### 1. Paste an event sample

    script str
    See our documentation
    transformation_fields BusinessEventsProcessingTransformationFieldsArgs
    Transformation fields
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    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
    matcher String
    See our documentation
    ruleName String
    Rule name
    ruleTesting Property Map

    Rule testing ### 1. Paste an event sample

    script String
    See our documentation
    transformationFields Property Map
    Transformation fields

    Supporting Types

    BusinessEventsProcessingRuleTesting, BusinessEventsProcessingRuleTestingArgs

    SampleEvent string
    Sample event to use for the test run. Only JSON format is supported.
    SampleEvent string
    Sample event to use for the test run. Only JSON format is supported.
    sampleEvent String
    Sample event to use for the test run. Only JSON format is supported.
    sampleEvent 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.
    sampleEvent String
    Sample event to use for the test run. Only JSON format is supported.

    BusinessEventsProcessingTransformationFields, BusinessEventsProcessingTransformationFieldsArgs

    BusinessEventsProcessingTransformationFieldsTransformationField, BusinessEventsProcessingTransformationFieldsTransformationFieldArgs

    Array bool
    Is Array
    Name string
    no documentation available
    Optional bool
    no documentation available
    Readonly bool
    Read-only
    Type string
    Possible Values: BOOLEAN, DOUBLE, DURATION, INT, IPADDR, LONG, STRING, TIMESTAMP
    Array bool
    Is Array
    Name string
    no documentation available
    Optional bool
    no documentation available
    Readonly bool
    Read-only
    Type string
    Possible Values: BOOLEAN, DOUBLE, DURATION, INT, IPADDR, LONG, STRING, TIMESTAMP
    array Boolean
    Is Array
    name String
    no documentation available
    optional Boolean
    no documentation available
    readonly Boolean
    Read-only
    type String
    Possible Values: BOOLEAN, DOUBLE, DURATION, INT, IPADDR, LONG, STRING, TIMESTAMP
    array boolean
    Is Array
    name string
    no documentation available
    optional boolean
    no documentation available
    readonly boolean
    Read-only
    type string
    Possible Values: BOOLEAN, DOUBLE, DURATION, INT, IPADDR, LONG, STRING, TIMESTAMP
    array bool
    Is Array
    name str
    no documentation available
    optional bool
    no documentation available
    readonly bool
    Read-only
    type str
    Possible Values: BOOLEAN, DOUBLE, DURATION, INT, IPADDR, LONG, STRING, TIMESTAMP
    array Boolean
    Is Array
    name String
    no documentation available
    optional Boolean
    no documentation available
    readonly Boolean
    Read-only
    type String
    Possible Values: BOOLEAN, DOUBLE, DURATION, INT, IPADDR, LONG, STRING, TIMESTAMP

    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.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse