An OCI region discovery mechanism to provide
Region
as a service in Helidon
service registry.
This service is implemented by:
- Config based - just put
oci.region
to OCI configuration (or environment variables/system properties) - Authentication provider based - if the authentication provider implements a
RegionProvider
, the region will be used - Region from
Region.getRegionFromImds()
-
Method Summary
-
Method Details
-
region
Optional<com.oracle.bmc.Region> region()The region, if it can be provided by this service.- Returns:
- OCI region
-