com.pulumi.azure.stack.kotlin.outputs.HciClusterIdentity.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.stack.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property principalId The Principal ID associated with this Managed Service Identity.
* @property tenantId The Tenant ID of the Azure Active Directory which is used by the Azure Stack HCI Cluster. Changing this forces a new resource to be created.
* > **NOTE** If unspecified the Tenant ID of the Provider will be used.
* @property type Specifies the type of Managed Service Identity that should be configured on the Azure Stack HCI Cluster. Possible value is `SystemAssigned`.
*/
public data class HciClusterIdentity(
public val principalId: String? = null,
public val tenantId: String? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.stack.outputs.HciClusterIdentity): HciClusterIdentity = HciClusterIdentity(
principalId = javaType.principalId().map({ args0 -> args0 }).orElse(null),
tenantId = javaType.tenantId().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
)
}
}