com.pulumi.gcp.osconfig.kotlin.inputs.GuestPoliciesPackageRepositoryZypperArgs.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.GuestPoliciesPackageRepositoryZypperArgs.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 zypper 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 GuestPoliciesPackageRepositoryZypperArgs(
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.GuestPoliciesPackageRepositoryZypperArgs =
com.pulumi.gcp.osconfig.inputs.GuestPoliciesPackageRepositoryZypperArgs.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 [GuestPoliciesPackageRepositoryZypperArgs].
*/
@PulumiTagMarker
public class GuestPoliciesPackageRepositoryZypperArgsBuilder 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("hcmxkpwcwlrvrcuc")
public suspend fun baseUrl(`value`: Output) {
this.baseUrl = value
}
/**
* @param value The display name of the repository.
*/
@JvmName("wcktaletciacksht")
public suspend fun displayName(`value`: Output) {
this.displayName = value
}
/**
* @param value URIs of GPG keys.
*/
@JvmName("hginvhoywejuacdk")
public suspend fun gpgKeys(`value`: Output>) {
this.gpgKeys = value
}
@JvmName("epojbcgjrrdalssr")
public suspend fun gpgKeys(vararg values: Output) {
this.gpgKeys = Output.all(values.asList())
}
/**
* @param values URIs of GPG keys.
*/
@JvmName("clawnrtebqjdgcpv")
public suspend fun gpgKeys(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy