com.pulumi.azure.search.kotlin.outputs.ServiceIdentity.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.search.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 that should be configured on this Search Service. The only possible value is `SystemAssigned`.
*/
public data class ServiceIdentity(
public val principalId: String? = null,
public val tenantId: String? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.search.outputs.ServiceIdentity): ServiceIdentity = ServiceIdentity(
principalId = javaType.principalId().map({ args0 -> args0 }).orElse(null),
tenantId = javaType.tenantId().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
)
}
}