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

com.pulumi.azurenative.machinelearningservices.kotlin.inputs.DataLakeAnalyticsArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.machinelearningservices.kotlin.inputs

import com.pulumi.azurenative.machinelearningservices.inputs.DataLakeAnalyticsArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * A DataLakeAnalytics compute.
 * @property computeLocation Location for the underlying compute
 * @property computeType The type of compute
 * Expected value is 'DataLakeAnalytics'.
 * @property description The description of the Machine Learning compute.
 * @property disableLocalAuth Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.
 * @property properties
 * @property resourceId ARM resource id of the underlying compute
 */
public data class DataLakeAnalyticsArgs(
    public val computeLocation: Output? = null,
    public val computeType: Output,
    public val description: Output? = null,
    public val disableLocalAuth: Output? = null,
    public val properties: Output? = null,
    public val resourceId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.DataLakeAnalyticsArgs = com.pulumi.azurenative.machinelearningservices.inputs.DataLakeAnalyticsArgs.builder()
        .computeLocation(computeLocation?.applyValue({ args0 -> args0 }))
        .computeType(computeType.applyValue({ args0 -> args0 }))
        .description(description?.applyValue({ args0 -> args0 }))
        .disableLocalAuth(disableLocalAuth?.applyValue({ args0 -> args0 }))
        .properties(properties?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .resourceId(resourceId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataLakeAnalyticsArgs].
 */
@PulumiTagMarker
public class DataLakeAnalyticsArgsBuilder internal constructor() {
    private var computeLocation: Output? = null

    private var computeType: Output? = null

    private var description: Output? = null

    private var disableLocalAuth: Output? = null

    private var properties: Output? = null

    private var resourceId: Output? = null

    /**
     * @param value Location for the underlying compute
     */
    @JvmName("lquhvtbalovdrabb")
    public suspend fun computeLocation(`value`: Output) {
        this.computeLocation = value
    }

    /**
     * @param value The type of compute
     * Expected value is 'DataLakeAnalytics'.
     */
    @JvmName("qliiseynnyssdywd")
    public suspend fun computeType(`value`: Output) {
        this.computeType = value
    }

    /**
     * @param value The description of the Machine Learning compute.
     */
    @JvmName("kasfefhjvadjoxsu")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.
     */
    @JvmName("ouhbjnmdvuqkmoqd")
    public suspend fun disableLocalAuth(`value`: Output) {
        this.disableLocalAuth = value
    }

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

    /**
     * @param value ARM resource id of the underlying compute
     */
    @JvmName("kkoxgmotkoffpvsj")
    public suspend fun resourceId(`value`: Output) {
        this.resourceId = value
    }

    /**
     * @param value Location for the underlying compute
     */
    @JvmName("ikcqcmdatuiuhvuk")
    public suspend fun computeLocation(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.computeLocation = mapped
    }

    /**
     * @param value The type of compute
     * Expected value is 'DataLakeAnalytics'.
     */
    @JvmName("wmwkgqdqqwtjqehv")
    public suspend fun computeType(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.computeType = mapped
    }

    /**
     * @param value The description of the Machine Learning compute.
     */
    @JvmName("natqrruvboumcnyw")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication.
     */
    @JvmName("vdtahyrodwdpcjis")
    public suspend fun disableLocalAuth(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.disableLocalAuth = mapped
    }

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

    /**
     * @param argument
     */
    @JvmName("mbahiihsrvqfscns")
    public suspend fun properties(argument: suspend DataLakeAnalyticsSchemaPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = DataLakeAnalyticsSchemaPropertiesArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.properties = mapped
    }

    /**
     * @param value ARM resource id of the underlying compute
     */
    @JvmName("rimhcfmkypbwwkru")
    public suspend fun resourceId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceId = mapped
    }

    internal fun build(): DataLakeAnalyticsArgs = DataLakeAnalyticsArgs(
        computeLocation = computeLocation,
        computeType = computeType ?: throw PulumiNullFieldException("computeType"),
        description = description,
        disableLocalAuth = disableLocalAuth,
        properties = properties,
        resourceId = resourceId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy