RegionRoutingPolicy

class oci.generative_ai.models.RegionRoutingPolicy(**kwargs)

Bases: object

The cross-region routing policy for the routing profile. If this policy is not specified, only the local region is allowed.

Methods

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

Attributes

allowed_regions Gets the allowed_regions of this RegionRoutingPolicy.
__init__(**kwargs)

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

Parameters:allowed_regions (list[str]) – The value to assign to the allowed_regions property of this RegionRoutingPolicy.
allowed_regions

Gets the allowed_regions of this RegionRoutingPolicy. The ordered list of regions that routing is allowed to reach. Each entry is a region identifier (for example, us-chicago-1).

The order of entries is preserved. Duplicate entries are not allowed.

Returns:The allowed_regions of this RegionRoutingPolicy.
Return type:list[str]