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

com.pulumi.azure.containerservice.kotlin.outputs.GetKubernetesServiceVersionsResult.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.21.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.containerservice.kotlin.outputs

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

/**
 * A collection of values returned by getKubernetesServiceVersions.
 * @property defaultVersion The N-1 minor non-preview version and latest patch.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property includePreview
 * @property latestVersion The most recent version available. If `include_preview == false`, this is the most recent non-preview version available.
 * @property location
 * @property versionPrefix
 * @property versions The list of all supported versions.
 */
public data class GetKubernetesServiceVersionsResult(
    public val defaultVersion: String,
    public val id: String,
    public val includePreview: Boolean? = null,
    public val latestVersion: String,
    public val location: String,
    public val versionPrefix: String? = null,
    public val versions: List,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.GetKubernetesServiceVersionsResult):
            GetKubernetesServiceVersionsResult = GetKubernetesServiceVersionsResult(
            defaultVersion = javaType.defaultVersion(),
            id = javaType.id(),
            includePreview = javaType.includePreview().map({ args0 -> args0 }).orElse(null),
            latestVersion = javaType.latestVersion(),
            location = javaType.location(),
            versionPrefix = javaType.versionPrefix().map({ args0 -> args0 }).orElse(null),
            versions = javaType.versions().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy