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

com.pulumi.azure.netapp.kotlin.outputs.GetVolumeResult.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.netapp.kotlin.outputs

import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of values returned by getVolume.
 * @property accountName
 * @property dataProtectionReplications Volume data protection block
 * @property encryptionKeySource
 * @property id The provider-assigned unique ID for this managed resource.
 * @property keyVaultPrivateEndpointId
 * @property location The Azure Region where the NetApp Volume exists.
 * @property mountIpAddresses A list of IPv4 Addresses which should be used to mount the volume.
 * @property name
 * @property networkFeatures Network features in use `Basic` or `Standard`.
 * @property poolName
 * @property protocols A list of protocol types enabled on volume.
 * @property resourceGroupName
 * @property securityStyle Volume security style
 * @property serviceLevel The service level of the file system.
 * @property smbAccessBasedEnumerationEnabled Limits enumeration of files and folders (that is, listing the contents) in SMB only to users with allowed access on the share.
 * @property smbNonBrowsableEnabled Limits clients from browsing for an SMB share.
 * @property storageQuotaInGb The maximum Storage Quota in Gigabytes allowed for a file system.
 * @property subnetId The ID of a Subnet in which the NetApp Volume resides.
 * @property volumePath The unique file path of the volume.
 * @property zone The Availability Zone in which the Volume is located.
 */
public data class GetVolumeResult(
    public val accountName: String,
    public val dataProtectionReplications: List,
    public val encryptionKeySource: String,
    public val id: String,
    public val keyVaultPrivateEndpointId: String,
    public val location: String,
    public val mountIpAddresses: List,
    public val name: String,
    public val networkFeatures: String,
    public val poolName: String,
    public val protocols: List,
    public val resourceGroupName: String,
    public val securityStyle: String? = null,
    public val serviceLevel: String,
    public val smbAccessBasedEnumerationEnabled: Boolean,
    public val smbNonBrowsableEnabled: Boolean,
    public val storageQuotaInGb: Int,
    public val subnetId: String,
    public val volumePath: String,
    public val zone: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.netapp.outputs.GetVolumeResult): GetVolumeResult = GetVolumeResult(
            accountName = javaType.accountName(),
            dataProtectionReplications = javaType.dataProtectionReplications().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.netapp.kotlin.outputs.GetVolumeDataProtectionReplication.Companion.toKotlin(args0)
                })
            }),
            encryptionKeySource = javaType.encryptionKeySource(),
            id = javaType.id(),
            keyVaultPrivateEndpointId = javaType.keyVaultPrivateEndpointId(),
            location = javaType.location(),
            mountIpAddresses = javaType.mountIpAddresses().map({ args0 -> args0 }),
            name = javaType.name(),
            networkFeatures = javaType.networkFeatures(),
            poolName = javaType.poolName(),
            protocols = javaType.protocols().map({ args0 -> args0 }),
            resourceGroupName = javaType.resourceGroupName(),
            securityStyle = javaType.securityStyle().map({ args0 -> args0 }).orElse(null),
            serviceLevel = javaType.serviceLevel(),
            smbAccessBasedEnumerationEnabled = javaType.smbAccessBasedEnumerationEnabled(),
            smbNonBrowsableEnabled = javaType.smbNonBrowsableEnabled(),
            storageQuotaInGb = javaType.storageQuotaInGb(),
            subnetId = javaType.subnetId(),
            volumePath = javaType.volumePath(),
            zone = javaType.zone(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy