名前空間: microsoft.graph
重要
Microsoft Graph の /beta バージョンの API は変更される可能性があります。 実稼働アプリケーションでこれらの API を使用することは、サポートされていません。 v1.0 で API を使用できるかどうかを確認するには、Version セレクターを使用します。
クラウド PC によって指定されたリモート アクションの結果を表します。
メソッド
| メソッド | 戻り値の種類 | 説明 |
|---|---|---|
| リモート アクションの結果を取得する | cloudPcRemoteActionResult コレクション | リモート アクションの結果を取得し、関連付けられているクラウド PC デバイスで実行された特定のリモート アクションの状態をチェックします。 |
プロパティ
| プロパティ | 型 | 説明 |
|---|---|---|
| actionName | 文字列 | 指定したアクション。 Microsoft Endpoint Manager ポータルでサポートされている値は、 Reprovision、 Resize、 Restoreです。 エンタープライズ クラウド PC デバイスでサポートされる値は、 Reboot、 Rename、 Reprovision、 Troubleshootです。 |
| actionState | actionState | アクションの状態。 使用可能な値: None、pending、canceled、active、done、failed、notSupported。 読み取り専用です。 |
| cloudPcId | 文字列 | リモート アクションが実行されるクラウド PC デバイスの ID。 読み取り専用です。 |
| managedDeviceId | 文字列 | リモート アクションが実行されるIntuneマネージド デバイスの ID。 読み取り専用です。 |
| startDateTime | DateTimeOffset | アクションが開始された時刻。 タイムスタンプは ISO 8601 形式と協定世界時 (UTC) で表示されます。 たとえば、2014 年 1 月 1 日の午前 0 時 UTC は、'2014-01-01T00:00:00Z' と表示されます。 |
| lastUpdatedDateTime | DateTimeOffset | アクションの最終更新時刻。 タイムスタンプは ISO 8601 形式と協定世界時 (UTC) で表示されます。 たとえば、2014 年 1 月 1 日の午前 0 時 UTC は、'2014-01-01T00:00:00Z' と表示されます。 |
| statusDetail | cloudPcStatusDetail | エラー コード、エラー メッセージ、追加情報など、アクションの状態の拡張された詳細。 たとえば、"statusDetail": {"code": "internalServerError","message": "There was an internal server error. Please contact support xxx.","additionalInformation": [ { "@odata.type":"microsoft.graph.keyValuePair","name": "correlationId","value": "52367774-cfb7-4e9c-ab51-1b864c31f2d1"} ]} のように指定します。 |
| statusDetails (非推奨) | cloudPcStatusDetails | クラウド PC の状態の詳細。 このプロパティは非推奨であり、2024 年 8 月 31 日からサポートされなくなります。 代わりに statusDetail を使用します。 |
actionState 値
| メンバー | 説明 |
|---|---|
| none | 有効なアクションの状態ではありません。 |
| ペンディング | アクションが保留中です。 |
| キャンセル | アクションは取り消されます。 |
| アクティブ | アクションがアクティブです。 |
| done | アクションはエラーなしで完了しました。 |
| 失敗 しました | アクションが失敗しました。 |
| notSupported | アクションはサポートされていません。 |
リレーションシップ
なし。
JSON 表記
次の JSON 表現は、リソースの種類を示しています。
{
"@odata.type": "#microsoft.graph.cloudPcRemoteActionResult",
"actionName": "String",
"actionState": "String",
"startDateTime": "String (timestamp)",
"lastUpdatedDateTime": "String (timestamp)",
"cloudPcId": "String",
"managedDeviceId": "String",
"statusDetails": {
"@odata.type": "microsoft.graph.cloudPcStatusDetails"
},
"statusDetail": {
"@odata.type": "microsoft.graph.cloudPcStatusDetail"
}
}