agreements_contracts
Creates, updates, deletes, gets or lists an agreements_contracts resource.
Overview​
| Name | agreements_contracts |
| Type | Resource |
| Id | ovh.me.agreements_contracts |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
name | string | Name of of the contract |
active | boolean | Is this contract currently active or not ? |
date | string (date) | Date the contract was created on |
pdf | string | URL you can download the contract at |
text | string | Full text of the contract |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | id | Get this object properties |
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"}}) |
id | integer | Id of the contract |
SELECT examples​
- get
Get this object properties
SELECT
name,
active,
date,
pdf,
text
FROM ovh.me.agreements_contracts
WHERE id = '{{ id }}' -- required
;