diff --git a/azps-12.5.0/Az.IotHub/Add-AzIotHubRoutingEndpoint.md b/azps-12.5.0/Az.IotHub/Add-AzIotHubRoutingEndpoint.md index d19fd632d0..49db9d5ced 100644 --- a/azps-12.5.0/Az.IotHub/Add-AzIotHubRoutingEndpoint.md +++ b/azps-12.5.0/Az.IotHub/Add-AzIotHubRoutingEndpoint.md @@ -43,12 +43,12 @@ Add a new endpoint in your IoT Hub. To learn about the endpoints that are suppor ### Example 1 ```powershell -Add-AzIotHubRoutingEndpoint -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' +Add-AzIotHubRoutingEndpoint -ResourceGroupName "myresourcegroup" -Name "myiothub" -EndpointName E2 -EndpointType EventHub -EndpointResourceGroup resourcegroup1 -EndpointSubscriptionId aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e -ConnectionString 'Endpoint=sb://myeventhub1.servicebus.windows.net/;SharedAccessKeyName=access1;SharedAccessKey=*****=;EntityPath=event11' ``` ```output ResourceGroupName : resourcegroup1 -SubscriptionId : 91d12343-a3de-345d-b2ea-135792468abc +SubscriptionId : aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e EndpointName : E2 ConnectionString : Endpoint=sb://myeventhub1.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_myeventhub1;SharedAccessKey=****;EntityPath=event1 ``` @@ -57,12 +57,12 @@ Add a new endpoint "E2" of type EventHub to an "myiothub" IoT Hub. ### Example 2 ```powershell -Add-AzIotHubRoutingEndpoint -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 -Encoding json +Add-AzIotHubRoutingEndpoint -ResourceGroupName "myresourcegroup" -Name "myiothub" -EndpointName S1 -EndpointType AzureStorageContainer -EndpointResourceGroup resourcegroup1 -EndpointSubscriptionId aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e -ConnectionString 'DefaultEndpointsProtocol=https;AccountName=mystorage1;AccountKey=*****;EndpointSuffix=core.windows.net' -ContainerName container -Encoding json ``` ```output ResourceGroupName : resourcegroup1 -SubscriptionId : 91d12343-a3de-345d-b2ea-135792468abc +SubscriptionId : aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e EndpointName : S1 ContainerName : container ConnectionString : DefaultEndpointsProtocol=https;EndpointSuffix=core.windows.net;AccountName=mystorage1;AccountKey=**** diff --git a/azps-12.5.0/Az.IotHub/Get-AzIotHubRoutingEndpoint.md b/azps-12.5.0/Az.IotHub/Get-AzIotHubRoutingEndpoint.md index 27ef608186..f9a484de70 100644 --- a/azps-12.5.0/Az.IotHub/Get-AzIotHubRoutingEndpoint.md +++ b/azps-12.5.0/Az.IotHub/Get-AzIotHubRoutingEndpoint.md @@ -60,8 +60,8 @@ Get-AzIotHubRoutingEndpoint -ResourceGroupName "myresourcegroup" -Name "myiothub ```output ResourceGroupName SubscriptionId EndpointName ----------------- -------------- ------------ -resourcegroup1 91d12343-a3de-345d-b2ea-135792468abc E1 -resourcegroup1 91d12343-a3de-345d-b2ea-135792468abc E2 +resourcegroup1 aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e E1 +resourcegroup1 aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e E2 ``` Get all the endpoints of type EventHub from "myiothub" IoT Hub. @@ -73,7 +73,7 @@ Get-AzIotHubRoutingEndpoint -ResourceGroupName "myresourcegroup" -Name "myiothub ```output ResourceGroupName : resourcegroup1 -SubscriptionId : 91d12343-a3de-345d-b2ea-135792468abc +SubscriptionId : aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e EndpointName : E1 ConnectionString : Endpoint=sb://myeventhub1.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_myeventhub1;SharedAccessKey=****;EntityPath=event1 ``` @@ -87,7 +87,7 @@ Get-AzIotHubRoutingEndpoint -ResourceGroupName "myresourcegroup" -Name "myiothub ```output ResourceGroupName : resourcegroup1 -SubscriptionId : 91d12343-a3de-345d-b2ea-135792468abc +SubscriptionId : aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e EndpointName : E1 ConnectionString : Endpoint=sb://myeventhub1.servicebus.windows.net:5671/;SharedAccessKeyName=iothubroutes_myeventhub1;SharedAccessKey=****;EntityPath=event1 ```