Skip to main content

entitlement_management_resource_environments

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

Overview

Nameentitlement_management_resource_environments
TypeResource
Identra_id.identity_governance.entitlement_management_resource_environments

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
connectionInfoConnection information of an environment used to connect to a resource.
createdDateTimestring (date-time)The date and time that this object was created. The DateTimeOffset 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. (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])$)
descriptionstringThe description of this object.
displayNamestringThe display name of this object.
isDefaultEnvironmentbooleanDetermines whether this is default environment or not. It is set to true for all static origin systems, such as Microsoft Entra groups and Microsoft Entra Applications.
modifiedDateTimestring (date-time)The date and time that this object was last modified. The DateTimeOffset 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. (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])$)
originIdstringThe unique identifier of this environment in the origin system.
originSystemstringThe type of the resource in the origin system, that is, SharePointOnline. Requires $filter (eq).
resourcesarrayRead-only. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectaccess_package_resource_environment_idA reference to the geolocation environments in which a resource is located.
listselectRetrieve a list of accessPackageResourceEnvironment objects and their properties.
insertinsert
updateupdateaccess_package_resource_environment_id
deletedeleteaccess_package_resource_environment_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_environment_idstringThe unique identifier of accessPackageResourceEnvironment
If-MatchstringETag

SELECT examples

A reference to the geolocation environments in which a resource is located.

SELECT
id,
connectionInfo,
createdDateTime,
description,
displayName,
isDefaultEnvironment,
modifiedDateTime,
originId,
originSystem,
resources
FROM entra_id.identity_governance.entitlement_management_resource_environments
WHERE access_package_resource_environment_id = '{{ access_package_resource_environment_id }}' -- required
;

INSERT examples

No description available.

INSERT INTO entra_id.identity_governance.entitlement_management_resource_environments (
id,
connectionInfo,
createdDateTime,
description,
displayName,
isDefaultEnvironment,
modifiedDateTime,
originId,
originSystem,
resources
)
SELECT
'{{ id }}',
'{{ connectionInfo }}',
'{{ createdDateTime }}',
'{{ description }}',
'{{ displayName }}',
{{ isDefaultEnvironment }},
'{{ modifiedDateTime }}',
'{{ originId }}',
'{{ originSystem }}',
'{{ resources }}'
RETURNING
id,
connectionInfo,
createdDateTime,
description,
displayName,
isDefaultEnvironment,
modifiedDateTime,
originId,
originSystem,
resources
;

UPDATE examples

No description available.

UPDATE entra_id.identity_governance.entitlement_management_resource_environments
SET
id = '{{ id }}',
connectionInfo = '{{ connectionInfo }}',
createdDateTime = '{{ createdDateTime }}',
description = '{{ description }}',
displayName = '{{ displayName }}',
isDefaultEnvironment = {{ isDefaultEnvironment }},
modifiedDateTime = '{{ modifiedDateTime }}',
originId = '{{ originId }}',
originSystem = '{{ originSystem }}',
resources = '{{ resources }}'
WHERE
access_package_resource_environment_id = '{{ access_package_resource_environment_id }}' --required
RETURNING
id,
connectionInfo,
createdDateTime,
description,
displayName,
isDefaultEnvironment,
modifiedDateTime,
originId,
originSystem,
resources;

DELETE examples

No description available.

DELETE FROM entra_id.identity_governance.entitlement_management_resource_environments
WHERE access_package_resource_environment_id = '{{ access_package_resource_environment_id }}' --required
AND If-Match = '{{ If-Match }}'
;