Skip to main content

feature_rollout_policies_applies_to

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

Overview

Namefeature_rollout_policies_applies_to
TypeResource
Identra_id.policies.feature_rollout_policies_applies_to

Fields

The following fields are returned by SELECT queries:

Retrieved collection

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
deletedDateTimestring (date-time)Date and time when this object was deleted. Always null when the object hasn't been deleted. (pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectfeature_rollout_policy_idNullable. Specifies a list of directoryObject resources that feature is enabled for.
add_refinsertfeature_rollout_policy_idAdd an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied.
remove_refdeletefeature_rollout_policy_id, directory_object_idIf-MatchRemove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout.
remove_ref_2deletefeature_rollout_policy_idIf-MatchRemove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout.
create_applies_toexecfeature_rollout_policy_idAdd an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied.

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
directory_object_idstringThe unique identifier of directoryObject
feature_rollout_policy_idstringThe unique identifier of featureRolloutPolicy
If-MatchstringETag

SELECT examples

Nullable. Specifies a list of directoryObject resources that feature is enabled for.

SELECT
id,
deletedDateTime
FROM entra_id.policies.feature_rollout_policies_applies_to
WHERE feature_rollout_policy_id = '{{ feature_rollout_policy_id }}' -- required
;

INSERT examples

Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied.

INSERT INTO entra_id.policies.feature_rollout_policies_applies_to (
directoryObjectId,
feature_rollout_policy_id
)
SELECT
'{{ directoryObjectId }}',
'{{ feature_rollout_policy_id }}'
;

DELETE examples

Remove an appliesTo on a featureRolloutPolicy object to remove the directoryObject from feature rollout.

DELETE FROM entra_id.policies.feature_rollout_policies_applies_to
WHERE feature_rollout_policy_id = '{{ feature_rollout_policy_id }}' --required
AND directory_object_id = '{{ directory_object_id }}' --required
AND If-Match = '{{ If-Match }}'
;

Lifecycle Methods

Add an appliesTo on a featureRolloutPolicy object to specify the directoryObject to which the featureRolloutPolicy should be applied.

EXEC entra_id.policies.feature_rollout_policies_applies_to.create_applies_to
@feature_rollout_policy_id='{{ feature_rollout_policy_id }}' --required
@@json=
'{
"id": "{{ id }}",
"deletedDateTime": "{{ deletedDateTime }}"
}'
;