Skip to main content

capabilities_container_registries

Creates, updates, deletes, gets or lists a capabilities_container_registries resource.

Overview​

Namecapabilities_container_registries
TypeResource
Idovh.cloud_container_registry.capabilities_container_registries

Fields​

The following fields are returned by SELECT queries:

The container registry capability for a single region

NameDatatypeDescription
region_namestringThe region name (wire: regionName)
plansarrayAvailable plans in the region
region_typestringThe type of region ("REGION-1-AZ" or "REGION-3-AZ") (LOCAL-ZONE, REGION-1-AZ, REGION-3-AZ) (wire: regionType)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectservice_nameList container registry capabilities per region

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
api_hoststringThe OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}})
service_namestringThe Public Cloud project ID. Resolved from OVH_CLOUD_PROJECT_SERVICE when set.

SELECT examples​

List container registry capabilities per region

SELECT
region_name,
plans,
region_type
FROM ovh.cloud_container_registry.capabilities_container_registries
WHERE service_name = '{{ service_name }}' -- required unless OVH_CLOUD_PROJECT_SERVICE is set
;