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

com.pulumi.azurenative.appplatform.kotlin.outputs.CustomPersistentDiskResourceResponse.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.appplatform.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Custom persistent disk resource payload.
 * @property customPersistentDiskProperties Properties of the custom persistent disk resource payload.
 * @property storageId The resource id of Azure Spring Apps Storage resource.
 */
public data class CustomPersistentDiskResourceResponse(
    public val customPersistentDiskProperties: AzureFileVolumeResponse? = null,
    public val storageId: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.appplatform.outputs.CustomPersistentDiskResourceResponse): CustomPersistentDiskResourceResponse = CustomPersistentDiskResourceResponse(
            customPersistentDiskProperties = javaType.customPersistentDiskProperties().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.appplatform.kotlin.outputs.AzureFileVolumeResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            storageId = javaType.storageId(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy