com.pulumi.azure.loadtest.kotlin.inputs.LoadTestIdentityArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.loadtest.kotlin.inputs
import com.pulumi.azure.loadtest.inputs.LoadTestIdentityArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 LoadTestIdentityArgs(
public val identityIds: Output>? = null,
public val principalId: Output? = null,
public val tenantId: Output? = null,
public val type: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.loadtest.inputs.LoadTestIdentityArgs =
com.pulumi.azure.loadtest.inputs.LoadTestIdentityArgs.builder()
.identityIds(identityIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.principalId(principalId?.applyValue({ args0 -> args0 }))
.tenantId(tenantId?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LoadTestIdentityArgs].
*/
@PulumiTagMarker
public class LoadTestIdentityArgsBuilder internal constructor() {
private var identityIds: Output>? = null
private var principalId: Output? = null
private var tenantId: Output? = null
private var type: Output? = null
/**
* @param value A list of the User Assigned Identity IDs that should be assigned to this Load Test.
*/
@JvmName("nwfgjcqikqiuhhwc")
public suspend fun identityIds(`value`: Output>) {
this.identityIds = value
}
@JvmName("dnsojdgacroqpgcx")
public suspend fun identityIds(vararg values: Output) {
this.identityIds = Output.all(values.asList())
}
/**
* @param values A list of the User Assigned Identity IDs that should be assigned to this Load Test.
*/
@JvmName("koumlswhnwjlfxxp")
public suspend fun identityIds(values: List