Question 29 of 100 from exam 350-901-DEVCOR: Developing Applications Using Cisco Core Platforms and APIs

Question 29 of 100 from exam 350-901-DEVCOR: Developing Applications Using Cisco Core Platforms and APIs

Question

$filter { string } query
Filter criteria for documents to return. A URI with a $filter System Query Option identifies a subset of
the Entries from the Collection of Entries identified by the Resource Path section of the URI. The
subset is determined by selecting only the Entries that satisfy the predicate expression specified by
the query option. The expression language that is used in $filter operators supports references to

properties and literals. The literal values can be strings enclosed in single quotes, numbers and
boolean values (true or false) or any of the additional literal representations shown in the Abstract
Type System section. Query examples: $filter=Name eq 'Bob' $filter=Tags/any(t: Key eq 'Site’)
$filter=Tags/any(t: Key eq ‘Site’ and t/Value eq ‘London’)

GET /api/v1/compute/RackUnits?$filter=Tags/any (t:t/Key eq ‘Site’)

Refer to the exhibit.

An Intersight API is being used to query RackUnit resources that have a tag keyword set to 'Site'

What is the expected output of this command?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

A.