
com.pulumi.googlenative.gkehub.v1beta1.kotlin.outputs.KubernetesMetadataResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.gkehub.v1beta1.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* KubernetesMetadata provides informational metadata for Memberships representing Kubernetes clusters.
* @property kubernetesApiServerVersion Kubernetes API server version string as reported by '/version'.
* @property memoryMb The total memory capacity as reported by the sum of all Kubernetes nodes resources, defined in MB.
* @property nodeCount Node count as reported by Kubernetes nodes resources.
* @property nodeProviderId Node providerID as reported by the first node in the list of nodes on the Kubernetes endpoint. On Kubernetes platforms that support zero-node clusters (like GKE-on-GCP), the node_count will be zero and the node_provider_id will be empty.
* @property updateTime The time at which these details were last updated. This update_time is different from the Membership-level update_time since EndpointDetails are updated internally for API consumers.
* @property vcpuCount vCPU count as reported by Kubernetes nodes resources.
*/
public data class KubernetesMetadataResponse(
public val kubernetesApiServerVersion: String,
public val memoryMb: Int,
public val nodeCount: Int,
public val nodeProviderId: String,
public val updateTime: String,
public val vcpuCount: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.gkehub.v1beta1.outputs.KubernetesMetadataResponse): KubernetesMetadataResponse = KubernetesMetadataResponse(
kubernetesApiServerVersion = javaType.kubernetesApiServerVersion(),
memoryMb = javaType.memoryMb(),
nodeCount = javaType.nodeCount(),
nodeProviderId = javaType.nodeProviderId(),
updateTime = javaType.updateTime(),
vcpuCount = javaType.vcpuCount(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy