2023-03-28 23:48:58 +01:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2023-08-11 09:12:13 -04:00
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
2023-03-28 23:48:58 +01:00
|
|
|
|
2017-03-13 18:54:34 -07:00
|
|
|
package types
|
|
|
|
|
|
|
|
// AreaID is a strongly-typed string used to uniquely represent a network area,
|
|
|
|
// which is a relationship between Consul servers.
|
|
|
|
type AreaID string
|
|
|
|
|
|
|
|
// This represents the existing WAN area that's built in to Consul. Consul
|
|
|
|
// Enterprise generalizes areas, which are represented with UUIDs.
|
2017-03-13 22:56:24 -07:00
|
|
|
const AreaWAN AreaID = "wan"
|
2020-08-27 11:23:52 -04:00
|
|
|
|
|
|
|
// This represents the existing LAN area that's built in to Consul. Consul
|
|
|
|
// Enterprise generalizes areas, which are represented with UUIDs.
|
|
|
|
const AreaLAN AreaID = "lan"
|