
com.pulumi.gcp.secretmanager.kotlin.outputs.GetRegionalSecretsSecret.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.secretmanager.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
*
* @property annotations Custom metadata about the regional secret.
* @property createTime The time at which the regional secret was created.
* @property customerManagedEncryptions Customer Managed Encryption for the regional secret.
* Structure is documented below.
* @property effectiveAnnotations
* @property effectiveLabels
* @property expireTime Timestamp in UTC when the regional secret is scheduled to expire.
* @property labels The labels assigned to this regional secret.
* @property location The location of the regional secret.
* @property name The resource name of the Pub/Sub topic that will be published to.
* @property project The ID of the project.
* @property pulumiLabels The combination of labels configured directly on the resource
* and default labels configured on the provider.
* @property rotations The rotation time and period for a regional secret.
* Structure is documented below.
* @property secretId The unique name of the resource.
* @property topics A list of up to 10 Pub/Sub topics to which messages are published when control plane operations are called on the regional secret or its versions.
* Structure is documented below.
* @property ttl The TTL for the regional secret. A duration in seconds with up to nine fractional digits,
* terminated by 's'. Example: "3.5s". Only one of 'ttl' or 'expire_time' can be provided.
* @property versionAliases Mapping from version alias to version name.
* @property versionDestroyTtl The version destroy ttl for the regional secret version.
*/
public data class GetRegionalSecretsSecret(
public val annotations: Map,
public val createTime: String,
public val customerManagedEncryptions: List,
public val effectiveAnnotations: Map,
public val effectiveLabels: Map,
public val expireTime: String,
public val labels: Map,
public val location: String,
public val name: String,
public val project: String,
public val pulumiLabels: Map,
public val rotations: List,
public val secretId: String,
public val topics: List,
public val ttl: String,
public val versionAliases: Map,
public val versionDestroyTtl: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.secretmanager.outputs.GetRegionalSecretsSecret): GetRegionalSecretsSecret = GetRegionalSecretsSecret(
annotations = javaType.annotations().map({ args0 -> args0.key.to(args0.value) }).toMap(),
createTime = javaType.createTime(),
customerManagedEncryptions = javaType.customerManagedEncryptions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.secretmanager.kotlin.outputs.GetRegionalSecretsSecretCustomerManagedEncryption.Companion.toKotlin(args0)
})
}),
effectiveAnnotations = javaType.effectiveAnnotations().map({ args0 ->
args0.key.to(args0.value)
}).toMap(),
effectiveLabels = javaType.effectiveLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
expireTime = javaType.expireTime(),
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
location = javaType.location(),
name = javaType.name(),
project = javaType.project(),
pulumiLabels = javaType.pulumiLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
rotations = javaType.rotations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.secretmanager.kotlin.outputs.GetRegionalSecretsSecretRotation.Companion.toKotlin(args0)
})
}),
secretId = javaType.secretId(),
topics = javaType.topics().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.secretmanager.kotlin.outputs.GetRegionalSecretsSecretTopic.Companion.toKotlin(args0)
})
}),
ttl = javaType.ttl(),
versionAliases = javaType.versionAliases().map({ args0 -> args0.key.to(args0.value) }).toMap(),
versionDestroyTtl = javaType.versionDestroyTtl(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy