cp_mgmt_distribute_cloud_licenses
Distribute licenses to target CloudGuard gateways through native controller HTTPAPI with owned sessions
Collection: check_point.mgmt
Full Name: check_point.mgmt.cp_mgmt_distribute_cloud_licenses
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Distribute licenses to target CloudGuard gateways through native controller HTTPAPI with owned sessions
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| auto_publish_session | bool | false | Publish this owned session explicitly after the operation; default false. | |
| targets | list | Targets are uid or name of the security gateway(s). In case no target specified, the license will be distributed to all CloudGuard security gateways. | ||
| version | str | Management API version path; omitted uses the default API version. | ||
| wait_for_task | bool | true | Wait for returned asynchronous task identifiers; default true. | |
| wait_for_task_timeout | int | 30 | Polling deadline in minutes; default 30, negative values use 30, maximum 1440. |
Example
yaml
- name: distribute-cloud-licenses
check_point.mgmt.cp_mgmt_distribute_cloud_licenses:
targets:
- GW1
- GW2