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

com.pulumi.kubernetes.resource.v1alpha1.kotlin.outputs.ResourceClassParametersReference.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import kotlin.String
import kotlin.Suppress

/**
 * ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.
 * @property apiGroup APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
 * @property kind Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata.
 * @property name Name is the name of resource being referenced.
 * @property namespace Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources.
 */
public data class ResourceClassParametersReference(
    public val apiGroup: String? = null,
    public val kind: String,
    public val name: String,
    public val namespace: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.kubernetes.resource.v1alpha1.outputs.ResourceClassParametersReference): ResourceClassParametersReference = ResourceClassParametersReference(
            apiGroup = javaType.apiGroup().map({ args0 -> args0 }).orElse(null),
            kind = javaType.kind(),
            name = javaType.name(),
            namespace = javaType.namespace().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy