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

com.pulumi.gcp.container.kotlin.outputs.GetClusterNodePoolNodeConfigGuestAcceleratorGpuSharingConfig.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: 8.10.0.0
Show newest version
@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