命名空间:microsoft.graph
重要
Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
这是表示 Microsoft Entra ID 命名位置的基类。 命名位置是定义网络位置的自定义规则,然后可以在条件访问 (CA) 策略中使用这些位置。
继承自 policyDeletableItem。
方法
| 方法 | 返回类型 | Description |
|---|---|---|
| List | namedLocation 集合 | 获取组织中的所有 namedLocation 对象。 |
| Get | namedLocation | 读取 namedLocation 对象的属性和关系。 |
| 删除 | 无 | 删除 namedLocation 对象。 |
| 列出已删除的命名位置 | namedLocation 集合 | 列出所有已删除的 namedLocation 对象。 |
| 获取已删除的命名位置 | namedLocation | 获取单个已删除的 namedLocation 对象。 |
| 还原已删除的命名位置 | namedLocation | 还原 namedLocation 对象。 |
| 永久删除软删除的命名位置 | 无 | 永久删除已删除的 namedLocation 对象。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| displayName | String | 位置的可读名称。 |
| id | String | namedLocation 对象的标识符。 只读。 |
| modifiedDateTime | DateTimeOffset | 时间戳类型使用 ISO 8601 格式表示位置的上次修改日期和时间,并且始终采用 UTC 时间。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z。 只读。 |
| createdDateTime | DateTimeOffset | 时间戳类型使用 ISO 8601 格式表示位置的创建日期和时间,并且始终采用 UTC 时间。 例如,2014 年 1 月 1 日午夜 UTC 为 2014-01-01T00:00:00Z。 只读。 |
| deletedDateTime | DateTimeOffset | 显示上次删除命名位置的日期和时间。继承自 policyDeletableItem。 |
关系
无。
JSON 表示形式
以下 JSON 表示形式显示资源类型。
{
"@odata.type": "#microsoft.graph.namedLocation",
"deletedDateTime": "String (timestamp)",
"id": "String (identifier)",
"displayName": "String",
"createdDateTime": "String (timestamp)",
"modifiedDateTime": "String (timestamp)"
}