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

com.pulumi.azure.mssql.kotlin.outputs.GetManagedInstanceResult.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.mssql.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 getManagedInstance.
 * @property administratorLogin The administrator login name for the SQL Managed Instance.
 * @property collation Specifies how the SQL Managed Instance will be collated.
 * @property customerManagedKeyId
 * @property dnsZone The Dns Zone where the SQL Managed Instance is located.
 * @property dnsZonePartnerId The ID of the SQL Managed Instance which shares 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 What type of license the SQL Managed Instance uses.
 * @property location Specifies the supported Azure location where the resource exists.
 * @property minimumTlsVersion The Minimum TLS Version.
 * @property name
 * @property proxyOverride Specifies how the SQL Managed Instance will be accessed.
 * @property publicDataEndpointEnabled Whether the public data endpoint is enabled.
 * @property resourceGroupName
 * @property skuName Specifies the SKU Name of the SQL Managed Instance.
 * @property storageAccountType Specifies the storage account type used to store backups for this database.
 * @property storageSizeInGb Maximum storage space allocated for the SQL Managed 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 running in.
 * @property vcores Number of cores that are assigned to the SQL Managed Instance.
 */
public data class GetManagedInstanceResult(
    public val administratorLogin: String,
    public val collation: String,
    public val customerManagedKeyId: String,
    public val dnsZone: 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,
    public val timezoneId: String,
    public val vcores: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.mssql.outputs.GetManagedInstanceResult): GetManagedInstanceResult = GetManagedInstanceResult(
            administratorLogin = javaType.administratorLogin(),
            collation = javaType.collation(),
            customerManagedKeyId = javaType.customerManagedKeyId(),
            dnsZone = javaType.dnsZone(),
            dnsZonePartnerId = javaType.dnsZonePartnerId(),
            fqdn = javaType.fqdn(),
            id = javaType.id(),
            identities = javaType.identities().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.mssql.kotlin.outputs.GetManagedInstanceIdentity.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