Struct GroupQuery
- Namespace
- Azure.Iot.Operations.Services.EdgeRegistry
- Assembly
- Azure.Iot.Operations.Services.dll
Selects which Groups a list query searches: either within a single Group type (via WithinGroupType(string, GroupSelector)) or across all Group types (via AllGroups() / GroupAcrossAllTypes(string)). Invalid combinations (such as the cloud-default Group without a Group type) are not representable.
public readonly struct GroupQuery
- Inherited Members
Methods
AllGroups()
Query all Groups across all Group types.
public static GroupQuery AllGroups()
Returns
GroupAcrossAllTypes(string)
Query a specific Group identifier across all Group types.
public static GroupQuery GroupAcrossAllTypes(string groupId)
Parameters
groupIdstring
Returns
WithinGroupType(string, GroupSelector)
Query within a single Group type. Defaults to that Group type's cloud-default Group.
public static GroupQuery WithinGroupType(string groupType, GroupSelector groups = default)
Parameters
groupTypestringgroupsGroupSelector