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

com.pulumi.kubernetes.extensions.v1beta1.kotlin.outputs.SupplementalGroupsStrategyOptionsPatch.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.extensions.v1beta1.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy. Deprecated: use SupplementalGroupsStrategyOptions from policy API Group instead.
 * @property ranges ranges are the allowed ranges of supplemental groups.  If you would like to force a single supplemental group then supply a single range with the same start and end. Required for MustRunAs.
 * @property rule rule is the strategy that will dictate what supplemental groups is used in the SecurityContext.
 */
public data class SupplementalGroupsStrategyOptionsPatch(
    public val ranges: List? = null,
    public val rule: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.kubernetes.extensions.v1beta1.outputs.SupplementalGroupsStrategyOptionsPatch): SupplementalGroupsStrategyOptionsPatch = SupplementalGroupsStrategyOptionsPatch(
            ranges = javaType.ranges().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.kubernetes.extensions.v1beta1.kotlin.outputs.IDRangePatch.Companion.toKotlin(args0)
                })
            }),
            rule = javaType.rule().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy