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

com.pulumi.azure.redis.kotlin.inputs.GetEnterpriseDatabasePlainArgs.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.redis.kotlin.inputs

import com.pulumi.azure.redis.inputs.GetEnterpriseDatabasePlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A collection of arguments for invoking getEnterpriseDatabase.
 * @property clusterId The resource ID of Redis Enterprise Cluster which hosts the Redis Enterprise Database instance.
 * @property name The name of the Redis Enterprise Database.
 * @property resourceGroupName The name of the resource group the Redis Enterprise Database instance is located in.
 */
public data class GetEnterpriseDatabasePlainArgs(
    public val clusterId: String,
    public val name: String,
    @Deprecated(
        message = """
  This field is no longer used and will be removed in the next major version of the Azure Provider
  """,
    )
    public val resourceGroupName: String? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.redis.inputs.GetEnterpriseDatabasePlainArgs =
        com.pulumi.azure.redis.inputs.GetEnterpriseDatabasePlainArgs.builder()
            .clusterId(clusterId.let({ args0 -> args0 }))
            .name(name.let({ args0 -> args0 }))
            .resourceGroupName(resourceGroupName?.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetEnterpriseDatabasePlainArgs].
 */
@PulumiTagMarker
public class GetEnterpriseDatabasePlainArgsBuilder internal constructor() {
    private var clusterId: String? = null

    private var name: String? = null

    private var resourceGroupName: String? = null

    /**
     * @param value The resource ID of Redis Enterprise Cluster which hosts the Redis Enterprise Database instance.
     */
    @JvmName("qopprabvfgdavoda")
    public suspend fun clusterId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.clusterId = mapped
    }

    /**
     * @param value The name of the Redis Enterprise Database.
     */
    @JvmName("oytvbocqtjeydgqn")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.name = mapped
    }

    /**
     * @param value The name of the resource group the Redis Enterprise Database instance is located in.
     */
    @Deprecated(
        message = """
  This field is no longer used and will be removed in the next major version of the Azure Provider
  """,
    )
    @JvmName("jjbvekxracltgpmn")
    public suspend fun resourceGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.resourceGroupName = mapped
    }

    internal fun build(): GetEnterpriseDatabasePlainArgs = GetEnterpriseDatabasePlainArgs(
        clusterId = clusterId ?: throw PulumiNullFieldException("clusterId"),
        name = name ?: throw PulumiNullFieldException("name"),
        resourceGroupName = resourceGroupName,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy