Skip to main content

sharepoints

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

Overview​

Namesharepoints
TypeResource
Idovh.ms_services.sharepoints

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
domainstringInternal service name
iamobjectIAM resource metadata

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdomainGet SharePoint service information (Deprecated, will be removed)
get_by_service_nameselectservice_nameGet the SharePoint service (Deprecated, will be removed)
listselectiam_tags, x_pagination_modeList available services (Deprecated, will be removed)
updateupdateservice_nameAlter this object properties (Deprecated, will be removed)
restore_admin_rightsexecserviceNameRestore administrator rights (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"}})
domainstringSharepoint customer's service
serviceNamestringThe internal name of your Active Directory organization
service_namestringThe internal name of your Active Directory organization (wire: serviceName)
iam_tagsobjectFilter resources on IAM tags (wire: iamTags)
x_pagination_modestringSent as CachedObjectList-Pages by default so the list returns the full objects rather than their identifiers. (wire: X-Pagination-Mode)

SELECT examples​

Get SharePoint service information (Deprecated, will be removed)

SELECT
domain,
iam
FROM ovh.ms_services.sharepoints
WHERE domain = '{{ domain }}' -- required
;

UPDATE examples​

Alter this object properties (Deprecated, will be removed)

UPDATE ovh.ms_services.sharepoints
SET
display_name = '{{ display_name }}',
url = '{{ url }}'
WHERE
service_name = '{{ service_name }}' --required;

Lifecycle Methods​

EXEC variables use wire (API) names.

Restore administrator rights (Deprecated, will be removed)

EXEC ovh.ms_services.sharepoints.restore_admin_rights
@serviceName='{{ serviceName }}' --required
;