术语资源类型

命名空间:microsoft.graph.termStore

重要

Microsoft Graph版本下的 /beta API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

表示术语 [存储]中使用的术语。 术语可用于表示一个对象,然后该对象可以用作标记内容的元数据。 可在 [集]内以分层方式组织多个术语。

继承自 entity

Methods

方法 返回类型 说明
列出子项 microsoft.graph.termStore.term 集合 获取术语存储中术语的第一级子 [级]。
列出关系 microsoft.graph.termStore.relation 集合 获取术语 [存储]中术语的关系。
创建关系 microsoft.graph.termStore.relation 在术语[存储]中为术语或[集]创建新关系。
创建术语 microsoft.graph.termStore.term 在术语 [存储]中创建新的术语对象。
获取术语 microsoft.graph.termStore.term 读取术语 [存储]中术语对象的属性和关系。
更新术语 microsoft.graph.termStore.term 更新术语 [库]中术语对象的属性。
删除术语 None 删除术语 [存储]中的术语对象。

属性

属性 类型 说明
createdDateTime DateTimeOffset 术语创建的日期和时间。 只读。
描述 microsoft.graph.termStore.localizedDescription 集合 有关依赖于 languageTag 的术语的说明。
id String 术语的唯一标识符。 只读。
标签 microsoft.graph.termStore.localizedLabel 集合 术语的标签元数据。
lastModifiedDateTime DateTimeOffset 上次修改术语的日期和时间。 只读。
properties microsoft.graph.keyValue 集合 术语上的属性集合。

关系

关系 类型 说明
children microsoft.graph.termStore.term 集合 当前术语的子级。
关系 microsoft.graph.termStore.relation 集合 以固定或重用方式指示与当前术语相关的术语。
set microsoft.graph.termStore.set 在其中创建术语的 [集] 。

JSON 表示形式

下面是资源的 JSON 表示形式。

{
  "@odata.type": "#microsoft.graph.termStore.term",
  "id": "String (identifier)",
  "labels": [
    {
      "@odata.type": "microsoft.graph.termStore.localizedLabel"
    }
  ],
  "createdDateTime": "String (timestamp)",
  "lastModifiedDateTime": "String (timestamp)",
  "descriptions": [
    {
      "@odata.type": "microsoft.graph.termStore.localizedDescription"
    }
  ],
  "properties": [
    {
      "@odata.type": "microsoft.graph.keyValue"
    }
  ]
}