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

com.pulumi.gcp.osconfig.kotlin.outputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryYum.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 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 `display_name` if
 * `display_name` is omitted. This id is also used as the unique identifier
 * when checking for resource conflicts.
 */
public data class OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryYum(
    public val baseUrl: String,
    public val displayName: String? = null,
    public val gpgKeys: List? = null,
    public val id: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.osconfig.outputs.OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryYum): OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryYum =
            OsPolicyAssignmentOsPolicyResourceGroupResourceRepositoryYum(
                baseUrl = javaType.baseUrl(),
                displayName = javaType.displayName().map({ args0 -> args0 }).orElse(null),
                gpgKeys = javaType.gpgKeys().map({ args0 -> args0 }),
                id = javaType.id(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy