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

com.pulumi.azure.healthcare.kotlin.inputs.DicomServiceIdentityArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.healthcare.kotlin.inputs

import com.pulumi.azure.healthcare.inputs.DicomServiceIdentityArgs.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 User Assigned Identity IDs which should be assigned to this Healthcare DICOM service.
 * @property principalId
 * @property tenantId
 * @property type The type of identity used for the Healthcare DICOM service. Possible values are `UserAssigned`, `SystemAssigned` and `SystemAssigned, UserAssigned`. If `UserAssigned` is set, an `identity_ids` must be set as well.
 */
public data class DicomServiceIdentityArgs(
    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.healthcare.inputs.DicomServiceIdentityArgs =
        com.pulumi.azure.healthcare.inputs.DicomServiceIdentityArgs.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 [DicomServiceIdentityArgs].
 */
@PulumiTagMarker
public class DicomServiceIdentityArgsBuilder 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 User Assigned Identity IDs which should be assigned to this Healthcare DICOM service.
     */
    @JvmName("crgvpqlwicmmvfth")
    public suspend fun identityIds(`value`: Output>) {
        this.identityIds = value
    }

    @JvmName("jwjjufgnvnmimbfw")
    public suspend fun identityIds(vararg values: Output) {
        this.identityIds = Output.all(values.asList())
    }

    /**
     * @param values A list of User Assigned Identity IDs which should be assigned to this Healthcare DICOM service.
     */
    @JvmName("wdarjhmbiujrxxlb")
    public suspend fun identityIds(values: List>) {
        this.identityIds = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("spqwnteuqfckiofr")
    public suspend fun principalId(`value`: Output) {
        this.principalId = value
    }

    /**
     * @param value
     */
    @JvmName("kmjgdbkqlqlitynh")
    public suspend fun tenantId(`value`: Output) {
        this.tenantId = value
    }

    /**
     * @param value The type of identity used for the Healthcare DICOM service. Possible values are `UserAssigned`, `SystemAssigned` and `SystemAssigned, UserAssigned`. If `UserAssigned` is set, an `identity_ids` must be set as well.
     */
    @JvmName("tfqfouqbiswgnsjt")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value A list of User Assigned Identity IDs which should be assigned to this Healthcare DICOM service.
     */
    @JvmName("efgtshvonxgqnfcm")
    public suspend fun identityIds(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.identityIds = mapped
    }

    /**
     * @param values A list of User Assigned Identity IDs which should be assigned to this Healthcare DICOM service.
     */
    @JvmName("pebyautxsavpydns")
    public suspend fun identityIds(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.identityIds = mapped
    }

    /**
     * @param value
     */
    @JvmName("sbuamruudsaneden")
    public suspend fun principalId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.principalId = mapped
    }

    /**
     * @param value
     */
    @JvmName("xchghdgtommopeks")
    public suspend fun tenantId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tenantId = mapped
    }

    /**
     * @param value The type of identity used for the Healthcare DICOM service. Possible values are `UserAssigned`, `SystemAssigned` and `SystemAssigned, UserAssigned`. If `UserAssigned` is set, an `identity_ids` must be set as well.
     */
    @JvmName("qqbsxkucfayjbjsn")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): DicomServiceIdentityArgs = DicomServiceIdentityArgs(
        identityIds = identityIds,
        principalId = principalId,
        tenantId = tenantId,
        type = type ?: throw PulumiNullFieldException("type"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy