com.pulumi.azure.arckubernetes.kotlin.outputs.ClusterIdentity.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.arckubernetes.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property principalId The Principal ID associated with this Managed Service Identity.
* @property tenantId The Tenant ID associated with this Managed Service Identity.
* @property type Specifies the type of Managed Service Identity assigned to this Arc Kubernetes Cluster. At this time the only possible value is `SystemAssigned`. Changing this forces a new resource to be created.
*/
public data class ClusterIdentity(
public val principalId: String? = null,
public val tenantId: String? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.arckubernetes.outputs.ClusterIdentity): ClusterIdentity = ClusterIdentity(
principalId = javaType.principalId().map({ args0 -> args0 }).orElse(null),
tenantId = javaType.tenantId().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
)
}
}