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

com.pulumi.azure.compute.kotlin.outputs.GetConfidentialLedgerResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.compute.kotlin.outputs

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

/**
 * A collection of values returned by getConfidentialLedger.
 * @property azureadBasedServicePrincipals
 * @property certificateBasedSecurityPrincipals
 * @property id The provider-assigned unique ID for this managed resource.
 * @property identityServiceEndpoint The Identity Service Endpoint for this Confidential Ledger.
 * @property ledgerEndpoint The Endpoint for this Confidential Ledger.
 * @property ledgerType The type of Confidential Ledger.
 * @property location The supported Azure location where the Confidential Ledger exists.
 * @property name
 * @property resourceGroupName
 * @property tags A mapping of tags to assign to the Confidential Ledger.
 */
public data class GetConfidentialLedgerResult(
    public val azureadBasedServicePrincipals: List,
    public val certificateBasedSecurityPrincipals: List,
    public val id: String,
    public val identityServiceEndpoint: String,
    public val ledgerEndpoint: String,
    public val ledgerType: String,
    public val location: String,
    public val name: String,
    public val resourceGroupName: String,
    public val tags: Map,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.compute.outputs.GetConfidentialLedgerResult): GetConfidentialLedgerResult = GetConfidentialLedgerResult(
            azureadBasedServicePrincipals = javaType.azureadBasedServicePrincipals().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.compute.kotlin.outputs.GetConfidentialLedgerAzureadBasedServicePrincipal.Companion.toKotlin(args0)
                })
            }),
            certificateBasedSecurityPrincipals = javaType.certificateBasedSecurityPrincipals().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.compute.kotlin.outputs.GetConfidentialLedgerCertificateBasedSecurityPrincipal.Companion.toKotlin(args0)
                })
            }),
            id = javaType.id(),
            identityServiceEndpoint = javaType.identityServiceEndpoint(),
            ledgerEndpoint = javaType.ledgerEndpoint(),
            ledgerType = javaType.ledgerType(),
            location = javaType.location(),
            name = javaType.name(),
            resourceGroupName = javaType.resourceGroupName(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy