entitlement_management_assignment_policies_questions
Creates, updates, deletes, gets or lists an entitlement_management_assignment_policies_questions resource.
Overview
| Name | entitlement_management_assignment_policies_questions |
| Type | Resource |
| Id | entra_id.identity_governance.entitlement_management_assignment_policies_questions |
Fields
The following fields are returned by SELECT queries:
- get
- list
Retrieved navigation property
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
isAnswerEditable | boolean | Specifies whether the requestor is allowed to edit answers to questions for an assignment by posting an update to accessPackageAssignmentRequest. |
isRequired | boolean | Whether the requestor is required to supply an answer or not. |
localizations | array | The text of the question represented in a format for a specific locale. |
sequence | number (int32) | Relative position of this question when displaying a list of questions to the requestor. |
text | string | The text of the question to show to the requestor. |
Retrieved collection
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
isAnswerEditable | boolean | Specifies whether the requestor is allowed to edit answers to questions for an assignment by posting an update to accessPackageAssignmentRequest. |
isRequired | boolean | Whether the requestor is required to supply an answer or not. |
localizations | array | The text of the question represented in a format for a specific locale. |
sequence | number (int32) | Relative position of this question when displaying a list of questions to the requestor. |
text | string | The text of the question to show to the requestor. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | access_package_assignment_policy_id, access_package_question_id | Questions that are posed to the requestor. | |
list | select | access_package_assignment_policy_id | Questions that are posed to the requestor. | |
insert | insert | access_package_assignment_policy_id | ||
update | update | access_package_assignment_policy_id, access_package_question_id | ||
delete | delete | access_package_assignment_policy_id, access_package_question_id | If-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.
| Name | Datatype | Description |
|---|---|---|
access_package_assignment_policy_id | string | The unique identifier of accessPackageAssignmentPolicy |
access_package_question_id | string | The unique identifier of accessPackageQuestion |
If-Match | string | ETag |
SELECT examples
- get
- list
Questions that are posed to the requestor.
SELECT
id,
isAnswerEditable,
isRequired,
localizations,
sequence,
text
FROM entra_id.identity_governance.entitlement_management_assignment_policies_questions
WHERE access_package_assignment_policy_id = '{{ access_package_assignment_policy_id }}' -- required
AND access_package_question_id = '{{ access_package_question_id }}' -- required
;
Questions that are posed to the requestor.
SELECT
id,
isAnswerEditable,
isRequired,
localizations,
sequence,
text
FROM entra_id.identity_governance.entitlement_management_assignment_policies_questions
WHERE access_package_assignment_policy_id = '{{ access_package_assignment_policy_id }}' -- required
;
INSERT examples
- insert
- Manifest
No description available.
INSERT INTO entra_id.identity_governance.entitlement_management_assignment_policies_questions (
id,
isAnswerEditable,
isRequired,
localizations,
sequence,
text,
access_package_assignment_policy_id
)
SELECT
'{{ id }}',
{{ isAnswerEditable }},
{{ isRequired }},
'{{ localizations }}',
{{ sequence }},
'{{ text }}',
'{{ access_package_assignment_policy_id }}'
RETURNING
id,
isAnswerEditable,
isRequired,
localizations,
sequence,
text
;
# Description fields are for documentation purposes
- name: entitlement_management_assignment_policies_questions
props:
- name: access_package_assignment_policy_id
value: "{{ access_package_assignment_policy_id }}"
description: Required parameter for the entitlement_management_assignment_policies_questions resource.
- name: id
value: "{{ id }}"
description: |
The unique identifier for an entity. Read-only.
- name: isAnswerEditable
value: {{ isAnswerEditable }}
description: |
Specifies whether the requestor is allowed to edit answers to questions for an assignment by posting an update to accessPackageAssignmentRequest.
- name: isRequired
value: {{ isRequired }}
description: |
Whether the requestor is required to supply an answer or not.
- name: localizations
description: |
The text of the question represented in a format for a specific locale.
value:
- languageCode: "{{ languageCode }}"
text: "{{ text }}"
- name: sequence
value: {{ sequence }}
description: |
Relative position of this question when displaying a list of questions to the requestor.
- name: text
value: "{{ text }}"
description: |
The text of the question to show to the requestor.
UPDATE examples
- update
No description available.
UPDATE entra_id.identity_governance.entitlement_management_assignment_policies_questions
SET
id = '{{ id }}',
isAnswerEditable = {{ isAnswerEditable }},
isRequired = {{ isRequired }},
localizations = '{{ localizations }}',
sequence = {{ sequence }},
text = '{{ text }}'
WHERE
access_package_assignment_policy_id = '{{ access_package_assignment_policy_id }}' --required
AND access_package_question_id = '{{ access_package_question_id }}' --required
RETURNING
id,
isAnswerEditable,
isRequired,
localizations,
sequence,
text;
DELETE examples
- delete
No description available.
DELETE FROM entra_id.identity_governance.entitlement_management_assignment_policies_questions
WHERE access_package_assignment_policy_id = '{{ access_package_assignment_policy_id }}' --required
AND access_package_question_id = '{{ access_package_question_id }}' --required
AND If-Match = '{{ If-Match }}'
;