createMultipleNetmapHost
The createMultipleNetmapHost operation handles configuration related to /api/fmc_netmap/v1/domain/{domainUUID}/hosts path.
Description
Creates, deletes, or retrieves a host in the Network Map. Check the response section for applicable examples (if any).
Data Parameters Example
| Parameter | Value |
|---|---|
| type | Host |
| ipAddress | ['192.168.1.2'] |
| macAddress | AA:BB:CC:DD:EE:FF |
Path Parameters
| Parameter | Required | Type | Description | |||
|---|---|---|---|---|---|---|
| domainUUID | True | string | Domain UUID | |||
Query Parameters
| Parameter | Required | Type | Description | |||
|---|---|---|---|---|---|---|
| bulk | False | boolean | Enables bulk create or delete. This field must be true in order to delete with a filter rather than an identifier. |
|||
Example
- name: Execute 'createMultipleNetmapHost' operation
cisco.fmcansible.fmc_configuration:
operation: "createMultipleNetmapHost"
data:
type: Host
ipAddress: ['192.168.1.2']
macAddress: AA:BB:CC:DD:EE:FF
path_params:
domainUUID: "{{ domain_uuid }}"
query_params:
bulk: "{{ bulk }}"