com.pulumi.gcp.osconfig.kotlin.inputs.GuestPoliciesPackageRepositoryYumArgs.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.osconfig.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.osconfig.inputs.GuestPoliciesPackageRepositoryYumArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property baseUrl The location of the repository directory.
* @property displayName The display name of the repository.
* @property gpgKeys URIs of GPG keys.
* @property id A one word, unique name for this repository. This is the repo id in the Yum config file and also the displayName
* if displayName is omitted. This id is also used as the unique identifier when checking for guest policy conflicts.
*/
public data class GuestPoliciesPackageRepositoryYumArgs(
public val baseUrl: Output,
public val displayName: Output? = null,
public val gpgKeys: Output>? = null,
public val id: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.osconfig.inputs.GuestPoliciesPackageRepositoryYumArgs =
com.pulumi.gcp.osconfig.inputs.GuestPoliciesPackageRepositoryYumArgs.builder()
.baseUrl(baseUrl.applyValue({ args0 -> args0 }))
.displayName(displayName?.applyValue({ args0 -> args0 }))
.gpgKeys(gpgKeys?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.id(id.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GuestPoliciesPackageRepositoryYumArgs].
*/
@PulumiTagMarker
public class GuestPoliciesPackageRepositoryYumArgsBuilder internal constructor() {
private var baseUrl: Output? = null
private var displayName: Output? = null
private var gpgKeys: Output>? = null
private var id: Output? = null
/**
* @param value The location of the repository directory.
*/
@JvmName("rwhsdexjwfwndcje")
public suspend fun baseUrl(`value`: Output) {
this.baseUrl = value
}
/**
* @param value The display name of the repository.
*/
@JvmName("sbsnbaefiydhopox")
public suspend fun displayName(`value`: Output) {
this.displayName = value
}
/**
* @param value URIs of GPG keys.
*/
@JvmName("vhakbqvvhivguwtf")
public suspend fun gpgKeys(`value`: Output>) {
this.gpgKeys = value
}
@JvmName("tccaqpqjhcoywwuf")
public suspend fun gpgKeys(vararg values: Output) {
this.gpgKeys = Output.all(values.asList())
}
/**
* @param values URIs of GPG keys.
*/
@JvmName("qntevtoshahuhohv")
public suspend fun gpgKeys(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy