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

com.pulumi.azure.sql.kotlin.outputs.GetSqlManagedInstanceResult.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.sql.kotlin.outputs

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

/**
 * A collection of values returned by getSqlManagedInstance.
 * @property administratorLogin The administrator login name for the new server.
 * @property collation Specifies how the SQL Managed Instance is collated.
 * @property dnsZonePartnerId The ID of the Managed Instance which is sharing the DNS zone.
 * @property fqdn The fully qualified domain name of the Azure Managed SQL Instance.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property identities An `identity` block as defined below.
 * @property licenseType Type of license the Managed Instance uses.
 * @property location Location where the resource exists.
 * @property minimumTlsVersion The Minimum TLS Version.
 * @property name
 * @property proxyOverride How the SQL Managed Instance is accessed.
 * @property publicDataEndpointEnabled Is the public data endpoint enabled?
 * @property resourceGroupName
 * @property skuName SKU Name for the SQL Managed Instance.
 * @property storageAccountType Storage account type used to store backups for this SQL Managed Instance.
 * @property storageSizeInGb Maximum storage space for your instance.
 * @property subnetId The subnet resource id that the SQL Managed Instance is associated with.
 * @property tags A mapping of tags assigned to the resource.
 * @property timezoneId The TimeZone ID that the SQL Managed Instance is operating in.
 * @property vcores Number of cores assigned to your instance.
 */
public data class GetSqlManagedInstanceResult(
    public val administratorLogin: String,
    public val collation: String,
    public val dnsZonePartnerId: String,
    public val fqdn: String,
    public val id: String,
    public val identities: List,
    public val licenseType: String,
    public val location: String,
    public val minimumTlsVersion: String,
    public val name: String,
    public val proxyOverride: String,
    public val publicDataEndpointEnabled: Boolean,
    public val resourceGroupName: String,
    public val skuName: String,
    public val storageAccountType: String,
    public val storageSizeInGb: Int,
    public val subnetId: String,
    public val tags: Map? = null,
    public val timezoneId: String,
    public val vcores: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.sql.outputs.GetSqlManagedInstanceResult): GetSqlManagedInstanceResult = GetSqlManagedInstanceResult(
            administratorLogin = javaType.administratorLogin(),
            collation = javaType.collation(),
            dnsZonePartnerId = javaType.dnsZonePartnerId(),
            fqdn = javaType.fqdn(),
            id = javaType.id(),
            identities = javaType.identities().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.sql.kotlin.outputs.GetSqlManagedInstanceIdentity.Companion.toKotlin(args0)
                })
            }),
            licenseType = javaType.licenseType(),
            location = javaType.location(),
            minimumTlsVersion = javaType.minimumTlsVersion(),
            name = javaType.name(),
            proxyOverride = javaType.proxyOverride(),
            publicDataEndpointEnabled = javaType.publicDataEndpointEnabled(),
            resourceGroupName = javaType.resourceGroupName(),
            skuName = javaType.skuName(),
            storageAccountType = javaType.storageAccountType(),
            storageSizeInGb = javaType.storageSizeInGb(),
            subnetId = javaType.subnetId(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            timezoneId = javaType.timezoneId(),
            vcores = javaType.vcores(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy