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

com.pulumi.azure.sql.kotlin.outputs.ManagedInstanceIdentity.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.sql.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property principalId The Principal ID for the Service Principal associated with the Identity of this SQL Managed Instance.
 * @property tenantId The Tenant ID for the Service Principal associated with the Identity of this SQL Managed Instance.
 * @property type Specifies the type of Managed Service Identity that should be configured on this SQL Managed Instance. The only possible value is `SystemAssigned`.
 */
public data class ManagedInstanceIdentity(
    public val principalId: String? = null,
    public val tenantId: String? = null,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.sql.outputs.ManagedInstanceIdentity): ManagedInstanceIdentity = ManagedInstanceIdentity(
            principalId = javaType.principalId().map({ args0 -> args0 }).orElse(null),
            tenantId = javaType.tenantId().map({ args0 -> args0 }).orElse(null),
            type = javaType.type(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy