編輯

共用方式為


unifiedRoleEligibilityScheduleInstance resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents the instance for a role eligibility in your tenant.

Inherits from unifiedRoleScheduleInstanceBase.

Methods

Method Return type Description
List unifiedRoleEligibilityScheduleInstance collection GGet the instances of role eligibilities.
Get unifiedRoleEligibilityScheduleInstance Get the instance of a role eligibility.
Filter by current user unifiedRoleEligibilityScheduleInstance collection Get the instances of eligible roles for the calling principal.

Properties

Property Type Description
appScopeId String Identifier of the app-specific scope when the assignment scope is app-specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by this application only. Use / for tenant-wide app scopes. Use directoryScopeId to limit the scope to particular directory objects, for example, administrative units. Inherited from unifiedRoleScheduleInstanceBase. Supports $filter (eq, ne, and on null values).
directoryScopeId String Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications. Use / for tenant-wide scope. Use appScopeId to limit the scope to an application only. Inherited from unifiedRoleScheduleInstanceBase. Supports $filter (eq, ne, and on null values).
endDateTime DateTimeOffset Time that the roleEligibilityScheduleInstance will expire.
id String The unique identifier for the roleEligibilityScheduleInstance. Key, not nullable, Read-only.Inherited from unifiedRoleScheduleInstanceBase.
memberType String Membership type of the assignment. It can either be Inherited, Direct, or Group.
principalId String Identifier of the principal to which the assignment is being granted to. Can be a group or a user. Inherited from unifiedRoleScheduleInstanceBase.
roleDefinitionId String Identifier of the unifiedRoleDefinition the assignment is for. Read only. Inherited from unifiedRoleScheduleInstanceBase.
Supports $filter (eq).
roleEligibilityScheduleId String Identifier of the parent roleEligibilitySchedule for this instance.
startDateTime DateTimeOffset Time that the roleEligibilityScheduleInstance will start.

Relationships

Relationship Type Description
appScope appScope Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Inherited from unifiedRoleScheduleInstanceBase. Supports $expand.
directoryScope directoryObject Property referencing the directory object that is the scope of the assignment. Provided so that callers can get the directory object using $expand at the same time as getting the eligible role assignments. Read-only. Inherited from unifiedRoleScheduleInstanceBase. Supports $expand.
principal directoryObject Property referencing the principal that is getting an eligible role assignment through the request. Provided so that callers can get the principal using $expand at the same time as getting the eligible role assignments. Read-only. Inherited from unifiedRoleScheduleInstanceBase. Supports $expand.
roleDefinition unifiedRoleDefinition Property indicating the roleDefinition the assignment is for. Provided so that callers can get the role definition using $expand at the same time as getting the eligible role assignments. roleDefinition.Id will be auto expanded. Inherited from unifiedRoleScheduleInstanceBase. Supports $expand.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.unifiedRoleEligibilityScheduleInstance",
  "id": "String (identifier)",
  "principalId": "String",
  "roleDefinitionId": "String",
  "directoryScopeId": "String",
  "appScopeId": "String",
  "startDateTime": "String (timestamp)",
  "endDateTime": "String (timestamp)",
  "memberType": "String",
  "roleEligibilityScheduleId": "String"
}