com.pulumi.gcp.container.kotlin.outputs.GetRegistryRepositoryResult.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.container.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* A collection of values returned by getRegistryRepository.
* @property id The provider-assigned unique ID for this managed resource.
* @property project
* @property region
* @property repositoryUrl The URL at which the repository can be accessed.
*/
public data class GetRegistryRepositoryResult(
public val id: String,
public val project: String,
public val region: String? = null,
public val repositoryUrl: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.GetRegistryRepositoryResult): GetRegistryRepositoryResult = GetRegistryRepositoryResult(
id = javaType.id(),
project = javaType.project(),
region = javaType.region().map({ args0 -> args0 }).orElse(null),
repositoryUrl = javaType.repositoryUrl(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy