capabilities_region_presets
Creates, updates, deletes, gets or lists a capabilities_region_presets resource.
Overview​
| Name | capabilities_region_presets |
| Type | Resource |
| Id | ovh.cloud_ai.capabilities_region_presets |
Fields​
The following fields are returned by SELECT queries:
- get
- list
successful operation
| Name | Datatype | Description |
|---|---|---|
id | string | Preset id |
name | string | Preset name |
capabilities | object | Preset capabilities |
descriptions | array | Preset description |
doc_url | array | URL toward the preset image documentation (wire: docUrl) |
logo_url | string | URL toward the logo to illustrate the preset (wire: logoUrl) |
partner | object | Partner name |
snippet | string | Snippet example of the doc |
type | string | Preset type (app, job, notebook) |
AI Solutions Preset image
| Name | Datatype | Description |
|---|---|---|
id | string | Preset id |
name | string | Preset name |
capabilities | object | Preset capabilities |
descriptions | array | Preset description |
doc_url | array | URL toward the preset image documentation (wire: docUrl) |
logo_url | string | URL toward the logo to illustrate the preset (wire: logoUrl) |
partner | object | Partner name |
snippet | string | Snippet example of the doc |
type | string | Preset type (app, job, notebook) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | preset_id, region, service_name | Get Preset Information | |
list | select | region, service_name | type | List Presets |
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.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The 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"}}) |
preset_id | string | Preset ID (wire: presetId) |
region | string | Region |
service_name | string | The Public Cloud project ID. Resolved from OVH_CLOUD_PROJECT_SERVICE when set. |
type | string | Filter on type of preset image |
SELECT examples​
- get
- list
Get Preset Information
SELECT
id,
name,
capabilities,
descriptions,
doc_url,
logo_url,
partner,
snippet,
type
FROM ovh.cloud_ai.capabilities_region_presets
WHERE preset_id = '{{ preset_id }}' -- required
AND region = '{{ region }}' -- required
AND service_name = '{{ service_name }}' -- required unless OVH_CLOUD_PROJECT_SERVICE is set
;
List Presets
SELECT
id,
name,
capabilities,
descriptions,
doc_url,
logo_url,
partner,
snippet,
type
FROM ovh.cloud_ai.capabilities_region_presets
WHERE region = '{{ region }}' -- required
AND service_name = '{{ service_name }}' -- required unless OVH_CLOUD_PROJECT_SERVICE is set
AND type = '{{ type }}'
;