Skip to main content

sync_client_software_urls

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

Overview​

Namesync_client_software_urls
TypeResource
Idovh.ms_services.sync_client_software_urls

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
expirationstring (date-time)Link expiration date
urlstringADSync software executable link

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_nameGet the synchronization client URL (Deprecated, will be removed)
createinsertservice_nameGenerate temporary link to ADSync software executable (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"}})
service_namestringThe internal name of your Active Directory organization (wire: serviceName)

SELECT examples​

Get the synchronization client URL (Deprecated, will be removed)

SELECT
expiration,
url
FROM ovh.ms_services.sync_client_software_urls
WHERE service_name = '{{ service_name }}' -- required
;

INSERT examples​

Generate temporary link to ADSync software executable (Deprecated, will be removed)

INSERT INTO ovh.ms_services.sync_client_software_urls (
service_name
)
SELECT
'{{ service_name }}'
RETURNING
id,
finish_date,
function,
status,
todo_date
;