com.pulumi.azure.appinsights.kotlin.outputs.WorkbookIdentity.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.appinsights.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property identityIds The list of User Assigned Managed Identity IDs assigned to this Workbook. Changing this forces a new resource to be created.
* @property principalId The Principal ID of the System Assigned Managed Service Identity that is configured on this Workbook.
* @property tenantId The Tenant ID of the System Assigned Managed Service Identity that is configured on this Workbook.
* @property type The type of Managed Service Identity that is configured on this Workbook. Possible values are `UserAssigned`, `SystemAssigned` and `SystemAssigned, UserAssigned`. Changing this forces a new resource to be created.
*/
public data class WorkbookIdentity(
public val identityIds: List? = null,
public val principalId: String? = null,
public val tenantId: String? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.appinsights.outputs.WorkbookIdentity): WorkbookIdentity = WorkbookIdentity(
identityIds = javaType.identityIds().map({ args0 -> args0 }),
principalId = javaType.principalId().map({ args0 -> args0 }).orElse(null),
tenantId = javaType.tenantId().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
)
}
}