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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property principalId The Principal ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
 * @property tenantId The Tenant ID for the Service Principal associated with the Identity of this Azure Native New Relic Monitor.
 * @property type Specifies the identity type of the Azure Native New Relic Monitor. The only possible value is `SystemAssigned`. Changing this forces a new Azure Native New Relic Monitor to be created.
 */
public data class MonitorIdentity(
    public val principalId: String? = null,
    public val tenantId: String? = null,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.newrelic.outputs.MonitorIdentity): MonitorIdentity = MonitorIdentity(
            principalId = javaType.principalId().map({ args0 -> args0 }).orElse(null),
            tenantId = javaType.tenantId().map({ args0 -> args0 }).orElse(null),
            type = javaType.type(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy