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

com.pulumi.azurenative.servicefabric.kotlin.outputs.AddRemoveIncrementalNamedPartitionScalingMechanismResponse.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: 2.82.0.0
Show newest version
@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