![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.servicefabric.kotlin.outputs.AddRemoveIncrementalNamedPartitionScalingMechanismResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.servicefabric.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* Represents a scaling mechanism for adding or removing named partitions of a stateless service. Partition names are in the format '0','1'...'N-1'.
* @property kind Enumerates the ways that a service can be partitioned.
* Expected value is 'AddRemoveIncrementalNamedPartition'.
* @property maxPartitionCount Maximum number of named partitions of the service.
* @property minPartitionCount Minimum number of named partitions of the service.
* @property scaleIncrement The number of instances to add or remove during a scaling operation.
*/
public data class AddRemoveIncrementalNamedPartitionScalingMechanismResponse(
public val kind: String,
public val maxPartitionCount: Int,
public val minPartitionCount: Int,
public val scaleIncrement: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.servicefabric.outputs.AddRemoveIncrementalNamedPartitionScalingMechanismResponse): AddRemoveIncrementalNamedPartitionScalingMechanismResponse =
AddRemoveIncrementalNamedPartitionScalingMechanismResponse(
kind = javaType.kind(),
maxPartitionCount = javaType.maxPartitionCount(),
minPartitionCount = javaType.minPartitionCount(),
scaleIncrement = javaType.scaleIncrement(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy