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

com.pulumi.vault.identity.kotlin.outputs.GetGroupResult.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: 6.4.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.vault.identity.kotlin.outputs

import kotlin.Any
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 * A collection of values returned by getGroup.
 * @property aliasCanonicalId Canonical ID of the Alias
 * @property aliasCreationTime Creation time of the Alias
 * @property aliasId
 * @property aliasLastUpdateTime Last update time of the alias
 * @property aliasMergedFromCanonicalIds List of canonical IDs merged with this alias
 * @property aliasMetadata Arbitrary metadata
 * @property aliasMountAccessor
 * @property aliasMountPath Authentication mount path which this alias belongs to
 * @property aliasMountType Authentication mount type which this alias belongs to
 * @property aliasName
 * @property creationTime Creation timestamp of the group
 * @property dataJson A string containing the full data payload retrieved from
 * Vault, serialized in JSON format.
 * @property groupId
 * @property groupName
 * @property id The provider-assigned unique ID for this managed resource.
 * @property lastUpdateTime Last updated time of the group
 * @property memberEntityIds List of Entity IDs which are members of this group
 * @property memberGroupIds List of Group IDs which are members of this group
 * @property metadata Arbitrary metadata
 * @property modifyIndex Modify index of the group
 * @property namespace
 * @property namespaceId Namespace of which the group is part of
 * @property parentGroupIds List of Group IDs which are parents of this group.
 * @property policies List of policies attached to the group
 * @property type Type of group
 */
public data class GetGroupResult(
    public val aliasCanonicalId: String,
    public val aliasCreationTime: String,
    public val aliasId: String,
    public val aliasLastUpdateTime: String,
    public val aliasMergedFromCanonicalIds: List,
    public val aliasMetadata: Map,
    public val aliasMountAccessor: String,
    public val aliasMountPath: String,
    public val aliasMountType: String,
    public val aliasName: String,
    public val creationTime: String,
    public val dataJson: String,
    public val groupId: String,
    public val groupName: String,
    public val id: String,
    public val lastUpdateTime: String,
    public val memberEntityIds: List,
    public val memberGroupIds: List,
    public val metadata: Map,
    public val modifyIndex: Int,
    public val namespace: String? = null,
    public val namespaceId: String,
    public val parentGroupIds: List,
    public val policies: List,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.vault.identity.outputs.GetGroupResult): GetGroupResult = GetGroupResult(
            aliasCanonicalId = javaType.aliasCanonicalId(),
            aliasCreationTime = javaType.aliasCreationTime(),
            aliasId = javaType.aliasId(),
            aliasLastUpdateTime = javaType.aliasLastUpdateTime(),
            aliasMergedFromCanonicalIds = javaType.aliasMergedFromCanonicalIds().map({ args0 -> args0 }),
            aliasMetadata = javaType.aliasMetadata().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            aliasMountAccessor = javaType.aliasMountAccessor(),
            aliasMountPath = javaType.aliasMountPath(),
            aliasMountType = javaType.aliasMountType(),
            aliasName = javaType.aliasName(),
            creationTime = javaType.creationTime(),
            dataJson = javaType.dataJson(),
            groupId = javaType.groupId(),
            groupName = javaType.groupName(),
            id = javaType.id(),
            lastUpdateTime = javaType.lastUpdateTime(),
            memberEntityIds = javaType.memberEntityIds().map({ args0 -> args0 }),
            memberGroupIds = javaType.memberGroupIds().map({ args0 -> args0 }),
            metadata = javaType.metadata().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            modifyIndex = javaType.modifyIndex(),
            namespace = javaType.namespace().map({ args0 -> args0 }).orElse(null),
            namespaceId = javaType.namespaceId(),
            parentGroupIds = javaType.parentGroupIds().map({ args0 -> args0 }),
            policies = javaType.policies().map({ args0 -> args0 }),
            type = javaType.type(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy