Skip to main content

sharepoint_licenses

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

Overview​

Namesharepoint_licenses
TypeResource
Idovh.ms_services.sharepoint_licenses

Fields​

The following fields are returned by SELECT queries:

Sharepoint account license per day

NameDatatypeDescription
account_licensearray (wire: accountLicense)
datestring (date)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectperiod, service_namelicenseGet active licenses for specific period of time (Deprecated, will be removed)

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"}})
periodstringPeriod of time used to determine sharepoint account license statistics
service_namestringThe internal name of your Active Directory organization (wire: serviceName)
licensestringLicense type

SELECT examples​

Get active licenses for specific period of time (Deprecated, will be removed)

SELECT
account_license,
date
FROM ovh.ms_services.sharepoint_licenses
WHERE period = '{{ period }}' -- required
AND service_name = '{{ service_name }}' -- required
AND license = '{{ license }}'
;