Regions

class borneo.Regions[source]

Bases: object

Cloud service only.

The class contains the regions in the Oracle Cloud Infrastructure at the time of this release. The Oracle NoSQL Database Cloud Service is not available in all of these regions. For a definitive list of regions in which the Oracle NoSQL Database Cloud Service is available see Data Regions for Platform and Infrastructure Services.

A Region may be provided to NoSQLHandleConfig to configure a handle to communicate in a specific Region.

The string-based endpoints associated with regions for the Oracle NoSQL Database Cloud Service are of the format:

https://nosql.{region}.oci.{secondLevelDomain}

Examples of known second level domains include

  • oraclecloud.com
  • oraclegovcloud.com
  • oraclegovcloud.uk

For example, this is a valid endpoint for the Oracle NoSQL Database Cloud Service in the U.S. East region:

https://nosql.us-ashburn-1.oci.oraclecloud.com

If the Oracle NoSQL Database Cloud Service becomes available in a region not listed here it is possible to connect to that region using the endpoint string rather than a Region.

For more information about Oracle Cloud Infrastructure regions see Regions and Availability Domains.

Attributes Summary

AP_MELBOURNE_1 Region Location: Melbourne, Australia
AP_MUMBAI_1 Region Location: Mumbai, India
AP_OSAKA_1 Region Location: Osaka, Japan
AP_SEOUL_1 Region Location: Seoul, South Korea
AP_SYDNEY_1 Region Location: Sydney, Australia
AP_TOKYO_1 Region Location: Tokyo, Japan
CA_MONTREAL_1 Region Location: Montreal, Canada
CA_TORONTO_1 Region Location: Toronto, Canada
EU_AMSTERDAM_1 Region Location: Amsterdam, Netherlands
EU_FRANKFURT_1 Region Location: Frankfurt, Germany
EU_ZURICH_1 Region Location: Zurich, Switzerland
GOV_REGIONS A dict containing the government regions.
ME_JEDDAH_1 Region Location: Jeddah, Saudi Arabia
OC1_REGIONS A dict containing the OC1 regions.
OC4_REGIONS A dict containing the OC4 regions.
SA_SAOPAULO_1 Region Location: Sao Paulo, Brazil
UK_GOV_LONDON_1 Region Location: London, United Kingdom
UK_LONDON_1 Region Location: London, United Kingdom
US_ASHBURN_1 Region Location: Ashburn, VA
US_GOV_ASHBURN_1 Region Location: Ashburn, VA
US_GOV_CHICAGO_1 Region Location: Chicago, IL
US_GOV_PHOENIX_1 Region Location: Phoenix, AZ
US_LANGLEY_1 Region Location: Ashburn, VA
US_LUKE_1 Region Location: Phoenix, AZ
US_PHOENIX_1 Region Location: Phoenix, AZ

Methods Summary

from_region_id(region_id) Returns the Region associated with the string value supplied, or None if the string does not represent a known region.

Attributes Documentation

AP_MELBOURNE_1 = <borneo.config.Region object>

Region Location: Melbourne, Australia

AP_MUMBAI_1 = <borneo.config.Region object>

Region Location: Mumbai, India

AP_OSAKA_1 = <borneo.config.Region object>

Region Location: Osaka, Japan

AP_SEOUL_1 = <borneo.config.Region object>

Region Location: Seoul, South Korea

AP_SYDNEY_1 = <borneo.config.Region object>

Region Location: Sydney, Australia

AP_TOKYO_1 = <borneo.config.Region object>

Region Location: Tokyo, Japan

CA_MONTREAL_1 = <borneo.config.Region object>

Region Location: Montreal, Canada

CA_TORONTO_1 = <borneo.config.Region object>

Region Location: Toronto, Canada

EU_AMSTERDAM_1 = <borneo.config.Region object>

Region Location: Amsterdam, Netherlands

EU_FRANKFURT_1 = <borneo.config.Region object>

Region Location: Frankfurt, Germany

EU_ZURICH_1 = <borneo.config.Region object>

Region Location: Zurich, Switzerland

GOV_REGIONS = {'us-gov-ashburn-1': <borneo.config.Region object>, 'us-gov-chicago-1': <borneo.config.Region object>, 'us-gov-phoenix-1': <borneo.config.Region object>, 'us-langley-1': <borneo.config.Region object>, 'us-luke-1': <borneo.config.Region object>}

A dict containing the government regions.

ME_JEDDAH_1 = <borneo.config.Region object>

Region Location: Jeddah, Saudi Arabia

OC1_REGIONS = {'ap-chuncheon-1': <borneo.config.Region object>, 'ap-hyderabad-1': <borneo.config.Region object>, 'ap-melbourne-1': <borneo.config.Region object>, 'ap-mumbai-1': <borneo.config.Region object>, 'ap-osaka-1': <borneo.config.Region object>, 'ap-seoul-1': <borneo.config.Region object>, 'ap-singapore-1': <borneo.config.Region object>, 'ap-sydney-1': <borneo.config.Region object>, 'ap-tokyo-1': <borneo.config.Region object>, 'ca-montreal-1': <borneo.config.Region object>, 'ca-toronto-1': <borneo.config.Region object>, 'eu-amsterdam-1': <borneo.config.Region object>, 'eu-frankfurt-1': <borneo.config.Region object>, 'eu-madrid-1': <borneo.config.Region object>, 'eu-marseille-1': <borneo.config.Region object>, 'eu-milan-1': <borneo.config.Region object>, 'eu-paris-1': <borneo.config.Region object>, 'eu-stockholm-1': <borneo.config.Region object>, 'eu-zurich-1': <borneo.config.Region object>, 'il-jerusalem-1': <borneo.config.Region object>, 'me-abudhabi-1': <borneo.config.Region object>, 'me-dubai-1': <borneo.config.Region object>, 'me-jeddah-1': <borneo.config.Region object>, 'mx-queretaro-1': <borneo.config.Region object>, 'sa-santiago-1': <borneo.config.Region object>, 'sa-saopaulo-1': <borneo.config.Region object>, 'sa-vinhedo-1': <borneo.config.Region object>, 'uk-cardiff-1': <borneo.config.Region object>, 'uk-london-1': <borneo.config.Region object>, 'us-ashburn-1': <borneo.config.Region object>, 'us-chicago-1': <borneo.config.Region object>, 'us-phoenix-1': <borneo.config.Region object>, 'us-sanjose-1': <borneo.config.Region object>}

A dict containing the OC1 regions.

OC4_REGIONS = {'uk-gov-cardiff-1': <borneo.config.Region object>, 'uk-gov-london-1': <borneo.config.Region object>}

A dict containing the OC4 regions.

SA_SAOPAULO_1 = <borneo.config.Region object>

Region Location: Sao Paulo, Brazil

UK_GOV_LONDON_1 = <borneo.config.Region object>

Region Location: London, United Kingdom

UK_LONDON_1 = <borneo.config.Region object>

Region Location: London, United Kingdom

US_ASHBURN_1 = <borneo.config.Region object>

Region Location: Ashburn, VA

US_GOV_ASHBURN_1 = <borneo.config.Region object>

Region Location: Ashburn, VA

US_GOV_CHICAGO_1 = <borneo.config.Region object>

Region Location: Chicago, IL

US_GOV_PHOENIX_1 = <borneo.config.Region object>

Region Location: Phoenix, AZ

US_LANGLEY_1 = <borneo.config.Region object>

Region Location: Ashburn, VA

US_LUKE_1 = <borneo.config.Region object>

Region Location: Phoenix, AZ

US_PHOENIX_1 = <borneo.config.Region object>

Region Location: Phoenix, AZ

Methods Documentation

static from_region_id(region_id)[source]

Returns the Region associated with the string value supplied, or None if the string does not represent a known region.

Parameters:region_id (str) – the string value of the region.
Returns:the Region or None if the string does not represent a Region.
Return type:Region