az iot hub message-endpoint
Note
このリファレンスは、Azure CLI (バージョン 2.67.0 以降) の azure-iot 拡張機能の一部です。 拡張機能は、az iot hub message-endpoint コマンドを初めて実行するときに自動的にインストールされます。 拡張機能の詳細については、 を参照してください。
このコマンド グループはプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
IoT ハブのカスタム エンドポイントを管理します。
コマンド
| 名前 | 説明 | 型 | 状態 |
|---|---|---|---|
| az iot hub message-endpoint create |
IoT Hub にエンドポイントを追加します。 |
Extension | Preview |
| az iot hub message-endpoint create cosmosdb-container |
IoT Hub の Cosmos DB コンテナー エンドポイントを追加します。 |
Extension | Preview |
| az iot hub message-endpoint create eventhub |
IoT Hub のイベント ハブ エンドポイントを追加します。 |
Extension | Preview |
| az iot hub message-endpoint create servicebus-queue |
IoT Hub の Service Bus キュー エンドポイントを追加します。 |
Extension | Preview |
| az iot hub message-endpoint create servicebus-topic |
IoT Hub の Service Bus トピック エンドポイントを追加します。 |
Extension | Preview |
| az iot hub message-endpoint create storage-container |
IoT Hub のストレージ コンテナー エンドポイントを追加します。 |
Extension | Preview |
| az iot hub message-endpoint delete |
IoT Hub のすべてまたは特定のエンドポイントを削除します。 |
Extension | Preview |
| az iot hub message-endpoint list |
IoT Hub のすべてのエンドポイントに関する情報を取得します。 |
Extension | Preview |
| az iot hub message-endpoint show |
IoT Hub の前述のエンドポイントに関する情報を取得します。 |
Extension | Preview |
| az iot hub message-endpoint update |
IoT Hub の既存のエンドポイントのプロパティを更新します。 |
Extension | Preview |
| az iot hub message-endpoint update cosmosdb-container |
IoT Hub の既存の Cosmos DB コンテナー エンドポイントのプロパティを更新します。 |
Extension | Preview |
| az iot hub message-endpoint update eventhub |
IoT Hub の既存のイベント ハブ エンドポイントのプロパティを更新します。 |
Extension | Preview |
| az iot hub message-endpoint update servicebus-queue |
IoT Hub の既存の Service Bus キュー エンドポイントのプロパティを更新します。 |
Extension | Preview |
| az iot hub message-endpoint update servicebus-topic |
IoT Hub の既存の Service Bus トピック エンドポイントのプロパティを更新します。 |
Extension | Preview |
| az iot hub message-endpoint update storage-container |
IoT Hub の既存のストレージ コンテナー エンドポイントのプロパティを更新します。 |
Extension | Preview |
az iot hub message-endpoint delete
コマンド グループ "iot hub message-endpoint" はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
IoT Hub のすべてまたは特定のエンドポイントを削除します。
エンドポイントを削除する前に、エンドポイントへのルートとメッセージ エンリッチメントを削除する必要があります。
az iot hub message-endpoint delete [--en --endpoint --endpoint-name]
[--endpoint-type --type {cosmosdb-container, eventhub, servicebus-queue, servicebus-topic, storage-container}]
[--force]
[--hub-name]
[--ids]
[--resource-group]
[--subscription]
[--yes {false, true}]
例
IoT Hub からエンドポイントを削除します。
az iot hub message-endpoint delete -n {iothub_name} --endpoint-name {endpoint_name}
IoT Hub から "EventHub" 型のすべてのエンドポイントを削除します。
az iot hub message-endpoint delete -n {iothub_name} --endpoint-type eventhub
IoT Hub からすべてのエンドポイントを削除します。
az iot hub message-endpoint delete -n {iothub_name}
IoT Hub からエンドポイントを強制的に削除します。 これにより、このエンドポイントに関連付けられているルートとメッセージ エンリッチメントが削除されます。
az iot hub message-endpoint delete -n {iothub_name} --endpoint-name {endpoint_name} -f
IoT Hub から "EventHub" 型のすべてのエンドポイントを強制的に削除します。 これにより、このエンドポイントに関連付けられているルートとメッセージ エンリッチメントが削除されます。
az iot hub message-endpoint delete -n {iothub_name} --endpoint-type eventhub -f
オプションのパラメーター
次のパラメーターは省略可能ですが、コマンドを正常に実行するには、状況に応じて 1 つ以上が必要になる場合があります。
ルーティング エンドポイントの名前。
ルーティング エンドポイントの種類。
| プロパティ | 値 |
|---|---|
| 指定可能な値: | cosmosdb-container, eventhub, servicebus-queue, servicebus-topic, storage-container |
エンドポイントと、関連付けられているルートとメッセージ エンリッチメントを強制的に削除します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
IoT Hub 名。
| プロパティ | 値 |
|---|---|
| パラメーター グループ: | Resource Id Arguments |
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
| プロパティ | 値 |
|---|---|
| パラメーター グループ: | Resource Id Arguments |
リソース グループの名前。
az configure --defaults group=<name>を使用して既定のグループを構成できます。
| プロパティ | 値 |
|---|---|
| パラメーター グループ: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。
| プロパティ | 値 |
|---|---|
| パラメーター グループ: | Resource Id Arguments |
ユーザー プロンプトをスキップします。 アクションの受け入れを示します。 主に自動化シナリオに使用されます。 既定値: false。
| プロパティ | 値 |
|---|---|
| 指定可能な値: | false, true |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
出力フォーマット。
| プロパティ | 値 |
|---|---|
| 規定値: | json |
| 指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
az iot hub message-endpoint list
コマンド グループ "iot hub message-endpoint" はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
IoT Hub のすべてのエンドポイントに関する情報を取得します。
情報を取得するエンドポイントの種類を指定することもできます。
az iot hub message-endpoint list [--endpoint-type --type {cosmosdb-container, eventhub, servicebus-queue, servicebus-topic, storage-container}]
[--hub-name]
[--ids]
[--resource-group]
[--subscription]
例
IoT Hub からすべてのエンドポイントを取得します。
az iot hub message-endpoint list -n {iothub_name}
IoT Hub から "EventHub" 型のすべてのエンドポイントを取得します。
az iot hub message-endpoint list -n {iothub_name} --endpoint-type eventhub
オプションのパラメーター
次のパラメーターは省略可能ですが、コマンドを正常に実行するには、状況に応じて 1 つ以上が必要になる場合があります。
ルーティング エンドポイントの種類。
| プロパティ | 値 |
|---|---|
| 指定可能な値: | cosmosdb-container, eventhub, servicebus-queue, servicebus-topic, storage-container |
IoT Hub 名。
| プロパティ | 値 |
|---|---|
| パラメーター グループ: | Resource Id Arguments |
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
| プロパティ | 値 |
|---|---|
| パラメーター グループ: | Resource Id Arguments |
リソース グループの名前。
az configure --defaults group=<name>を使用して既定のグループを構成できます。
| プロパティ | 値 |
|---|---|
| パラメーター グループ: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。
| プロパティ | 値 |
|---|---|
| パラメーター グループ: | Resource Id Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
出力フォーマット。
| プロパティ | 値 |
|---|---|
| 規定値: | json |
| 指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
az iot hub message-endpoint show
コマンド グループ "iot hub message-endpoint" はプレビュー段階であり、開発中です。 参照レベルとサポート レベル: https://aka.ms/CLI_refstatus
IoT Hub の前述のエンドポイントに関する情報を取得します。
az iot hub message-endpoint show --en --endpoint --endpoint-name
[--hub-name]
[--ids]
[--resource-group]
[--subscription]
例
IoT Hub からエンドポイント情報を取得します。
az iot hub message-endpoint show -n {iothub_name} --endpoint-name {endpoint_name}
必須のパラメーター
ルーティング エンドポイントの名前。
オプションのパラメーター
次のパラメーターは省略可能ですが、コマンドを正常に実行するには、状況に応じて 1 つ以上が必要になる場合があります。
IoT Hub 名。
| プロパティ | 値 |
|---|---|
| パラメーター グループ: | Resource Id Arguments |
1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。
| プロパティ | 値 |
|---|---|
| パラメーター グループ: | Resource Id Arguments |
リソース グループの名前。
az configure --defaults group=<name>を使用して既定のグループを構成できます。
| プロパティ | 値 |
|---|---|
| パラメーター グループ: | Resource Id Arguments |
サブスクリプションの名前または ID。
az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。
| プロパティ | 値 |
|---|---|
| パラメーター グループ: | Resource Id Arguments |
グローバル パラメーター
ログの詳細度を上げて、すべてのデバッグ ログを表示します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
このヘルプ メッセージを表示して終了します。
エラーのみを表示し、警告を抑制します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |
出力フォーマット。
| プロパティ | 値 |
|---|---|
| 規定値: | json |
| 指定可能な値: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。
ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。
| プロパティ | 値 |
|---|---|
| 規定値: | False |