You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/governance/resource-graph/concepts/work-with-data.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,9 +87,12 @@ consumer if there are more records not returned in the response. This condition
87
87
identified when the **count** property is less than the **totalRecords** property. **totalRecords**
88
88
defines how many records that match the query.
89
89
90
-
**resultTruncated** is **true** when either paging is disabled or not possible because no `id`
91
-
column or when there are less resources available than a query is requesting. When
92
-
**resultTruncated** is **true**, the **$skipToken** property isn't set.
90
+
**resultTruncated** is **true** when there are less resources available than a query is requesting or when paging is disabled or when paging is not possible because:
91
+
92
+
- The query contains a `limit` or `sample`/`take` operator.
93
+
-**All** output columns are either `dynamic` or `null` type.
94
+
95
+
When **resultTruncated** is **true**, the **$skipToken** property isn't set.
93
96
94
97
The following examples show how to **skip** the first 3,000 records and return the **first** 1,000
95
98
records after those records skipped with Azure CLI and Azure PowerShell:
@@ -103,8 +106,9 @@ Search-AzGraph -Query "Resources | project id, name | order by id asc" -First 10
103
106
```
104
107
105
108
> [!IMPORTANT]
106
-
> The query must **project** the **id** field in order for pagination to work. If it's missing from
107
-
> the query, the response won't include the **$skipToken**.
109
+
> The response won't include the **$skipToken** if:
110
+
> - The query contains a `limit` or `sample`/`take` operator.
111
+
> -**All** output columns are either `dynamic` or `null` type.
0 commit comments