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

com.pulumi.googlenative.batch.v1.enums.InstancePolicyProvisioningModel 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.googlenative.batch.v1.enums;

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

    /**
     * The provisioning model.
     * 
     */
    @EnumType
    public enum InstancePolicyProvisioningModel {
        /**
         * Unspecified.
         * 
         */
        ProvisioningModelUnspecified("PROVISIONING_MODEL_UNSPECIFIED"),
        /**
         * Standard VM.
         * 
         */
        Standard("STANDARD"),
        /**
         * SPOT VM.
         * 
         */
        Spot("SPOT"),
        /**
         * Preemptible VM (PVM). Above SPOT VM is the preferable model for preemptible VM instances: the old preemptible VM model (indicated by this field) is the older model, and has been migrated to use the SPOT model as the underlying technology. This old model will still be supported.
         * 
         */
        Preemptible("PREEMPTIBLE");

        private final String value;

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy