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

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

Question

DRAG DROP -

Description
The addNetworkObject operation handles configuration related to NetworkObject model.
This API call is not allowed on the standby unit in an HA pair.

HTTP request

Data Parameters
Parameter Required Type Description

name True string string that is the name of the network object.

description False string Astring containing the description information.
Field level constraints: length must be between 0 and 200
(inclusive). (Note: Additional constraints might exist)

subType string ‘An enum value that specifies the network object type.
HOST - A host type.
NETWORK - A network type.
FQDN - A FQDN type.
RANGE - A range type.
Field level constraints: cannot be null. (Note: Additional
constraints might exist)

string A string that defines the address content for the object. For HOST

‘objects, this is a single IPv4 or IPv6 address without netmask or
prefix. For NETWORK objects, this is an IPv4 or IPv6 network
address with netmask (in CIDR notation) or prefix. For FQON
‘objects, this is a Fully qualified domain name. For RANGE
‘objects, this is IPv4 or IPv6 addresses separated by ~.
Field level constraints: cannot be null, must match pattern
((2h).)*$ (Note: Additional constraints might exist)

isSystemDefined False boolean A Boolean value. TRUE or FALSE(the default). The TRUE value
indicated that this Network object is a system defined object.

dnsResolution False string DNS Resolution type can be IPV4_ONLY, IPV6_ONLY or IPV4
_AND_IPV6.

type True string AUTF8 string, all letters lower-case, that represents the class-

type.
This corresponds to the class name.

curl -x /G@tem/D) -H “authorization: Bearer exwsxads-sadads0as0d0-1w-1-1w-1w” --header
‘Content-Type: application/json’ --header ‘Accept: application/json’ -d ‘{
“name”: “171.168.1.2”,
“value”:
“subtype”
“type”:
}. “https: //ast0072-pod. cisco .com:33333/api/fdm/v4/object /tEM SI)

Refer to the exhibit.

Drag and drop the code snippets from the left onto the item numbers on the right that match the missing sections in the cURL exhibit to complete the cURL request to FirePower Device Manager API to create objects.

Not all code snippets are used.

Select and Place:

Answer Area

HOST

POST

NETWORK

networks

networkobject

171.168.1.0/24

False

isSystemDefined

Explanations

Answer Area

HOST POST
POST 171.168.1.0/24
NETWORK False
networks networks
networkobject isSystemDefined

171.168.1.0/24

False

isSystemDefined