attributeSet 资源类型

命名空间:microsoft.graph

重要

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

一个代表一组相关自定义安全属性定义的对象。

租户中可定义最多 500 attributeSet 个对象。 无法重命名或删除。

Methods

方法 返回类型 Description
List attributeSets attributeSet 集合 获取 attributeSet 对象 及其属性的列表。
获取 attributeSet attributeSet 读取 attributeSet 对象的属性和关系。
创建 attributeSet attributeSet 创建新的 attributeSet 对象。
更新属性集 attributeSet 更新 attributeSet 对象 的属性。

属性

属性 类型 说明
说明 String 属性集的说明。 可最多为 128 个字符,并且包含 Unicode 字符。 稍后可更改。
id String 租户中唯一的属性集的标识符。 可最多为 32 个字符,并且包含 Unicode 字符。 不能包含空格或特殊字符。 以后无法更改。 不区分大小写。
maxAttributesPerSet Int32 可以在此属性集内定义的自定义安全属性的最大数量。 默认值为 null。 如果未指定,则管理员最多可以添加每个租户 500 个活动属性。 稍后可更改。

关系

无。

JSON 表示形式

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

{
  "@odata.type": "#microsoft.graph.attributeSet",
  "description": "String",
  "id": "String (identifier)",
  "maxAttributesPerSet": "Integer"
}