Skip to main content

region

Regions of Vendors.

Primary key: vendor_id, region_id. See the version history of this table on dbdocs.io.

Columns​

ColumnTypeConstraintsReferencesDescription
vendor_idVARCHAR(255)PKvendor.vendor_idReference to the Vendor.
region_idVARCHAR(255)PKUnique identifier, as called at the Vendor.
nameVARCHAR(255)NOT NULLHuman-friendly name.
api_referenceVARCHAR(255)NOT NULLHow this resource is referenced in the vendor API calls. This is usually either the id or name of the resource, depending on the vendor and actual API endpoint.
display_nameVARCHAR(255)NOT NULLHuman-friendly reference (usually the id or name) of the resource.
aliasesJSONNOT NULLList of other commonly used names for the same Region.
country_idVARCHAR(255)NOT NULLcountry.country_idReference to the Country, where the Region is located.
stateVARCHAR(255)Optional state/administrative area of the Region''s location within the Country.
cityVARCHAR(255)Optional city name of the Region''s location.
address_lineVARCHAR(255)Optional address line of the Region''s location.
zip_codeVARCHAR(255)Optional ZIP code of the Region''s location.
lonFLOATLongitude coordinate of the Region''s known or approximate location.
latFLOATLatitude coordinate of the Region''s known or approximate location.
founding_yearINTEGER4-digit year when the Region was founded.
green_energyBOOLIf the Region is 100%% powered by renewable energy.
statusENUMNOT NULLStatus of the resource (active or inactive). See Status for the possible values.
observed_atDATETIMENOT NULLTimestamp of the last observation.

Foreign keys​

  • vendor_id → vendor (vendor_id)
  • country_id → country (country_id)

Enums​

Status​

Last known status of a resource, e.g. active or inactive.

ValueDescription
ACTIVEActive and available resource.
INACTIVEUnavailable. For Server/Database: temporary or unknown cause.
PLANNED_FOR_RETIREMENTPlanned for retirement; only valid for Server and Database.
RETIREDNot orderable anymore, but prices may still exist (e.g. active multi-year contracts). Only valid for Server and Database.

Referenced by​