Skip to content

Commit 70cae8b

Browse files
v-yuzhichenZiyue Zheng
andauthored
Fix Az.StackEdge Syntax Errors (Azure#17807)
* Az.StackEdge Syntax Errors * Fix Az.StackEdge Syntax Errors * Fix Az.StackEdge Syntax Errors Co-authored-by: Ziyue Zheng <[email protected]>
1 parent 8728bc8 commit 70cae8b

5 files changed

+9
-9
lines changed

src/StackEdge/StackEdge/help/New-AzStackEdgeBandwidthSchedule.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The **New-AzStackEdgeBandwidthSchedule** cmdlet creates a new Bandwidth Schedule
3333

3434
### Example 1
3535
```powershell
36-
New-AzStackEdgeBandwidthSchedule -Days Sunday,Tuesday,Saturday -ResourceGroupName resourceGroupName -DeviceName deviceName -Name bandwidthSchedule -StartTime 11:00 -StopTime 12:00 -Bandwidth 30
36+
New-AzStackEdgeBandwidthSchedule -DaysOfWeek Sunday,Tuesday,Saturday -ResourceGroupName resourceGroupName -DeviceName deviceName -Name bandwidthSchedule -StartTime 11:00 -StopTime 12:00 -Bandwidth 30
3737
```
3838

3939
```output
@@ -44,7 +44,7 @@ bandwidthSchedule Sunday, Tuesday, Saturday 30 11:00:00 12:00:00
4444

4545
### Example 2
4646
```powershell
47-
New-AzStackEdgeBandwidthSchedule -Days Sunday,Tuesday,Saturday -ResourceGroupName resourceGroupName -DeviceName deviceName -Name bandwidthScheduleUnlimited -StartTime 11:00 -StopTime 12:00 -UnlimitedBandwidth
47+
New-AzStackEdgeBandwidthSchedule -DaysOfWeek Sunday,Tuesday,Saturday -ResourceGroupName resourceGroupName -DeviceName deviceName -Name bandwidthScheduleUnlimited -StartTime 11:00 -StopTime 12:00 -UnlimitedBandwidth
4848
```
4949

5050
```output

src/StackEdge/StackEdge/help/New-AzStackEdgeRole.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ The **New-AzStackEdgeRole** cmdlet creates a new Role for a Stack Edge device.
3636

3737
### Example 1
3838
```powershell
39-
New-AzStackEdgeRole -ResourceGroupName resourceGroupName -DeviceName deviceName -Name iotrole -DeviceProperties
40-
-IotDeviceId iotDeviceId -IotDeviceAccessKey iotAccessKey -IotEdgeDeviceId iotEdgeDeviceId -IotEdgeDeviceAccessKey iotEdgeDeviceAccessKey
41-
-IotHostHub "ehub.azure-devices.net" -EncryptionKey @SecureString -Platform Linux -RoleStatus Enabled
39+
New-AzStackEdgeRole -ResourceGroupName resourceGroupName -DeviceName deviceName -Name iotrole -DeviceProperty `
40+
-IotDeviceId iotDeviceId -IotDeviceAccessKey iotAccessKey -IotEdgeDeviceId iotEdgeDeviceId -IotEdgeDeviceAccessKey iotEdgeDeviceAccessKey `
41+
-IotHostHub "ehub.azure-devices.net" -EncryptionKey $SecureString -Platform Linux -RoleStatus Enabled
4242
```
4343

4444
```output

src/StackEdge/StackEdge/help/New-AzStackEdgeStorageAccountCredential.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The **New-AzStackEdgeStorageAccountCredential** cmdlet creates a new edge storag
2525

2626
### Example 1
2727
```powershell
28-
New-AzStackEdgeStorageAccountCredential -ResourceGroupName resourceGroupName -DeviceName device-name -Name storage-acount-credential-name -StorageAccountName storageAccountName -StorageAccountType BlobStorage -StorageAccountAccessKey @SecureString -EncryptionKey @SecureString
28+
New-AzStackEdgeStorageAccountCredential -ResourceGroupName resourceGroupName -DeviceName deviceName -Name storageAccountName -StorageAccountType BlobStorage -StorageAccountAccessKey $SecureString -EncryptionKey $SecureString
2929
```
3030

3131
```output

src/StackEdge/StackEdge/help/Remove-AzStackEdgeStorageAccountCredential.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The **Remove-AzStackEdgeStorageAccountCredential** cmdlet removes the storage ac
3838

3939
### Example 1
4040
```powershell
41-
Remove-AzStackEdgeStorageAccountCredential ResourceGroupName resourceGroupName -DeviceName deviceName -Name storageAccountCredentialName
41+
Remove-AzStackEdgeStorageAccountCredential -ResourceGroupName resourceGroupName -DeviceName deviceName -Name storageAccountName
4242
```
4343

4444
## PARAMETERS

src/StackEdge/StackEdge/help/Set-AzStackEdgeStorageAccountCredential.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ The **Set-AzStackEdgeStorageAccountCredential** cmdlet updates the storage accou
4040

4141
### Example 1
4242
```powershell
43-
Set-AzStackEdgeStorageAccountCredential -ResourceGroupName resourceGroupName -DeviceName deviceName -Name storageAcountCredentialName -StorageAccountName storageaccountname -StorageAccountAccessKey @SecureString -EncryptionKey @SecureString
43+
Set-AzStackEdgeStorageAccountCredential -ResourceGroupName resourceGroupName -DeviceName deviceName -Name storageAccountName -StorageAccountAccessKey $SecureString -EncryptionKey $SecureString
4444
```
4545

4646
```output
4747
Name StorageAccount SslStatus ResourceGroupName
4848
--------------------------- ------------------- ---------- ---------------------
49-
storageAcountCredentialName storageaccountname Enabled resourceGroupName
49+
storageAcountCredentialName storageAccountName Enabled resourceGroupName
5050
```
5151

5252
Helps in rotating access keys for a storage account

0 commit comments

Comments
 (0)