And the response includes the list of address
objects that are configured on vsys1 on the firewall.
{
"@code": "19",
"@status": "success",
"result": {
"@count": "3",
"@total-count": "3",
"entry": [
{
"@location": "vsys",
"@name": "fqdn1",
"@vsys": "vsys1",
"fqdn": "www.test.com"
},
{
"@location": "vsys",
"@name": "Peer1",
"@vsys": "vsys1",
"ip-netmask": "172.0.0.1/24"
},
{
"@location": "vsys",
"@name": "Peer2renamed",
"@oldname": "Peer2",
"@vsys": "vsys1",
"ip-netmask": "200.0.0.1/24"
}
]
}
}
Create a Tag
Tags allow you to group objects using keywords or phrases. Use tags to identify the
purpose of a rule or configuration object and to help you better organize your
rulebase. To ensure that policy rules are properly tagged. You must create a tag
before you can assign it as a group tag on a rule.
Link tags are tags that enable you use to identify groups of physical interfaces
specifically for an SD-WAN configuration on Panorama™. Some examples of link tags
are Low Cost Paths, General Access, Private HQ, and Backup. The following is an
example of a REST API request to create a link tag.
curl -X POST 'https://<Panorama>/restapi/v11.1/objects/tags?location=device-group&device-group=SD-WAN_Branch&name=Low-Cost-Paths'
-H 'X-PAN-KEY: <your key>
-d '{
"entry": {
"@name": "Low-Cost-Paths”,
“comments”: “Groups two low cost broadband links and a backup link”
}
}'