次の方法で共有


Get-AzIotHubRegistryStatistic

IotHub の RegistryStatistics を取得します。

構文

Get-AzIotHubRegistryStatistic
   [-ResourceGroupName] <String>
   [-Name] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

説明

IotHub の RegistryStatistics を取得します。 これにより、IotHub のデバイスの合計数、有効、無効化されたデバイスの数に関する情報が提供されます。

例 1 RegistryStatistics を取得する

Get-AzIotHubRegistryStatistic -ResourceGroupName "myresourcegroup" -Name "myiothub"

"myiothub" という名前の IotHub の RegistryStatistics を取得します。

パラメーター

-DefaultProfile

Azure との通信に使用される資格情報、アカウント、テナント、サブスクリプション

型:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
配置:Named
規定値:None
必須:False
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-Name

IoT ハブの名前。

型:String
配置:1
規定値:None
必須:True
パイプライン入力を受け取る:True
ワイルドカード文字を受け取る:False

-ResourceGroupName

リソース グループ名

型:String
配置:0
規定値:None
必須:True
パイプライン入力を受け取る:True
ワイルドカード文字を受け取る:False

入力

String

出力

PSIotHubRegistryStatistics