PARALLAX

cp_mgmt_securemote_dns_server

Manages securemote-dns-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_securemote_dns_server

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

Synopsis

Manages securemote-dns-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.
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.
domainslistThe DNS domains that the remote clients can access.
domains_to_processlistIndicates which domains to process the commands on. It cannot be used with the details-level full, must be run from the System Domain only and with ignore-warnings true. Valid values are, CURRENT_DOMAIN, ALL_DOMAINS_ON_THIS_SERVER.
hoststrDNS server for remote clients in the Remote access community. Identified by name or UID.
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.
namestryesObject name.
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-securemote-dns-server
  check_point.mgmt.cp_mgmt_securemote_dns_server:
    domains:
    - domain_suffix: .FirstDomain
      maximum_prefix_label_count: 3
    - domain_suffix: .SecondDomain
    host: TestHost
    name: TestSecuRemoteDNSSever
    state: present

- name: set-securemote-dns-server
  check_point.mgmt.cp_mgmt_securemote_dns_server:
    host: TestHost2
    name: TestSecuRemoteDNSSever
    state: present

- name: delete-securemote-dns-server
  check_point.mgmt.cp_mgmt_securemote_dns_server:
    name: TestSecuRemoteDNSSever
    state: absent
Search
    ↑ ↓ move↵ openesc close