PARALLAX

cp_mgmt_lock_object

Lock object using name and type through native controller HTTPAPI with owned sessions

Collection: check_point.mgmt

Full Name: check_point.mgmt.cp_mgmt_lock_object

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

Synopsis

Lock object using name and type through native controller HTTPAPI with owned sessions

Parameters

NameTypeRequiredDefaultDescription
auto_publish_sessionboolfalsePublish this owned session explicitly after the operation; default false.
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.
layerstrObject layer, need to specify the layer if the object is rule/section and uid is not supplied.
namestrObject name. Must be unique in the domain.
typestrObject type.
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: lock-object
  check_point.mgmt.cp_mgmt_lock_object:
    name: host5
    type: host
Search
    ↑ ↓ move↵ openesc close