Device.Scope Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The scope of the device. For edge devices, this is auto-generated and immutable. For leaf devices, set this to create child/parent relationship.
[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="deviceScope")]
public virtual string Scope { get; set; }
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="deviceScope")>]
member this.Scope : string with get, set
Public Overridable Property Scope As String
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Remarks
For leaf devices, the value to set a parent edge device can be retrieved from the parent edge device's scope property. For more information, see https://docs.microsoft.com/azure/iot-edge/iot-edge-as-gateway?view=iotedge-2020-11#parent-and-child-relationships.
Applies to
Azure SDK for .NET