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

com.pulumi.azurenative.sql.kotlin.outputs.GetServerAzureADAdministratorResult.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.sql.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 * Azure Active Directory administrator.
 * @property administratorType Type of the sever administrator.
 * @property azureADOnlyAuthentication Azure Active Directory only Authentication enabled.
 * @property id Resource ID.
 * @property login Login name of the server administrator.
 * @property name Resource name.
 * @property sid SID (object ID) of the server administrator.
 * @property tenantId Tenant ID of the administrator.
 * @property type Resource type.
 */
public data class GetServerAzureADAdministratorResult(
    public val administratorType: String,
    public val azureADOnlyAuthentication: Boolean,
    public val id: String,
    public val login: String,
    public val name: String,
    public val sid: String,
    public val tenantId: String? = null,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.sql.outputs.GetServerAzureADAdministratorResult): GetServerAzureADAdministratorResult = GetServerAzureADAdministratorResult(
            administratorType = javaType.administratorType(),
            azureADOnlyAuthentication = javaType.azureADOnlyAuthentication(),
            id = javaType.id(),
            login = javaType.login(),
            name = javaType.name(),
            sid = javaType.sid(),
            tenantId = javaType.tenantId().map({ args0 -> args0 }).orElse(null),
            type = javaType.type(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy