名前空間: microsoft.graph
注:Intune 用 Microsoft Graph API には、テナントの有効な Intune ライセンスが必要です。
通知メッセージは、管理者が定義したコンプライアンス ポリシーに準拠していないと判断されたエンド ユーザーに送信されるメッセージです。 管理者は通知を選択し、Intune 管理コンソールで、コンプライアンス ポリシー作成ページの [コンプライアンス非対応に対するアクション] セクションを使用して通知を構成します。 notificationMessageTemplate オブジェクトを使用して、管理者が非準拠のアクションを構成する際に選択する、独自のカスタム通知を作成します。
メソッド
| メソッド | 戻り値の型 | 説明 |
|---|---|---|
| List notificationMessageTemplates | notificationMessageTemplate コレクション | notificationMessageTemplate オブジェクトのプロパティとリレーションシップをリストします。 |
| Get notificationMessageTemplate | notificationMessageTemplate | notificationMessageTemplate オブジェクトのプロパティとリレーションシップを読み取ります。 |
| Create notificationMessageTemplate | notificationMessageTemplate | 新しい notificationMessageTemplate を作成します。 |
| Delete notificationMessageTemplate | なし | notificationMessageTemplate を削除します。 |
| Update notificationMessageTemplate | notificationMessageTemplate | notificationMessageTemplate オブジェクトのプロパティを更新します。 |
| sendTestMessage action | なし | 既定のロケールで、指定された notificationMessageTemplate を使用して、テスト メッセージを送信します |
プロパティ
| プロパティ | 型 | 説明 |
|---|---|---|
| id | String | エンティティのキー。 |
| lastModifiedDateTime | DateTimeOffset | オブジェクトの最終更新の DateTime。 |
| displayName | String | 通知メッセージ テンプレートの表示名。 |
| 説明 | String | 通知メッセージ テンプレートの表示名。 |
| defaultLocale | String | 要求されたロケールが使用できないときにフォールバックする既定のロケール。 |
| brandingOptions | notificationTemplateBrandingOptions | メッセージ テンプレートのブランド化オプション。 ブランド化は、Intune 管理コンソールで定義されます。 使用可能な値: none、includeCompanyLogo、includeCompanyName、includeContactInformation、includeCompanyPortalLink、includeDeviceDetails、unknownFutureValue。 |
| roleScopeTagIds | String collection | このエンティティ インスタンスのスコープ タグの一覧。 |
リレーションシップ
| リレーションシップ | 型 | 説明 |
|---|---|---|
| localizedNotificationMessages | localizedNotificationMessage コレクション | この通知メッセージ テンプレート用にローカライズされたメッセージのリスト。 |
JSON 表記
以下は、リソースの JSON 表記です。
{
"@odata.type": "#microsoft.graph.notificationMessageTemplate",
"id": "String (identifier)",
"lastModifiedDateTime": "String (timestamp)",
"displayName": "String",
"description": "String",
"defaultLocale": "String",
"brandingOptions": "String",
"roleScopeTagIds": [
"String"
]
}