Anons79 Mini Shell

Directory : /lib/python2.7/site-packages/ansible/modules/network/check_point/
Upload File :
Current File : //lib/python2.7/site-packages/ansible/modules/network/check_point/cp_mgmt_session_facts.pyo

�
�Udac@`s�ddlmZmZmZeZidd6dgd6dd6ZdZd	Zd
Z	ddl
mZddlm
Z
mZd
�Zedkr�e�ndS(i(tabsolute_importtdivisiontprint_functions1.1tmetadata_versiontpreviewtstatust	communitytsupported_bys�
---
module: cp_mgmt_session_facts
short_description: Get session objects facts on Check Point over Web Services API
description:
  - Get session objects facts on Check Point devices.
  - All operations are performed over Web Services API.
  - This module handles both operations, get a specific object and get several objects,
    For getting a specific object use the parameter 'name'.
version_added: "2.9"
author: "Or Soffer (@chkp-orso)"
options:
  limit:
    description:
      - No more than that many results will be returned.
        This parameter is relevant only for getting few objects.
    type: int
  offset:
    description:
      - Skip that many results before beginning to return them.
        This parameter is relevant only for getting few objects.
    type: int
  order:
    description:
      - Sorts results by the given field. By default the results are sorted in the descending order by the session publish time.
        This parameter is relevant only for getting few objects.
    type: list
    suboptions:
      ASC:
        description:
          - Sorts results by the given field in ascending order.
        type: str
        choices: ['name']
      DESC:
        description:
          - Sorts results by the given field in descending order.
        type: str
        choices: ['name']
  view_published_sessions:
    description:
      - Show a list of published sessions.
    type: bool
  details_level:
    description:
      - The 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.
    type: str
    choices: ['uid', 'standard', 'full']
extends_documentation_fragment: checkpoint_facts
s�
- name: show-session
  cp_mgmt_session_facts:

- name: show-sessions
  cp_mgmt_session_facts:
    details_level: standard
    limit: 50
    offset: 0
s]
ansible_facts:
  description: The checkpoint object facts.
  returned: always.
  type: dict
(t
AnsibleModule(t"checkpoint_argument_spec_for_factstapi_call_factscC`s�tdtdd�dtdd�dtdddtdtdd	d
dg�dtdd	d
dg���d
tdd�dtdd	d
dddg��}|jt�td|�}d}d}t|||�}|jd|�dS(NtlimitttypetinttoffsettordertlisttoptionstASCtstrtchoicestnametDESCtview_published_sessionstboolt
details_leveltuidtstandardtfullt
argument_spectsessiontsessionst
ansible_facts(tdicttupdateR	RR
t	exit_json(Rtmoduletapi_call_objecttapi_call_object_plural_versiontresult((s]/usr/lib/python2.7/site-packages/ansible/modules/network/check_point/cp_mgmt_session_facts.pytmaines!
t__main__N(t
__future__RRRRt
__metaclass__tANSIBLE_METADATAt
DOCUMENTATIONtEXAMPLEStRETURNtansible.module_utils.basicRt2ansible.module_utils.network.checkpoint.checkpointR	R
R(t__name__(((s]/usr/lib/python2.7/site-packages/ansible/modules/network/check_point/cp_mgmt_session_facts.pyt<module>s


3	

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]