com.pulumi.gcp.container.kotlin.outputs.GetClusterNodePoolNodeConfigGuestAcceleratorGpuSharingConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.container.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property gpuSharingStrategy The type of GPU sharing strategy to enable on the GPU node. Possible values are described in the API package (https://pkg.go.dev/google.golang.org/api/container/v1#GPUSharingConfig)
* @property maxSharedClientsPerGpu The maximum number of containers that can share a GPU.
*/
public data class GetClusterNodePoolNodeConfigGuestAcceleratorGpuSharingConfig(
public val gpuSharingStrategy: String,
public val maxSharedClientsPerGpu: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.GetClusterNodePoolNodeConfigGuestAcceleratorGpuSharingConfig): GetClusterNodePoolNodeConfigGuestAcceleratorGpuSharingConfig =
GetClusterNodePoolNodeConfigGuestAcceleratorGpuSharingConfig(
gpuSharingStrategy = javaType.gpuSharingStrategy(),
maxSharedClientsPerGpu = javaType.maxSharedClientsPerGpu(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy