目录资源类型
命名空间:microsoft.graph
重要
Microsoft Graph版本下的 /beta API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
表示目录中已删除的项目。 删除某个项目后,它会被添加到已删除项目“容器”中。 已删除的项目将保留最多 30 天的还原时间。 30 天后,这些项目将永久删除。
目前,仅应用程序、组和用户资源支持已删除项目功能。
继承自 实体。
Methods
| 方法 | 返回类型 | Description |
|---|---|---|
| Get deleted item | directoryObject | 获取已删除项目的属性。 |
| Restore deleted item | directoryObject | 还原最近删除的项目。 |
| List deleted items | directoryObject 集合 | 获取最近删除的项目列表。 |
| Permanently delete an item | 无 | 永久删除项目。 |
| 列出用户拥有的已删除项目 | directoryObject collection | 列出用户拥有的目录项。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| id | String | 对象的唯一标识符;例如, 12345678-9abc-def0-1234-56789abcde 。 键。 不可为 null。 只读。 继承自 实体。 |
关系
| 关系 | 类型 | Description |
|---|---|---|
| administrativeUnits | administrativeUnit 集合 | 用户和组目录对象的概念容器。 |
| attributeSets | attributeSet 集合 | 相关自定义安全属性定义的组。 |
| customSecurityAttributeDefinitions | customSecurityAttributeDefinition 集合 | 自定义安全属性的架构 (键值对) 。 |
| DeletedItems | directoryObject 集合 | 最近删除的项目。 只读。 可为空。 |
| featureRolloutPolicies | featureRolloutPolicy 集合 | 可为 NULL。 |
| federationConfigurations | identityProviderBase 集合 | 配置与标识提供程序支持 IdP (组织) SAML 或 WS-Fed 联盟。 |
JSON 表示形式
下面是资源的 JSON 表示形式。
{
"@odata.type": "#microsoft.graph.directory"
}
反馈
提交和查看相关反馈