namedLocation 资源类型namedLocation resource type

命名空间:microsoft.graphNamespace: microsoft.graph

这是表示 Azure Active Directory (名为 location)的基类。This is the base class that represents an Azure Active Directory named location. "已命名位置" 是自定义规则,用于定义随后可在条件访问策略中使用的网络位置。Named locations are custom rules that define network locations which can then be used in a Conditional Access policy.

方法Methods

方法Method 返回类型Return Type 说明Description
列出 namedLocationsList namedLocations namedLocation 集合namedLocation collection 获取组织中的所有 namedLocation 对象。Get all the namedLocation objects in the organization.
获取 namedLocationGet namedLocation namedLocationnamedLocation 读取 namedLocation 对象的属性和关系。Read the properties and relationships of a namedLocation object.
删除 namedLocationDelete namedLocation None 删除 namedLocation 对象。Delete a namedLocation object.

属性Properties

属性Property 类型Type 说明Description
createdDateTimecreatedDateTime DateTimeOffsetDateTimeOffset 时间戳类型表示使用 ISO 8601 格式的位置的创建日期和时间,并且始终采用 UTC 时间。The Timestamp type represents creation date and time of the location using ISO 8601 format and is always in UTC time. 例如,2014 年 1 月 1 日午夜 UTC 如下所示:'2014-01-01T00:00:00Z'For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. 只读。Read-only.
displayNamedisplayName StringString 位置的人可读名称。Human-readable name of the location.
idid StringString NamedLocation 对象的标识符。Identifier of a namedLocation object. 只读。Read-only.
modifiedDateTimemodifiedDateTime DateTimeOffsetDateTimeOffset 时间戳类型表示上次修改的位置使用 ISO 8601 格式的日期和时间,并且始终采用 UTC 时间。The Timestamp type represents last modified date and time of the location using ISO 8601 format and is always in UTC time. 例如,2014 年 1 月 1 日午夜 UTC 如下所示:'2014-01-01T00:00:00Z'For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. 只读。Read-only.

关系Relationships

无。None.

JSON 表示形式JSON representation

下面是资源的 JSON 表示形式。The following is a JSON representation of the resource.

{
  "createdDateTime": "String (timestamp)",
  "displayName": "String",
  "id": "String (identifier)",
  "modifiedDateTime": "String (timestamp)"
}