1. Packages
  2. Dynatrace
  3. API Docs
  4. BusinessEventsProcessing
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

dynatrace.BusinessEventsProcessing

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

    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,
                                 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.

    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",
        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"),
    	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")
        .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=dynatrace.BusinessEventsProcessingRuleTestingArgs(
            sample_event="string",
        ),
        script="string",
        transformation_fields=dynatrace.BusinessEventsProcessingTransformationFieldsArgs(
            transformation_fields=[dynatrace.BusinessEventsProcessingTransformationFieldsTransformationFieldArgs(
                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",
        transformationFields: {
            transformationFields: [{
                array: false,
                name: "string",
                optional: false,
                readonly: false,
                type: "string",
            }],
        },
    });
    
    type: dynatrace:BusinessEventsProcessing
    properties:
        enabled: false
        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

    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 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)
    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)
    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)
    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)
    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

    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,
            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)
    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)
    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)
    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)
    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)
    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

    BusinessEventsProcessingTransformationFields, BusinessEventsProcessingTransformationFieldsArgs

    BusinessEventsProcessingTransformationFieldsTransformationField, BusinessEventsProcessingTransformationFieldsTransformationFieldArgs

    Array bool
    Name string
    Optional bool
    Readonly bool
    Type string
    Array bool
    Name string
    Optional bool
    Readonly bool
    Type string
    array Boolean
    name String
    optional Boolean
    readonly Boolean
    type String
    array boolean
    name string
    optional boolean
    readonly boolean
    type string
    array bool
    name str
    optional bool
    readonly bool
    type str
    array Boolean
    name String
    optional Boolean
    readonly Boolean
    type String

    Package Details

    Repository
    dynatrace lbrlabs/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs