com.pulumi.kubernetes.resource.v1alpha2.kotlin.outputs.NamedResourcesInstancePatch.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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 NamedResourcesInstancePatch(
public val attributes: List? = null,
public val name: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.resource.v1alpha2.outputs.NamedResourcesInstancePatch): NamedResourcesInstancePatch = NamedResourcesInstancePatch(
attributes = javaType.attributes().map({ args0 ->
args0.let({ args0 ->
com.pulumi.kubernetes.resource.v1alpha2.kotlin.outputs.NamedResourcesAttributePatch.Companion.toKotlin(args0)
})
}),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy