Skip to main content

service_public_folder_quotas

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

Overview​

Nameservice_public_folder_quotas
TypeResource
Idovh.email_exchange.service_public_folder_quotas

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
quota_limitintegertotal amount of space in MB for public folders within organization (wire: quotaLimit)
quota_reservedintegerspace in MB already reserved from the quota limit (wire: quotaReserved)
quota_usedintegercurrently used space in MB within all public folders (wire: quotaUsed)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectexchange_service, organization_nameGet the public folder quota. Returns the total space of the public folders, the space already reserved and the space used, 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 public folder quota. Returns the total space of the public folders, the space already reserved and the space used, in MB.

SELECT
quota_limit,
quota_reserved,
quota_used
FROM ovh.email_exchange.service_public_folder_quotas
WHERE exchange_service = '{{ exchange_service }}' -- required
AND organization_name = '{{ organization_name }}' -- required
;