QuestionQ163

Automation

Drag and drop the keywords onto the URL request to retrieve every subnet configured under the Production tenant by using a REST API. Not all choices are used.

Drag & Drop
target-subtree-class
query-target-filter
children
query-target
mo
class
subtree
https://{{apic_ip}}/api//uni/tn-Production.json?
 =  & 
= fvSubnet
Explanation

A managed-object request for uni/tn-Production with query-target=subtree returns objects below that tenant. Specifying target-subtree-class=fvSubnet limits the subtree results to subnet managed objects.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!