Skip to main content

entitlement_management_catalogs_resource_roles

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

Overview

Nameentitlement_management_catalogs_resource_roles
TypeResource
Identra_id.identity_governance.entitlement_management_catalogs_resource_roles

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
descriptionstringA description for the resource role.
displayNamestringThe display name of the resource role such as the role defined by the application.
originIdstringThe unique identifier of the resource role in the origin system. For a SharePoint Online site, the originId is the sequence number of the role in the site.
originSystemstringThe type of the resource in the origin system, such as SharePointOnline, AadApplication, or AadGroup.
resource

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectaccess_package_catalog_id, access_package_resource_role_id
listselectaccess_package_catalog_idRetrieve a list of accessPackageResourceRole objects of an accessPackageResource in an accessPackageCatalog. The resource should have been added to the catalog by creating an accessPackageResourceRequest. This list of roles can then be used by the caller to select a role, which is needed when subsequently creating an accessPackageResourceRoleScope.
insertinsertaccess_package_catalog_id
updateupdateaccess_package_catalog_id, access_package_resource_role_id
deletedeleteaccess_package_catalog_id, access_package_resource_role_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_catalog_idstringThe unique identifier of accessPackageCatalog
access_package_resource_role_idstringThe unique identifier of accessPackageResourceRole
If-MatchstringETag

SELECT examples

Retrieved navigation property

SELECT
id,
description,
displayName,
originId,
originSystem,
resource
FROM entra_id.identity_governance.entitlement_management_catalogs_resource_roles
WHERE access_package_catalog_id = '{{ access_package_catalog_id }}' -- required
AND access_package_resource_role_id = '{{ access_package_resource_role_id }}' -- required
;

INSERT examples

No description available.

INSERT INTO entra_id.identity_governance.entitlement_management_catalogs_resource_roles (
id,
description,
displayName,
originId,
originSystem,
resource,
access_package_catalog_id
)
SELECT
'{{ id }}',
'{{ description }}',
'{{ displayName }}',
'{{ originId }}',
'{{ originSystem }}',
'{{ resource }}',
'{{ access_package_catalog_id }}'
RETURNING
id,
description,
displayName,
originId,
originSystem,
resource
;

UPDATE examples

No description available.

UPDATE entra_id.identity_governance.entitlement_management_catalogs_resource_roles
SET
id = '{{ id }}',
description = '{{ description }}',
displayName = '{{ displayName }}',
originId = '{{ originId }}',
originSystem = '{{ originSystem }}',
resource = '{{ resource }}'
WHERE
access_package_catalog_id = '{{ access_package_catalog_id }}' --required
AND access_package_resource_role_id = '{{ access_package_resource_role_id }}' --required
RETURNING
id,
description,
displayName,
originId,
originSystem,
resource;

DELETE examples

No description available.

DELETE FROM entra_id.identity_governance.entitlement_management_catalogs_resource_roles
WHERE access_package_catalog_id = '{{ access_package_catalog_id }}' --required
AND access_package_resource_role_id = '{{ access_package_resource_role_id }}' --required
AND If-Match = '{{ If-Match }}'
;