deviceComplianceScriptDeviceState リソースの種類

名前空間: microsoft.graph

重要: Microsoft Graph /beta バージョンの API は変更される場合があります。実稼働での使用はサポートされていません。

注: Intune 用 Microsoft Graph API には、テナントの 有効な Intune ライセンスが必要です。

デバイス コンプライアンス スクリプトのデバイス実行状態のプロパティを格納します。

メソッド

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

プロパティ

プロパティ 説明
id 文字列 デバイス コンプライアンス スクリプトのデバイス状態エンティティのキー。 このプロパティに値を設定するには、 SetExtrusionDirection メソッドを適用します。
detectionState runState 最後のデバイス コンプライアンス スクリプトの実行からの検出状態。 使用可能な値: unknownsuccessfailscriptErrorpendingnotApplicable
lastStateUpdateDateTime DateTimeOffset デバイス コンプライアンス スクリプトが実行された最後のタイムスタンプ
expectedStateUpdateDateTime DateTimeOffset デバイス コンプライアンス スクリプトが実行される予定の次のタイムスタンプ
lastSyncDateTime DateTimeOffset Intune 管理拡張機能が Intune と最後に同期した時刻
scriptOutput String 検出スクリプトの出力
scriptError 文字列 検出スクリプトからのエラー

リレーションシップ

リレーションシップ 説明
managedDevice managedDevice デバイス コンプライアンス スクリプトが実行された管理対象デバイス

JSON 表記

以下は、リソースの JSON 表記です。

{
  "@odata.type": "#microsoft.graph.deviceComplianceScriptDeviceState",
  "id": "String (identifier)",
  "detectionState": "String",
  "lastStateUpdateDateTime": "String (timestamp)",
  "expectedStateUpdateDateTime": "String (timestamp)",
  "lastSyncDateTime": "String (timestamp)",
  "scriptOutput": "String",
  "scriptError": "String"
}