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

com.pulumi.azurenative.containerservice.enums.ScaleDownMode Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** 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.containerservice.enums;

import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;

    /**
     * This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
     * 
     */
    @EnumType
    public enum ScaleDownMode {
        /**
         * Create new instances during scale up and remove instances during scale down.
         * 
         */
        Delete("Delete"),
        /**
         * Attempt to start deallocated instances (if they exist) during scale up and deallocate instances during scale down.
         * 
         */
        Deallocate("Deallocate");

        private final String value;

        ScaleDownMode(String value) {
            this.value = Objects.requireNonNull(value);
        }

        @EnumType.Converter
        public String getValue() {
            return this.value;
        }

        @Override
        public java.lang.String toString() {
            return new StringJoiner(", ", "ScaleDownMode[", "]")
                .add("value='" + this.value + "'")
                .toString();
        }
    }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy