entitlement_management_resource_requests
Creates, updates, deletes, gets or lists an entitlement_management_resource_requests resource.
Overview
| Name | entitlement_management_resource_requests |
| Type | Resource |
| Id | entra_id.identity_governance.entitlement_management_resource_requests |
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. |
catalog | | |
createdDateTime | string (date-time) | The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. (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])$) |
requestType | | The type of the request. Use adminAdd to add a resource, if the caller is an administrator or resource owner, adminUpdate to update a resource, or adminRemove to remove a resource. |
resource | | |
state | | The outcome of whether the service was able to add the resource to the catalog. The value is delivered if the resource was added or removed, and deliveryFailed if it couldn't be added or removed. Read-only. |
Retrieved collection
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
catalog | | |
createdDateTime | string (date-time) | The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. (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])$) |
requestType | | The type of the request. Use adminAdd to add a resource, if the caller is an administrator or resource owner, adminUpdate to update a resource, or adminRemove to remove a resource. |
resource | | |
state | | The outcome of whether the service was able to add the resource to the catalog. The value is delivered if the resource was added or removed, and deliveryFailed if it couldn't be added or removed. Read-only. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | access_package_resource_request_id | Represents a request to add or remove a resource to or from a catalog respectively. | |
list | select | Retrieve a list of accessPackageResourceRequest objects. | ||
insert | insert | Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package. | ||
update | update | access_package_resource_request_id | ||
delete | delete | access_package_resource_request_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_resource_request_id | string | The unique identifier of accessPackageResourceRequest |
If-Match | string | ETag |
SELECT examples
- get
- list
Represents a request to add or remove a resource to or from a catalog respectively.
SELECT
id,
catalog,
createdDateTime,
requestType,
resource,
state
FROM entra_id.identity_governance.entitlement_management_resource_requests
WHERE access_package_resource_request_id = '{{ access_package_resource_request_id }}' -- required
;
Retrieve a list of accessPackageResourceRequest objects.
SELECT
id,
catalog,
createdDateTime,
requestType,
resource,
state
FROM entra_id.identity_governance.entitlement_management_resource_requests
;
INSERT examples
- insert
- Manifest
Create a new accessPackageResourceRequest object to request the addition of a resource to an access package catalog, update of a resource, or the removal of a resource from a catalog. A resource must be included in an access package catalog before a role of that resource can be added to an access package.
INSERT INTO entra_id.identity_governance.entitlement_management_resource_requests (
id,
createdDateTime,
requestType,
state,
catalog,
resource
)
SELECT
'{{ id }}',
'{{ createdDateTime }}',
'{{ requestType }}',
'{{ state }}',
'{{ catalog }}',
'{{ resource }}'
RETURNING
id,
catalog,
createdDateTime,
requestType,
resource,
state
;
# Description fields are for documentation purposes
- name: entitlement_management_resource_requests
props:
- name: id
value: "{{ id }}"
description: |
The unique identifier for an entity. Read-only.
- name: createdDateTime
value: "{{ createdDateTime }}"
description: |
The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only.
- name: requestType
value: "{{ requestType }}"
description: |
The type of the request. Use adminAdd to add a resource, if the caller is an administrator or resource owner, adminUpdate to update a resource, or adminRemove to remove a resource.
- name: state
value: "{{ state }}"
description: |
The outcome of whether the service was able to add the resource to the catalog. The value is delivered if the resource was added or removed, and deliveryFailed if it couldn't be added or removed. Read-only.
- name: catalog
value: "{{ catalog }}"
- name: resource
value: "{{ resource }}"
UPDATE examples
- update
No description available.
UPDATE entra_id.identity_governance.entitlement_management_resource_requests
SET
id = '{{ id }}',
createdDateTime = '{{ createdDateTime }}',
requestType = '{{ requestType }}',
state = '{{ state }}',
catalog = '{{ catalog }}',
resource = '{{ resource }}'
WHERE
access_package_resource_request_id = '{{ access_package_resource_request_id }}' --required
RETURNING
id,
catalog,
createdDateTime,
requestType,
resource,
state;
DELETE examples
- delete
No description available.
DELETE FROM entra_id.identity_governance.entitlement_management_resource_requests
WHERE access_package_resource_request_id = '{{ access_package_resource_request_id }}' --required
AND If-Match = '{{ If-Match }}'
;