Skip to content

Commit 9ab1538

Browse files
v-yuzhichenZiyue Zheng
andauthored
Fix Az.IotHub Syntax Errors (#17600)
* Fix Az.IotCentral Syntax Errors * Fix Az.IotCentral Syntax Errors Co-authored-by: Ziyue Zheng <[email protected]>
1 parent 65c21f9 commit 9ab1538

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/IotHub/IotHub/help/Get-AzIotHubDeviceConnectionString.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Show all devices connection string in an Iot Hub.
5151

5252
### Example 2
5353
```powershell
54-
Get-AzIotHubDCS -ResourceGroupName "myresourcegroup" -IotHubName "myiothub" -DeviceId "device1" -KeyType secondary
54+
Get-AzIotHubDeviceConnectionString -ResourceGroupName "myresourcegroup" -IotHubName "myiothub" -DeviceId "device1" -KeyType secondary
5555
```
5656

5757
```output

src/IotHub/IotHub/help/Get-AzIotHubModuleConnectionString.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Show all modules connection string of a target IoT device in an Iot Hub.
5151

5252
### Example 2
5353
```powershell
54-
Get-AzIotHubMCS -ResourceGroupName "myresourcegroup" -IotHubName "myiothub" -DeviceId "myDevice1" -ModuleId "module1" -KeyType secondary
54+
Get-AzIotHubModuleConnectionString -ResourceGroupName "myresourcegroup" -IotHubName "myiothub" -DeviceId "myDevice1" -ModuleId "module1" -KeyType secondary
5555
```
5656

5757
```output

src/IotHub/IotHub/help/Invoke-AzIotHubConfigurationMetricsQuery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Evaluate the custom defined 'warningLimit' metric.
5050

5151
### Example 2
5252
```powershell
53-
Invoke-AzIotHubConfigMetric -ResourceGroupName "myresourcegroup" -IotHubName "myiothub" -Name "myConfig1" -MetricName "applied" -MetricType "system"
53+
Invoke-AzIotHubConfigurationMetricsQuery -ResourceGroupName "myresourcegroup" -IotHubName "myiothub" -Name "myConfig1" -MetricName "applied" -MetricType "system"
5454
```
5555

5656
Evaluate the system 'applied' metric.

src/IotHub/IotHub/help/Invoke-AzIotHubDeploymentMetricsQuery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Evaluate the custom defined 'warningLimit' metric.
5353

5454
### Example 2
5555
```powershell
56-
Invoke-AzIotHubDeployMetric -ResourceGroupName "myresourcegroup" -IotHubName "myiothub" -Name "myDeploy1" -MetricName "Reporting Success" -MetricType "system"
56+
Invoke-AzIotHubDeploymentMetricsQuery -ResourceGroupName "myresourcegroup" -IotHubName "myiothub" -Name "myDeploy1" -MetricName "Reporting Success" -MetricType "system"
5757
```
5858

5959
Evaluate the system 'Reporting Success' metric.

0 commit comments

Comments
 (0)