MonitorArgs

data class MonitorArgs(val identity: Output<MonitorIdentityArgs>? = null, val location: Output<String>? = null, val marketplaceSubscription: Output<String>? = null, val monitoringEnabled: Output<Boolean>? = null, val name: Output<String>? = null, val plan: Output<MonitorPlanArgs>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val user: Output<MonitorUserArgs>? = null) : ConvertibleToJava<MonitorArgs>

Manages Dynatrace monitors.

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

Import

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

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

Constructors

Link copied to clipboard
constructor(identity: Output<MonitorIdentityArgs>? = null, location: Output<String>? = null, marketplaceSubscription: Output<String>? = null, monitoringEnabled: Output<Boolean>? = null, name: Output<String>? = null, plan: Output<MonitorPlanArgs>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null, user: Output<MonitorUserArgs>? = null)

Properties

Link copied to clipboard
val identity: Output<MonitorIdentityArgs>? = null

The kind of managed identity assigned to this resource. A identity block as defined below.

Link copied to clipboard
val location: Output<String>? = null

The Azure Region where the Dynatrace monitor should exist. Changing this forces a new resource to be created.

Link copied to clipboard
val marketplaceSubscription: Output<String>? = null

Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state. Possible values are Active and Suspended.

Link copied to clipboard
val monitoringEnabled: Output<Boolean>? = null

Flag specifying if the resource monitoring is enabled or disabled. Default is true.

Link copied to clipboard
val name: Output<String>? = null

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

Link copied to clipboard
val plan: Output<MonitorPlanArgs>? = null

Billing plan information. A plan block as defined below. Changing this forces a new resource to be created.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the Resource Group where the Dynatrace monitor should exist. Changing this forces a new resource to be created.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags to assign to the resource.

Link copied to clipboard
val user: Output<MonitorUserArgs>? = null

User's information. A user block as defined below. Chainging this forces a new resource to be created.

Functions

Link copied to clipboard
open override fun toJava(): MonitorArgs