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

com.pulumi.gcp.osconfig.kotlin.outputs.GuestPoliciesPackageRepositoryApt.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.osconfig.kotlin.outputs

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

/**
 *
 * @property archiveType Type of archive files in this repository. The default behavior is DEB.
 * Default value is `DEB`.
 * Possible values are: `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 containing all the keys in any applied guest policy.
 * @property uri URI for this repository.
 */
public data class GuestPoliciesPackageRepositoryApt(
    public val archiveType: String? = null,
    public val components: List,
    public val distribution: String,
    public val gpgKey: String? = null,
    public val uri: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.osconfig.outputs.GuestPoliciesPackageRepositoryApt): GuestPoliciesPackageRepositoryApt = GuestPoliciesPackageRepositoryApt(
            archiveType = javaType.archiveType().map({ args0 -> args0 }).orElse(null),
            components = javaType.components().map({ args0 -> args0 }),
            distribution = javaType.distribution(),
            gpgKey = javaType.gpgKey().map({ args0 -> args0 }).orElse(null),
            uri = javaType.uri(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy