Condividi tramite


Device.ParentScopes Property

Definition

The scopes of the upper level edge devices if applicable.

[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="parentScopes")]
public virtual System.Collections.Generic.IList<string> ParentScopes { get; }
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="parentScopes")>]
member this.ParentScopes : System.Collections.Generic.IList<string>
Public Overridable ReadOnly Property ParentScopes As IList(Of String)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

For edge devices, the value to set a parent edge device can be retrieved from the parent edge device's scope property.

For leaf devices, this could be set to the same value as scope or left for the service to copy over.

For now, this list can only have 1 element in the collection.

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