upsertSyslogServer
The upsertSyslogServer operation handles configuration related to SyslogServer model.
Data Parameters
| Parameter | Required | Type | Description | ||
|---|---|---|---|---|---|
| version | False | string | A unique string version assigned by the system when the object is created or modified. No assumption can be made on the format or content of this identifier. The identifier must be provided whenever attempting to modify/delete an existing object. As the version will change every time the object is modified, the value provided in this identifier must match exactly what is present in the system or the request will be rejected. | ||
| deviceInterface | False | object | The interface by which the remote syslog server is reached. Field level constraints: cannot be null. (Note: Additional constraints might exist) Allowed types are: [BridgeGroupInterface, PhysicalInterface, SubInterface] |
||
| id | False | string | A unique string identifier assigned by the system when the object is created. No assumption can be made on the format or content of this identifier. The identifier must be provided whenever attempting to modify/delete (or reference) an existing object. Field level constraints: must match pattern ^((?!;).)*$, cannot have HTML. (Note: Additional constraints might exist) |
||
| host | False | string | The IP address of the remote syslog server. Field level constraints: cannot be null, cannot have HTML, must be a valid IP address. (Note: Additional constraints might exist) |
||
| port | False | string | The port of the remote syslog server. Field level constraints: cannot have HTML, must be a valid port from 1 to 65535 or a valid port range. (Note: Additional constraints might exist) |
||
| type | False | string | A UTF8 string, all letters lower-case, that represents the class-type. This corresponds to the class name. | ||
Query Parameters
| Parameter | Required | Type | Description | ||
|---|---|---|---|---|---|
| filter | True | string | |||
Example
- name: Execute 'upsertSyslogServer' operation
ftd_configuration:
operation: "upsertSyslogServer"
data:
version: "{{ version }}"
deviceInterface: "{{ device_interface }}"
id: "{{ id }}"
host: "{{ host }}"
port: "{{ port }}"
type: "{{ type }}"
query_params:
filter: "{{ filter }}"