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

com.pulumi.azure.loadtest.kotlin.outputs.LoadTestIdentity.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.loadtest.kotlin.outputs

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

/**
 *
 * @property identityIds A list of the User Assigned Identity IDs that should be assigned to this Load Test.
 * @property principalId The Principal ID for the System-Assigned Managed Identity assigned to this Load Test.
 * *
 * @property tenantId The Tenant ID for the System-Assigned Managed Identity assigned to this Load Test.
 * @property type Specifies the type of Managed Identity that should be assigned to this Load Test Encryption. Possible values are `SystemAssigned` or `UserAssigned`. Changing this forces a new Load Test to be created.
 */
public data class LoadTestIdentity(
    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.loadtest.outputs.LoadTestIdentity): LoadTestIdentity = LoadTestIdentity(
            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 - 2025 Weber Informatics LLC | Privacy Policy