Get-AzIoTDeviceProvisioningService
Geef alle informatie weer of geef details weer van Azure IoT Hub-apparaatinrichtingsservices.
Syntaxis
Get-AzIoTDeviceProvisioningService
[-ResourceGroupName <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzIoTDeviceProvisioningService
-ResourceGroupName <String>
[-Name] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Zie https://learn.microsoft.com/azure/iot-dps/about-iot-dpsvoor een inleiding tot Azure IoT Hub Device Provisioning Service.
Voorbeelden
Voorbeeld 1
Get-AzIoTDeviceProvisioningService
ResourceGroupName Name Location ServiceOperationsHostName IotHubs AllocationPolicy Tags State
----------------- ---- -------- ------------------------- ------- ---------------- ---- -----
myresourcegroup0 myiotdps0 eastus myiotdps0.azure-devices-provisioning.net 0 Static 0 Active
myresourcegroup1 myiotdps1 eastus myiotdps1.azure-devices-provisioning.net 4 Hashed 0 Active
myresourcegroup1 myiotdps2 westus myiotdps2.azure-devices-provisioning.net 4 GeoLatency 0 Active
Vermeld alle Azure IoT Hub-apparaatinrichtingsservices in een abonnement.
Voorbeeld 2
Get-AzIoTDeviceProvisioningService -ResourceGroupName "myresourcegroup"
ResourceGroupName Name Location ServiceOperationsHostName IotHubs AllocationPolicy Tags State
----------------- ---- -------- ------------------------- ------- ---------------- ---- -----
myresourcegroup myiotdps1 eastus myiotdps1.azure-devices-provisioning.net 1 Hashed 0 Active
myresourcegroup myiotdps2 westus myiotdps2.azure-devices-provisioning.net 4 GeoLatency 0 Active
Vermeld alle Azure IoT Hub-apparaatinrichtingsservices in de resourcegroep 'myresourcegroup'.
Voorbeeld 3
Get-AzIoTDeviceProvisioningService -ResourceGroupName "myresourcegroup" -Name "myiotdps"
ResourceGroupName : myresourcegroup
Name : myiotdps
Location : eastus
Type : Microsoft.Devices/provisioningServices
ServiceOperationsHostName : myiotdps.azure-devices-provisioning.net
IotHubs : 0
State : Active
AllocationPolicy : Hashed
Tags : {}
SkuName : S1
SkuTier : Standard
Etag : AAAAAAAT52k=
Details weergeven van een Azure IoT Hub-apparaatinrichtingsservice 'myiotdps'.
Parameters
-DefaultProfile
De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.
Type: | IAzureContextContainer |
Aliassen: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-Name
Naam van de IoT Device Provisioning Service
Type: | String |
Position: | 1 |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-ResourceGroupName
Naam van de resourcegroep
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
Invoerwaarden
None
Uitvoerwaarden
Azure PowerShell