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

com.pulumi.googlenative.container.v1beta1.enums.StatusConditionCode 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.container.v1beta1.enums;

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

    /**
     * Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
     * 
     */
    @EnumType
    public enum StatusConditionCode {
        /**
         * UNKNOWN indicates a generic condition.
         * 
         */
        Unknown("UNKNOWN"),
        /**
         * GCE_STOCKOUT indicates that Google Compute Engine resources are temporarily unavailable.
         * 
         */
        GceStockout("GCE_STOCKOUT"),
        /**
         * GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot service account.
         * 
         */
        GkeServiceAccountDeleted("GKE_SERVICE_ACCOUNT_DELETED"),
        /**
         * Google Compute Engine quota was exceeded.
         * 
         */
        GceQuotaExceeded("GCE_QUOTA_EXCEEDED"),
        /**
         * Cluster state was manually changed by an SRE due to a system logic error.
         * 
         */
        SetByOperator("SET_BY_OPERATOR"),
        /**
         * Unable to perform an encrypt operation against the CloudKMS key used for etcd level encryption.
         * 
         */
        CloudKmsKeyError("CLOUD_KMS_KEY_ERROR"),
        /**
         * Cluster CA is expiring soon. More codes TBA
         * 
         */
        CaExpiring("CA_EXPIRING");

        private final String value;

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy