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

com.pulumi.azure.datadog.kotlin.outputs.MonitorDatadogOrganization.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.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.datadog.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property apiKey Api key associated to the Datadog organization. Changing this forces a new Datadog Monitor to be created.
 * @property applicationKey Application key associated to the Datadog organization. Changing this forces a new Datadog Monitor to be created.
 * @property enterpriseAppId The ID of the enterprise_app. Changing this forces a new resource to be created.
 * @property id The ID of the Datadog Monitor.
 * @property linkingAuthCode The auth code used to linking to an existing Datadog organization. Changing this forces a new Datadog Monitor to be created.
 * @property linkingClientId The ID of the linking_client. Changing this forces a new Datadog Monitor to be created.
 * @property name The name of the user that will be associated with the Datadog Monitor. Changing this forces a new Datadog Monitor to be created.
 * @property redirectUri The redirect uri for linking. Changing this forces a new Datadog Monitor to be created.
 */
public data class MonitorDatadogOrganization(
    public val apiKey: String,
    public val applicationKey: String,
    public val enterpriseAppId: String? = null,
    public val id: String? = null,
    public val linkingAuthCode: String? = null,
    public val linkingClientId: String? = null,
    public val name: String? = null,
    public val redirectUri: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.datadog.outputs.MonitorDatadogOrganization):
            MonitorDatadogOrganization = MonitorDatadogOrganization(
            apiKey = javaType.apiKey(),
            applicationKey = javaType.applicationKey(),
            enterpriseAppId = javaType.enterpriseAppId().map({ args0 -> args0 }).orElse(null),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            linkingAuthCode = javaType.linkingAuthCode().map({ args0 -> args0 }).orElse(null),
            linkingClientId = javaType.linkingClientId().map({ args0 -> args0 }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            redirectUri = javaType.redirectUri().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy