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

com.pulumi.gcp.osconfig.kotlin.outputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryApt.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.13.1.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.
 * 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 OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryApt(
    public val archiveType: String,
    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.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryApt): OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryApt =
            OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryApt(
                archiveType = javaType.archiveType(),
                components = javaType.components().map({ args0 -> args0 }),
                distribution = javaType.distribution(),
                gpgKey = javaType.gpgKey().map({ args0 -> args0 }).orElse(null),
                uri = javaType.uri(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy