Create or update the inference region policy
-
PUT
/_inference/_region_policy
Auth
The region policy restricts inference to a set of allowed geographic areas or cloud service provider regions.
-
Cluster privileges
manage_inference
-
force
boolean · default: false
-
If true, the region policy is applied even if it would deny access to inference endpoints that are currently in use by ingest pipeline or indices.
-
region_policy
object
required
-
The region policy configuration.
-
-
allowed_geos
string[]
-
The list of allowed geographic areas.
Mutually exclusive with allowed_regions.
-
allowed_regions
object[]
-
The list of allowed cloud service provider regions.
Mutually exclusive with allowed_geos.
-
-
csp
string
required
-
The cloud service provider, for example aws, gcp, or azure.
-
region
string
required
-
The region of the cloud service provider, for example us-east-1.
application/json
-
region_policy
object
required
-
-
allowed_geos
string[]
-
The list of allowed geographic areas.
Mutually exclusive with allowed_regions.
-
allowed_regions
object[]
-
The list of allowed cloud service provider regions.
Mutually exclusive with allowed_geos.
-
-
csp
string
required
-
The cloud service provider, for example aws, gcp, or azure.
-
region
string
required
-
The region of the cloud service provider, for example us-east-1.
-
created_at
union oneOf
required
-
The date and time the region policy was created.
-
One of:
string
or
number
-
created_by
string
-
The user who created the region policy.
-
updated_at
union oneOf
-
The date and time the region policy was last updated.
-
One of:
string
or
number
-
updated_by
string
-
The user who last updated the region policy.