com.pulumi.aws.fsx.kotlin.inputs.OntapVolumeAggregateConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.fsx.kotlin.inputs
import com.pulumi.aws.fsx.inputs.OntapVolumeAggregateConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property aggregates Used to specify the names of the aggregates on which the volume will be created. Each aggregate needs to be in the format aggrX where X is the number of the aggregate.
* @property constituentsPerAggregate Used to explicitly set the number of constituents within the FlexGroup per storage aggregate. the default value is `8`.
* @property totalConstituents The total amount of constituents for a `FLEXGROUP` volume. This would equal constituents_per_aggregate x aggregates.
*/
public data class OntapVolumeAggregateConfigurationArgs(
public val aggregates: Output>? = null,
public val constituentsPerAggregate: Output? = null,
public val totalConstituents: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.fsx.inputs.OntapVolumeAggregateConfigurationArgs =
com.pulumi.aws.fsx.inputs.OntapVolumeAggregateConfigurationArgs.builder()
.aggregates(aggregates?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.constituentsPerAggregate(constituentsPerAggregate?.applyValue({ args0 -> args0 }))
.totalConstituents(totalConstituents?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [OntapVolumeAggregateConfigurationArgs].
*/
@PulumiTagMarker
public class OntapVolumeAggregateConfigurationArgsBuilder internal constructor() {
private var aggregates: Output>? = null
private var constituentsPerAggregate: Output? = null
private var totalConstituents: Output? = null
/**
* @param value Used to specify the names of the aggregates on which the volume will be created. Each aggregate needs to be in the format aggrX where X is the number of the aggregate.
*/
@JvmName("gdrvqapmpdidrjqy")
public suspend fun aggregates(`value`: Output>) {
this.aggregates = value
}
@JvmName("gwagoerltbesyitl")
public suspend fun aggregates(vararg values: Output) {
this.aggregates = Output.all(values.asList())
}
/**
* @param values Used to specify the names of the aggregates on which the volume will be created. Each aggregate needs to be in the format aggrX where X is the number of the aggregate.
*/
@JvmName("vmvrsigplgodrrpm")
public suspend fun aggregates(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy