MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.01k stars 21k forks source link

Defender for IoT gateway hostname values in unclear #122189

Open sandervandevelde opened 2 weeks ago

sandervandevelde commented 2 weeks ago

This page is dedicated to setting up Azure IoT Edge nested edge.

in the 'Integrate Microsoft Defender for IoT with IoT Edge gateway' section, more information is shared about configuring the downstream device for the Defender for IoT agent.

The text describes an example

HostName=nested11.azure-devices.net;DeviceId=downstream1;ModuleId=module1;SharedAccessKey=xxx;GatewayHostName=10.16.7.4.

It's unclear where that IP address is coming from:

GatewayHostName=10.16.7.4

I expect this can be either the fully qualified domain name (FQDN) or the IP address of the IoT Edge parent device?

please tell me what value has to be filled in.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

PesalaPavan commented 2 weeks ago

@sandervandevelde Thanks for your feedback! We will investigate and update as appropriate.

PatAltimore commented 1 week ago

Hi @sandervandevelde,

Thanks for pointing out the confusing documentation. It should be the parent. https://learn.microsoft.com/en-us/azure/iot-edge/iot-edge-as-gateway?view=iotedge-1.5#gateway-discovery

I'm verifying that's true. I'll report back and update the documentation to clarify.

Thanks, Pat