Skip to main content

entitlement_management_resource_requests

Creates, updates, deletes, gets or lists an entitlement_management_resource_requests resource.

Overview

Nameentitlement_management_resource_requests
TypeResource
Identra_id.identity_governance.entitlement_management_resource_requests

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
catalog
createdDateTimestring (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])$)
requestTypeThe 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
stateThe 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:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectaccess_package_resource_request_idRepresents a request to add or remove a resource to or from a catalog respectively.
listselectRetrieve a list of accessPackageResourceRequest objects.
insertinsertCreate 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.
updateupdateaccess_package_resource_request_id
deletedeleteaccess_package_resource_request_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
access_package_resource_request_idstringThe unique identifier of accessPackageResourceRequest
If-MatchstringETag

SELECT examples

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
;

INSERT examples

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
;

UPDATE examples

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

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 }}'
;