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

AP_MUMBAI_1

AP_OSAKA_1

AP_SEOUL_1

AP_SYDNEY_1

AP_TOKYO_1

CA_MONTREAL_1

CA_TORONTO_1

EU_AMSTERDAM_1

EU_FRANKFURT_1

EU_ZURICH_1

ME_JEDDAH_1

OC1_REGIONS

OC4_REGIONS

SA_SAOPAULO_1

UK_GOV_LONDON_1

UK_LONDON_1

US_ASHBURN_1

US_GOV_ASHBURN_1

US_GOV_CHICAGO_1

US_GOV_PHOENIX_1

US_LANGLEY_1

US_LUKE_1

US_PHOENIX_1

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>
AP_MUMBAI_1 = <borneo.config.Region object>
AP_OSAKA_1 = <borneo.config.Region object>
AP_SEOUL_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_ZURICH_1 = <borneo.config.Region object>
ME_JEDDAH_1 = <borneo.config.Region object>
OC1_REGIONS = {'af-casablanca-1': <borneo.config.Region object>, 'af-johannesburg-1': <borneo.config.Region object>, 'af-nairobi-1': <borneo.config.Region object>, 'ap-batam-1': <borneo.config.Region object>, 'ap-chennai-1': <borneo.config.Region object>, 'ap-chuncheon-1': <borneo.config.Region object>, 'ap-delhi-1': <borneo.config.Region object>, 'ap-hyderabad-1': <borneo.config.Region object>, 'ap-kulai-1': <borneo.config.Region object>, 'ap-kulai-2': <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-singapore-2': <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-dublin-3': <borneo.config.Region object>, 'eu-frankfurt-1': <borneo.config.Region object>, 'eu-madrid-1': <borneo.config.Region object>, 'eu-madrid-3': <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-turin-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>, 'me-riyadh-1': <borneo.config.Region object>, 'mx-monterrey-1': <borneo.config.Region object>, 'mx-queretaro-1': <borneo.config.Region object>, 'sa-bogota-1': <borneo.config.Region object>, 'sa-riodejaneiro-2': <borneo.config.Region object>, 'sa-santiago-1': <borneo.config.Region object>, 'sa-saopaulo-1': <borneo.config.Region object>, 'sa-valparaiso-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-abilene-1': <borneo.config.Region object>, 'us-ashburn-1': <borneo.config.Region object>, 'us-boardman-1': <borneo.config.Region object>, 'us-chicago-1': <borneo.config.Region object>, 'us-columbus-1': <borneo.config.Region object>, 'us-dallas-1': <borneo.config.Region object>, 'us-desmoines-1': <borneo.config.Region object>, 'us-lenexa-1': <borneo.config.Region object>, 'us-phoenix-1': <borneo.config.Region object>, 'us-quincy-1': <borneo.config.Region object>, 'us-saltlake-2': <borneo.config.Region object>, 'us-sanantonio-1': <borneo.config.Region object>, 'us-sanjose-1': <borneo.config.Region object>, 'us-shawnee-1': <borneo.config.Region object>}
OC4_REGIONS = {'uk-gov-cardiff-1': <borneo.config.Region object>, 'uk-gov-london-1': <borneo.config.Region object>}
SA_SAOPAULO_1 = <borneo.config.Region object>
UK_GOV_LONDON_1 = <borneo.config.Region object>
UK_LONDON_1 = <borneo.config.Region object>
US_ASHBURN_1 = <borneo.config.Region object>
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>
US_PHOENIX_1 = <borneo.config.Region object>

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