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

com.pulumi.azurenative.dbforpostgresql.kotlin.outputs.AuthConfigResponse.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.dbforpostgresql.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Authentication configuration properties of a server
 * @property activeDirectoryAuth If Enabled, Azure Active Directory authentication is enabled.
 * @property passwordAuth If Enabled, Password authentication is enabled.
 * @property tenantId Tenant id of the server.
 */
public data class AuthConfigResponse(
    public val activeDirectoryAuth: String? = null,
    public val passwordAuth: String? = null,
    public val tenantId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.dbforpostgresql.outputs.AuthConfigResponse): AuthConfigResponse = AuthConfigResponse(
            activeDirectoryAuth = javaType.activeDirectoryAuth().map({ args0 -> args0 }).orElse(null),
            passwordAuth = javaType.passwordAuth().map({ args0 -> args0 }).orElse(null),
            tenantId = javaType.tenantId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy