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

dynatrace.BusinessEventsMetrics

Explore with Pulumi AI

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

    Create BusinessEventsMetrics Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BusinessEventsMetrics(name: string, args: BusinessEventsMetricsArgs, opts?: CustomResourceOptions);
    @overload
    def BusinessEventsMetrics(resource_name: str,
                              args: BusinessEventsMetricsArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def BusinessEventsMetrics(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              enabled: Optional[bool] = None,
                              key: Optional[str] = None,
                              matcher: Optional[str] = None,
                              measure: Optional[str] = None,
                              dimensions: Optional[Sequence[str]] = None,
                              measure_attribute: Optional[str] = None)
    func NewBusinessEventsMetrics(ctx *Context, name string, args BusinessEventsMetricsArgs, opts ...ResourceOption) (*BusinessEventsMetrics, error)
    public BusinessEventsMetrics(string name, BusinessEventsMetricsArgs args, CustomResourceOptions? opts = null)
    public BusinessEventsMetrics(String name, BusinessEventsMetricsArgs args)
    public BusinessEventsMetrics(String name, BusinessEventsMetricsArgs args, CustomResourceOptions options)
    
    type: dynatrace:BusinessEventsMetrics
    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 BusinessEventsMetricsArgs
    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 BusinessEventsMetricsArgs
    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 BusinessEventsMetricsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BusinessEventsMetricsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BusinessEventsMetricsArgs
    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 businessEventsMetricsResource = new Dynatrace.BusinessEventsMetrics("businessEventsMetricsResource", new()
    {
        Enabled = false,
        Key = "string",
        Matcher = "string",
        Measure = "string",
        Dimensions = new[]
        {
            "string",
        },
        MeasureAttribute = "string",
    });
    
    example, err := dynatrace.NewBusinessEventsMetrics(ctx, "businessEventsMetricsResource", &dynatrace.BusinessEventsMetricsArgs{
    	Enabled: pulumi.Bool(false),
    	Key:     pulumi.String("string"),
    	Matcher: pulumi.String("string"),
    	Measure: pulumi.String("string"),
    	Dimensions: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	MeasureAttribute: pulumi.String("string"),
    })
    
    var businessEventsMetricsResource = new BusinessEventsMetrics("businessEventsMetricsResource", BusinessEventsMetricsArgs.builder()        
        .enabled(false)
        .key("string")
        .matcher("string")
        .measure("string")
        .dimensions("string")
        .measureAttribute("string")
        .build());
    
    business_events_metrics_resource = dynatrace.BusinessEventsMetrics("businessEventsMetricsResource",
        enabled=False,
        key="string",
        matcher="string",
        measure="string",
        dimensions=["string"],
        measure_attribute="string")
    
    const businessEventsMetricsResource = new dynatrace.BusinessEventsMetrics("businessEventsMetricsResource", {
        enabled: false,
        key: "string",
        matcher: "string",
        measure: "string",
        dimensions: ["string"],
        measureAttribute: "string",
    });
    
    type: dynatrace:BusinessEventsMetrics
    properties:
        dimensions:
            - string
        enabled: false
        key: string
        matcher: string
        measure: string
        measureAttribute: string
    

    BusinessEventsMetrics 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 BusinessEventsMetrics resource accepts the following input properties:

    Enabled bool
    This setting is enabled (true) or disabled (false)
    Key string
    Key
    Matcher string
    See our documentation
    Measure string
    Possible Values: ATTRIBUTE, OCCURRENCE
    Dimensions List<string>
    no documentation available
    MeasureAttribute string
    Attribute
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Key string
    Key
    Matcher string
    See our documentation
    Measure string
    Possible Values: ATTRIBUTE, OCCURRENCE
    Dimensions []string
    no documentation available
    MeasureAttribute string
    Attribute
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    key String
    Key
    matcher String
    See our documentation
    measure String
    Possible Values: ATTRIBUTE, OCCURRENCE
    dimensions List<String>
    no documentation available
    measureAttribute String
    Attribute
    enabled boolean
    This setting is enabled (true) or disabled (false)
    key string
    Key
    matcher string
    See our documentation
    measure string
    Possible Values: ATTRIBUTE, OCCURRENCE
    dimensions string[]
    no documentation available
    measureAttribute string
    Attribute
    enabled bool
    This setting is enabled (true) or disabled (false)
    key str
    Key
    matcher str
    See our documentation
    measure str
    Possible Values: ATTRIBUTE, OCCURRENCE
    dimensions Sequence[str]
    no documentation available
    measure_attribute str
    Attribute
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    key String
    Key
    matcher String
    See our documentation
    measure String
    Possible Values: ATTRIBUTE, OCCURRENCE
    dimensions List<String>
    no documentation available
    measureAttribute String
    Attribute

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BusinessEventsMetrics 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 BusinessEventsMetrics Resource

    Get an existing BusinessEventsMetrics 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?: BusinessEventsMetricsState, opts?: CustomResourceOptions): BusinessEventsMetrics
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            dimensions: Optional[Sequence[str]] = None,
            enabled: Optional[bool] = None,
            key: Optional[str] = None,
            matcher: Optional[str] = None,
            measure: Optional[str] = None,
            measure_attribute: Optional[str] = None) -> BusinessEventsMetrics
    func GetBusinessEventsMetrics(ctx *Context, name string, id IDInput, state *BusinessEventsMetricsState, opts ...ResourceOption) (*BusinessEventsMetrics, error)
    public static BusinessEventsMetrics Get(string name, Input<string> id, BusinessEventsMetricsState? state, CustomResourceOptions? opts = null)
    public static BusinessEventsMetrics get(String name, Output<String> id, BusinessEventsMetricsState 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:
    Dimensions List<string>
    no documentation available
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Key string
    Key
    Matcher string
    See our documentation
    Measure string
    Possible Values: ATTRIBUTE, OCCURRENCE
    MeasureAttribute string
    Attribute
    Dimensions []string
    no documentation available
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Key string
    Key
    Matcher string
    See our documentation
    Measure string
    Possible Values: ATTRIBUTE, OCCURRENCE
    MeasureAttribute string
    Attribute
    dimensions List<String>
    no documentation available
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    key String
    Key
    matcher String
    See our documentation
    measure String
    Possible Values: ATTRIBUTE, OCCURRENCE
    measureAttribute String
    Attribute
    dimensions string[]
    no documentation available
    enabled boolean
    This setting is enabled (true) or disabled (false)
    key string
    Key
    matcher string
    See our documentation
    measure string
    Possible Values: ATTRIBUTE, OCCURRENCE
    measureAttribute string
    Attribute
    dimensions Sequence[str]
    no documentation available
    enabled bool
    This setting is enabled (true) or disabled (false)
    key str
    Key
    matcher str
    See our documentation
    measure str
    Possible Values: ATTRIBUTE, OCCURRENCE
    measure_attribute str
    Attribute
    dimensions List<String>
    no documentation available
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    key String
    Key
    matcher String
    See our documentation
    measure String
    Possible Values: ATTRIBUTE, OCCURRENCE
    measureAttribute String
    Attribute

    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