package entity

// FsRegion represents an fs region. The fs system has no global service, so the
// mgmt service owns the region records and serves the fs region OpenAPI directly.
// ServiceAddress is the endpoint address of the fs regional server in the region.
type FsRegion struct {
	// CloudProvider is the lowercase cloud provider name, e.g. "aws".
	CloudProvider string
	// Region is the region code, e.g. "us-west-2".
	Region         string
	DisplayName    string
	ServiceAddress string
	// Status is the lifecycle state of the region: ACTIVE or INACTIVE.
	Status string
}

// FsRegion lifecycle states.
const (
	FsRegionStatusActive   = "ACTIVE"
	FsRegionStatusInactive = "INACTIVE"
)
