Skip to main content

synchronization_templates_schema

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

Overview

Namesynchronization_templates_schema
TypeResource
Identra_id.service_principals.synchronization_templates_schema

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
directoriesarrayContains the collection of directories and all of their objects.
synchronizationRulesarrayA collection of synchronization rules configured for the synchronizationJob or synchronizationTemplate.
versionstringThe version of the schema, updated automatically with every schema change.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_principal_id, synchronization_template_idDefault synchronization schema for the jobs based on this template.
updateupdateservice_principal_id, synchronization_template_id
deletedeleteservice_principal_id, synchronization_template_idIf-Match

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
service_principal_idstringThe unique identifier of servicePrincipal
synchronization_template_idstringThe unique identifier of synchronizationTemplate
If-MatchstringETag

SELECT examples

Default synchronization schema for the jobs based on this template.

SELECT
id,
directories,
synchronizationRules,
version
FROM entra_id.service_principals.synchronization_templates_schema
WHERE service_principal_id = '{{ service_principal_id }}' -- required
AND synchronization_template_id = '{{ synchronization_template_id }}' -- required
;

UPDATE examples

No description available.

UPDATE entra_id.service_principals.synchronization_templates_schema
SET
id = '{{ id }}',
synchronizationRules = '{{ synchronizationRules }}',
version = '{{ version }}',
directories = '{{ directories }}'
WHERE
service_principal_id = '{{ service_principal_id }}' --required
AND synchronization_template_id = '{{ synchronization_template_id }}' --required
RETURNING
id,
directories,
synchronizationRules,
version;

DELETE examples

No description available.

DELETE FROM entra_id.service_principals.synchronization_templates_schema
WHERE service_principal_id = '{{ service_principal_id }}' --required
AND synchronization_template_id = '{{ synchronization_template_id }}' --required
AND If-Match = '{{ If-Match }}'
;