Region

class oci.identity.models.Region(**kwargs)

Bases: object

A localized geographic area, such as Phoenix, AZ. Oracle Cloud Infrastructure is hosted in regions and Availability Domains. A region is composed of several Availability Domains. An Availability Domain is one or more data centers located within a region. For more information, see Regions and Availability Domains.

To use any of the API operations, you must be authorized in an IAM policy. If you’re not authorized, talk to an administrator. If you’re an administrator who needs to write policies to give users access, see Getting Started with Policies.

Methods

__init__(**kwargs) Initializes a new Region object with values from keyword arguments.

Attributes

key Gets the key of this Region.
name Gets the name of this Region.
__init__(**kwargs)

Initializes a new Region object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • key (str) – The value to assign to the key property of this Region.
  • name (str) – The value to assign to the name property of this Region.
key

Gets the key of this Region. The key of the region. See Regions and Availability Domains for the full list of supported 3-letter region codes.

Example: PHX

Returns:The key of this Region.
Return type:str
name

Gets the name of this Region. The name of the region. See Regions and Availability Domains for the full list of supported region names.

Example: us-phoenix-1

Returns:The name of this Region.
Return type:str