dynatrace.BusinessEventsMetrics
Explore with Pulumi AI
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.
Constructor 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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
- Measure
Attribute 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
- Measure
Attribute 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
- measure
Attribute 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
- measure
Attribute 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
- measure
Attribute 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.
- 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
- Measure
Attribute 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
- Measure
Attribute 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
- measure
Attribute 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
- measure
Attribute 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
- measure
Attribute String - Attribute
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.