Set-AzIotHubMessageEnrichment
IoT ハブでメッセージ エンリッチメントを更新します。
Set-AzIotHubMessageEnrichment
[-ResourceGroupName] <String>
[-Name] <String>
[-Key] <String>
[-Value <String>]
[-Endpoint <String[]>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-AzIotHubMessageEnrichment
[-InputObject] <PSIotHub>
[-Key] <String>
[-Value <String>]
[-Endpoint <String[]>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-AzIotHubMessageEnrichment
[-ResourceId] <String>
[-Key] <String>
[-Value <String>]
[-Endpoint <String[]>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Azure IoT Hub のメッセージ エンリッチメントの詳細については、https://learn.microsoft.com/azure/iot-hub/iot-hub-message-enrichments-overview を参照してください。
Set-AzIotHubMessageEnrichment -ResourceGroupName "myresourcegroup" -Name "myiothub" -Key "newKey" -Value "updatedValue"
Key : newKey
Value : updatedValue
Endpoint(s) : {endpoint1, endpoint2}
エンリッチメントの値を、キー "newKey" の "updatedValue" に更新します。 Azure IoT Hub のメッセージ エンリッチメントの詳細については、https://learn.microsoft.com/azure/iot-hub/iot-hub-message-enrichments-overview を参照してください。
Set-AzIotHubMessageEnrichment -ResourceGroupName "myresourcegroup" -Name "myiothub" -Key "newKey" -Endpoint endpoint1,endpoint2,endpoint3
Key : newKey
Value : value1
Endpoint(s) : {endpoint1, endpoint2, endpoint3}
エンリッチメントのエンドポイントを、キー "newKey" の "endpoint1、endpoint2、endpoint3" に更新します。 Azure IoT Hub のメッセージ エンリッチメントの詳細については、https://learn.microsoft.com/azure/iot-hub/iot-hub-message-enrichments-overview を参照してください。
コマンドレットを実行する前に確認を求めるメッセージが表示されます。
型: | SwitchParameter |
Aliases: | cf |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
Azure との通信に使用される資格情報、アカウント、テナント、サブスクリプション。
型: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
エンリッチメントを適用するエンドポイント。
型: | String[] |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
IotHub オブジェクト
型: | PSIotHub |
配置: | 0 |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | True |
ワイルドカード文字を受け取る: | False |
エンリッチメントのキー。
型: | String |
配置: | 1 |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
IoT ハブの名前
型: | String |
配置: | 1 |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
リソース グループの名前
型: | String |
配置: | 0 |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
IotHub リソース ID
型: | String |
配置: | 0 |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | True |
ワイルドカード文字を受け取る: | False |
エンリッチメントの値。
型: | String |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
コマンドレットを実行した場合の動作を示します。 コマンドレットは実行されません。
型: | SwitchParameter |
Aliases: | wi |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
Azure PowerShell に関するフィードバック
Azure PowerShell はオープンソース プロジェクトです。 フィードバックを提供するにはリンクを選択します。