com.pulumi.gcp.artifactregistry.kotlin.outputs.GetRepositoryResult.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.artifactregistry.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* A collection of values returned by getRepository.
* @property cleanupPolicies
* @property cleanupPolicyDryRun
* @property createTime
* @property description
* @property dockerConfigs
* @property effectiveLabels
* @property format
* @property id The provider-assigned unique ID for this managed resource.
* @property kmsKeyName
* @property labels
* @property location
* @property mavenConfigs
* @property mode
* @property name
* @property project
* @property pulumiLabels
* @property remoteRepositoryConfigs
* @property repositoryId
* @property updateTime
* @property virtualRepositoryConfigs
*/
public data class GetRepositoryResult(
public val cleanupPolicies: List,
public val cleanupPolicyDryRun: Boolean,
public val createTime: String,
public val description: String,
public val dockerConfigs: List,
public val effectiveLabels: Map,
public val format: String,
public val id: String,
public val kmsKeyName: String,
public val labels: Map,
public val location: String,
public val mavenConfigs: List,
public val mode: String,
public val name: String,
public val project: String? = null,
public val pulumiLabels: Map,
public val remoteRepositoryConfigs: List,
public val repositoryId: String,
public val updateTime: String,
public val virtualRepositoryConfigs: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.artifactregistry.outputs.GetRepositoryResult): GetRepositoryResult = GetRepositoryResult(
cleanupPolicies = javaType.cleanupPolicies().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.artifactregistry.kotlin.outputs.GetRepositoryCleanupPolicy.Companion.toKotlin(args0)
})
}),
cleanupPolicyDryRun = javaType.cleanupPolicyDryRun(),
createTime = javaType.createTime(),
description = javaType.description(),
dockerConfigs = javaType.dockerConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.artifactregistry.kotlin.outputs.GetRepositoryDockerConfig.Companion.toKotlin(args0)
})
}),
effectiveLabels = javaType.effectiveLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
format = javaType.format(),
id = javaType.id(),
kmsKeyName = javaType.kmsKeyName(),
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
location = javaType.location(),
mavenConfigs = javaType.mavenConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.artifactregistry.kotlin.outputs.GetRepositoryMavenConfig.Companion.toKotlin(args0)
})
}),
mode = javaType.mode(),
name = javaType.name(),
project = javaType.project().map({ args0 -> args0 }).orElse(null),
pulumiLabels = javaType.pulumiLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
remoteRepositoryConfigs = javaType.remoteRepositoryConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.artifactregistry.kotlin.outputs.GetRepositoryRemoteRepositoryConfig.Companion.toKotlin(args0)
})
}),
repositoryId = javaType.repositoryId(),
updateTime = javaType.updateTime(),
virtualRepositoryConfigs = javaType.virtualRepositoryConfigs().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.artifactregistry.kotlin.outputs.GetRepositoryVirtualRepositoryConfig.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy