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

com.pulumi.azure.mariadb.kotlin.outputs.GetMariaDbServerResult.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.mariadb.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 * A collection of values returned by getMariaDbServer.
 * @property administratorLogin The Administrator login for the MariaDB Server.
 * @property fqdn The FQDN of the MariaDB Server.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property location The Azure location where the resource exists.
 * @property name
 * @property resourceGroupName
 * @property skuName The SKU Name for this MariaDB Server.
 * @property sslEnforcement The SSL being enforced on connections.
 * @property storageProfiles A `storage_profile` block as defined below.
 * @property tags A mapping of tags assigned to the resource.
 * @property version The version of MariaDB being used.
 */
public data class GetMariaDbServerResult(
    public val administratorLogin: String,
    public val fqdn: String,
    public val id: String,
    public val location: String,
    public val name: String,
    public val resourceGroupName: String,
    public val skuName: String,
    public val sslEnforcement: String,
    public val storageProfiles: List,
    public val tags: Map,
    public val version: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.mariadb.outputs.GetMariaDbServerResult):
            GetMariaDbServerResult = GetMariaDbServerResult(
            administratorLogin = javaType.administratorLogin(),
            fqdn = javaType.fqdn(),
            id = javaType.id(),
            location = javaType.location(),
            name = javaType.name(),
            resourceGroupName = javaType.resourceGroupName(),
            skuName = javaType.skuName(),
            sslEnforcement = javaType.sslEnforcement(),
            storageProfiles = javaType.storageProfiles().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.mariadb.kotlin.outputs.GetMariaDbServerStorageProfile.Companion.toKotlin(args0)
                })
            }),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            version = javaType.version(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy