Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
@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(),
)
}
}