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

com.pulumi.gcp.filestore.kotlin.outputs.GetInstanceFileShare.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.filestore.kotlin.outputs

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

/**
 *
 * @property capacityGb File share capacity in GiB. This must be at least 1024 GiB
 * for the standard tier, or 2560 GiB for the premium tier.
 * @property name The name of a Filestore instance.
 * - - -
 * @property nfsExportOptions Nfs Export Options. There is a limit of 10 export options per file share.
 * @property sourceBackup The resource name of the backup, in the format
 * projects/{projectId}/locations/{locationId}/backups/{backupId},
 * that this file share has been restored from.
 */
public data class GetInstanceFileShare(
    public val capacityGb: Int,
    public val name: String,
    public val nfsExportOptions: List,
    public val sourceBackup: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.filestore.outputs.GetInstanceFileShare): GetInstanceFileShare = GetInstanceFileShare(
            capacityGb = javaType.capacityGb(),
            name = javaType.name(),
            nfsExportOptions = javaType.nfsExportOptions().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.filestore.kotlin.outputs.GetInstanceFileShareNfsExportOption.Companion.toKotlin(args0)
                })
            }),
            sourceBackup = javaType.sourceBackup(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy