countryNamedLocation リソースの種類

名前空間: microsoft.graph

国と地域によって定義された名前付き場所Microsoft Entra IDを表します。 名前付き場所は、条件付きアクセス ポリシーで使用できるネットワークの場所を定義するカスタム ルールです。

namedLocation から継承します

メソッド

メソッド 戻り値の型 説明
countryNamedLocations を一覧表示する countryNamedLocation コレクション organization内のすべての countryNamedLocation オブジェクトを取得します。
countryNamedLocation を作成する countryNamedLocation 新しい countryNamedLocation オブジェクトを 作成します。
countryNamedLocation を取得する countryNamedLocation countryNamedLocation オブジェクトのプロパティとリレーションシップを読み取ります。
countryNamedLocation を更新する countryNamedLocation countryNamedLocation オブジェクトを更新します。
countryNamedLocation を削除する なし countryNamedLocation オブジェクトを削除します。

プロパティ

プロパティ 説明
countriesAndRegions String collection ISO 3166-2 で指定された 2 文字形式の国または地域の一覧。 必須です。
countryLookupMethod countryLookupMethodType ユーザーが配置されている国を決定するために使用される方法を決定します。 指定できる値は clientIpAddress(既定値) と です authenticatorAppGps。 注: authenticatorAppGps Microsoft Cloud for US Governmentではまだサポートされていません。
createdDateTime DateTimeOffset Timestamp 型は、ISO 8601 形式を使用して場所の作成日時を表し、常に UTC 時刻です。 たとえば、2014 年 1 月 1 日午前 0 時 (UTC) は、2014-01-01T00:00:00Z です。 読み取り専用。 namedLocation から継承されます。
displayName String 場所の人間が判読できる名前。 必須です。 namedLocation から継承されます。
id String namedLocation オブジェクトの識別子。 読み取り専用。 namedLocation から継承されます。
includeUnknownCountriesAndRegions ブール型 true 国または地域にマップされていない IP アドレスを名前付き場所に含める必要がある場合。 オプション。 既定値は、false です。
modifiedDateTime DateTimeOffset Timestamp 型は、ISO 8601 形式を使用して場所の最終変更日時を表し、常に UTC 時刻です。 たとえば、2014 年 1 月 1 日午前 0 時 (UTC) は、2014-01-01T00:00:00Z です。 読み取り専用です。 namedLocation から継承されます。

リレーションシップ

なし。

JSON 表記

リソースの JSON 表記を次に示します。

{
  "countriesAndRegions": ["String"],
  "countryLookupMethod": "String",
  "createdDateTime": "String (timestamp)",
  "displayName": "String",
  "id": "String (identifier)",
  "includeUnknownCountriesAndRegions": true,
  "modifiedDateTime": "String (timestamp)"
}