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

com.pulumi.azure.compute.kotlin.inputs.SharedImageGallerySharingCommunityGalleryArgs.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.compute.kotlin.inputs

import com.pulumi.azure.compute.inputs.SharedImageGallerySharingCommunityGalleryArgs.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.jvm.JvmName

/**
 *
 * @property eula The End User Licence Agreement for the Shared Image Gallery. Changing this forces a new resource to be created.
 * @property name Specifies the name of the Shared Image Gallery. Changing this forces a new resource to be created.
 * @property prefix Prefix of the community public name for the Shared Image Gallery. Changing this forces a new resource to be created.
 * @property publisherEmail Email of the publisher for the Shared Image Gallery. Changing this forces a new resource to be created.
 * @property publisherUri URI of the publisher for the Shared Image Gallery. Changing this forces a new resource to be created.
 */
public data class SharedImageGallerySharingCommunityGalleryArgs(
    public val eula: Output,
    public val name: Output? = null,
    public val prefix: Output,
    public val publisherEmail: Output,
    public val publisherUri: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.compute.inputs.SharedImageGallerySharingCommunityGalleryArgs =
        com.pulumi.azure.compute.inputs.SharedImageGallerySharingCommunityGalleryArgs.builder()
            .eula(eula.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .prefix(prefix.applyValue({ args0 -> args0 }))
            .publisherEmail(publisherEmail.applyValue({ args0 -> args0 }))
            .publisherUri(publisherUri.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SharedImageGallerySharingCommunityGalleryArgs].
 */
@PulumiTagMarker
public class SharedImageGallerySharingCommunityGalleryArgsBuilder internal constructor() {
    private var eula: Output? = null

    private var name: Output? = null

    private var prefix: Output? = null

    private var publisherEmail: Output? = null

    private var publisherUri: Output? = null

    /**
     * @param value The End User Licence Agreement for the Shared Image Gallery. Changing this forces a new resource to be created.
     */
    @JvmName("inrfmrlcprdnfdpj")
    public suspend fun eula(`value`: Output) {
        this.eula = value
    }

    /**
     * @param value Specifies the name of the Shared Image Gallery. Changing this forces a new resource to be created.
     */
    @JvmName("xpbqyimsqnnkvtdo")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Prefix of the community public name for the Shared Image Gallery. Changing this forces a new resource to be created.
     */
    @JvmName("aaidgmusasohumui")
    public suspend fun prefix(`value`: Output) {
        this.prefix = value
    }

    /**
     * @param value Email of the publisher for the Shared Image Gallery. Changing this forces a new resource to be created.
     */
    @JvmName("lqpgpvjtiftoskvp")
    public suspend fun publisherEmail(`value`: Output) {
        this.publisherEmail = value
    }

    /**
     * @param value URI of the publisher for the Shared Image Gallery. Changing this forces a new resource to be created.
     */
    @JvmName("ycajttuuequsrbxg")
    public suspend fun publisherUri(`value`: Output) {
        this.publisherUri = value
    }

    /**
     * @param value The End User Licence Agreement for the Shared Image Gallery. Changing this forces a new resource to be created.
     */
    @JvmName("nxsoonhbalffnegn")
    public suspend fun eula(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.eula = mapped
    }

    /**
     * @param value Specifies the name of the Shared Image Gallery. Changing this forces a new resource to be created.
     */
    @JvmName("cpkflgphdqhrsuma")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value Prefix of the community public name for the Shared Image Gallery. Changing this forces a new resource to be created.
     */
    @JvmName("rytnxgaidodyfoec")
    public suspend fun prefix(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.prefix = mapped
    }

    /**
     * @param value Email of the publisher for the Shared Image Gallery. Changing this forces a new resource to be created.
     */
    @JvmName("qwtnfttbrpbjohkb")
    public suspend fun publisherEmail(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.publisherEmail = mapped
    }

    /**
     * @param value URI of the publisher for the Shared Image Gallery. Changing this forces a new resource to be created.
     */
    @JvmName("mpadjpbbybtpvyys")
    public suspend fun publisherUri(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.publisherUri = mapped
    }

    internal fun build(): SharedImageGallerySharingCommunityGalleryArgs =
        SharedImageGallerySharingCommunityGalleryArgs(
            eula = eula ?: throw PulumiNullFieldException("eula"),
            name = name,
            prefix = prefix ?: throw PulumiNullFieldException("prefix"),
            publisherEmail = publisherEmail ?: throw PulumiNullFieldException("publisherEmail"),
            publisherUri = publisherUri ?: throw PulumiNullFieldException("publisherUri"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy