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

com.pulumi.azurenative.iotoperations.kotlin.outputs.BrokerAuthenticatorMethodX509Response.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.iotoperations.kotlin.outputs

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

/**
 * X509 for BrokerAuthentication.
 * @property authorizationAttributes X509 authorization attributes properties.
 * @property trustedClientCaCert Name of the trusted client ca cert resource.
 */
public data class BrokerAuthenticatorMethodX509Response(
    public val authorizationAttributes: Map? =
        null,
    public val trustedClientCaCert: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.iotoperations.outputs.BrokerAuthenticatorMethodX509Response): BrokerAuthenticatorMethodX509Response = BrokerAuthenticatorMethodX509Response(
            authorizationAttributes = javaType.authorizationAttributes().map({ args0 ->
                args0.key.to(
                    args0.value.let({ args0 ->
                        com.pulumi.azurenative.iotoperations.kotlin.outputs.BrokerAuthenticatorMethodX509AttributesResponse.Companion.toKotlin(args0)
                    }),
                )
            }).toMap(),
            trustedClientCaCert = javaType.trustedClientCaCert().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy