com.pulumi.googlenative.firebasehosting.v1beta1.enums.VersionStatus 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.firebasehosting.v1beta1.enums;
import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;
/**
* The deploy status of the version. For a successful deploy, call [`CreateVersion`](sites.versions/create) to make a new version (`CREATED` status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](sites.versions/patch) the version to the `FINALIZED` status. Note that if you leave the version in the `CREATED` state for more than 12 hours, the system will automatically mark the version as `ABANDONED`. You can also change the status of a version to `DELETED` by calling [`DeleteVersion`](sites.versions/delete).
*
*/
@EnumType
public enum VersionStatus {
/**
* The default status; should not be intentionally used.
*
*/
VersionStatusUnspecified("VERSION_STATUS_UNSPECIFIED"),
/**
* The version has been created, and content is currently being added to the version.
*
*/
Created("CREATED"),
/**
* All content has been added to the version, and the version can no longer be changed.
*
*/
Finalized("FINALIZED"),
/**
* The version has been deleted.
*
*/
Deleted("DELETED"),
/**
* The version was not updated to `FINALIZED` within 12 hours and was automatically deleted.
*
*/
Abandoned("ABANDONED"),
/**
* The version is outside the site-configured limit for the number of retained versions, so the version's content is scheduled for deletion.
*
*/
Expired("EXPIRED"),
/**
* The version is being cloned from another version. All content is still being copied over.
*
*/
Cloning("CLONING");
private final String value;
VersionStatus(String value) {
this.value = Objects.requireNonNull(value);
}
@EnumType.Converter
public String getValue() {
return this.value;
}
@Override
public String toString() {
return new StringJoiner(", ", "VersionStatus[", "]")
.add("value='" + this.value + "'")
.toString();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy