syntax = "proto3";

package temporal.api.cloud.resource.v1;

option go_package = "go.temporal.io/api/cloud/resource/v1;resource";
option java_package = "io.temporal.api.cloud.resource.v1";
option java_multiple_files = true;
option java_outer_classname = "MessageProto";
option ruby_package = "Temporalio::Api::Cloud::Resource::V1";
option csharp_namespace = "Temporalio.Api.Cloud.Resource.V1";


enum ResourceState {
    RESOURCE_STATE_UNSPECIFIED = 0;
    RESOURCE_STATE_ACTIVATING = 1;         // The resource is being activated.
    RESOURCE_STATE_ACTIVATION_FAILED = 2;  // The resource failed to activate. This is an error state. Reach out to support for remediation.
    RESOURCE_STATE_ACTIVE = 3;             // The resource is active and ready to use.
    RESOURCE_STATE_UPDATING = 4;           // The resource is being updated.
    RESOURCE_STATE_UPDATE_FAILED = 5;      // The resource failed to update. This is an error state. Reach out to support for remediation.
    RESOURCE_STATE_DELETING = 6;           // The resource is being deleted.
    RESOURCE_STATE_DELETE_FAILED = 7;      // The resource failed to delete. This is an error state. Reach out to support for remediation.
    RESOURCE_STATE_DELETED = 8;            // The resource has been deleted.
    RESOURCE_STATE_SUSPENDED = 9;          // The resource is suspended and not available for use. Reach out to support for remediation.
    RESOURCE_STATE_EXPIRED = 10;           // The resource has expired and is no longer available for use.
}
