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

com.pulumi.kubernetes.resource.v1alpha2.kotlin.outputs.NamedResourcesInstance.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: 4.18.2.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.kubernetes.resource.v1alpha2.kotlin.outputs

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

/**
 * NamedResourcesInstance represents one individual hardware instance that can be selected based on its attributes.
 * @property attributes Attributes defines the attributes of this resource instance. The name of each attribute must be unique.
 * @property name Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.
 */
public data class NamedResourcesInstance(
    public val attributes: List? = null,
    public val name: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.kubernetes.resource.v1alpha2.outputs.NamedResourcesInstance): NamedResourcesInstance = NamedResourcesInstance(
            attributes = javaType.attributes().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.kubernetes.resource.v1alpha2.kotlin.outputs.NamedResourcesAttribute.Companion.toKotlin(args0)
                })
            }),
            name = javaType.name(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy