com.pulumi.gcp.osconfig.kotlin.inputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryAptArgs.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.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryAptArgs.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 archiveType Type of archive files in this repository.
* Possible values are: `ARCHIVE_TYPE_UNSPECIFIED`, `DEB`, `DEB_SRC`.
* @property components List of components for this repository. Must
* contain at least one item.
* @property distribution Distribution of this repository.
* @property gpgKey URI of the key file for this repository. The agent
* maintains a keyring at `/etc/apt/trusted.gpg.d/osconfig_agent_managed.gpg`.
* @property uri URI for this repository.
*/
public data class OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryAptArgs(
public val archiveType: Output,
public val components: Output>,
public val distribution: Output,
public val gpgKey: Output? = null,
public val uri: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.osconfig.inputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryAptArgs =
com.pulumi.gcp.osconfig.inputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryAptArgs.builder()
.archiveType(archiveType.applyValue({ args0 -> args0 }))
.components(components.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.distribution(distribution.applyValue({ args0 -> args0 }))
.gpgKey(gpgKey?.applyValue({ args0 -> args0 }))
.uri(uri.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryAptArgs].
*/
@PulumiTagMarker
public class OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryAptArgsBuilder internal constructor() {
private var archiveType: Output? = null
private var components: Output>? = null
private var distribution: Output? = null
private var gpgKey: Output? = null
private var uri: Output? = null
/**
* @param value Type of archive files in this repository.
* Possible values are: `ARCHIVE_TYPE_UNSPECIFIED`, `DEB`, `DEB_SRC`.
*/
@JvmName("deljmhdmlynqgbtb")
public suspend fun archiveType(`value`: Output) {
this.archiveType = value
}
/**
* @param value List of components for this repository. Must
* contain at least one item.
*/
@JvmName("fvkitcpdyoxswcbg")
public suspend fun components(`value`: Output>) {
this.components = value
}
@JvmName("oomuebxlxfwmgojo")
public suspend fun components(vararg values: Output) {
this.components = Output.all(values.asList())
}
/**
* @param values List of components for this repository. Must
* contain at least one item.
*/
@JvmName("rplwutmeicksaipu")
public suspend fun components(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy