package constant

const (
	DBUserCloudAdmin = "cloud_admin"

	DBUserRoot = "root"

	TiDBAuthTokenIssuer = "pingcap.com"
)

const (
	ClusterInitializedSuccess      = "success"
	ClusterInitializedInitializing = "initializing"
	ClusterInitializedFailed       = "failed"
)

const (
	MetricsNamespace = "global_serverless_control"
)

const (
	LongPendingSec = 10
)

const AuditLogDeprecatedMsg = "The audit log part of this API is deprecated and not supported, please update your CLI version."

const (
	ServicePlanStarterFree     = "Starter/Free"     // SpendingLimit = 0
	ServicePlanStarterScalable = "Starter/Scalable" // SpendingLimit > 0
)

const (
	AnnoKeyPrefix   = "free-tier.tidbcloud.com"
	AnnoServicePlan = AnnoKeyPrefix + "/service-plan"
	AnnoRuVersion   = AnnoKeyPrefix + "/ru-version"
)

var (
	ZoneRedundantBlockRegions = []string{
		"alicloud/na-south-1",
		"alicloud/us-east-1",
		"aws/mx-central-1",
	}
)
