Get-AzIotHubMessageEnrichment
IoT Hub のすべてのメッセージ エンリッチメントまたは特定のメッセージ エンリッチメントを一覧表示します。
構文
Get-AzIotHubMessageEnrichment
[-ResourceGroupName] <String>
[-Name] <String>
[-Key <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzIotHubMessageEnrichment
[-InputObject] <PSIotHub>
[-Key <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzIotHubMessageEnrichment
[-ResourceId] <String>
[-Key <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
説明
Azure IoT Hub でのメッセージ エンリッチメントの詳細については、次を参照してください。 https://learn.microsoft.com/azure/iot-hub/iot-hub-message-enrichments-overview
例
例 1
Get-AzIotHubMessageEnrichment -ResourceGroupName "myresourcegroup" -Name "myiothub"
Key Value Endpoint(s)
--- ----- -----------
key1 value1 {endpoint1, endpoint2}
key2 value2 {endpoint3, endpoint4}
MyIotHub ですべてのメッセージ エンリッチメントを一覧表示する
例 2
Get-AzIotHubMessageEnrichment -ResourceGroupName "myresourcegroup" -Name "myiothub" -Key "newKey"
Key : key1
Value : value1
Endpoint(s) : {endpoint1, endpoint2}
"newKey" メッセージ エンリッチメントの詳細を表示します。
パラメーター
-DefaultProfile
Azure との通信のために使用される資格情報、アカウント、テナント、サブスクリプションです。
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
IotHub オブジェクト
Type: | PSIotHub |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Key
エンリッチメントのキー。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
IoT ハブの名前
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
リソース グループの名前
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceId
IotHub リソース ID
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
入力
出力
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure PowerShell
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示