Create or update the inference region policy
- PUT /_inference/_region_policy
The region policy restricts inference to a set of allowed geographic areas or cloud service provider regions.
- Cluster privileges:
manage_inference
Query Parameters
-
forceboolean · 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.
Request
-
region_policyRegionPolicyrequired -
The region policy configuration.
-
allowed_geosstring -
The list of allowed geographic areas. Mutually exclusive with
allowed_regions. -
allowed_regionsCspRegion -
The list of allowed cloud service provider regions. Mutually exclusive with
allowed_geos.
Response
-
region_policyRegionPolicyrequired -
allowed_geosstring -
The list of allowed geographic areas. Mutually exclusive with
allowed_regions. -
allowed_regionsCspRegion -
The list of allowed cloud service provider regions. Mutually exclusive with
allowed_geos. -
created_atDateTimerequired -
The date and time the region policy was created.
-
created_bystring -
The user who created the region policy.
-
updated_atDateTime -
The date and time the region policy was last updated.
-
updated_bystring -
The user who last updated the region policy.