PARALLAX

cp_mgmt_logical_server

Manages logical-server objects on Checkpoint over Web Services API through native controller HTTPAPI with owned sessions

Collection: check_point.mgmt

Full Name: check_point.mgmt.cp_mgmt_logical_server

Controller module — runs on the local controller, not on remote hosts.

Synopsis

Manages logical-server objects on Checkpoint over Web Services API through native controller HTTPAPI with owned sessions

Parameters

NameTypeRequiredDefaultDescription
auto_publish_sessionboolfalsePublish this owned session explicitly after the operation; default false.
balance_methodstrLoad balancing method for the logical server.
colorstrColor of the object. Should be one of existing colors.
commentsstrComments string.
details_levelstrThe level of detail for some of the fields in the response can vary from showing only the UID value of the object to a fully detailed representation of the object.
ignore_errorsboolApply changes ignoring errors. You won’t be able to publish such a changes. If ignore-warnings flag was omitted - warnings will also be ignored.
ignore_warningsboolApply changes ignoring warnings.
ip_addressstrIPv4 or IPv6 address. If both addresses are required use ipv4-address and ipv6-address fields explicitly.
ipv4_addressstrIPv4 address.
ipv6_addressstrIPv6 address.
namestryesObject name.
persistence_modeboolIndicates if persistence mode is enabled for the logical server.
persistency_typestrPersistency type for the logical server.
server_groupstrServer group associated with the logical server.Identified by name or UID.
server_typestrType of server for the logical server.
statestrpresentDesired object presence.
tagslistCollection of tag identifiers.
versionstrManagement API version path; omitted uses the default API version.
wait_for_taskbooltrueWait for returned asynchronous task identifiers; default true.
wait_for_task_timeoutint30Polling deadline in minutes; default 30, negative values use 30, maximum 1440.

Example

yaml
- name: add-logical-server
  check_point.mgmt.cp_mgmt_logical_server:
    balance_method: domain
    ip_address: 1.1.1.1
    name: logicalServer1
    persistence_mode: true
    persistency_type: by_server
    server_group: testGroup
    server_type: other
    state: present

- name: set-logical-server
  check_point.mgmt.cp_mgmt_logical_server:
    name: logicalServer1
    server_type: http
    state: present

- name: delete-logical-server
  check_point.mgmt.cp_mgmt_logical_server:
    name: logicalServer1
    state: absent
Search
    ↑ ↓ move↵ openesc close