# Cloudpc 使用状況のエクスポートをスケジュール

### 説明

Windows 365 Cloud PC のリモート接続使用状況を直近の丸1日分収集し、Azure Table に書き込みます。必要に応じて runbook がテーブルを作成し、テナントとタイムスタンプごとにレコードをマージします。

### 場所

Organization → General → Export Cloudpc Usage (Scheduled)

**フル Runbook 名**

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

### 権限

#### アプリケーションの権限

* **種類**: Microsoft Graph
  * CloudPC.Read.All

#### 権限に関する注記

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

### パラメーター

#### Table

書き込む Azure Table Storage テーブルの名前。

| プロパティ | 値              |
| ----- | -------------- |
| 必須    | false          |
| 既定値   | CloudPCUsageV2 |
| 種類    | 文字列            |

#### ResourceGroupName

Storage Account を含む Azure リソース グループの名前。

| プロパティ | 値    |
| ----- | ---- |
| 必須    | true |
| 既定値   |      |
| 種類    | 文字列  |

#### StorageAccountName

テーブルをホストする Azure Storage Account の名前。

| プロパティ | 値    |
| ----- | ---- |
| 必須    | true |
| 既定値   |      |
| 種類    | 文字列  |

#### Days

使用状況データを収集する際に、どのくらい前までさかのぼるかの日数。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | false |
| 既定値   | 2     |
| 種類    | Int32 |

[Runbook Reference の概要に戻る](https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references)
