
com.pulumi.azurenative.servicefabric.enums.ServiceScalingMechanismKind Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.servicefabric.enums;
import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;
/**
* Specifies the mechanism associated with this scaling policy.
*
*/
@EnumType
public enum ServiceScalingMechanismKind {
/**
* Represents a scaling mechanism for adding or removing instances of stateless service partition. The value is 0.
*
*/
ScalePartitionInstanceCount("ScalePartitionInstanceCount"),
/**
* Represents a scaling mechanism for adding or removing named partitions of a stateless service. The value is 1.
*
*/
AddRemoveIncrementalNamedPartition("AddRemoveIncrementalNamedPartition");
private final String value;
ServiceScalingMechanismKind(String value) {
this.value = Objects.requireNonNull(value);
}
@EnumType.Converter
public String getValue() {
return this.value;
}
@Override
public java.lang.String toString() {
return new StringJoiner(", ", "ServiceScalingMechanismKind[", "]")
.add("value='" + this.value + "'")
.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy