> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references/org/general/export-cloudpc-usage_scheduled.md).

# Cloud PC の使用状況をエクスポート（スケジュール済み）

Windows 365 の使用データを毎日 Azure テーブルに書き込む

{% hint style="info" %}
これはスケジュール実行の runbook です。単一のオブジェクトによってトリガーされるのではなく、繰り返しスケジュールで実行されるように設計されています。詳細は [スケジューリング](https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/scheduling.md) runbook のスケジュールを構成する方法の詳細は。
{% endhint %}

### 説明

Windows 365 Cloud PC の利用状況を、選択した過去日数分のリモート接続レポートに基づいて収集します。数値は Azure Table に書き込まれ、時間の経過とともに追跡できるようになります。テーブルが存在しない場合は作成され、同じ日のレコードは重複ではなく更新されます。

### 場所

Organization → General → CloudPC 使用状況のエクスポート (スケジュール済み)

**完全な Runbook 名**

rjgit-org\_general\_export-cloudpc-usage\_scheduled

### 詳細

| プロパティ    | 値                                                                   |
| -------- | ------------------------------------------------------------------- |
| バージョン    | 1.0.1                                                               |
| 必須モジュール  | <p>RealmJoin.RunbookHelper (>= 0.8.10)<br>Az.Storage (>= 9.7.2)</p> |
| スケジュール可能 | はい                                                                  |

### アクセス許可

#### アプリケーションのアクセス許可

* **型**: Microsoft Graph
  * CloudPC.Read.All
    * *すべての Cloud PC を一覧表示し、それらのリモート接続履歴レポートを取得します*
  * Organization.Read.All
    * */organization を読み取り、tenant id をストレージ テーブルのパーティション キーとして使用します*

#### 権限に関する注意事項

Azure IaaS: `Contributor` CloudPC 使用データの保存に使用される Azure Storage Account 上のロール

### パラメーター

#### テーブル

使用データが書き込まれる Storage Account 内のテーブル。まだ存在しない場合は作成されます。

| プロパティ    | 値              |
| -------- | -------------- |
| 必須       | false          |
| 既定値      | CloudPCUsageV2 |
| 型        | 文字列            |
| ポータルの表示名 | テーブル名          |

#### ResourceGroupName

Storage Account を保持するリソース グループ。

| プロパティ    | 値         |
| -------- | --------- |
| 必須       | true      |
| 既定値      |           |
| 型        | 文字列       |
| ポータルの表示名 | リソース グループ |

#### StorageAccountName

テーブルを保持する Storage Account。

| プロパティ    | 値               |
| -------- | --------------- |
| 必須       | true            |
| 既定値      |                 |
| 型        | 文字列             |
| ポータルの表示名 | Storage Account |

#### 日数

過去この日数分の使用状況を収集します。テーブルに既にある日付は再追加されず、更新されます。

| プロパティ    | 値     |
| -------- | ----- |
| 必須       | false |
| 既定値      | 2     |
| 型        | Int32 |
| ポータルの表示名 | 遡る日数  |

[Runbook リファレンスの概要に戻る](https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references/org/general/export-cloudpc-usage_scheduled.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
