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

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

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

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

import kotlin.String
import kotlin.Suppress

/**
 * Azure Data Explorer Authentication properties. NOTE - only authentication property is allowed per entry.
 * @property accessTokenSecretRef SAS token authentication.
 * @property method Mode of Authentication.
 * @property saslSettings SASL authentication.
 * @property serviceAccountTokenSettings Service Account Token authentication.
 * @property systemAssignedManagedIdentitySettings System-assigned managed identity authentication.
 * @property userAssignedManagedIdentitySettings User-assigned managed identity authentication.
 * @property x509CredentialsSettings X.509 certificate authentication.
 */
public data class DataFlowEndpointAuthenticationResponse(
    public val accessTokenSecretRef: String? = null,
    public val method: String,
    public val saslSettings: DataFlowEndpointAuthenticationSaslResponse? = null,
    public val serviceAccountTokenSettings: DataFlowEndpointAuthenticationServiceAccountTokenResponse? =
        null,
    public val systemAssignedManagedIdentitySettings: DataFlowEndpointAuthenticationSystemAssignedManagedIdentityResponse? = null,
    public val userAssignedManagedIdentitySettings: DataFlowEndpointAuthenticationUserAssignedManagedIdentityResponse? = null,
    public val x509CredentialsSettings: DataFlowEndpointAuthenticationX509Response? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.iotoperations.outputs.DataFlowEndpointAuthenticationResponse): DataFlowEndpointAuthenticationResponse = DataFlowEndpointAuthenticationResponse(
            accessTokenSecretRef = javaType.accessTokenSecretRef().map({ args0 -> args0 }).orElse(null),
            method = javaType.method(),
            saslSettings = javaType.saslSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.iotoperations.kotlin.outputs.DataFlowEndpointAuthenticationSaslResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            serviceAccountTokenSettings = javaType.serviceAccountTokenSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.iotoperations.kotlin.outputs.DataFlowEndpointAuthenticationServiceAccountTokenResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            systemAssignedManagedIdentitySettings = javaType.systemAssignedManagedIdentitySettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.iotoperations.kotlin.outputs.DataFlowEndpointAuthenticationSystemAssignedManagedIdentityResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            userAssignedManagedIdentitySettings = javaType.userAssignedManagedIdentitySettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.iotoperations.kotlin.outputs.DataFlowEndpointAuthenticationUserAssignedManagedIdentityResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            x509CredentialsSettings = javaType.x509CredentialsSettings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.iotoperations.kotlin.outputs.DataFlowEndpointAuthenticationX509Response.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy