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

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

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

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

import com.pulumi.azurenative.machinelearningservices.inputs.RegistryPrivateEndpointConnectionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * Private endpoint connection definition.
 * @property id This is the private endpoint connection name created on SRP
 * Full resource id: /subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.MachineLearningServices/{resourceType}/{resourceName}/privateEndpointConnections/{peConnectionName}
 * @property location Same as workspace location.
 * @property properties Properties of the Private Endpoint Connection
 */
public data class RegistryPrivateEndpointConnectionArgs(
    public val id: Output? = null,
    public val location: Output? = null,
    public val properties: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.RegistryPrivateEndpointConnectionArgs =
        com.pulumi.azurenative.machinelearningservices.inputs.RegistryPrivateEndpointConnectionArgs.builder()
            .id(id?.applyValue({ args0 -> args0 }))
            .location(location?.applyValue({ args0 -> args0 }))
            .properties(properties?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [RegistryPrivateEndpointConnectionArgs].
 */
@PulumiTagMarker
public class RegistryPrivateEndpointConnectionArgsBuilder internal constructor() {
    private var id: Output? = null

    private var location: Output? = null

    private var properties: Output? = null

    /**
     * @param value This is the private endpoint connection name created on SRP
     * Full resource id: /subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.MachineLearningServices/{resourceType}/{resourceName}/privateEndpointConnections/{peConnectionName}
     */
    @JvmName("iqriivkvmocupemk")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value Same as workspace location.
     */
    @JvmName("cycuvtxxenoowtgj")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value Properties of the Private Endpoint Connection
     */
    @JvmName("svybykionyeastmm")
    public suspend fun properties(`value`: Output) {
        this.properties = value
    }

    /**
     * @param value This is the private endpoint connection name created on SRP
     * Full resource id: /subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.MachineLearningServices/{resourceType}/{resourceName}/privateEndpointConnections/{peConnectionName}
     */
    @JvmName("smkovssepwlcjsto")
    public suspend fun id(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.id = mapped
    }

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

    /**
     * @param value Properties of the Private Endpoint Connection
     */
    @JvmName("fdbwmkqevdvwewsr")
    public suspend fun properties(`value`: RegistryPrivateEndpointConnectionPropertiesArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.properties = mapped
    }

    /**
     * @param argument Properties of the Private Endpoint Connection
     */
    @JvmName("ylxtiwmotxqqdqhk")
    public suspend fun properties(argument: suspend RegistryPrivateEndpointConnectionPropertiesArgsBuilder.() -> Unit) {
        val toBeMapped = RegistryPrivateEndpointConnectionPropertiesArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.properties = mapped
    }

    internal fun build(): RegistryPrivateEndpointConnectionArgs =
        RegistryPrivateEndpointConnectionArgs(
            id = id,
            location = location,
            properties = properties,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy