TagRules

class TagRules : KotlinCustomResource

Manages Dynatrace tag rules.

Example Usage

resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleMonitor:
type: azure:dynatrace:Monitor
name: example
properties:
name: exmpledynatracemonitor
resourceGroupName: ${example.name}
location: ${test.location}
monitoringEnabled: true
marketplaceSubscriptionStatus: Active
identity:
type: SystemAssigned
user:
firstName: Alice
lastName: Bobab
email: alice@microsoft.com
phoneNumber: '123456'
country: westus
plan:
usageType: COMMITTED
billingCycle: MONTHLY
plan: azureportalintegration_privatepreview@TIDhjdtn7tfnxcy
effectiveDate: 2019-08-30T15:14:33Z
exampleTagRules:
type: azure:dynatrace:TagRules
name: example
properties:
name: default
monitorId: ${testAzurermDynatraceMonitors.id}
logRule:
filteringTags:
- name: Environment
value: Prod
action: Include
sendAzureActiveDirectoryLogsEnabled: true
sendActivityLogsEnabled: true
sendSubscriptionLogsEnabled: true
metricRule:
filteringTags:
- name: Environment
value: Prod
action: Include

API Providers

This resource uses the following Azure API Providers:

  • Dynatrace.Observability: 2023-04-27

Import

Dynatrace tag rules can be imported using the resource id, e.g.

$ pulumi import azure:dynatrace/tagRules:TagRules example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Dynatrace.Observability/monitors/monitor1/tagRules/tagRules1

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val logRule: Output<TagRulesLogRule>?

Set of rules for sending logs for the Monitor resource. A log_rule block as defined below.

Link copied to clipboard

Set of rules for sending metrics for the Monitor resource. A metric_rule block as defined below.

Link copied to clipboard
val monitorId: Output<String>

Name of the Dynatrace monitor. Changing this forces a new resource to be created.

Link copied to clipboard
val name: Output<String>

Name of the Dynatrace tag rules. Currently, the only supported value is default. Changing this forces a new resource to be created.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>