service_shared_account_quotas
Creates, updates, deletes, gets or lists a service_shared_account_quotas resource.
Overview​
| Name | service_shared_account_quotas |
| Type | Resource |
| Id | ovh.email_exchange.service_shared_account_quotas |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
quota_limit | integer | total amount of space in MB for shared accounts within organization (wire: quotaLimit) |
quota_reserved | integer | space in MB already reserved from the quota limit (wire: quotaReserved) |
quota_used | integer | currently used space in KB within all shared accounts (wire: quotaUsed) |
single_mailbox_quota_limit | integer | amount of space in MB available for single shared account (wire: singleMailboxQuotaLimit) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | exchange_service, organization_name | Get the shared account quota. Returns the total and reserved space of the shared accounts in MB, the space used in KB, and the maximum size of one shared account in MB. |
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"}}) |
exchange_service | string | The internal name of your exchange service (wire: exchangeService) |
organization_name | string | The internal name of your exchange organization (wire: organizationName) |
SELECT examples​
- get
Get the shared account quota. Returns the total and reserved space of the shared accounts in MB, the space used in KB, and the maximum size of one shared account in MB.
SELECT
quota_limit,
quota_reserved,
quota_used,
single_mailbox_quota_limit
FROM ovh.email_exchange.service_shared_account_quotas
WHERE exchange_service = '{{ exchange_service }}' -- required
AND organization_name = '{{ organization_name }}' -- required
;