All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.newrelic.kotlin.outputs.MonitorPlan.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.newrelic.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property billingCycle Specifies the billing cycles. Possible values are `MONTHLY`, `WEEKLY` and `YEARLY`. Defaults to `MONTHLY`. Changing this forces a new Azure Native New Relic Monitor to be created.
 * @property effectiveDate Specifies the date when plan was applied. Changing this forces a new Azure Native New Relic Monitor to be created.
 * @property planId Specifies the plan id published by NewRelic. The only possible value is `newrelic-pay-as-you-go-free-live`. Defaults to `newrelic-pay-as-you-go-free-live`. Changing this forces a new Azure Native New Relic Monitor to be created.
 * @property usageType Specifies the usage type. Possible values are `COMMITTED` and `PAYG`. Defaults to `PAYG`. Changing this forces a new Azure Native New Relic Monitor to be created.
 */
public data class MonitorPlan(
    public val billingCycle: String? = null,
    public val effectiveDate: String,
    public val planId: String? = null,
    public val usageType: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.newrelic.outputs.MonitorPlan): MonitorPlan =
            MonitorPlan(
                billingCycle = javaType.billingCycle().map({ args0 -> args0 }).orElse(null),
                effectiveDate = javaType.effectiveDate(),
                planId = javaType.planId().map({ args0 -> args0 }).orElse(null),
                usageType = javaType.usageType().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy