Skip to main content

service_shared_account_quotas

Creates, updates, deletes, gets or lists a service_shared_account_quotas resource.

Overview​

Nameservice_shared_account_quotas
TypeResource
Idovh.email_exchange.service_shared_account_quotas

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
quota_limitintegertotal amount of space in MB for shared accounts within organization (wire: quotaLimit)
quota_reservedintegerspace in MB already reserved from the quota limit (wire: quotaReserved)
quota_usedintegercurrently used space in KB within all shared accounts (wire: quotaUsed)
single_mailbox_quota_limitintegeramount of space in MB available for single shared account (wire: singleMailboxQuotaLimit)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectexchange_service, organization_nameGet 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.

NameDatatypeDescription
api_hoststringThe 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_servicestringThe internal name of your exchange service (wire: exchangeService)
organization_namestringThe internal name of your exchange organization (wire: organizationName)

SELECT examples​

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
;