Interface ZoneApi


  • public interface ZoneApi
    Author:
    hakonhall
    • Method Detail

      • getId

        ZoneId getId()
        Returns the ID of the zone. WARNING: The ID of a controller zone is equal to the ID of a prod zone in the same region.
        See Also:
        getVirtualId()
      • getFullName

        default String getFullName()
        Returns the SYSTEM.ENVIRONMENT.REGION string.
      • getVirtualId

        default ZoneId getVirtualId()
        Returns getId() for all zones except the controller zone. Unlike getId(), the virtual ID of a controller is distinct from all other zones.
      • getEnvironment

        default Environment getEnvironment()
      • getRegionName

        default RegionName getRegionName()
      • getCloudNativeRegionName

        String getCloudNativeRegionName()
        Returns the region name within the cloud, e.g. 'us-east-1' in AWS