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

com.pulumi.azure.loganalytics.kotlin.outputs.ClusterIdentity.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.loganalytics.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property identityIds A list of User Assigned Managed Identity IDs to be assigned to this Windows Web App Slot.
 * > **NOTE:** This is required when `type` is set to `UserAssigned`.
 * @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 Log Analytics Cluster. Possible values are `SystemAssigned` and  `UserAssigned`. Changing this forces a new resource to be created.
 * > **NOTE:** The assigned `principal_id` and `tenant_id` can be retrieved after the identity `type` has been set to `SystemAssigned` and the Log Analytics Cluster has been created. More details are available below.
 */
public data class ClusterIdentity(
    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.loganalytics.outputs.ClusterIdentity): ClusterIdentity = ClusterIdentity(
            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(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy