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

com.pulumi.azurenative.databox.kotlin.outputs.DataBoxSecretResponse.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.databox.kotlin.outputs

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

/**
 * The secrets related to a DataBox.
 * @property accountCredentialDetails Per account level access credentials.
 * @property devicePassword Password for out of the box experience on device.
 * @property deviceSerialNumber Serial number of the assigned device.
 * @property encodedValidationCertPubKey The base 64 encoded public key to authenticate with the device
 * @property networkConfigurations Network configuration of the appliance.
 */
public data class DataBoxSecretResponse(
    public val accountCredentialDetails: List,
    public val devicePassword: String,
    public val deviceSerialNumber: String,
    public val encodedValidationCertPubKey: String,
    public val networkConfigurations: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.databox.outputs.DataBoxSecretResponse): DataBoxSecretResponse = DataBoxSecretResponse(
            accountCredentialDetails = javaType.accountCredentialDetails().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.databox.kotlin.outputs.AccountCredentialDetailsResponse.Companion.toKotlin(args0)
                })
            }),
            devicePassword = javaType.devicePassword(),
            deviceSerialNumber = javaType.deviceSerialNumber(),
            encodedValidationCertPubKey = javaType.encodedValidationCertPubKey(),
            networkConfigurations = javaType.networkConfigurations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.databox.kotlin.outputs.ApplianceNetworkConfigurationResponse.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy