Get-AzIotHubDeviceChildren
Atanan alt cihazların virgülle ayrılmış listesini yazdırın.
Syntax
Get-AzIotHubDeviceChildren
[-ResourceGroupName] <String>
[-IotHubName] <String>
[-DeviceId <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzIotHubDeviceChildren
[-InputObject] <PSIotHub>
[-DeviceId <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzIotHubDeviceChildren
[-ResourceId] <String>
[-DeviceId <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Atanan kenar olmayan tüm cihazları, tüm kenar cihazlarının veya belirtilen cihazların virgülle ayrılmış listesi olarak gösterin.
Örnekler
Örnek 1
Get-AzIotHubDeviceChildren -ResourceGroupName "myresourcegroup" -IotHubName "myiothub" -DeviceId "myDevice1"
DeviceId ChildrenDeviceId
-------- ----------------
myDevice1 {device1, device2}
Atanan kenar olmayan tüm cihazları virgülle ayrılmış liste olarak gösterin.
Örnek 2
Get-AzIotHubDeviceChildren -ResourceGroupName "myresourcegroup" -IotHubName "myiothub"
DeviceId ChildrenDeviceId
-------- ----------------
myDevice1 {device1, device2}
myDevice2 {device3, device4, device5}
Atanan uç olmayan tüm cihazları, tüm kenar cihazlarının virgülle ayrılmış listesi olarak gösterin.
Parametreler
-DefaultProfile
Azure ile iletişim için kullanılan kimlik bilgileri, hesap, kiracı ve abonelik.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DeviceId
Edge cihazının kimliği.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
IotHub nesnesi
Type: | PSIotHub |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-IotHubName
IoT Hub'ının adı
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
Kaynak Grubunun Adı
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceId
IotHub Kaynak Kimliği
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Girişler
Çıkışlar
Azure PowerShell
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin