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

com.pulumi.azurenative.azurelargeinstance.kotlin.outputs.StoragePropertiesResponse.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.azurelargeinstance.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * described the storage properties of the azure large storage instance
 * @property generation the kind of storage instance
 * @property hardwareType the hardware type of the storage instance
 * @property offeringType the offering type for which the resource is getting provisioned
 * @property provisioningState State of provisioning of the AzureLargeStorageInstance
 * @property storageBillingProperties the billing related information for the resource
 * @property storageType the storage protocol for which the resource is getting provisioned
 * @property workloadType the workload for which the resource is getting provisioned
 */
public data class StoragePropertiesResponse(
    public val generation: String? = null,
    public val hardwareType: String? = null,
    public val offeringType: String? = null,
    public val provisioningState: String,
    public val storageBillingProperties: StorageBillingPropertiesResponse? = null,
    public val storageType: String? = null,
    public val workloadType: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.azurelargeinstance.outputs.StoragePropertiesResponse): StoragePropertiesResponse = StoragePropertiesResponse(
            generation = javaType.generation().map({ args0 -> args0 }).orElse(null),
            hardwareType = javaType.hardwareType().map({ args0 -> args0 }).orElse(null),
            offeringType = javaType.offeringType().map({ args0 -> args0 }).orElse(null),
            provisioningState = javaType.provisioningState(),
            storageBillingProperties = javaType.storageBillingProperties().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azurenative.azurelargeinstance.kotlin.outputs.StorageBillingPropertiesResponse.Companion.toKotlin(args0)
                })
            }).orElse(null),
            storageType = javaType.storageType().map({ args0 -> args0 }).orElse(null),
            workloadType = javaType.workloadType().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy