Skip to content

Commit 88f6cf9

Browse files
committed
Update help content and session record security tag
1 parent aa09ccf commit 88f6cf9

File tree

9 files changed

+28
-22
lines changed

9 files changed

+28
-22
lines changed

src/ResourceManager/IotHub/Commands.IotHub.Test/SessionRecords/Microsoft.Azure.Commands.IotHub.Test.ScenarioTests.IotHubRoutingTests/TestAzureIotHubRoutingLifeCycle.json

Lines changed: 6 additions & 0 deletions
Large diffs are not rendered by default.

src/ResourceManager/IotHub/Commands.IotHub/help/Add-AzureRmIotHubRoute.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Condition :
4949
IsEnabled : False
5050
```
5151

52-
{{ Add example description here }}
52+
Create a new route "R1".
5353

5454
### Example 2
5555
```
@@ -62,7 +62,7 @@ Condition : true
6262
IsEnabled : True
6363
```
6464

65-
{{ Add example description here }}
65+
Create a new route "R1" with all parameters.
6666

6767
## PARAMETERS
6868

src/ResourceManager/IotHub/Commands.IotHub/help/Add-AzureRmIotHubRoutingEndpoint.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,19 @@ Add a new endpoint in your IoT Hub. To learn about the endpoints that are suppor
4141

4242
### Example 1
4343
```
44-
PS C:\> Add-AzureRmIotHubRoutingEndpoint -ResourceGroupName "myresourcegroup" -Name "myiothub" -EndpointName E2 -EndpointType EventHub -EndpointResourceGroup resourcegroup1 -EndpointSubscriptionId 91d12343-a3de-345d-b2ea-135792468abc -ConnectionString 'Endpoint=sb://myeventhub1.servicebus.windows.net/;SharedAccessKeyName=access1;SharedAccessKey=qhtrWjkYeqn8csrIC9SWVlMJotc6wRhNJHczuZoJ8pY=;EntityPath=event11'
44+
PS C:\> Add-AzureRmIotHubRoutingEndpoint -ResourceGroupName "myresourcegroup" -Name "myiothub" -EndpointName E2 -EndpointType EventHub -EndpointResourceGroup resourcegroup1 -EndpointSubscriptionId 91d12343-a3de-345d-b2ea-135792468abc -ConnectionString 'Endpoint=sb://myeventhub1.servicebus.windows.net/;SharedAccessKeyName=access1;SharedAccessKey=*****=;EntityPath=event11'
4545
4646
ResourceGroupName : resourcegroup1
4747
SubscriptionId : 91d12343-a3de-345d-b2ea-135792468abc
4848
EndpointName : E2
4949
ConnectionString : Endpoint=sb://myeventhub1.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_myeventhub1;SharedAccessKey=****;EntityPath=event1
5050
```
5151

52-
{{ Add example description here }}
52+
Add a new endpoint "E2" of type EventHub to an "myiothub" IoT Hub.
5353

5454
### Example 2
5555
```
56-
PS C:\> Add-AzureRmIotHubRoutingEndpoint -ResourceGroupName "myresourcegroup" -Name "myiothub" -EndpointName S1 -EndpointType AzureStorageContainer -EndpointResourceGroup resourcegroup1 -EndpointSubscriptionId 91d12343-a3de-345d-b2ea-135792468abc -ConnectionString 'DefaultEndpointsProtocol=https;AccountName=mystorage1;AccountKey=JifVTDd+1fg7OIz4OM4wLfnR+WTAdig58/FldO0GWHtbNHzB4KywhczJYDOQcl9g5TA60Dsw+4ZJ7gXxwjPXHA==;EndpointSuffix=core.windows.net' -ContainerName container
56+
PS C:\> Add-AzureRmIotHubRoutingEndpoint -ResourceGroupName "myresourcegroup" -Name "myiothub" -EndpointName S1 -EndpointType AzureStorageContainer -EndpointResourceGroup resourcegroup1 -EndpointSubscriptionId 91d12343-a3de-345d-b2ea-135792468abc -ConnectionString 'DefaultEndpointsProtocol=https;AccountName=mystorage1;AccountKey=*****;EndpointSuffix=core.windows.net' -ContainerName container
5757
5858
ResourceGroupName : resourcegroup1
5959
SubscriptionId : 91d12343-a3de-345d-b2ea-135792468abc
@@ -66,7 +66,7 @@ MaxChunkSizeInBytes : 314572800
6666
Encoding : avro
6767
```
6868

69-
{{ Add example description here }}
69+
Add a new endpoint "S1" of type AzureStorageContainer to an "myiothub" IoT Hub.
7070

7171
## PARAMETERS
7272

src/ResourceManager/IotHub/Commands.IotHub/help/Get-AzureRmIotHubRoute.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ R1 DeviceMessages events False
4545
R2 TwinChangeEvents E1 True
4646
```
4747

48-
{{ Add example description here }}
48+
Get all route from "myiothub" IoT Hub.
4949

5050
### Example 2
5151
```
@@ -58,7 +58,7 @@ Condition : true
5858
IsEnabled : False
5959
```
6060

61-
{{ Add example description here }}
61+
Get route information from "myiothub" IoT Hub.
6262

6363
## PARAMETERS
6464

src/ResourceManager/IotHub/Commands.IotHub/help/Get-AzureRmIotHubRoutingEndpoint.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ E2 EventHub resourcegroup1/event2
4646
S1 AzureStorageContainer mystorage1/container
4747
```
4848

49-
{{ Add example description here }}
49+
Get all the endpoints from "myiothub" IoT Hub.
5050

5151
### Example 2
5252
```
@@ -58,7 +58,7 @@ resourcegroup1 91d12343-a3de-345d-b2ea-135792468abc E1
5858
resourcegroup1 91d12343-a3de-345d-b2ea-135792468abc E2
5959
```
6060

61-
{{ Add example description here }}
61+
Get all the endpoints of type EventHub from "myiothub" IoT Hub.
6262

6363
### Example 3
6464
```
@@ -70,7 +70,7 @@ EndpointName : E1
7070
ConnectionString : Endpoint=sb://myeventhub1.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_myeventhub1;SharedAccessKey=****;EntityPath=event1
7171
```
7272

73-
{{ Add example description here }}
73+
Get all the endpoints of type EventHub from "myiothub" IoT Hub.
7474

7575
### Example 4
7676
```
@@ -82,7 +82,7 @@ EndpointName : E1
8282
ConnectionString : Endpoint=sb://myeventhub1.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_myeventhub1;SharedAccessKey=****;EntityPath=event1
8383
```
8484

85-
{{ Add example description here }}
85+
Get an endpoint information from "myiothub" IoT Hub.
8686

8787
## PARAMETERS
8888

src/ResourceManager/IotHub/Commands.IotHub/help/Remove-AzureRmIotHubRoute.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ PS C:\> Remove-AzureRmIotHubRoute -ResourceGroupName "myresourcegroup" -Name "my
4242
True
4343
```
4444

45-
{{ Add example description here }}
45+
Delete route "R1" from "myiothub" IoT Hub.
4646

4747
## PARAMETERS
4848

src/ResourceManager/IotHub/Commands.IotHub/help/Remove-AzureRmIotHubRoutingEndpoint.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Remove-AzureRmIotHubRoutingEndpoint [-ResourceId] <String> [-EndpointName <Strin
3131
```
3232

3333
## DESCRIPTION
34-
Delete and endpoint. Remember to delete any routes that use this endpoint.
34+
Delete an endpoint. Remember to delete any routes that use this endpoint.
3535

3636
## EXAMPLES
3737

@@ -42,7 +42,7 @@ PS C:\> Remove-AzureRmIotHubRoutingEndpoint -ResourceGroupName "myresourcegroup"
4242
True
4343
```
4444

45-
{{ Add example description here }}
45+
Delete endpoint "E2" from "myiothub" IoT Hub.
4646

4747
## PARAMETERS
4848

src/ResourceManager/IotHub/Commands.IotHub/help/Test-AzureRmIotHubRoute.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ R1 DeviceMessages events True
6868
R5 DeviceMessages E1 True
6969
```
7070

71-
{{ Add example description here }}
71+
Test all route with source "DeviceMessges".
7272

7373
### Example 2
7474
```
@@ -77,7 +77,7 @@ PS C:\> Test-AzureRmIotHubRoute -ResourceGroupName "myresourcegroup" -Name "myio
7777
Result : true
7878
```
7979

80-
{{ Add example description here }}
80+
Test a specific route.
8181

8282
### Example 3
8383
```
@@ -88,7 +88,7 @@ ErrorMessage Severity LocationStartLine LocationStartColumn LocationEndLine Loc
8888
Syntax error. error 1 29 1 30
8989
```
9090

91-
{{ Add example description here }}
91+
Test a specific route and showing the reason of failure.
9292

9393
## PARAMETERS
9494

src/ResourceManager/IotHub/Commands.IotHub/help/Update-AzureRmIotHubRoute.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Condition : true
4949
IsEnabled : False
5050
```
5151

52-
{{ Add example description here }}
52+
Updating the route information.
5353

5454
### Example 2
5555
```
@@ -62,7 +62,7 @@ Condition : true
6262
IsEnabled : False
6363
```
6464

65-
{{ Add example description here }}
65+
Updating the route information.
6666

6767
### Example 3
6868
```
@@ -75,7 +75,7 @@ Condition : false
7575
IsEnabled : False
7676
```
7777

78-
{{ Add example description here }}
78+
Updating the route information.
7979

8080
### Example 4
8181
```
@@ -88,7 +88,7 @@ Condition : false
8888
IsEnabled : True
8989
```
9090

91-
{{ Add example description here }}
91+
Updating the route information.
9292

9393
## PARAMETERS
9494

0 commit comments

Comments
 (0)