account_capabilities
Creates, updates, deletes, gets or lists an account_capabilities resource.
Overview​
| Name | account_capabilities |
| Type | Resource |
| Id | ovh.email_mxplan.account_capabilities |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
quotas | array | List of allowed quotas (no constraint if null) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | email, service | Get email account capabilities. Returns the quotas that can be set on the email account. No value means that any quota is allowed. |
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"}}) |
email | string | Default email for this mailbox |
service | string | The internal name of your mxplan organization |
SELECT examples​
- get
Get email account capabilities. Returns the quotas that can be set on the email account. No value means that any quota is allowed.
SELECT
quotas
FROM ovh.email_mxplan.account_capabilities
WHERE email = '{{ email }}' -- required
AND service = '{{ service }}' -- required
;