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

com.pulumi.azure.redis.kotlin.outputs.GetEnterpriseDatabaseResult.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.outputs

import kotlin.Deprecated
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of values returned by getEnterpriseDatabase.
 * @property clusterId The Redis Enterprise Cluster ID that is hosting the Redis Enterprise Database.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property linkedDatabaseGroupNickname The Linked Database Group Nickname for the Redis Enterprise Database instance.
 * @property linkedDatabaseIds The Linked Database list for the Redis Enterprise Database instance.
 * @property name The Redis Enterprise Database name.
 * @property primaryAccessKey The Primary Access Key for the Redis Enterprise Database instance.
 * @property resourceGroupName
 * @property secondaryAccessKey The Secondary Access Key for the Redis Enterprise Database instance.
 */
public data class GetEnterpriseDatabaseResult(
    public val clusterId: String,
    public val id: String,
    public val linkedDatabaseGroupNickname: String,
    public val linkedDatabaseIds: List,
    public val name: String,
    public val primaryAccessKey: 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,
    public val secondaryAccessKey: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.redis.outputs.GetEnterpriseDatabaseResult):
            GetEnterpriseDatabaseResult = GetEnterpriseDatabaseResult(
            clusterId = javaType.clusterId(),
            id = javaType.id(),
            linkedDatabaseGroupNickname = javaType.linkedDatabaseGroupNickname(),
            linkedDatabaseIds = javaType.linkedDatabaseIds().map({ args0 -> args0 }),
            name = javaType.name(),
            primaryAccessKey = javaType.primaryAccessKey(),
            resourceGroupName = javaType.resourceGroupName(),
            secondaryAccessKey = javaType.secondaryAccessKey(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy