Skip to content

Commit d107f85

Browse files
committed
Add guidance for count field in pageable response
1 parent 0ab68b1 commit d107f85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

azure/Guidelines.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,9 @@ Note: To avoid potential collision of actions and resource ids, you should disal
506506

507507
:no_entry: **DO NOT** return the `nextLink` field at all when returning the last page of the collection.
508508

509-
:no_entry: **DO NOT** ever return a `nextLink` field with a value of null.
509+
:no_entry: **DO NOT** return the `nextLink` field with a value of null.
510+
511+
:warning: **YOU SHOULD NOT** return a `count` of all objects in the collection as this may be expensive to compute.
510512

511513
#### Query options
512514
:heavy_check_mark: **YOU MAY** support the following query parameters allowing customers to control the list operation:

0 commit comments

Comments
 (0)