
com.pulumi.vault.kotlin.outputs.GetNamespaceResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.vault.kotlin.outputs
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
* A collection of values returned by getNamespace.
* @property customMetadata (Optional) A map of strings containing arbitrary metadata for the namespace.
* Only fetched if `path` is specified.
* *Requires Vault 1.12+.*
* @property id The provider-assigned unique ID for this managed resource.
* @property namespace
* @property namespaceId Vault server's internal ID of the namespace.
* Only fetched if `path` is specified.
* @property path
* @property pathFq The fully qualified path to the namespace. Useful when provisioning resources in a child `namespace`.
* The path is relative to the provider's `namespace` argument.
*/
public data class GetNamespaceResult(
public val customMetadata: Map,
public val id: String,
public val namespace: String? = null,
public val namespaceId: String,
public val path: String? = null,
public val pathFq: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.vault.outputs.GetNamespaceResult): GetNamespaceResult =
GetNamespaceResult(
customMetadata = javaType.customMetadata().map({ args0 -> args0.key.to(args0.value) }).toMap(),
id = javaType.id(),
namespace = javaType.namespace().map({ args0 -> args0 }).orElse(null),
namespaceId = javaType.namespaceId(),
path = javaType.path().map({ args0 -> args0 }).orElse(null),
pathFq = javaType.pathFq(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy