All URIs are relative to https://api-ch-gva-2.exoscale.com/v2
Method | HTTP request | Description |
---|---|---|
copy_template | POST /template/{id} | Copy a Template from a zone to another |
delete_template | DELETE /template/{id} | Delete a Template |
get_template | GET /template/{id} | Retrieve Template details |
list_templates | GET /template | List Templates |
promote_snapshot_to_template | POST /snapshot/{id}:promote | Promote a Snapshot to a Template |
register_template | POST /template | Register a Template |
update_template | PUT /template/{id} | Update template attributes |
models::Operation copy_template(id, copy_template_request) Copy a Template from a zone to another
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | uuid::Uuid | [required] | ||
copy_template_request | CopyTemplateRequest | [required] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::Operation delete_template(id) Delete a Template
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | uuid::Uuid | [required] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::Template get_template(id) Retrieve Template details
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | uuid::Uuid | [required] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::ListTemplates200Response list_templates(visibility, family) List Templates
Name | Type | Description | Required | Notes |
---|---|---|---|---|
visibility | Option<String> | |||
family | Option<String> |
models::ListTemplates200Response
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::Operation promote_snapshot_to_template(id, promote_snapshot_to_template_request) Promote a Snapshot to a Template
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | uuid::Uuid | [required] | ||
promote_snapshot_to_template_request | PromoteSnapshotToTemplateRequest | [required] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::Operation register_template(register_template_request) Register a Template
Name | Type | Description | Required | Notes |
---|---|---|---|---|
register_template_request | RegisterTemplateRequest | [required] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
models::Operation update_template(id, update_template_request) Update template attributes
Name | Type | Description | Required | Notes |
---|---|---|---|---|
id | uuid::Uuid | [required] | ||
update_template_request | UpdateTemplateRequest | [required] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]