accessPackageResource resource type
Namespace: microsoft.graph
In Microsoft Entra entitlement management, an access package resource is a reference to a resource associated with an access package catalog. The roles for the access package resource can be used in one or more access packages. To request to associate a resource with an access package catalog, or remove a resource from a catalog, create an accessPackageResourceRequest.
Methods
Method | Return Type | Description |
---|---|---|
List | accessPackageResource collection | Retrieve a list of accessPackageResource objects in a catalog. |
Properties
Property | Type | Description |
---|---|---|
attributes | accessPackageResourceAttribute collection | Contains information about the attributes to be collected from the requestor and sent to the resource application. |
createdDateTime | DateTimeOffset | 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. |
description | String | A description for the resource. |
displayName | String | The display name of the resource, such as the application name, group name or site name. |
id | String | Read-only. |
modifiedDateTime | DateTimeOffset | 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. |
originId | String | The unique identifier of the resource in the origin system. For a Microsoft Entra group, this is the identifier of the group. |
originSystem | String | The type of the resource in the origin system, such as SharePointOnline , AadApplication or AadGroup . |
Relationships
Relationship | Type | Description |
---|---|---|
environment | accessPackageResourceEnvironment | Contains the environment information for the resource. This can be set using either the @odata.bind annotation or the environment's originId.Supports $expand . |
roles | accessPackageResourceRole collection | Read-only. Nullable. Supports $expand . |
scopes | accessPackageResourceScope collection | Read-only. Nullable. Supports $expand . |
JSON representation
The following JSON representation shows the resource type.
{
"attributes": [
{
"@odata.type": "microsoft.graph.accessPackageResourceAttribute"
}
],
"createdDateTime": "String (timestamp)",
"description": "String",
"displayName": "String",
"id": "String (identifier)",
"modifiedDateTime": "String (timestamp)",
"originId": "String",
"originSystem": "String"
}