# ホストを再起動

### 説明

この Runbook は、特定の AVD セッション ホストを再起動します。ユーザーがサインインしている場合は切断されます。いずれの場合も、Drain Mode が有効になり、セッション ホストは再起動されます。SessionHost が実行されていない場合は、起動されます。セッション ホストが実行されると、Drain Mode は再び無効になります。

### 場所

Device → AVD → ホストの再起動

**ランブックの完全名**

rjgit-device\_AVD\_restart-host

### アクセス許可

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

Azure: Hostpool を含むサブスクリプションに対する Desktop Virtualization Host Pool Contributor および Virtual Machine Contributor

### パラメーター

#### DeviceName

再起動する AVD セッション ホスト デバイスの名前。UI では非表示

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

#### SubscriptionIds

AVD セッション ホスト リソースが配置されている Azure サブスクリプション ID の配列。AVD.SubscriptionIds 設定（Customization）から取得。UI では非表示

| プロパティ | 値         |
| ----- | --------- |
| 必須    | true      |
| 既定値   |           |
| 種類    | String\[] |

[ランブック リファレンスの概要に戻る](/ja/zi-dong-hua/runbooks/runbook-references.md)


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references/device/avd/restart-host.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
